{
  "type": "object",
  "properties": {
    "rams": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "config": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "presentation": {
                  "type": "object",
                  "properties": {
                    "template": {
                      "const": "portfolio",
                      "type": "string"
                    },
                    "monogram": {
                      "type": "string"
                    },
                    "rooms": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "stableRoomId": {
                            "type": "string"
                          },
                          "slug": {
                            "type": "string"
                          },
                          "canonicalPath": {
                            "type": "string"
                          },
                          "navigationTitle": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "subtitle": {
                            "type": "string"
                          },
                          "seoTitle": {
                            "type": "string"
                          },
                          "seoDescription": {
                            "type": "string"
                          },
                          "html": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "stableRoomId",
                          "slug",
                          "canonicalPath",
                          "navigationTitle",
                          "title",
                          "subtitle",
                          "seoTitle",
                          "seoDescription",
                          "html"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "welcomeAudio": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    },
                    "landscapeOnMobile": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    },
                    "introState": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  },
                  "required": [
                    "template",
                    "monogram",
                    "rooms",
                    "welcomeAudio",
                    "landscapeOnMobile",
                    "introState"
                  ],
                  "additionalProperties": false
                },
                "version": {
                  "const": "rams.site/1",
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "locale": {
                  "anyOf": [
                    {
                      "const": "it",
                      "type": "string"
                    },
                    {
                      "const": "en",
                      "type": "string"
                    }
                  ]
                },
                "navigation": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "action": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "anyOf": [
                                  {
                                    "const": "navigate",
                                    "type": "string"
                                  },
                                  {
                                    "const": "focus",
                                    "type": "string"
                                  },
                                  {
                                    "const": "overlay",
                                    "type": "string"
                                  },
                                  {
                                    "const": "page",
                                    "type": "string"
                                  },
                                  {
                                    "const": "info",
                                    "type": "string"
                                  },
                                  {
                                    "const": "world-action",
                                    "type": "string"
                                  },
                                  {
                                    "const": "cinematic",
                                    "type": "string"
                                  }
                                ]
                              },
                              "target": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "target"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "const": "external",
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "url"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "const": "back",
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "action"
                    ],
                    "additionalProperties": false
                  }
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "label": {
                            "type": "string"
                          },
                          "action": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "anyOf": [
                                      {
                                        "const": "navigate",
                                        "type": "string"
                                      },
                                      {
                                        "const": "focus",
                                        "type": "string"
                                      },
                                      {
                                        "const": "overlay",
                                        "type": "string"
                                      },
                                      {
                                        "const": "page",
                                        "type": "string"
                                      },
                                      {
                                        "const": "info",
                                        "type": "string"
                                      },
                                      {
                                        "const": "world-action",
                                        "type": "string"
                                      },
                                      {
                                        "const": "cinematic",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "target": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "target"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "external",
                                    "type": "string"
                                  },
                                  "url": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "back",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "required": [
                          "label",
                          "action"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "branding": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  "required": [
                    "text",
                    "links",
                    "branding"
                  ],
                  "additionalProperties": false
                },
                "rooms": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "summary": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "descriptionSource": {
                        "anyOf": [
                          {
                            "const": "generated",
                            "type": "string"
                          },
                          {
                            "const": "authored",
                            "type": "string"
                          }
                        ]
                      },
                      "image": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "actions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "action": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "anyOf": [
                                        {
                                          "const": "navigate",
                                          "type": "string"
                                        },
                                        {
                                          "const": "focus",
                                          "type": "string"
                                        },
                                        {
                                          "const": "overlay",
                                          "type": "string"
                                        },
                                        {
                                          "const": "page",
                                          "type": "string"
                                        },
                                        {
                                          "const": "info",
                                          "type": "string"
                                        },
                                        {
                                          "const": "world-action",
                                          "type": "string"
                                        },
                                        {
                                          "const": "cinematic",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "target": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "target"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "external",
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "url"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "back",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "required": [
                            "label",
                            "action"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "id",
                      "title",
                      "summary",
                      "description",
                      "descriptionSource",
                      "image",
                      "actions"
                    ],
                    "additionalProperties": false
                  }
                },
                "roomInfo": {
                  "anyOf": [
                    {
                      "const": "card",
                      "type": "string"
                    },
                    {
                      "const": "panel",
                      "type": "string"
                    },
                    {
                      "const": "chat",
                      "type": "string"
                    },
                    {
                      "const": "none",
                      "type": "string"
                    }
                  ]
                },
                "overlays": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "kind": {
                        "anyOf": [
                          {
                            "const": "text",
                            "type": "string"
                          },
                          {
                            "const": "project",
                            "type": "string"
                          },
                          {
                            "const": "about",
                            "type": "string"
                          },
                          {
                            "const": "gallery",
                            "type": "string"
                          },
                          {
                            "const": "embed",
                            "type": "string"
                          },
                          {
                            "const": "html",
                            "type": "string"
                          },
                          {
                            "const": "contact",
                            "type": "string"
                          },
                          {
                            "const": "component",
                            "type": "string"
                          }
                        ]
                      },
                      "text": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "fragment": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "html": {
                                "type": "string"
                              },
                              "css": {
                                "type": "string"
                              },
                              "script": {
                                "type": "string"
                              },
                              "security": {
                                "anyOf": [
                                  {
                                    "const": "safe",
                                    "type": "string"
                                  },
                                  {
                                    "const": "controlled-script",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "html",
                              "css",
                              "script",
                              "security"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "component": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "const": "chat",
                            "type": "string"
                          },
                          {
                            "const": "rooms",
                            "type": "string"
                          }
                        ]
                      },
                      "actions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "action": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "anyOf": [
                                        {
                                          "const": "navigate",
                                          "type": "string"
                                        },
                                        {
                                          "const": "focus",
                                          "type": "string"
                                        },
                                        {
                                          "const": "overlay",
                                          "type": "string"
                                        },
                                        {
                                          "const": "page",
                                          "type": "string"
                                        },
                                        {
                                          "const": "info",
                                          "type": "string"
                                        },
                                        {
                                          "const": "world-action",
                                          "type": "string"
                                        },
                                        {
                                          "const": "cinematic",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "target": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "target"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "external",
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "url"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "back",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "required": [
                            "label",
                            "action"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "id",
                      "title",
                      "kind",
                      "text",
                      "images",
                      "url",
                      "fragment",
                      "component",
                      "actions"
                    ],
                    "additionalProperties": false
                  }
                },
                "pages": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "kind": {
                        "anyOf": [
                          {
                            "const": "text",
                            "type": "string"
                          },
                          {
                            "const": "project",
                            "type": "string"
                          },
                          {
                            "const": "about",
                            "type": "string"
                          },
                          {
                            "const": "gallery",
                            "type": "string"
                          },
                          {
                            "const": "embed",
                            "type": "string"
                          },
                          {
                            "const": "html",
                            "type": "string"
                          },
                          {
                            "const": "contact",
                            "type": "string"
                          },
                          {
                            "const": "component",
                            "type": "string"
                          }
                        ]
                      },
                      "text": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "fragment": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "html": {
                                "type": "string"
                              },
                              "css": {
                                "type": "string"
                              },
                              "script": {
                                "type": "string"
                              },
                              "security": {
                                "anyOf": [
                                  {
                                    "const": "safe",
                                    "type": "string"
                                  },
                                  {
                                    "const": "controlled-script",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "html",
                              "css",
                              "script",
                              "security"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "component": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "const": "chat",
                            "type": "string"
                          },
                          {
                            "const": "rooms",
                            "type": "string"
                          }
                        ]
                      },
                      "actions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "action": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "anyOf": [
                                        {
                                          "const": "navigate",
                                          "type": "string"
                                        },
                                        {
                                          "const": "focus",
                                          "type": "string"
                                        },
                                        {
                                          "const": "overlay",
                                          "type": "string"
                                        },
                                        {
                                          "const": "page",
                                          "type": "string"
                                        },
                                        {
                                          "const": "info",
                                          "type": "string"
                                        },
                                        {
                                          "const": "world-action",
                                          "type": "string"
                                        },
                                        {
                                          "const": "cinematic",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "target": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "target"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "external",
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "url"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "const": "back",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "required": [
                            "label",
                            "action"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "id",
                      "title",
                      "kind",
                      "text",
                      "images",
                      "url",
                      "fragment",
                      "component",
                      "actions"
                    ],
                    "additionalProperties": false
                  }
                },
                "assets": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "alt": {
                        "type": "string"
                      },
                      "data": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "alt",
                      "data"
                    ],
                    "additionalProperties": false
                  }
                },
                "theme": {
                  "type": "object",
                  "properties": {
                    "mode": {
                      "anyOf": [
                        {
                          "const": "dark",
                          "type": "string"
                        },
                        {
                          "const": "light",
                          "type": "string"
                        },
                        {
                          "const": "system",
                          "type": "string"
                        }
                      ]
                    },
                    "font": {
                      "anyOf": [
                        {
                          "const": "system",
                          "type": "string"
                        },
                        {
                          "const": "serif",
                          "type": "string"
                        },
                        {
                          "const": "mono",
                          "type": "string"
                        }
                      ]
                    },
                    "fontSize": {
                      "type": "number"
                    },
                    "spacing": {
                      "type": "number"
                    },
                    "radius": {
                      "type": "number"
                    },
                    "background": {
                      "type": "string"
                    },
                    "foreground": {
                      "type": "string"
                    },
                    "accent": {
                      "type": "string"
                    },
                    "navigation": {
                      "anyOf": [
                        {
                          "const": "solid",
                          "type": "string"
                        },
                        {
                          "const": "glass",
                          "type": "string"
                        }
                      ]
                    },
                    "footer": {
                      "anyOf": [
                        {
                          "const": "compact",
                          "type": "string"
                        },
                        {
                          "const": "expanded",
                          "type": "string"
                        }
                      ]
                    },
                    "overlay": {
                      "anyOf": [
                        {
                          "const": "center",
                          "type": "string"
                        },
                        {
                          "const": "side",
                          "type": "string"
                        }
                      ]
                    },
                    "transitions": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    },
                    "logo": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  },
                  "required": [
                    "mode",
                    "font",
                    "fontSize",
                    "spacing",
                    "radius",
                    "background",
                    "foreground",
                    "accent",
                    "navigation",
                    "footer",
                    "overlay",
                    "transitions",
                    "logo"
                  ],
                  "additionalProperties": false
                },
                "contact": {
                  "type": "object",
                  "properties": {
                    "endpoint": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "alternative": {
                      "type": "string"
                    },
                    "privacy": {
                      "type": "string"
                    },
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "required": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "label",
                          "required"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "honeypot": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  "required": [
                    "endpoint",
                    "alternative",
                    "privacy",
                    "fields",
                    "honeypot"
                  ],
                  "additionalProperties": false
                },
                "chat": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    },
                    "welcome": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "enabled",
                    "welcome"
                  ],
                  "additionalProperties": false
                },
                "security": {
                  "type": "object",
                  "properties": {
                    "embedOrigins": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "embedOrigins"
                  ],
                  "additionalProperties": false
                },
                "deploy": {
                  "type": "object",
                  "properties": {
                    "target": {
                      "const": "static",
                      "type": "string"
                    },
                    "basePath": {
                      "type": "string"
                    },
                    "profiles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "transport": {
                            "anyOf": [
                              {
                                "const": "local",
                                "type": "string"
                              },
                              {
                                "const": "ssh",
                                "type": "string"
                              },
                              {
                                "const": "sftp",
                                "type": "string"
                              },
                              {
                                "const": "rsync",
                                "type": "string"
                              },
                              {
                                "const": "scp",
                                "type": "string"
                              },
                              {
                                "const": "ftp",
                                "type": "string"
                              },
                              {
                                "const": "ftps",
                                "type": "string"
                              },
                              {
                                "const": "custom",
                                "type": "string"
                              }
                            ]
                          },
                          "host": {
                            "type": "string"
                          },
                          "port": {
                            "type": "number"
                          },
                          "username": {
                            "type": "string"
                          },
                          "destination": {
                            "type": "string"
                          },
                          "credentialRef": {
                            "type": "string"
                          },
                          "strategy": {
                            "anyOf": [
                              {
                                "const": "atomic",
                                "type": "string"
                              },
                              {
                                "const": "directory",
                                "type": "string"
                              }
                            ]
                          },
                          "buildProfile": {
                            "const": "production",
                            "type": "string"
                          },
                          "preDeploy": {
                            "const": "verify",
                            "type": "string"
                          },
                          "postDeploy": {
                            "const": "healthcheck",
                            "type": "string"
                          },
                          "healthCheck": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "expectedStatus": {
                                "type": "number"
                              },
                              "expectedText": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "expectedStatus",
                              "expectedText"
                            ],
                            "additionalProperties": false
                          },
                          "timeout": {
                            "type": "number"
                          },
                          "keepReleases": {
                            "type": "number"
                          },
                          "compression": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "clean": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "passive": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "tls": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "transport",
                          "host",
                          "port",
                          "username",
                          "destination",
                          "credentialRef",
                          "strategy",
                          "buildProfile",
                          "preDeploy",
                          "postDeploy",
                          "healthCheck",
                          "timeout",
                          "keepReleases",
                          "compression",
                          "clean",
                          "passive",
                          "tls"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "target",
                    "basePath"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "version",
                "title",
                "locale",
                "navigation",
                "footer",
                "rooms",
                "roomInfo",
                "overlays",
                "pages",
                "assets",
                "theme",
                "contact",
                "chat",
                "security",
                "deploy"
              ],
              "additionalProperties": false
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        }
      },
      "required": [
        "source",
        "config",
        "error"
      ],
      "additionalProperties": false
    },
    "wright": {
      "type": "object",
      "properties": {
        "version": {
          "const": "wright.world/1",
          "type": "string"
        },
        "identity": {
          "type": "string"
        },
        "rooms": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "furnishing": {
                "type": "object",
                "properties": {
                  "roomProgram": {
                    "type": "object",
                    "properties": {
                      "repair": {
                        "type": "object",
                        "properties": {
                          "stage": {
                            "const": "semantic",
                            "type": "string"
                          },
                          "attempts": {
                            "type": "number"
                          },
                          "strategy": {
                            "anyOf": [
                              {
                                "const": "none",
                                "type": "string"
                              },
                              {
                                "const": "bounded-semantic-revision",
                                "type": "string"
                              }
                            ]
                          },
                          "initialFailures": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "finalState": {
                            "const": "accepted",
                            "type": "string"
                          },
                          "relaxedConstraints": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "stage",
                          "attempts",
                          "strategy",
                          "initialFailures",
                          "finalState",
                          "relaxedConstraints"
                        ],
                        "additionalProperties": false
                      },
                      "enrichment": {
                        "type": "object",
                        "properties": {
                          "provider": {
                            "type": "string"
                          },
                          "model": {
                            "type": "string"
                          },
                          "version": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "provider",
                          "model",
                          "version"
                        ],
                        "additionalProperties": false
                      },
                      "intent": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "qway.room-program/1",
                            "type": "string"
                          },
                          "archetype": {
                            "type": "string"
                          },
                          "archetypeRevision": {
                            "type": "string"
                          },
                          "purpose": {
                            "type": "string"
                          },
                          "capacity": {
                            "type": "number"
                          },
                          "style": {
                            "type": "string"
                          },
                          "zones": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "purpose": {
                                  "type": "string"
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "reference",
                                "purpose",
                                "priority"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "needs": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "category": {
                                  "type": "string"
                                },
                                "zone": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "capacity": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "assetAlias": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "placement": {
                                  "anyOf": [
                                    {
                                      "const": "center",
                                      "type": "string"
                                    },
                                    {
                                      "const": "auto",
                                      "type": "string"
                                    },
                                    {
                                      "const": "perimeter",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "category",
                                "zone",
                                "quantity",
                                "capacity",
                                "priority",
                                "assetAlias",
                                "placement",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "rules": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "kind": {
                                  "anyOf": [
                                    {
                                      "const": "on",
                                      "type": "string"
                                    },
                                    {
                                      "const": "seating",
                                      "type": "string"
                                    },
                                    {
                                      "const": "beside",
                                      "type": "string"
                                    },
                                    {
                                      "const": "facing",
                                      "type": "string"
                                    },
                                    {
                                      "const": "near-window",
                                      "type": "string"
                                    },
                                    {
                                      "const": "wall-alignment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "interior",
                                      "type": "string"
                                    },
                                    {
                                      "const": "access",
                                      "type": "string"
                                    },
                                    {
                                      "const": "visibility",
                                      "type": "string"
                                    },
                                    {
                                      "const": "clearance",
                                      "type": "string"
                                    },
                                    {
                                      "const": "circulation",
                                      "type": "string"
                                    },
                                    {
                                      "const": "minimum-dimensions",
                                      "type": "string"
                                    },
                                    {
                                      "const": "unsupported",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "subjects": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "target": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "strength": {
                                  "anyOf": [
                                    {
                                      "const": "hard",
                                      "type": "string"
                                    },
                                    {
                                      "const": "soft",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "clearanceM": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "description": {
                                  "type": "string"
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "kind",
                                "subjects",
                                "target",
                                "priority",
                                "strength",
                                "clearanceM",
                                "description",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "architecture": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "kind": {
                                  "anyOf": [
                                    {
                                      "const": "window",
                                      "type": "string"
                                    },
                                    {
                                      "const": "portal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "wall-run",
                                      "type": "string"
                                    },
                                    {
                                      "const": "open-center",
                                      "type": "string"
                                    },
                                    {
                                      "const": "natural-light",
                                      "type": "string"
                                    },
                                    {
                                      "const": "ceiling-light",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "kind",
                                "quantity",
                                "priority",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "exclusions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "category": {
                                  "type": "string"
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "const": "explicit",
                                      "type": "string"
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "category",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "uncertainties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "version",
                          "archetype",
                          "archetypeRevision",
                          "purpose",
                          "capacity",
                          "style",
                          "zones",
                          "needs",
                          "rules",
                          "architecture",
                          "exclusions",
                          "uncertainties"
                        ],
                        "additionalProperties": false
                      },
                      "archetypeSnapshot": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "qway.room-program/1",
                            "type": "string"
                          },
                          "archetype": {
                            "type": "string"
                          },
                          "archetypeRevision": {
                            "type": "string"
                          },
                          "purpose": {
                            "type": "string"
                          },
                          "capacity": {
                            "type": "number"
                          },
                          "style": {
                            "type": "string"
                          },
                          "zones": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "purpose": {
                                  "type": "string"
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "reference",
                                "purpose",
                                "priority"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "needs": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "category": {
                                  "type": "string"
                                },
                                "zone": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "capacity": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "assetAlias": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "placement": {
                                  "anyOf": [
                                    {
                                      "const": "center",
                                      "type": "string"
                                    },
                                    {
                                      "const": "auto",
                                      "type": "string"
                                    },
                                    {
                                      "const": "perimeter",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "category",
                                "zone",
                                "quantity",
                                "capacity",
                                "priority",
                                "assetAlias",
                                "placement",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "rules": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "kind": {
                                  "anyOf": [
                                    {
                                      "const": "on",
                                      "type": "string"
                                    },
                                    {
                                      "const": "seating",
                                      "type": "string"
                                    },
                                    {
                                      "const": "beside",
                                      "type": "string"
                                    },
                                    {
                                      "const": "facing",
                                      "type": "string"
                                    },
                                    {
                                      "const": "near-window",
                                      "type": "string"
                                    },
                                    {
                                      "const": "wall-alignment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "interior",
                                      "type": "string"
                                    },
                                    {
                                      "const": "access",
                                      "type": "string"
                                    },
                                    {
                                      "const": "visibility",
                                      "type": "string"
                                    },
                                    {
                                      "const": "clearance",
                                      "type": "string"
                                    },
                                    {
                                      "const": "circulation",
                                      "type": "string"
                                    },
                                    {
                                      "const": "minimum-dimensions",
                                      "type": "string"
                                    },
                                    {
                                      "const": "unsupported",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "subjects": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "target": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "strength": {
                                  "anyOf": [
                                    {
                                      "const": "hard",
                                      "type": "string"
                                    },
                                    {
                                      "const": "soft",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "clearanceM": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "description": {
                                  "type": "string"
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "kind",
                                "subjects",
                                "target",
                                "priority",
                                "strength",
                                "clearanceM",
                                "description",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "architecture": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string"
                                },
                                "kind": {
                                  "anyOf": [
                                    {
                                      "const": "window",
                                      "type": "string"
                                    },
                                    {
                                      "const": "portal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "wall-run",
                                      "type": "string"
                                    },
                                    {
                                      "const": "open-center",
                                      "type": "string"
                                    },
                                    {
                                      "const": "natural-light",
                                      "type": "string"
                                    },
                                    {
                                      "const": "ceiling-light",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "priority": {
                                  "anyOf": [
                                    {
                                      "const": "required",
                                      "type": "string"
                                    },
                                    {
                                      "const": "recommended",
                                      "type": "string"
                                    },
                                    {
                                      "const": "optional",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "anyOf": [
                                        {
                                          "const": "explicit",
                                          "type": "string"
                                        },
                                        {
                                          "const": "archetype",
                                          "type": "string"
                                        },
                                        {
                                          "const": "inferred",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "reference",
                                "kind",
                                "quantity",
                                "priority",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "exclusions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "category": {
                                  "type": "string"
                                },
                                "evidence": {
                                  "type": "object",
                                  "properties": {
                                    "origin": {
                                      "const": "explicit",
                                      "type": "string"
                                    },
                                    "confidence": {
                                      "type": "number"
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "origin",
                                    "confidence",
                                    "explanation"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "category",
                                "evidence"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "uncertainties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "version",
                          "archetype",
                          "archetypeRevision",
                          "purpose",
                          "capacity",
                          "style",
                          "zones",
                          "needs",
                          "rules",
                          "architecture",
                          "exclusions",
                          "uncertainties"
                        ],
                        "additionalProperties": false
                      },
                      "bindings": {
                        "type": "object",
                        "properties": {},
                        "required": [],
                        "additionalProperties": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [
                      "intent",
                      "archetypeSnapshot",
                      "bindings"
                    ],
                    "additionalProperties": false
                  },
                  "version": {
                    "const": "qway.furnishing/1",
                    "type": "string"
                  },
                  "purpose": {
                    "type": "string"
                  },
                  "capacity": {
                    "type": "number"
                  },
                  "style": {
                    "type": "string"
                  },
                  "needs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "identity": {
                          "type": "string"
                        },
                        "category": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "capacity": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "number"
                            }
                          ]
                        },
                        "assetAlias": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "placement": {
                          "anyOf": [
                            {
                              "const": "center",
                              "type": "string"
                            },
                            {
                              "const": "auto",
                              "type": "string"
                            },
                            {
                              "const": "perimeter",
                              "type": "string"
                            }
                          ]
                        },
                        "relation": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "const": "on",
                              "type": "string"
                            },
                            {
                              "const": "seating",
                              "type": "string"
                            },
                            {
                              "const": "near-window",
                              "type": "string"
                            }
                          ]
                        },
                        "target": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "instances": {
                          "type": "array",
                          "items": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "required": [
                        "identity",
                        "category",
                        "quantity",
                        "capacity",
                        "assetAlias",
                        "placement",
                        "relation",
                        "target",
                        "instances"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "version",
                  "purpose",
                  "capacity",
                  "style",
                  "needs"
                ],
                "additionalProperties": false
              },
              "identity": {
                "type": "string"
              },
              "alias": {
                "type": "string",
                "maxLength": 100
              },
              "label": {
                "type": "string",
                "maxLength": 200
              },
              "level": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "parent": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "size": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "minItems": 3,
                "maxItems": 3,
                "items": false
              },
              "frame": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 3,
                    "maxItems": 3,
                    "items": false
                  },
                  "quaternion": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 4,
                    "maxItems": 4,
                    "items": false
                  }
                },
                "required": [
                  "position",
                  "quaternion"
                ],
                "additionalProperties": false
              },
              "backdrop": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "materialId": {
                        "type": "string"
                      },
                      "identity": {
                        "type": "string"
                      },
                      "semantic": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "source": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "const": "image",
                                "type": "string"
                              },
                              "assetId": {
                                "type": "string"
                              },
                              "uri": {
                                "type": "string"
                              },
                              "mediaType": {
                                "anyOf": [
                                  {
                                    "const": "image/png",
                                    "type": "string"
                                  },
                                  {
                                    "const": "image/jpeg",
                                    "type": "string"
                                  },
                                  {
                                    "const": "image/webp",
                                    "type": "string"
                                  }
                                ]
                              },
                              "sha256": {
                                "type": "string"
                              },
                              "byteLength": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "kind",
                              "assetId",
                              "uri",
                              "mediaType",
                              "sha256",
                              "byteLength"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "const": "asset",
                                "type": "string"
                              },
                              "uri": {
                                "type": "null"
                              },
                              "assetId": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "uri",
                              "assetId"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "side": {
                        "anyOf": [
                          {
                            "const": "north",
                            "type": "string"
                          },
                          {
                            "const": "south",
                            "type": "string"
                          },
                          {
                            "const": "east",
                            "type": "string"
                          },
                          {
                            "const": "west",
                            "type": "string"
                          }
                        ]
                      },
                      "mode": {
                        "const": "architectural",
                        "type": "string"
                      },
                      "fit": {
                        "anyOf": [
                          {
                            "const": "cover",
                            "type": "string"
                          },
                          {
                            "const": "contain",
                            "type": "string"
                          }
                        ]
                      },
                      "projection": {
                        "const": "flat",
                        "type": "string"
                      },
                      "distance": {
                        "type": "number"
                      },
                      "lighting": {
                        "anyOf": [
                          {
                            "const": "unlit",
                            "type": "string"
                          },
                          {
                            "const": "lit",
                            "type": "string"
                          }
                        ]
                      },
                      "enabled": {
                        "anyOf": [
                          {
                            "const": false,
                            "type": "boolean"
                          },
                          {
                            "const": true,
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "required": [
                      "identity",
                      "semantic",
                      "source",
                      "side",
                      "mode",
                      "fit",
                      "projection",
                      "distance",
                      "lighting",
                      "enabled"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "north": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "semantic": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "image",
                                    "type": "string"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "string"
                                  },
                                  "mediaType": {
                                    "anyOf": [
                                      {
                                        "const": "image/png",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/jpeg",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/webp",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "sha256": {
                                    "type": "string"
                                  },
                                  "byteLength": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "assetId",
                                  "uri",
                                  "mediaType",
                                  "sha256",
                                  "byteLength"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "asset",
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "null"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "uri",
                                  "assetId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "north",
                                "type": "string"
                              },
                              {
                                "const": "south",
                                "type": "string"
                              },
                              {
                                "const": "east",
                                "type": "string"
                              },
                              {
                                "const": "west",
                                "type": "string"
                              }
                            ]
                          },
                          "mode": {
                            "const": "architectural",
                            "type": "string"
                          },
                          "fit": {
                            "anyOf": [
                              {
                                "const": "cover",
                                "type": "string"
                              },
                              {
                                "const": "contain",
                                "type": "string"
                              }
                            ]
                          },
                          "projection": {
                            "const": "flat",
                            "type": "string"
                          },
                          "distance": {
                            "type": "number"
                          },
                          "lighting": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "lit",
                                "type": "string"
                              }
                            ]
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "identity",
                          "semantic",
                          "source",
                          "side",
                          "mode",
                          "fit",
                          "projection",
                          "distance",
                          "lighting",
                          "enabled"
                        ],
                        "additionalProperties": false
                      },
                      "south": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "semantic": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "image",
                                    "type": "string"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "string"
                                  },
                                  "mediaType": {
                                    "anyOf": [
                                      {
                                        "const": "image/png",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/jpeg",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/webp",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "sha256": {
                                    "type": "string"
                                  },
                                  "byteLength": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "assetId",
                                  "uri",
                                  "mediaType",
                                  "sha256",
                                  "byteLength"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "asset",
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "null"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "uri",
                                  "assetId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "north",
                                "type": "string"
                              },
                              {
                                "const": "south",
                                "type": "string"
                              },
                              {
                                "const": "east",
                                "type": "string"
                              },
                              {
                                "const": "west",
                                "type": "string"
                              }
                            ]
                          },
                          "mode": {
                            "const": "architectural",
                            "type": "string"
                          },
                          "fit": {
                            "anyOf": [
                              {
                                "const": "cover",
                                "type": "string"
                              },
                              {
                                "const": "contain",
                                "type": "string"
                              }
                            ]
                          },
                          "projection": {
                            "const": "flat",
                            "type": "string"
                          },
                          "distance": {
                            "type": "number"
                          },
                          "lighting": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "lit",
                                "type": "string"
                              }
                            ]
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "identity",
                          "semantic",
                          "source",
                          "side",
                          "mode",
                          "fit",
                          "projection",
                          "distance",
                          "lighting",
                          "enabled"
                        ],
                        "additionalProperties": false
                      },
                      "east": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "semantic": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "image",
                                    "type": "string"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "string"
                                  },
                                  "mediaType": {
                                    "anyOf": [
                                      {
                                        "const": "image/png",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/jpeg",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/webp",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "sha256": {
                                    "type": "string"
                                  },
                                  "byteLength": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "assetId",
                                  "uri",
                                  "mediaType",
                                  "sha256",
                                  "byteLength"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "asset",
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "null"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "uri",
                                  "assetId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "north",
                                "type": "string"
                              },
                              {
                                "const": "south",
                                "type": "string"
                              },
                              {
                                "const": "east",
                                "type": "string"
                              },
                              {
                                "const": "west",
                                "type": "string"
                              }
                            ]
                          },
                          "mode": {
                            "const": "architectural",
                            "type": "string"
                          },
                          "fit": {
                            "anyOf": [
                              {
                                "const": "cover",
                                "type": "string"
                              },
                              {
                                "const": "contain",
                                "type": "string"
                              }
                            ]
                          },
                          "projection": {
                            "const": "flat",
                            "type": "string"
                          },
                          "distance": {
                            "type": "number"
                          },
                          "lighting": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "lit",
                                "type": "string"
                              }
                            ]
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "identity",
                          "semantic",
                          "source",
                          "side",
                          "mode",
                          "fit",
                          "projection",
                          "distance",
                          "lighting",
                          "enabled"
                        ],
                        "additionalProperties": false
                      },
                      "west": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "semantic": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "image",
                                    "type": "string"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "string"
                                  },
                                  "mediaType": {
                                    "anyOf": [
                                      {
                                        "const": "image/png",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/jpeg",
                                        "type": "string"
                                      },
                                      {
                                        "const": "image/webp",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "sha256": {
                                    "type": "string"
                                  },
                                  "byteLength": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "assetId",
                                  "uri",
                                  "mediaType",
                                  "sha256",
                                  "byteLength"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "asset",
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "null"
                                  },
                                  "assetId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "uri",
                                  "assetId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "north",
                                "type": "string"
                              },
                              {
                                "const": "south",
                                "type": "string"
                              },
                              {
                                "const": "east",
                                "type": "string"
                              },
                              {
                                "const": "west",
                                "type": "string"
                              }
                            ]
                          },
                          "mode": {
                            "const": "architectural",
                            "type": "string"
                          },
                          "fit": {
                            "anyOf": [
                              {
                                "const": "cover",
                                "type": "string"
                              },
                              {
                                "const": "contain",
                                "type": "string"
                              }
                            ]
                          },
                          "projection": {
                            "const": "flat",
                            "type": "string"
                          },
                          "distance": {
                            "type": "number"
                          },
                          "lighting": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "lit",
                                "type": "string"
                              }
                            ]
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "identity",
                          "semantic",
                          "source",
                          "side",
                          "mode",
                          "fit",
                          "projection",
                          "distance",
                          "lighting",
                          "enabled"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "identity",
              "alias",
              "label",
              "level",
              "parent",
              "size",
              "frame"
            ],
            "additionalProperties": false
          }
        },
        "levels": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "identity": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "identity",
              "label"
            ],
            "additionalProperties": false
          }
        },
        "portals": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "identity": {
                "type": "string"
              },
              "alias": {
                "type": "string",
                "maxLength": 100
              },
              "from": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 3,
                    "maxItems": 3,
                    "items": false
                  },
                  "quaternion": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 4,
                    "maxItems": 4,
                    "items": false
                  }
                },
                "required": [
                  "position",
                  "quaternion"
                ],
                "additionalProperties": false
              },
              "width": {
                "type": "number"
              },
              "height": {
                "type": "number"
              },
              "traversable": {
                "anyOf": [
                  {
                    "const": false,
                    "type": "boolean"
                  },
                  {
                    "const": true,
                    "type": "boolean"
                  }
                ]
              },
              "door": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            },
            "required": [
              "identity",
              "alias",
              "from",
              "to",
              "frame",
              "width",
              "height",
              "traversable",
              "door"
            ],
            "additionalProperties": false
          }
        },
        "entrances": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "identity": {
                "type": "string"
              },
              "alias": {
                "type": "string",
                "maxLength": 100
              },
              "room": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 3,
                    "maxItems": 3,
                    "items": false
                  },
                  "quaternion": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "minItems": 4,
                    "maxItems": 4,
                    "items": false
                  }
                },
                "required": [
                  "position",
                  "quaternion"
                ],
                "additionalProperties": false
              },
              "width": {
                "type": "number"
              },
              "height": {
                "type": "number"
              },
              "traversable": {
                "anyOf": [
                  {
                    "const": false,
                    "type": "boolean"
                  },
                  {
                    "const": true,
                    "type": "boolean"
                  }
                ]
              },
              "door": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            },
            "required": [
              "identity",
              "alias",
              "room",
              "frame",
              "width",
              "height",
              "traversable",
              "door"
            ],
            "additionalProperties": false
          }
        },
        "membership": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "version",
        "identity",
        "rooms",
        "levels",
        "portals",
        "membership"
      ],
      "additionalProperties": false
    },
    "ridley": {
      "type": "object",
      "properties": {
        "personas": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "version": {
                "const": "ridley.persona/1",
                "type": "string"
              },
              "personaId": {
                "type": "string"
              },
              "profileId": {
                "type": "string"
              },
              "parentId": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "revision": {
                "type": "number"
              },
              "createdAt": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              },
              "description": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  },
                  "instructions": {
                    "type": "string"
                  },
                  "knowledge": {
                    "type": "string"
                  },
                  "speakingStyle": {
                    "type": "string"
                  },
                  "language": {
                    "type": "string"
                  },
                  "allowedTopics": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "forbiddenTopics": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "emotionalBaseline": {
                    "type": "string"
                  },
                  "memory": {
                    "anyOf": [
                      {
                        "const": "none",
                        "type": "string"
                      },
                      {
                        "const": "session",
                        "type": "string"
                      }
                    ]
                  },
                  "maxTurns": {
                    "type": "number"
                  },
                  "maxHistoryChars": {
                    "type": "number"
                  }
                },
                "required": [
                  "name",
                  "role",
                  "instructions",
                  "knowledge",
                  "speakingStyle",
                  "language",
                  "allowedTopics",
                  "forbiddenTopics",
                  "emotionalBaseline",
                  "memory",
                  "maxTurns",
                  "maxHistoryChars"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "version",
              "personaId",
              "profileId",
              "parentId",
              "revision",
              "createdAt",
              "sha256",
              "description"
            ],
            "additionalProperties": false
          }
        },
        "audio": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "version": {
                "const": "ridley.audio/1",
                "type": "string"
              },
              "assetId": {
                "type": "string"
              },
              "displayName": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              },
              "uri": {
                "type": "string"
              },
              "byteLength": {
                "type": "number"
              },
              "mediaType": {
                "anyOf": [
                  {
                    "const": "audio/wav",
                    "type": "string"
                  },
                  {
                    "const": "audio/mpeg",
                    "type": "string"
                  }
                ]
              },
              "durationSeconds": {
                "type": "number"
              },
              "sampleRate": {
                "type": "number"
              },
              "channels": {
                "anyOf": [
                  {
                    "const": 1,
                    "type": "number"
                  },
                  {
                    "const": 2,
                    "type": "number"
                  }
                ]
              }
            },
            "required": [
              "version",
              "assetId",
              "displayName",
              "sha256",
              "uri",
              "byteLength",
              "mediaType",
              "durationSeconds",
              "sampleRate",
              "channels"
            ],
            "additionalProperties": false
          }
        },
        "version": {
          "const": "ridley.project/1",
          "type": "string"
        },
        "screenplays": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string",
                "maxLength": 200
              },
              "text": {
                "type": "string",
                "maxLength": 65536
              }
            },
            "required": [
              "id",
              "title",
              "text"
            ],
            "additionalProperties": false
          }
        },
        "styleProfile": {
          "type": "object",
          "properties": {
            "styles": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "const": "cinematic",
                    "type": "string"
                  },
                  {
                    "const": "restrained",
                    "type": "string"
                  },
                  {
                    "const": "surreal",
                    "type": "string"
                  },
                  {
                    "const": "documentary",
                    "type": "string"
                  },
                  {
                    "const": "elegant",
                    "type": "string"
                  },
                  {
                    "const": "playful",
                    "type": "string"
                  },
                  {
                    "const": "monumental",
                    "type": "string"
                  },
                  {
                    "const": "warm",
                    "type": "string"
                  },
                  {
                    "const": "cold",
                    "type": "string"
                  },
                  {
                    "const": "technological",
                    "type": "string"
                  },
                  {
                    "const": "natural",
                    "type": "string"
                  },
                  {
                    "const": "intimate",
                    "type": "string"
                  },
                  {
                    "const": "theatrical",
                    "type": "string"
                  },
                  {
                    "const": "high-contrast",
                    "type": "string"
                  },
                  {
                    "const": "soft-contrast",
                    "type": "string"
                  }
                ]
              }
            },
            "rooms": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "room": {
                    "type": "string"
                  },
                  "intensity": {
                    "anyOf": [
                      {
                        "const": 0,
                        "type": "number"
                      },
                      {
                        "const": 3,
                        "type": "number"
                      },
                      {
                        "const": 4,
                        "type": "number"
                      },
                      {
                        "const": 1,
                        "type": "number"
                      },
                      {
                        "const": 2,
                        "type": "number"
                      }
                    ]
                  },
                  "mood": {
                    "anyOf": [
                      {
                        "const": "monumental",
                        "type": "string"
                      },
                      {
                        "const": "warm",
                        "type": "string"
                      },
                      {
                        "const": "intimate",
                        "type": "string"
                      },
                      {
                        "const": "neutral",
                        "type": "string"
                      },
                      {
                        "const": "cool",
                        "type": "string"
                      },
                      {
                        "const": "dramatic",
                        "type": "string"
                      },
                      {
                        "const": "clinical",
                        "type": "string"
                      },
                      {
                        "const": "mysterious",
                        "type": "string"
                      },
                      {
                        "const": "energetic",
                        "type": "string"
                      },
                      {
                        "const": "contemplative",
                        "type": "string"
                      }
                    ]
                  },
                  "hero": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "motion": {
                    "anyOf": [
                      {
                        "const": "none",
                        "type": "string"
                      },
                      {
                        "const": "restrained",
                        "type": "string"
                      },
                      {
                        "const": "active",
                        "type": "string"
                      }
                    ]
                  },
                  "contrast": {
                    "anyOf": [
                      {
                        "const": "soft",
                        "type": "string"
                      },
                      {
                        "const": "natural",
                        "type": "string"
                      },
                      {
                        "const": "dramatic",
                        "type": "string"
                      }
                    ]
                  }
                },
                "required": [
                  "room"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "styles"
          ],
          "additionalProperties": false
        },
        "draft": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "sourceHash": {
              "type": "string"
            },
            "diagnostics": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "severity": {
                    "anyOf": [
                      {
                        "const": "info",
                        "type": "string"
                      },
                      {
                        "const": "error",
                        "type": "string"
                      },
                      {
                        "const": "warning",
                        "type": "string"
                      }
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "span": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "start": {
                            "type": "number"
                          },
                          "end": {
                            "type": "number"
                          },
                          "line": {
                            "type": "number"
                          },
                          "column": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "start",
                          "end",
                          "line",
                          "column"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "identity": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  }
                },
                "required": [
                  "code",
                  "severity",
                  "message",
                  "span",
                  "identity"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "source",
            "sourceHash",
            "diagnostics"
          ],
          "additionalProperties": false
        },
        "accepted": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string"
                },
                "document": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "audio": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "version": {
                                "const": "ridley.audio/1",
                                "type": "string"
                              },
                              "assetId": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "sha256": {
                                "type": "string"
                              },
                              "uri": {
                                "type": "string"
                              },
                              "byteLength": {
                                "type": "number"
                              },
                              "mediaType": {
                                "anyOf": [
                                  {
                                    "const": "audio/wav",
                                    "type": "string"
                                  },
                                  {
                                    "const": "audio/mpeg",
                                    "type": "string"
                                  }
                                ]
                              },
                              "durationSeconds": {
                                "type": "number"
                              },
                              "sampleRate": {
                                "type": "number"
                              },
                              "channels": {
                                "anyOf": [
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "version",
                              "assetId",
                              "displayName",
                              "sha256",
                              "uri",
                              "byteLength",
                              "mediaType",
                              "durationSeconds",
                              "sampleRate",
                              "channels"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "schema": {
                          "const": "quay.cinematic",
                          "type": "string"
                        },
                        "version": {
                          "const": "1.0.0",
                          "type": "string"
                        },
                        "compiler": {
                          "const": "ridley.compiler/1",
                          "type": "string"
                        },
                        "worldSceneId": {
                          "type": "string"
                        },
                        "worldSourceHash": {
                          "type": "string"
                        },
                        "sourceHash": {
                          "type": "string"
                        },
                        "bindings": {
                          "type": "object",
                          "properties": {},
                          "required": [],
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        "direction": {
                          "type": "object",
                          "properties": {
                            "schema": {
                              "const": "quay.room-direction",
                              "type": "string"
                            },
                            "version": {
                              "const": "1.0.0",
                              "type": "string"
                            },
                            "compiler": {
                              "const": "ridley.direction/1",
                              "type": "string"
                            },
                            "manual": {
                              "const": "ridley.direction-manual/1",
                              "type": "string"
                            },
                            "styleProfile": {
                              "type": "object",
                              "properties": {
                                "styles": {
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "const": "cinematic",
                                        "type": "string"
                                      },
                                      {
                                        "const": "restrained",
                                        "type": "string"
                                      },
                                      {
                                        "const": "surreal",
                                        "type": "string"
                                      },
                                      {
                                        "const": "documentary",
                                        "type": "string"
                                      },
                                      {
                                        "const": "elegant",
                                        "type": "string"
                                      },
                                      {
                                        "const": "playful",
                                        "type": "string"
                                      },
                                      {
                                        "const": "monumental",
                                        "type": "string"
                                      },
                                      {
                                        "const": "warm",
                                        "type": "string"
                                      },
                                      {
                                        "const": "cold",
                                        "type": "string"
                                      },
                                      {
                                        "const": "technological",
                                        "type": "string"
                                      },
                                      {
                                        "const": "natural",
                                        "type": "string"
                                      },
                                      {
                                        "const": "intimate",
                                        "type": "string"
                                      },
                                      {
                                        "const": "theatrical",
                                        "type": "string"
                                      },
                                      {
                                        "const": "high-contrast",
                                        "type": "string"
                                      },
                                      {
                                        "const": "soft-contrast",
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "rooms": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "room": {
                                        "type": "string"
                                      },
                                      "intensity": {
                                        "anyOf": [
                                          {
                                            "const": 0,
                                            "type": "number"
                                          },
                                          {
                                            "const": 3,
                                            "type": "number"
                                          },
                                          {
                                            "const": 4,
                                            "type": "number"
                                          },
                                          {
                                            "const": 1,
                                            "type": "number"
                                          },
                                          {
                                            "const": 2,
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "mood": {
                                        "anyOf": [
                                          {
                                            "const": "monumental",
                                            "type": "string"
                                          },
                                          {
                                            "const": "warm",
                                            "type": "string"
                                          },
                                          {
                                            "const": "intimate",
                                            "type": "string"
                                          },
                                          {
                                            "const": "neutral",
                                            "type": "string"
                                          },
                                          {
                                            "const": "cool",
                                            "type": "string"
                                          },
                                          {
                                            "const": "dramatic",
                                            "type": "string"
                                          },
                                          {
                                            "const": "clinical",
                                            "type": "string"
                                          },
                                          {
                                            "const": "mysterious",
                                            "type": "string"
                                          },
                                          {
                                            "const": "energetic",
                                            "type": "string"
                                          },
                                          {
                                            "const": "contemplative",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "hero": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "motion": {
                                        "anyOf": [
                                          {
                                            "const": "none",
                                            "type": "string"
                                          },
                                          {
                                            "const": "restrained",
                                            "type": "string"
                                          },
                                          {
                                            "const": "active",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "contrast": {
                                        "anyOf": [
                                          {
                                            "const": "soft",
                                            "type": "string"
                                          },
                                          {
                                            "const": "natural",
                                            "type": "string"
                                          },
                                          {
                                            "const": "dramatic",
                                            "type": "string"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "room"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "styles"
                              ],
                              "additionalProperties": false
                            },
                            "rooms": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "room": {
                                    "type": "string"
                                  },
                                  "intent": {
                                    "type": "object",
                                    "properties": {
                                      "intensity": {
                                        "anyOf": [
                                          {
                                            "const": 0,
                                            "type": "number"
                                          },
                                          {
                                            "const": 3,
                                            "type": "number"
                                          },
                                          {
                                            "const": 4,
                                            "type": "number"
                                          },
                                          {
                                            "const": 1,
                                            "type": "number"
                                          },
                                          {
                                            "const": 2,
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "mood": {
                                        "anyOf": [
                                          {
                                            "const": "monumental",
                                            "type": "string"
                                          },
                                          {
                                            "const": "warm",
                                            "type": "string"
                                          },
                                          {
                                            "const": "intimate",
                                            "type": "string"
                                          },
                                          {
                                            "const": "neutral",
                                            "type": "string"
                                          },
                                          {
                                            "const": "cool",
                                            "type": "string"
                                          },
                                          {
                                            "const": "dramatic",
                                            "type": "string"
                                          },
                                          {
                                            "const": "clinical",
                                            "type": "string"
                                          },
                                          {
                                            "const": "mysterious",
                                            "type": "string"
                                          },
                                          {
                                            "const": "energetic",
                                            "type": "string"
                                          },
                                          {
                                            "const": "contemplative",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "hero": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "motion": {
                                        "anyOf": [
                                          {
                                            "const": "none",
                                            "type": "string"
                                          },
                                          {
                                            "const": "restrained",
                                            "type": "string"
                                          },
                                          {
                                            "const": "active",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "contrast": {
                                        "anyOf": [
                                          {
                                            "const": "soft",
                                            "type": "string"
                                          },
                                          {
                                            "const": "natural",
                                            "type": "string"
                                          },
                                          {
                                            "const": "dramatic",
                                            "type": "string"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "intensity",
                                      "mood",
                                      "hero",
                                      "motion",
                                      "contrast"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "resolved": {
                                    "type": "object",
                                    "properties": {
                                      "lightingPreset": {
                                        "anyOf": [
                                          {
                                            "const": "monumental",
                                            "type": "string"
                                          },
                                          {
                                            "const": "warm",
                                            "type": "string"
                                          },
                                          {
                                            "const": "intimate",
                                            "type": "string"
                                          },
                                          {
                                            "const": "neutral",
                                            "type": "string"
                                          },
                                          {
                                            "const": "cool",
                                            "type": "string"
                                          },
                                          {
                                            "const": "clinical",
                                            "type": "string"
                                          },
                                          {
                                            "const": "dramatic-hero",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "atmospherePreset": {
                                        "anyOf": [
                                          {
                                            "const": "none",
                                            "type": "string"
                                          },
                                          {
                                            "const": "subtle-depth",
                                            "type": "string"
                                          },
                                          {
                                            "const": "haze",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "postProcessingPreset": {
                                        "anyOf": [
                                          {
                                            "const": "cinematic",
                                            "type": "string"
                                          },
                                          {
                                            "const": "minimal",
                                            "type": "string"
                                          },
                                          {
                                            "const": "balanced",
                                            "type": "string"
                                          },
                                          {
                                            "const": "hero",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "cameraEntryPreset": {
                                        "anyOf": [
                                          {
                                            "const": "none",
                                            "type": "string"
                                          },
                                          {
                                            "const": "settle",
                                            "type": "string"
                                          },
                                          {
                                            "const": "slow-reveal",
                                            "type": "string"
                                          },
                                          {
                                            "const": "hero-reveal",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "explorationPreset": {
                                        "const": "free-stable",
                                        "type": "string"
                                      },
                                      "ambientMotion": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "performance": {
                                        "type": "object",
                                        "properties": {
                                          "cinematicHigh": {
                                            "anyOf": [
                                              {
                                                "const": "minimal",
                                                "type": "string"
                                              },
                                              {
                                                "const": "balanced",
                                                "type": "string"
                                              },
                                              {
                                                "const": "high",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "balanced": {
                                            "anyOf": [
                                              {
                                                "const": "minimal",
                                                "type": "string"
                                              },
                                              {
                                                "const": "balanced",
                                                "type": "string"
                                              },
                                              {
                                                "const": "high",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "performance": {
                                            "anyOf": [
                                              {
                                                "const": "minimal",
                                                "type": "string"
                                              },
                                              {
                                                "const": "balanced",
                                                "type": "string"
                                              },
                                              {
                                                "const": "high",
                                                "type": "string"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "cinematicHigh",
                                          "balanced",
                                          "performance"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "lightingPreset",
                                      "atmospherePreset",
                                      "postProcessingPreset",
                                      "cameraEntryPreset",
                                      "explorationPreset",
                                      "ambientMotion",
                                      "performance"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "rules": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "event": {
                                          "anyOf": [
                                            {
                                              "const": "wright.room.enter",
                                              "type": "string"
                                            },
                                            {
                                              "const": "wright.room.leave",
                                              "type": "string"
                                            },
                                            {
                                              "const": "qway.object.near",
                                              "type": "string"
                                            },
                                            {
                                              "const": "ridley.dialogue.start",
                                              "type": "string"
                                            },
                                            {
                                              "const": "ridley.dialogue.end",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "target": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "preset": {
                                          "anyOf": [
                                            {
                                              "const": "hero",
                                              "type": "string"
                                            },
                                            {
                                              "const": "entry",
                                              "type": "string"
                                            },
                                            {
                                              "const": "exploration",
                                              "type": "string"
                                            },
                                            {
                                              "const": "dialogue",
                                              "type": "string"
                                            },
                                            {
                                              "const": "exit",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "once": {
                                          "anyOf": [
                                            {
                                              "const": false,
                                              "type": "boolean"
                                            },
                                            {
                                              "const": true,
                                              "type": "boolean"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "event",
                                        "target",
                                        "preset",
                                        "once"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "room",
                                  "intent",
                                  "resolved",
                                  "rules"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "schema",
                            "version",
                            "compiler",
                            "manual",
                            "styleProfile",
                            "rooms"
                          ],
                          "additionalProperties": false
                        },
                        "sequences": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "duration": {
                                "type": "number"
                              },
                              "cues": {
                                "type": "array",
                                "items": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "shot",
                                          "type": "string"
                                        },
                                        "type": {
                                          "anyOf": [
                                            {
                                              "const": "extreme-closeup",
                                              "type": "string"
                                            },
                                            {
                                              "const": "closeup",
                                              "type": "string"
                                            },
                                            {
                                              "const": "medium-closeup",
                                              "type": "string"
                                            },
                                            {
                                              "const": "medium",
                                              "type": "string"
                                            },
                                            {
                                              "const": "american",
                                              "type": "string"
                                            },
                                            {
                                              "const": "full",
                                              "type": "string"
                                            },
                                            {
                                              "const": "long",
                                              "type": "string"
                                            },
                                            {
                                              "const": "extreme-long",
                                              "type": "string"
                                            },
                                            {
                                              "const": "two-shot",
                                              "type": "string"
                                            },
                                            {
                                              "const": "over-the-shoulder",
                                              "type": "string"
                                            },
                                            {
                                              "const": "pov",
                                              "type": "string"
                                            },
                                            {
                                              "const": "establishing",
                                              "type": "string"
                                            },
                                            {
                                              "const": "insert",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "subjects": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "shoulder": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "movement": {
                                          "anyOf": [
                                            {
                                              "const": "static",
                                              "type": "string"
                                            },
                                            {
                                              "const": "pan",
                                              "type": "string"
                                            },
                                            {
                                              "const": "tilt",
                                              "type": "string"
                                            },
                                            {
                                              "const": "dolly",
                                              "type": "string"
                                            },
                                            {
                                              "const": "truck",
                                              "type": "string"
                                            },
                                            {
                                              "const": "pedestal",
                                              "type": "string"
                                            },
                                            {
                                              "const": "orbit",
                                              "type": "string"
                                            },
                                            {
                                              "const": "zoom",
                                              "type": "string"
                                            },
                                            {
                                              "const": "follow",
                                              "type": "string"
                                            },
                                            {
                                              "const": "crane",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "amount": {
                                          "type": "number"
                                        },
                                        "transition": {
                                          "anyOf": [
                                            {
                                              "const": "cut",
                                              "type": "string"
                                            },
                                            {
                                              "const": "smooth",
                                              "type": "string"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "type",
                                        "subjects",
                                        "shoulder",
                                        "movement",
                                        "amount",
                                        "transition"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "anyOf": [
                                            {
                                              "const": "dialogue",
                                              "type": "string"
                                            },
                                            {
                                              "const": "subtitle",
                                              "type": "string"
                                            },
                                            {
                                              "const": "narration",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "actor": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "text": {
                                          "type": "string"
                                        },
                                        "speech": {
                                          "type": "object",
                                          "properties": {
                                            "model": {
                                              "const": "gpt-4o-mini-tts-2025-12-15",
                                              "type": "string"
                                            },
                                            "voice": {
                                              "type": "string",
                                              "enum": [
                                                "alloy",
                                                "ash",
                                                "ballad",
                                                "coral",
                                                "echo",
                                                "fable",
                                                "nova",
                                                "onyx",
                                                "sage",
                                                "shimmer",
                                                "verse",
                                                "marin",
                                                "cedar"
                                              ]
                                            },
                                            "language": {
                                              "type": "string",
                                              "pattern": "^[a-z]{2,3}(-[A-Za-z]{2,8})?$"
                                            },
                                            "instructions": {
                                              "type": "string",
                                              "maxLength": 2000
                                            },
                                            "speed": {
                                              "type": "number",
                                              "minimum": 0.25,
                                              "maximum": 4
                                            }
                                          },
                                          "required": [
                                            "model",
                                            "voice",
                                            "language",
                                            "instructions",
                                            "speed"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "speechAudio": {
                                          "type": "string",
                                          "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-8][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "actor",
                                        "text"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "action",
                                          "type": "string"
                                        },
                                        "actor": {
                                          "type": "string"
                                        },
                                        "action": {
                                          "anyOf": [
                                            {
                                              "const": "look-at",
                                              "type": "string"
                                            },
                                            {
                                              "const": "move-to",
                                              "type": "string"
                                            },
                                            {
                                              "const": "animate",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "target": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "clip": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "number"
                                            }
                                          ]
                                        },
                                        "persistence": {
                                          "anyOf": [
                                            {
                                              "const": "temporary",
                                              "type": "string"
                                            },
                                            {
                                              "const": "runtime",
                                              "type": "string"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "actor",
                                        "action",
                                        "target",
                                        "clip",
                                        "persistence"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "emit",
                                          "type": "string"
                                        },
                                        "event": {
                                          "type": "string"
                                        },
                                        "target": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "event",
                                        "target"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "music",
                                          "type": "string"
                                        },
                                        "command": {
                                          "type": "object",
                                          "properties": {
                                            "action": {
                                              "anyOf": [
                                                {
                                                  "const": "play",
                                                  "type": "string"
                                                },
                                                {
                                                  "const": "stop",
                                                  "type": "string"
                                                },
                                                {
                                                  "const": "crossfade",
                                                  "type": "string"
                                                }
                                              ]
                                            },
                                            "assetId": {
                                              "type": "string"
                                            },
                                            "from": {
                                              "anyOf": [
                                                {
                                                  "type": "null"
                                                },
                                                {
                                                  "type": "string"
                                                }
                                              ]
                                            },
                                            "volume": {
                                              "type": "number"
                                            },
                                            "fade": {
                                              "type": "number"
                                            },
                                            "loop": {
                                              "anyOf": [
                                                {
                                                  "const": false,
                                                  "type": "boolean"
                                                },
                                                {
                                                  "const": true,
                                                  "type": "boolean"
                                                }
                                              ]
                                            }
                                          },
                                          "required": [
                                            "action",
                                            "assetId",
                                            "from",
                                            "volume",
                                            "fade",
                                            "loop"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "command"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "sfx",
                                          "type": "string"
                                        },
                                        "assetId": {
                                          "type": "string"
                                        },
                                        "spatial": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "volume": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind",
                                        "assetId",
                                        "spatial",
                                        "volume"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "number"
                                        },
                                        "duration": {
                                          "type": "number"
                                        },
                                        "span": {
                                          "type": "object",
                                          "properties": {
                                            "start": {
                                              "type": "number"
                                            },
                                            "end": {
                                              "type": "number"
                                            },
                                            "line": {
                                              "type": "number"
                                            },
                                            "column": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "start",
                                            "end",
                                            "line",
                                            "column"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "kind": {
                                          "const": "return",
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "start",
                                        "duration",
                                        "span",
                                        "kind"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "duration",
                              "cues"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "triggers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "subject": {
                                "type": "string"
                              },
                              "target": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "event": {
                                "anyOf": [
                                  {
                                    "const": "near",
                                    "type": "string"
                                  },
                                  {
                                    "const": "qway.object.enter",
                                    "type": "string"
                                  },
                                  {
                                    "const": "qway.object.leave",
                                    "type": "string"
                                  },
                                  {
                                    "const": "qway.relation.changed",
                                    "type": "string"
                                  },
                                  {
                                    "const": "qway.interaction",
                                    "type": "string"
                                  },
                                  {
                                    "const": "qway.trigger",
                                    "type": "string"
                                  },
                                  {
                                    "const": "ridley.complete",
                                    "type": "string"
                                  }
                                ]
                              },
                              "distance": {
                                "type": "number"
                              },
                              "cinematic": {
                                "type": "string"
                              },
                              "once": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "subject",
                              "target",
                              "event",
                              "distance",
                              "cinematic",
                              "once"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "schema",
                        "version",
                        "compiler",
                        "worldSceneId",
                        "worldSourceHash",
                        "sourceHash",
                        "bindings",
                        "sequences",
                        "triggers"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "direction": {
                  "type": "object",
                  "properties": {
                    "schema": {
                      "const": "quay.room-direction",
                      "type": "string"
                    },
                    "version": {
                      "const": "1.0.0",
                      "type": "string"
                    },
                    "compiler": {
                      "const": "ridley.direction/1",
                      "type": "string"
                    },
                    "manual": {
                      "const": "ridley.direction-manual/1",
                      "type": "string"
                    },
                    "styleProfile": {
                      "type": "object",
                      "properties": {
                        "styles": {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "const": "cinematic",
                                "type": "string"
                              },
                              {
                                "const": "restrained",
                                "type": "string"
                              },
                              {
                                "const": "surreal",
                                "type": "string"
                              },
                              {
                                "const": "documentary",
                                "type": "string"
                              },
                              {
                                "const": "elegant",
                                "type": "string"
                              },
                              {
                                "const": "playful",
                                "type": "string"
                              },
                              {
                                "const": "monumental",
                                "type": "string"
                              },
                              {
                                "const": "warm",
                                "type": "string"
                              },
                              {
                                "const": "cold",
                                "type": "string"
                              },
                              {
                                "const": "technological",
                                "type": "string"
                              },
                              {
                                "const": "natural",
                                "type": "string"
                              },
                              {
                                "const": "intimate",
                                "type": "string"
                              },
                              {
                                "const": "theatrical",
                                "type": "string"
                              },
                              {
                                "const": "high-contrast",
                                "type": "string"
                              },
                              {
                                "const": "soft-contrast",
                                "type": "string"
                              }
                            ]
                          }
                        },
                        "rooms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "room": {
                                "type": "string"
                              },
                              "intensity": {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 3,
                                    "type": "number"
                                  },
                                  {
                                    "const": 4,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  }
                                ]
                              },
                              "mood": {
                                "anyOf": [
                                  {
                                    "const": "monumental",
                                    "type": "string"
                                  },
                                  {
                                    "const": "warm",
                                    "type": "string"
                                  },
                                  {
                                    "const": "intimate",
                                    "type": "string"
                                  },
                                  {
                                    "const": "neutral",
                                    "type": "string"
                                  },
                                  {
                                    "const": "cool",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dramatic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clinical",
                                    "type": "string"
                                  },
                                  {
                                    "const": "mysterious",
                                    "type": "string"
                                  },
                                  {
                                    "const": "energetic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "contemplative",
                                    "type": "string"
                                  }
                                ]
                              },
                              "hero": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "motion": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "restrained",
                                    "type": "string"
                                  },
                                  {
                                    "const": "active",
                                    "type": "string"
                                  }
                                ]
                              },
                              "contrast": {
                                "anyOf": [
                                  {
                                    "const": "soft",
                                    "type": "string"
                                  },
                                  {
                                    "const": "natural",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dramatic",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "room"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "styles"
                      ],
                      "additionalProperties": false
                    },
                    "rooms": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "room": {
                            "type": "string"
                          },
                          "intent": {
                            "type": "object",
                            "properties": {
                              "intensity": {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 3,
                                    "type": "number"
                                  },
                                  {
                                    "const": 4,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  }
                                ]
                              },
                              "mood": {
                                "anyOf": [
                                  {
                                    "const": "monumental",
                                    "type": "string"
                                  },
                                  {
                                    "const": "warm",
                                    "type": "string"
                                  },
                                  {
                                    "const": "intimate",
                                    "type": "string"
                                  },
                                  {
                                    "const": "neutral",
                                    "type": "string"
                                  },
                                  {
                                    "const": "cool",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dramatic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clinical",
                                    "type": "string"
                                  },
                                  {
                                    "const": "mysterious",
                                    "type": "string"
                                  },
                                  {
                                    "const": "energetic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "contemplative",
                                    "type": "string"
                                  }
                                ]
                              },
                              "hero": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "motion": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "restrained",
                                    "type": "string"
                                  },
                                  {
                                    "const": "active",
                                    "type": "string"
                                  }
                                ]
                              },
                              "contrast": {
                                "anyOf": [
                                  {
                                    "const": "soft",
                                    "type": "string"
                                  },
                                  {
                                    "const": "natural",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dramatic",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "intensity",
                              "mood",
                              "hero",
                              "motion",
                              "contrast"
                            ],
                            "additionalProperties": false
                          },
                          "resolved": {
                            "type": "object",
                            "properties": {
                              "lightingPreset": {
                                "anyOf": [
                                  {
                                    "const": "monumental",
                                    "type": "string"
                                  },
                                  {
                                    "const": "warm",
                                    "type": "string"
                                  },
                                  {
                                    "const": "intimate",
                                    "type": "string"
                                  },
                                  {
                                    "const": "neutral",
                                    "type": "string"
                                  },
                                  {
                                    "const": "cool",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clinical",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dramatic-hero",
                                    "type": "string"
                                  }
                                ]
                              },
                              "atmospherePreset": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "subtle-depth",
                                    "type": "string"
                                  },
                                  {
                                    "const": "haze",
                                    "type": "string"
                                  }
                                ]
                              },
                              "postProcessingPreset": {
                                "anyOf": [
                                  {
                                    "const": "cinematic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "minimal",
                                    "type": "string"
                                  },
                                  {
                                    "const": "balanced",
                                    "type": "string"
                                  },
                                  {
                                    "const": "hero",
                                    "type": "string"
                                  }
                                ]
                              },
                              "cameraEntryPreset": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "settle",
                                    "type": "string"
                                  },
                                  {
                                    "const": "slow-reveal",
                                    "type": "string"
                                  },
                                  {
                                    "const": "hero-reveal",
                                    "type": "string"
                                  }
                                ]
                              },
                              "explorationPreset": {
                                "const": "free-stable",
                                "type": "string"
                              },
                              "ambientMotion": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "performance": {
                                "type": "object",
                                "properties": {
                                  "cinematicHigh": {
                                    "anyOf": [
                                      {
                                        "const": "minimal",
                                        "type": "string"
                                      },
                                      {
                                        "const": "balanced",
                                        "type": "string"
                                      },
                                      {
                                        "const": "high",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "balanced": {
                                    "anyOf": [
                                      {
                                        "const": "minimal",
                                        "type": "string"
                                      },
                                      {
                                        "const": "balanced",
                                        "type": "string"
                                      },
                                      {
                                        "const": "high",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "performance": {
                                    "anyOf": [
                                      {
                                        "const": "minimal",
                                        "type": "string"
                                      },
                                      {
                                        "const": "balanced",
                                        "type": "string"
                                      },
                                      {
                                        "const": "high",
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "cinematicHigh",
                                  "balanced",
                                  "performance"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "lightingPreset",
                              "atmospherePreset",
                              "postProcessingPreset",
                              "cameraEntryPreset",
                              "explorationPreset",
                              "ambientMotion",
                              "performance"
                            ],
                            "additionalProperties": false
                          },
                          "rules": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "event": {
                                  "anyOf": [
                                    {
                                      "const": "wright.room.enter",
                                      "type": "string"
                                    },
                                    {
                                      "const": "wright.room.leave",
                                      "type": "string"
                                    },
                                    {
                                      "const": "qway.object.near",
                                      "type": "string"
                                    },
                                    {
                                      "const": "ridley.dialogue.start",
                                      "type": "string"
                                    },
                                    {
                                      "const": "ridley.dialogue.end",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "target": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "preset": {
                                  "anyOf": [
                                    {
                                      "const": "hero",
                                      "type": "string"
                                    },
                                    {
                                      "const": "entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "exploration",
                                      "type": "string"
                                    },
                                    {
                                      "const": "dialogue",
                                      "type": "string"
                                    },
                                    {
                                      "const": "exit",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "once": {
                                  "anyOf": [
                                    {
                                      "const": false,
                                      "type": "boolean"
                                    },
                                    {
                                      "const": true,
                                      "type": "boolean"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "event",
                                "target",
                                "preset",
                                "once"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "room",
                          "intent",
                          "resolved",
                          "rules"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "schema",
                    "version",
                    "compiler",
                    "manual",
                    "styleProfile",
                    "rooms"
                  ],
                  "additionalProperties": false
                },
                "experience": {
                  "type": "object",
                  "properties": {
                    "personas": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "ridley.persona/1",
                            "type": "string"
                          },
                          "personaId": {
                            "type": "string"
                          },
                          "profileId": {
                            "type": "string"
                          },
                          "parentId": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "revision": {
                            "type": "number"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "description": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "role": {
                                "type": "string"
                              },
                              "instructions": {
                                "type": "string"
                              },
                              "knowledge": {
                                "type": "string"
                              },
                              "speakingStyle": {
                                "type": "string"
                              },
                              "language": {
                                "type": "string"
                              },
                              "allowedTopics": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "forbiddenTopics": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "emotionalBaseline": {
                                "type": "string"
                              },
                              "memory": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "session",
                                    "type": "string"
                                  }
                                ]
                              },
                              "maxTurns": {
                                "type": "number"
                              },
                              "maxHistoryChars": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "name",
                              "role",
                              "instructions",
                              "knowledge",
                              "speakingStyle",
                              "language",
                              "allowedTopics",
                              "forbiddenTopics",
                              "emotionalBaseline",
                              "memory",
                              "maxTurns",
                              "maxHistoryChars"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "version",
                          "personaId",
                          "profileId",
                          "parentId",
                          "revision",
                          "createdAt",
                          "sha256",
                          "description"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "npcs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "actor": {
                            "type": "string"
                          },
                          "profileId": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "actor",
                          "profileId"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "audio": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "ridley.audio/1",
                            "type": "string"
                          },
                          "assetId": {
                            "type": "string"
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "uri": {
                            "type": "string"
                          },
                          "byteLength": {
                            "type": "number"
                          },
                          "mediaType": {
                            "anyOf": [
                              {
                                "const": "audio/wav",
                                "type": "string"
                              },
                              {
                                "const": "audio/mpeg",
                                "type": "string"
                              }
                            ]
                          },
                          "durationSeconds": {
                            "type": "number"
                          },
                          "sampleRate": {
                            "type": "number"
                          },
                          "channels": {
                            "anyOf": [
                              {
                                "const": 1,
                                "type": "number"
                              },
                              {
                                "const": 2,
                                "type": "number"
                              }
                            ]
                          }
                        },
                        "required": [
                          "version",
                          "assetId",
                          "displayName",
                          "sha256",
                          "uri",
                          "byteLength",
                          "mediaType",
                          "durationSeconds",
                          "sampleRate",
                          "channels"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "schema": {
                      "const": "quay.experience",
                      "type": "string"
                    },
                    "version": {
                      "const": "1.0.0",
                      "type": "string"
                    },
                    "compiler": {
                      "const": "ridley.experience/1",
                      "type": "string"
                    },
                    "worldSceneId": {
                      "type": "string"
                    },
                    "worldSourceHash": {
                      "type": "string"
                    },
                    "sourceHash": {
                      "type": "string"
                    },
                    "bindings": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "initial": {
                      "type": "string"
                    },
                    "states": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "audio": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "action": {
                                  "anyOf": [
                                    {
                                      "const": "play",
                                      "type": "string"
                                    },
                                    {
                                      "const": "stop",
                                      "type": "string"
                                    },
                                    {
                                      "const": "crossfade",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "assetId": {
                                  "type": "string"
                                },
                                "from": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "volume": {
                                  "type": "number"
                                },
                                "fade": {
                                  "type": "number"
                                },
                                "loop": {
                                  "anyOf": [
                                    {
                                      "const": false,
                                      "type": "boolean"
                                    },
                                    {
                                      "const": true,
                                      "type": "boolean"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "action",
                                "assetId",
                                "from",
                                "volume",
                                "fade",
                                "loop"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "id": {
                            "type": "string"
                          },
                          "mode": {
                            "anyOf": [
                              {
                                "const": "cinematic",
                                "type": "string"
                              },
                              {
                                "const": "interactive",
                                "type": "string"
                              },
                              {
                                "const": "conversation",
                                "type": "string"
                              }
                            ]
                          },
                          "conversation": {
                            "type": "object",
                            "properties": {
                              "actor": {
                                "type": "string"
                              },
                              "profileId": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "actor",
                              "profileId"
                            ],
                            "additionalProperties": false
                          },
                          "cinematic": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "control": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "camera": {
                            "anyOf": [
                              {
                                "const": "third-person",
                                "type": "string"
                              },
                              {
                                "const": "first-person",
                                "type": "string"
                              },
                              {
                                "const": "overhead",
                                "type": "string"
                              },
                              {
                                "const": "overview",
                                "type": "string"
                              }
                            ]
                          },
                          "userCamera": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "followers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "actor": {
                                  "type": "string"
                                },
                                "target": {
                                  "type": "string"
                                },
                                "distance": {
                                  "type": "number"
                                },
                                "delay": {
                                  "type": "number"
                                },
                                "speed": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "actor",
                                "target",
                                "distance",
                                "delay",
                                "speed"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "id",
                          "mode",
                          "cinematic",
                          "control",
                          "camera",
                          "userCamera",
                          "followers"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "transitions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "from": {
                            "type": "string"
                          },
                          "to": {
                            "type": "string"
                          },
                          "event": {
                            "type": "string"
                          },
                          "subject": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "target": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "once": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "from",
                          "to",
                          "event",
                          "subject",
                          "target",
                          "once"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "schema",
                    "version",
                    "compiler",
                    "worldSceneId",
                    "worldSourceHash",
                    "sourceHash",
                    "bindings",
                    "initial",
                    "states",
                    "transitions"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "source",
                "document",
                "direction"
              ],
              "additionalProperties": false
            }
          ]
        }
      },
      "required": [
        "version",
        "screenplays",
        "draft",
        "accepted"
      ],
      "additionalProperties": false
    },
    "schema": {
      "const": "quay.project",
      "type": "string"
    },
    "schemaVersion": {
      "const": "2.0.0-draft.1",
      "type": "string"
    },
    "projectId": {
      "type": "string"
    },
    "revision": {
      "type": "number"
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "draft": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "sourceHash": {
          "type": "string"
        },
        "diagnostics": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "severity": {
                "anyOf": [
                  {
                    "const": "info",
                    "type": "string"
                  },
                  {
                    "const": "error",
                    "type": "string"
                  },
                  {
                    "const": "warning",
                    "type": "string"
                  }
                ]
              },
              "message": {
                "type": "string"
              },
              "span": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "start": {
                        "type": "number"
                      },
                      "end": {
                        "type": "number"
                      },
                      "line": {
                        "type": "number"
                      },
                      "column": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "start",
                      "end",
                      "line",
                      "column"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "identity": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            },
            "required": [
              "code",
              "severity",
              "message",
              "span",
              "identity"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "source",
        "sourceHash",
        "diagnostics"
      ],
      "additionalProperties": false
    },
    "accepted": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "sourceHash": {
              "type": "string"
            },
            "bindings": {
              "type": "object",
              "properties": {},
              "required": [],
              "additionalProperties": {
                "type": "string"
              }
            },
            "dependencies": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "assetId": {
                    "type": "string"
                  },
                  "manifestId": {
                    "type": "string"
                  },
                  "analysisRevision": {
                    "type": "string"
                  },
                  "contentHash": {
                    "type": "string"
                  }
                },
                "required": [
                  "assetId",
                  "manifestId",
                  "analysisRevision",
                  "contentHash"
                ],
                "additionalProperties": false
              }
            },
            "versions": {
              "type": "object",
              "properties": {
                "compiler": {
                  "const": "quay.compiler/1",
                  "type": "string"
                },
                "layout": {
                  "anyOf": [
                    {
                      "const": "quay.legacy-layout-adapter/1",
                      "type": "string"
                    },
                    {
                      "const": "quay.semantic-layout/1",
                      "type": "string"
                    },
                    {
                      "const": "quay.semantic-layout/2",
                      "type": "string"
                    }
                  ]
                },
                "policy": {
                  "anyOf": [
                    {
                      "const": "quay.static-policy/1",
                      "type": "string"
                    },
                    {
                      "const": "quay.physical-policy/1",
                      "type": "string"
                    }
                  ]
                }
              },
              "required": [
                "compiler",
                "layout",
                "policy"
              ],
              "additionalProperties": false
            },
            "scene": {
              "type": "object",
              "properties": {
                "wright": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "const": "wright.resolved/1",
                      "type": "string"
                    },
                    "topology": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "const": "wright.world/1",
                          "type": "string"
                        },
                        "identity": {
                          "type": "string"
                        },
                        "rooms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "furnishing": {
                                "type": "object",
                                "properties": {
                                  "roomProgram": {
                                    "type": "object",
                                    "properties": {
                                      "repair": {
                                        "type": "object",
                                        "properties": {
                                          "stage": {
                                            "const": "semantic",
                                            "type": "string"
                                          },
                                          "attempts": {
                                            "type": "number"
                                          },
                                          "strategy": {
                                            "anyOf": [
                                              {
                                                "const": "none",
                                                "type": "string"
                                              },
                                              {
                                                "const": "bounded-semantic-revision",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "initialFailures": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "finalState": {
                                            "const": "accepted",
                                            "type": "string"
                                          },
                                          "relaxedConstraints": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "stage",
                                          "attempts",
                                          "strategy",
                                          "initialFailures",
                                          "finalState",
                                          "relaxedConstraints"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "enrichment": {
                                        "type": "object",
                                        "properties": {
                                          "provider": {
                                            "type": "string"
                                          },
                                          "model": {
                                            "type": "string"
                                          },
                                          "version": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "provider",
                                          "model",
                                          "version"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "intent": {
                                        "type": "object",
                                        "properties": {
                                          "version": {
                                            "const": "qway.room-program/1",
                                            "type": "string"
                                          },
                                          "archetype": {
                                            "type": "string"
                                          },
                                          "archetypeRevision": {
                                            "type": "string"
                                          },
                                          "purpose": {
                                            "type": "string"
                                          },
                                          "capacity": {
                                            "type": "number"
                                          },
                                          "style": {
                                            "type": "string"
                                          },
                                          "zones": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "purpose": {
                                                  "type": "string"
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "purpose",
                                                "priority"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "needs": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "category": {
                                                  "type": "string"
                                                },
                                                "zone": {
                                                  "type": "string"
                                                },
                                                "quantity": {
                                                  "type": "number"
                                                },
                                                "capacity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "assetAlias": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "placement": {
                                                  "anyOf": [
                                                    {
                                                      "const": "center",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "auto",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "perimeter",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "category",
                                                "zone",
                                                "quantity",
                                                "capacity",
                                                "priority",
                                                "assetAlias",
                                                "placement",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "rules": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "kind": {
                                                  "anyOf": [
                                                    {
                                                      "const": "on",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "seating",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "beside",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "facing",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "near-window",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "wall-alignment",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "interior",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "access",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "visibility",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "clearance",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "circulation",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "minimum-dimensions",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "unsupported",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "subjects": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                },
                                                "target": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "strength": {
                                                  "anyOf": [
                                                    {
                                                      "const": "hard",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "soft",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "clearanceM": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "description": {
                                                  "type": "string"
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "kind",
                                                "subjects",
                                                "target",
                                                "priority",
                                                "strength",
                                                "clearanceM",
                                                "description",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "architecture": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "kind": {
                                                  "anyOf": [
                                                    {
                                                      "const": "window",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "portal",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "wall-run",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "open-center",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "natural-light",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "ceiling-light",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "quantity": {
                                                  "type": "number"
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "kind",
                                                "quantity",
                                                "priority",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "exclusions": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "category": {
                                                  "type": "string"
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "const": "explicit",
                                                      "type": "string"
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "category",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "uncertainties": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "version",
                                          "archetype",
                                          "archetypeRevision",
                                          "purpose",
                                          "capacity",
                                          "style",
                                          "zones",
                                          "needs",
                                          "rules",
                                          "architecture",
                                          "exclusions",
                                          "uncertainties"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "archetypeSnapshot": {
                                        "type": "object",
                                        "properties": {
                                          "version": {
                                            "const": "qway.room-program/1",
                                            "type": "string"
                                          },
                                          "archetype": {
                                            "type": "string"
                                          },
                                          "archetypeRevision": {
                                            "type": "string"
                                          },
                                          "purpose": {
                                            "type": "string"
                                          },
                                          "capacity": {
                                            "type": "number"
                                          },
                                          "style": {
                                            "type": "string"
                                          },
                                          "zones": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "purpose": {
                                                  "type": "string"
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "purpose",
                                                "priority"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "needs": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "category": {
                                                  "type": "string"
                                                },
                                                "zone": {
                                                  "type": "string"
                                                },
                                                "quantity": {
                                                  "type": "number"
                                                },
                                                "capacity": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "assetAlias": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "placement": {
                                                  "anyOf": [
                                                    {
                                                      "const": "center",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "auto",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "perimeter",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "category",
                                                "zone",
                                                "quantity",
                                                "capacity",
                                                "priority",
                                                "assetAlias",
                                                "placement",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "rules": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "kind": {
                                                  "anyOf": [
                                                    {
                                                      "const": "on",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "seating",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "beside",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "facing",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "near-window",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "wall-alignment",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "interior",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "access",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "visibility",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "clearance",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "circulation",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "minimum-dimensions",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "unsupported",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "subjects": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                },
                                                "target": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "strength": {
                                                  "anyOf": [
                                                    {
                                                      "const": "hard",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "soft",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "clearanceM": {
                                                  "anyOf": [
                                                    {
                                                      "type": "null"
                                                    },
                                                    {
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "description": {
                                                  "type": "string"
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "kind",
                                                "subjects",
                                                "target",
                                                "priority",
                                                "strength",
                                                "clearanceM",
                                                "description",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "architecture": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "reference": {
                                                  "type": "string"
                                                },
                                                "kind": {
                                                  "anyOf": [
                                                    {
                                                      "const": "window",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "portal",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "wall-run",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "open-center",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "natural-light",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "ceiling-light",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "quantity": {
                                                  "type": "number"
                                                },
                                                "priority": {
                                                  "anyOf": [
                                                    {
                                                      "const": "required",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "recommended",
                                                      "type": "string"
                                                    },
                                                    {
                                                      "const": "optional",
                                                      "type": "string"
                                                    }
                                                  ]
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "anyOf": [
                                                        {
                                                          "const": "explicit",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "archetype",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "const": "inferred",
                                                          "type": "string"
                                                        }
                                                      ]
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "reference",
                                                "kind",
                                                "quantity",
                                                "priority",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "exclusions": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "category": {
                                                  "type": "string"
                                                },
                                                "evidence": {
                                                  "type": "object",
                                                  "properties": {
                                                    "origin": {
                                                      "const": "explicit",
                                                      "type": "string"
                                                    },
                                                    "confidence": {
                                                      "type": "number"
                                                    },
                                                    "explanation": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "origin",
                                                    "confidence",
                                                    "explanation"
                                                  ],
                                                  "additionalProperties": false
                                                }
                                              },
                                              "required": [
                                                "category",
                                                "evidence"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "uncertainties": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "version",
                                          "archetype",
                                          "archetypeRevision",
                                          "purpose",
                                          "capacity",
                                          "style",
                                          "zones",
                                          "needs",
                                          "rules",
                                          "architecture",
                                          "exclusions",
                                          "uncertainties"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "bindings": {
                                        "type": "object",
                                        "properties": {},
                                        "required": [],
                                        "additionalProperties": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "intent",
                                      "archetypeSnapshot",
                                      "bindings"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "version": {
                                    "const": "qway.furnishing/1",
                                    "type": "string"
                                  },
                                  "purpose": {
                                    "type": "string"
                                  },
                                  "capacity": {
                                    "type": "number"
                                  },
                                  "style": {
                                    "type": "string"
                                  },
                                  "needs": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "identity": {
                                          "type": "string"
                                        },
                                        "category": {
                                          "type": "string"
                                        },
                                        "quantity": {
                                          "type": "number"
                                        },
                                        "capacity": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "number"
                                            }
                                          ]
                                        },
                                        "assetAlias": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "placement": {
                                          "anyOf": [
                                            {
                                              "const": "center",
                                              "type": "string"
                                            },
                                            {
                                              "const": "auto",
                                              "type": "string"
                                            },
                                            {
                                              "const": "perimeter",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "relation": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "const": "on",
                                              "type": "string"
                                            },
                                            {
                                              "const": "seating",
                                              "type": "string"
                                            },
                                            {
                                              "const": "near-window",
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "target": {
                                          "anyOf": [
                                            {
                                              "type": "null"
                                            },
                                            {
                                              "type": "string"
                                            }
                                          ]
                                        },
                                        "instances": {
                                          "type": "array",
                                          "items": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      },
                                      "required": [
                                        "identity",
                                        "category",
                                        "quantity",
                                        "capacity",
                                        "assetAlias",
                                        "placement",
                                        "relation",
                                        "target",
                                        "instances"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "version",
                                  "purpose",
                                  "capacity",
                                  "style",
                                  "needs"
                                ],
                                "additionalProperties": false
                              },
                              "identity": {
                                "type": "string"
                              },
                              "alias": {
                                "type": "string",
                                "maxLength": 100
                              },
                              "label": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "level": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "parent": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "size": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "frame": {
                                "type": "object",
                                "properties": {
                                  "position": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "quaternion": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 4,
                                    "maxItems": 4,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "position",
                                  "quaternion"
                                ],
                                "additionalProperties": false
                              },
                              "backdrop": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "materialId": {
                                        "type": "string"
                                      },
                                      "identity": {
                                        "type": "string"
                                      },
                                      "semantic": {
                                        "type": "string",
                                        "maxLength": 200
                                      },
                                      "source": {
                                        "anyOf": [
                                          {
                                            "type": "object",
                                            "properties": {
                                              "kind": {
                                                "const": "image",
                                                "type": "string"
                                              },
                                              "assetId": {
                                                "type": "string"
                                              },
                                              "uri": {
                                                "type": "string"
                                              },
                                              "mediaType": {
                                                "anyOf": [
                                                  {
                                                    "const": "image/png",
                                                    "type": "string"
                                                  },
                                                  {
                                                    "const": "image/jpeg",
                                                    "type": "string"
                                                  },
                                                  {
                                                    "const": "image/webp",
                                                    "type": "string"
                                                  }
                                                ]
                                              },
                                              "sha256": {
                                                "type": "string"
                                              },
                                              "byteLength": {
                                                "type": "number"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "assetId",
                                              "uri",
                                              "mediaType",
                                              "sha256",
                                              "byteLength"
                                            ],
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "kind": {
                                                "const": "asset",
                                                "type": "string"
                                              },
                                              "uri": {
                                                "type": "null"
                                              },
                                              "assetId": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "uri",
                                              "assetId"
                                            ],
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "side": {
                                        "anyOf": [
                                          {
                                            "const": "north",
                                            "type": "string"
                                          },
                                          {
                                            "const": "south",
                                            "type": "string"
                                          },
                                          {
                                            "const": "east",
                                            "type": "string"
                                          },
                                          {
                                            "const": "west",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "mode": {
                                        "const": "architectural",
                                        "type": "string"
                                      },
                                      "fit": {
                                        "anyOf": [
                                          {
                                            "const": "cover",
                                            "type": "string"
                                          },
                                          {
                                            "const": "contain",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "projection": {
                                        "const": "flat",
                                        "type": "string"
                                      },
                                      "distance": {
                                        "type": "number"
                                      },
                                      "lighting": {
                                        "anyOf": [
                                          {
                                            "const": "unlit",
                                            "type": "string"
                                          },
                                          {
                                            "const": "lit",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "enabled": {
                                        "anyOf": [
                                          {
                                            "const": false,
                                            "type": "boolean"
                                          },
                                          {
                                            "const": true,
                                            "type": "boolean"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "identity",
                                      "semantic",
                                      "source",
                                      "side",
                                      "mode",
                                      "fit",
                                      "projection",
                                      "distance",
                                      "lighting",
                                      "enabled"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "north": {
                                        "type": "object",
                                        "properties": {
                                          "materialId": {
                                            "type": "string"
                                          },
                                          "identity": {
                                            "type": "string"
                                          },
                                          "semantic": {
                                            "type": "string",
                                            "maxLength": 200
                                          },
                                          "source": {
                                            "anyOf": [
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "image",
                                                    "type": "string"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "string"
                                                  },
                                                  "mediaType": {
                                                    "anyOf": [
                                                      {
                                                        "const": "image/png",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/jpeg",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/webp",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  },
                                                  "sha256": {
                                                    "type": "string"
                                                  },
                                                  "byteLength": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "assetId",
                                                  "uri",
                                                  "mediaType",
                                                  "sha256",
                                                  "byteLength"
                                                ],
                                                "additionalProperties": false
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "asset",
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "null"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "uri",
                                                  "assetId"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "side": {
                                            "anyOf": [
                                              {
                                                "const": "north",
                                                "type": "string"
                                              },
                                              {
                                                "const": "south",
                                                "type": "string"
                                              },
                                              {
                                                "const": "east",
                                                "type": "string"
                                              },
                                              {
                                                "const": "west",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "mode": {
                                            "const": "architectural",
                                            "type": "string"
                                          },
                                          "fit": {
                                            "anyOf": [
                                              {
                                                "const": "cover",
                                                "type": "string"
                                              },
                                              {
                                                "const": "contain",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "projection": {
                                            "const": "flat",
                                            "type": "string"
                                          },
                                          "distance": {
                                            "type": "number"
                                          },
                                          "lighting": {
                                            "anyOf": [
                                              {
                                                "const": "unlit",
                                                "type": "string"
                                              },
                                              {
                                                "const": "lit",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "enabled": {
                                            "anyOf": [
                                              {
                                                "const": false,
                                                "type": "boolean"
                                              },
                                              {
                                                "const": true,
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "identity",
                                          "semantic",
                                          "source",
                                          "side",
                                          "mode",
                                          "fit",
                                          "projection",
                                          "distance",
                                          "lighting",
                                          "enabled"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "south": {
                                        "type": "object",
                                        "properties": {
                                          "materialId": {
                                            "type": "string"
                                          },
                                          "identity": {
                                            "type": "string"
                                          },
                                          "semantic": {
                                            "type": "string",
                                            "maxLength": 200
                                          },
                                          "source": {
                                            "anyOf": [
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "image",
                                                    "type": "string"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "string"
                                                  },
                                                  "mediaType": {
                                                    "anyOf": [
                                                      {
                                                        "const": "image/png",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/jpeg",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/webp",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  },
                                                  "sha256": {
                                                    "type": "string"
                                                  },
                                                  "byteLength": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "assetId",
                                                  "uri",
                                                  "mediaType",
                                                  "sha256",
                                                  "byteLength"
                                                ],
                                                "additionalProperties": false
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "asset",
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "null"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "uri",
                                                  "assetId"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "side": {
                                            "anyOf": [
                                              {
                                                "const": "north",
                                                "type": "string"
                                              },
                                              {
                                                "const": "south",
                                                "type": "string"
                                              },
                                              {
                                                "const": "east",
                                                "type": "string"
                                              },
                                              {
                                                "const": "west",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "mode": {
                                            "const": "architectural",
                                            "type": "string"
                                          },
                                          "fit": {
                                            "anyOf": [
                                              {
                                                "const": "cover",
                                                "type": "string"
                                              },
                                              {
                                                "const": "contain",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "projection": {
                                            "const": "flat",
                                            "type": "string"
                                          },
                                          "distance": {
                                            "type": "number"
                                          },
                                          "lighting": {
                                            "anyOf": [
                                              {
                                                "const": "unlit",
                                                "type": "string"
                                              },
                                              {
                                                "const": "lit",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "enabled": {
                                            "anyOf": [
                                              {
                                                "const": false,
                                                "type": "boolean"
                                              },
                                              {
                                                "const": true,
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "identity",
                                          "semantic",
                                          "source",
                                          "side",
                                          "mode",
                                          "fit",
                                          "projection",
                                          "distance",
                                          "lighting",
                                          "enabled"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "east": {
                                        "type": "object",
                                        "properties": {
                                          "materialId": {
                                            "type": "string"
                                          },
                                          "identity": {
                                            "type": "string"
                                          },
                                          "semantic": {
                                            "type": "string",
                                            "maxLength": 200
                                          },
                                          "source": {
                                            "anyOf": [
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "image",
                                                    "type": "string"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "string"
                                                  },
                                                  "mediaType": {
                                                    "anyOf": [
                                                      {
                                                        "const": "image/png",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/jpeg",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/webp",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  },
                                                  "sha256": {
                                                    "type": "string"
                                                  },
                                                  "byteLength": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "assetId",
                                                  "uri",
                                                  "mediaType",
                                                  "sha256",
                                                  "byteLength"
                                                ],
                                                "additionalProperties": false
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "asset",
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "null"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "uri",
                                                  "assetId"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "side": {
                                            "anyOf": [
                                              {
                                                "const": "north",
                                                "type": "string"
                                              },
                                              {
                                                "const": "south",
                                                "type": "string"
                                              },
                                              {
                                                "const": "east",
                                                "type": "string"
                                              },
                                              {
                                                "const": "west",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "mode": {
                                            "const": "architectural",
                                            "type": "string"
                                          },
                                          "fit": {
                                            "anyOf": [
                                              {
                                                "const": "cover",
                                                "type": "string"
                                              },
                                              {
                                                "const": "contain",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "projection": {
                                            "const": "flat",
                                            "type": "string"
                                          },
                                          "distance": {
                                            "type": "number"
                                          },
                                          "lighting": {
                                            "anyOf": [
                                              {
                                                "const": "unlit",
                                                "type": "string"
                                              },
                                              {
                                                "const": "lit",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "enabled": {
                                            "anyOf": [
                                              {
                                                "const": false,
                                                "type": "boolean"
                                              },
                                              {
                                                "const": true,
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "identity",
                                          "semantic",
                                          "source",
                                          "side",
                                          "mode",
                                          "fit",
                                          "projection",
                                          "distance",
                                          "lighting",
                                          "enabled"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "west": {
                                        "type": "object",
                                        "properties": {
                                          "materialId": {
                                            "type": "string"
                                          },
                                          "identity": {
                                            "type": "string"
                                          },
                                          "semantic": {
                                            "type": "string",
                                            "maxLength": 200
                                          },
                                          "source": {
                                            "anyOf": [
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "image",
                                                    "type": "string"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "string"
                                                  },
                                                  "mediaType": {
                                                    "anyOf": [
                                                      {
                                                        "const": "image/png",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/jpeg",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "image/webp",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  },
                                                  "sha256": {
                                                    "type": "string"
                                                  },
                                                  "byteLength": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "assetId",
                                                  "uri",
                                                  "mediaType",
                                                  "sha256",
                                                  "byteLength"
                                                ],
                                                "additionalProperties": false
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "kind": {
                                                    "const": "asset",
                                                    "type": "string"
                                                  },
                                                  "uri": {
                                                    "type": "null"
                                                  },
                                                  "assetId": {
                                                    "type": "string"
                                                  }
                                                },
                                                "required": [
                                                  "kind",
                                                  "uri",
                                                  "assetId"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "side": {
                                            "anyOf": [
                                              {
                                                "const": "north",
                                                "type": "string"
                                              },
                                              {
                                                "const": "south",
                                                "type": "string"
                                              },
                                              {
                                                "const": "east",
                                                "type": "string"
                                              },
                                              {
                                                "const": "west",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "mode": {
                                            "const": "architectural",
                                            "type": "string"
                                          },
                                          "fit": {
                                            "anyOf": [
                                              {
                                                "const": "cover",
                                                "type": "string"
                                              },
                                              {
                                                "const": "contain",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "projection": {
                                            "const": "flat",
                                            "type": "string"
                                          },
                                          "distance": {
                                            "type": "number"
                                          },
                                          "lighting": {
                                            "anyOf": [
                                              {
                                                "const": "unlit",
                                                "type": "string"
                                              },
                                              {
                                                "const": "lit",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "enabled": {
                                            "anyOf": [
                                              {
                                                "const": false,
                                                "type": "boolean"
                                              },
                                              {
                                                "const": true,
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "identity",
                                          "semantic",
                                          "source",
                                          "side",
                                          "mode",
                                          "fit",
                                          "projection",
                                          "distance",
                                          "lighting",
                                          "enabled"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "alias",
                              "label",
                              "level",
                              "parent",
                              "size",
                              "frame"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "levels": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "identity",
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "portals": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "alias": {
                                "type": "string",
                                "maxLength": 100
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": "string"
                              },
                              "frame": {
                                "type": "object",
                                "properties": {
                                  "position": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "quaternion": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 4,
                                    "maxItems": 4,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "position",
                                  "quaternion"
                                ],
                                "additionalProperties": false
                              },
                              "width": {
                                "type": "number"
                              },
                              "height": {
                                "type": "number"
                              },
                              "traversable": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              },
                              "door": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "alias",
                              "from",
                              "to",
                              "frame",
                              "width",
                              "height",
                              "traversable",
                              "door"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "entrances": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "alias": {
                                "type": "string",
                                "maxLength": 100
                              },
                              "room": {
                                "type": "string"
                              },
                              "frame": {
                                "type": "object",
                                "properties": {
                                  "position": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "quaternion": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 4,
                                    "maxItems": 4,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "position",
                                  "quaternion"
                                ],
                                "additionalProperties": false
                              },
                              "width": {
                                "type": "number"
                              },
                              "height": {
                                "type": "number"
                              },
                              "traversable": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              },
                              "door": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "alias",
                              "room",
                              "frame",
                              "width",
                              "height",
                              "traversable",
                              "door"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "membership": {
                          "type": "object",
                          "properties": {},
                          "required": [],
                          "additionalProperties": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "version",
                        "identity",
                        "rooms",
                        "levels",
                        "portals",
                        "membership"
                      ],
                      "additionalProperties": false
                    },
                    "worldFrames": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "position": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 3,
                            "maxItems": 3,
                            "items": false
                          },
                          "quaternion": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 4,
                            "maxItems": 4,
                            "items": false
                          }
                        },
                        "required": [
                          "position",
                          "quaternion"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "localPoses": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "position": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 3,
                            "maxItems": 3,
                            "items": false
                          },
                          "quaternion": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 4,
                            "maxItems": 4,
                            "items": false
                          },
                          "scale": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 3,
                            "maxItems": 3,
                            "items": false
                          }
                        },
                        "required": [
                          "position",
                          "quaternion",
                          "scale"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "programVerification": {
                      "type": "object",
                      "properties": {
                        "policy": {
                          "anyOf": [
                            {
                              "const": "qway.room-program-geometry/1",
                              "type": "string"
                            },
                            {
                              "const": "qway.room-program-geometry/2",
                              "type": "string"
                            },
                            {
                              "const": "qway.room-program-geometry/3",
                              "type": "string"
                            }
                          ]
                        },
                        "actor": {
                          "type": "object",
                          "properties": {
                            "radiusM": {
                              "type": "number"
                            },
                            "heightM": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "radiusM",
                            "heightM"
                          ],
                          "additionalProperties": false
                        },
                        "rooms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "room": {
                                "type": "string"
                              },
                              "archetypeRevision": {
                                "type": "string"
                              },
                              "layout": {
                                "type": "object",
                                "properties": {
                                  "policy": {
                                    "const": "qway.room-program-layout/1",
                                    "type": "string"
                                  },
                                  "strategy": {
                                    "const": "bounded-geometric-search",
                                    "type": "string"
                                  },
                                  "candidateBudget": {
                                    "type": "number"
                                  },
                                  "candidatesTested": {
                                    "type": "number"
                                  },
                                  "passesPerformed": {
                                    "type": "number"
                                  },
                                  "initialRules": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "reference": {
                                          "type": "string"
                                        },
                                        "status": {
                                          "anyOf": [
                                            {
                                              "const": "unsupported",
                                              "type": "string"
                                            },
                                            {
                                              "const": "satisfied",
                                              "type": "string"
                                            },
                                            {
                                              "const": "failed",
                                              "type": "string"
                                            },
                                            {
                                              "const": "unknown",
                                              "type": "string"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "reference",
                                        "status"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "changedInstances": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "relaxedConstraints": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "termination": {
                                    "anyOf": [
                                      {
                                        "const": "stationary",
                                        "type": "string"
                                      },
                                      {
                                        "const": "budget-exhausted",
                                        "type": "string"
                                      },
                                      {
                                        "const": "pass-limit",
                                        "type": "string"
                                      },
                                      {
                                        "const": "zero-score",
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "policy",
                                  "strategy",
                                  "candidateBudget",
                                  "candidatesTested",
                                  "passesPerformed",
                                  "initialRules",
                                  "changedInstances",
                                  "relaxedConstraints",
                                  "termination"
                                ],
                                "additionalProperties": false
                              },
                              "inventory": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "reference": {
                                      "type": "string"
                                    },
                                    "priority": {
                                      "anyOf": [
                                        {
                                          "const": "required",
                                          "type": "string"
                                        },
                                        {
                                          "const": "recommended",
                                          "type": "string"
                                        },
                                        {
                                          "const": "optional",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "requestedUnits": {
                                      "type": "number"
                                    },
                                    "resolvedUnits": {
                                      "type": "number"
                                    },
                                    "status": {
                                      "anyOf": [
                                        {
                                          "const": "unsupported",
                                          "type": "string"
                                        },
                                        {
                                          "const": "satisfied",
                                          "type": "string"
                                        },
                                        {
                                          "const": "failed",
                                          "type": "string"
                                        },
                                        {
                                          "const": "unknown",
                                          "type": "string"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "reference",
                                    "priority",
                                    "requestedUnits",
                                    "resolvedUnits",
                                    "status"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "rules": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "reference": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "anyOf": [
                                        {
                                          "const": "on",
                                          "type": "string"
                                        },
                                        {
                                          "const": "seating",
                                          "type": "string"
                                        },
                                        {
                                          "const": "beside",
                                          "type": "string"
                                        },
                                        {
                                          "const": "facing",
                                          "type": "string"
                                        },
                                        {
                                          "const": "near-window",
                                          "type": "string"
                                        },
                                        {
                                          "const": "wall-alignment",
                                          "type": "string"
                                        },
                                        {
                                          "const": "interior",
                                          "type": "string"
                                        },
                                        {
                                          "const": "access",
                                          "type": "string"
                                        },
                                        {
                                          "const": "visibility",
                                          "type": "string"
                                        },
                                        {
                                          "const": "clearance",
                                          "type": "string"
                                        },
                                        {
                                          "const": "circulation",
                                          "type": "string"
                                        },
                                        {
                                          "const": "minimum-dimensions",
                                          "type": "string"
                                        },
                                        {
                                          "const": "unsupported",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "priority": {
                                      "anyOf": [
                                        {
                                          "const": "required",
                                          "type": "string"
                                        },
                                        {
                                          "const": "recommended",
                                          "type": "string"
                                        },
                                        {
                                          "const": "optional",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "strength": {
                                      "anyOf": [
                                        {
                                          "const": "hard",
                                          "type": "string"
                                        },
                                        {
                                          "const": "soft",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "status": {
                                      "anyOf": [
                                        {
                                          "const": "unsupported",
                                          "type": "string"
                                        },
                                        {
                                          "const": "satisfied",
                                          "type": "string"
                                        },
                                        {
                                          "const": "failed",
                                          "type": "string"
                                        },
                                        {
                                          "const": "unknown",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "message": {
                                      "type": "string",
                                      "maxLength": 2000
                                    },
                                    "pairs": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "target": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "status": {
                                            "anyOf": [
                                              {
                                                "const": "unsupported",
                                                "type": "string"
                                              },
                                              {
                                                "const": "satisfied",
                                                "type": "string"
                                              },
                                              {
                                                "const": "failed",
                                                "type": "string"
                                              },
                                              {
                                                "const": "unknown",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "message": {
                                            "type": "string",
                                            "maxLength": 2000
                                          },
                                          "residuals": {
                                            "type": "object",
                                            "properties": {},
                                            "required": [],
                                            "additionalProperties": {
                                              "type": "number"
                                            }
                                          }
                                        },
                                        "required": [
                                          "subject",
                                          "target",
                                          "status",
                                          "message",
                                          "residuals"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "reference",
                                    "kind",
                                    "priority",
                                    "strength",
                                    "status",
                                    "message",
                                    "pairs"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "architecture": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "reference": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "anyOf": [
                                        {
                                          "const": "window",
                                          "type": "string"
                                        },
                                        {
                                          "const": "portal",
                                          "type": "string"
                                        },
                                        {
                                          "const": "wall-run",
                                          "type": "string"
                                        },
                                        {
                                          "const": "open-center",
                                          "type": "string"
                                        },
                                        {
                                          "const": "natural-light",
                                          "type": "string"
                                        },
                                        {
                                          "const": "ceiling-light",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "priority": {
                                      "anyOf": [
                                        {
                                          "const": "required",
                                          "type": "string"
                                        },
                                        {
                                          "const": "recommended",
                                          "type": "string"
                                        },
                                        {
                                          "const": "optional",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "requested": {
                                      "type": "number"
                                    },
                                    "verified": {
                                      "type": "number"
                                    },
                                    "status": {
                                      "anyOf": [
                                        {
                                          "const": "unsupported",
                                          "type": "string"
                                        },
                                        {
                                          "const": "satisfied",
                                          "type": "string"
                                        },
                                        {
                                          "const": "failed",
                                          "type": "string"
                                        },
                                        {
                                          "const": "unknown",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "message": {
                                      "type": "string",
                                      "maxLength": 2000
                                    }
                                  },
                                  "required": [
                                    "reference",
                                    "kind",
                                    "priority",
                                    "requested",
                                    "verified",
                                    "status",
                                    "message"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "room",
                              "archetypeRevision",
                              "inventory",
                              "rules",
                              "architecture"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "policy",
                        "actor",
                        "rooms"
                      ],
                      "additionalProperties": false
                    },
                    "verification": {
                      "type": "object",
                      "properties": {
                        "policy": {
                          "const": "wright.portal-geometry/1",
                          "type": "string"
                        },
                        "actor": {
                          "type": "object",
                          "properties": {
                            "radius": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "radius",
                            "height"
                          ],
                          "additionalProperties": false
                        },
                        "portals": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "requestedAperture": {
                                "anyOf": [
                                  {
                                    "const": "unknown",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clear",
                                    "type": "string"
                                  },
                                  {
                                    "const": "collision",
                                    "type": "string"
                                  }
                                ]
                              },
                              "actorPassage": {
                                "anyOf": [
                                  {
                                    "const": "unknown",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clear",
                                    "type": "string"
                                  },
                                  {
                                    "const": "collision",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "requestedAperture",
                              "actorPassage"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "entrances": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "requestedAperture": {
                                "anyOf": [
                                  {
                                    "const": "unknown",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clear",
                                    "type": "string"
                                  },
                                  {
                                    "const": "collision",
                                    "type": "string"
                                  }
                                ]
                              },
                              "actorPassage": {
                                "anyOf": [
                                  {
                                    "const": "unknown",
                                    "type": "string"
                                  },
                                  {
                                    "const": "clear",
                                    "type": "string"
                                  },
                                  {
                                    "const": "collision",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "requestedAperture",
                              "actorPassage"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "circulation": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "room": {
                                "type": "string"
                              },
                              "status": {
                                "anyOf": [
                                  {
                                    "const": "unsupported",
                                    "type": "string"
                                  },
                                  {
                                    "const": "ready",
                                    "type": "string"
                                  },
                                  {
                                    "const": "unresolved",
                                    "type": "string"
                                  },
                                  {
                                    "const": "not-requested",
                                    "type": "string"
                                  }
                                ]
                              },
                              "entryCount": {
                                "type": "number"
                              },
                              "reachableSamples": {
                                "type": "number"
                              },
                              "routeOutcomes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "room",
                              "status",
                              "entryCount",
                              "reachableSamples",
                              "routeOutcomes"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "navigationBoxes": {
                          "type": "object",
                          "properties": {},
                          "required": [],
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "min": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 3,
                                  "maxItems": 3,
                                  "items": false
                                },
                                "max": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 3,
                                  "maxItems": 3,
                                  "items": false
                                }
                              },
                              "required": [
                                "min",
                                "max"
                              ],
                              "additionalProperties": false
                            }
                          }
                        }
                      },
                      "required": [
                        "policy",
                        "actor",
                        "portals",
                        "circulation",
                        "navigationBoxes"
                      ],
                      "additionalProperties": false
                    },
                    "diagnostics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "anyOf": [
                              {
                                "const": "error",
                                "type": "string"
                              },
                              {
                                "const": "warning",
                                "type": "string"
                              }
                            ]
                          },
                          "identity": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "severity",
                          "identity",
                          "message"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "version",
                    "topology",
                    "worldFrames",
                    "localPoses",
                    "diagnostics"
                  ],
                  "additionalProperties": false
                },
                "schema": {
                  "const": "quay.scene",
                  "type": "string"
                },
                "schemaVersion": {
                  "const": "2.0.0-draft.1",
                  "type": "string"
                },
                "semantic": {
                  "type": "object",
                  "properties": {
                    "materials": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "quay.material/1",
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "category": {
                            "anyOf": [
                              {
                                "const": "glass",
                                "type": "string"
                              },
                              {
                                "const": "generic",
                                "type": "string"
                              },
                              {
                                "const": "wood",
                                "type": "string"
                              },
                              {
                                "const": "metal",
                                "type": "string"
                              },
                              {
                                "const": "stone",
                                "type": "string"
                              },
                              {
                                "const": "concrete",
                                "type": "string"
                              },
                              {
                                "const": "ceramic",
                                "type": "string"
                              },
                              {
                                "const": "fabric",
                                "type": "string"
                              },
                              {
                                "const": "paper",
                                "type": "string"
                              },
                              {
                                "const": "plastic",
                                "type": "string"
                              },
                              {
                                "const": "paint",
                                "type": "string"
                              }
                            ]
                          },
                          "shader": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "standard",
                                "type": "string"
                              }
                            ]
                          },
                          "color": {
                            "type": "string"
                          },
                          "roughness": {
                            "type": "number"
                          },
                          "metalness": {
                            "type": "number"
                          },
                          "emissive": {
                            "type": "string"
                          },
                          "emissiveIntensity": {
                            "type": "number"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "alphaMode": {
                            "anyOf": [
                              {
                                "const": "opaque",
                                "type": "string"
                              },
                              {
                                "const": "mask",
                                "type": "string"
                              },
                              {
                                "const": "blend",
                                "type": "string"
                              }
                            ]
                          },
                          "alphaCutoff": {
                            "type": "number"
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "back",
                                "type": "string"
                              },
                              {
                                "const": "front",
                                "type": "string"
                              },
                              {
                                "const": "double",
                                "type": "string"
                              }
                            ]
                          },
                          "preset": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "maps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slot": {
                                  "anyOf": [
                                    {
                                      "const": "color",
                                      "type": "string"
                                    },
                                    {
                                      "const": "normal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "roughness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "metalness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "emissive",
                                      "type": "string"
                                    },
                                    {
                                      "const": "occlusion",
                                      "type": "string"
                                    },
                                    {
                                      "const": "alpha",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "image": {
                                  "type": "object",
                                  "properties": {
                                    "assetId": {
                                      "type": "string"
                                    },
                                    "uri": {
                                      "type": "string"
                                    },
                                    "sha256": {
                                      "type": "string"
                                    },
                                    "byteLength": {
                                      "type": "number"
                                    },
                                    "mediaType": {
                                      "anyOf": [
                                        {
                                          "const": "image/png",
                                          "type": "string"
                                        },
                                        {
                                          "const": "image/jpeg",
                                          "type": "string"
                                        },
                                        {
                                          "const": "image/webp",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "displayName": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "assetId",
                                    "uri",
                                    "sha256",
                                    "byteLength",
                                    "mediaType",
                                    "displayName"
                                  ],
                                  "additionalProperties": false
                                },
                                "repeat": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2,
                                  "items": false
                                },
                                "offset": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2,
                                  "items": false
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "wrap": {
                                  "anyOf": [
                                    {
                                      "const": "repeat",
                                      "type": "string"
                                    },
                                    {
                                      "const": "clamp",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mirror",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "slot",
                                "image",
                                "repeat",
                                "offset",
                                "rotation",
                                "wrap"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "version",
                          "identity",
                          "alias",
                          "label",
                          "description",
                          "category",
                          "shader",
                          "color",
                          "roughness",
                          "metalness",
                          "emissive",
                          "emissiveIntensity",
                          "opacity",
                          "alphaMode",
                          "alphaCutoff",
                          "side",
                          "preset",
                          "maps"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "assetPolicy": {
                      "const": "project-user-standard",
                      "type": "string"
                    },
                    "composition": {
                      "const": "quay.room-composition/1",
                      "type": "string"
                    },
                    "version": {
                      "const": "quay.semantic/1",
                      "type": "string"
                    },
                    "sceneId": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "seed": {
                      "type": "number"
                    },
                    "room": {
                      "type": "object",
                      "properties": {
                        "identity": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "size": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "minItems": 3,
                          "maxItems": 3,
                          "items": false
                        }
                      },
                      "required": [
                        "identity",
                        "size"
                      ],
                      "additionalProperties": false
                    },
                    "profile": {
                      "anyOf": [
                        {
                          "const": "static",
                          "type": "string"
                        },
                        {
                          "const": "physical",
                          "type": "string"
                        }
                      ]
                    },
                    "objects": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "region": {
                            "anyOf": [
                              {
                                "const": "center",
                                "type": "string"
                              },
                              {
                                "const": "perimeter",
                                "type": "string"
                              }
                            ]
                          },
                          "actor": {
                            "type": "object",
                            "properties": {
                              "policy": {
                                "const": "quay.actor-box/1",
                                "type": "string"
                              },
                              "size": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "eye": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "manipulationOrigin": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "reachM": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "policy",
                              "size",
                              "eye",
                              "manipulationOrigin",
                              "reachM"
                            ],
                            "additionalProperties": false
                          },
                          "animation": {
                            "type": "object",
                            "properties": {
                              "policy": {
                                "const": "quay.animation/1",
                                "type": "string"
                              },
                              "clipIndex": {
                                "type": "number"
                              },
                              "clipName": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "mode": {
                                "anyOf": [
                                  {
                                    "const": "in-place",
                                    "type": "string"
                                  },
                                  {
                                    "const": "articulated",
                                    "type": "string"
                                  }
                                ]
                              },
                              "speed": {
                                "type": "number"
                              },
                              "loop": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              },
                              "offsetSeconds": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "policy",
                              "clipIndex",
                              "clipName",
                              "mode",
                              "speed",
                              "loop",
                              "offsetSeconds"
                            ],
                            "additionalProperties": false
                          },
                          "normalization": {
                            "type": "object",
                            "properties": {
                              "rawBounds": {
                                "type": "object",
                                "properties": {
                                  "min": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "max": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "min",
                                  "max"
                                ],
                                "additionalProperties": false
                              },
                              "scale": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "baseOffset": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "forwardCorrection": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              }
                            },
                            "required": [
                              "rawBounds",
                              "scale",
                              "baseOffset",
                              "forwardCorrection"
                            ],
                            "additionalProperties": false
                          },
                          "orientation": {
                            "type": "object",
                            "properties": {
                              "policy": {
                                "anyOf": [
                                  {
                                    "const": "quay.orientation/1",
                                    "type": "string"
                                  },
                                  {
                                    "const": "quay.orientation/2",
                                    "type": "string"
                                  }
                                ]
                              },
                              "quaternion": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              },
                              "up": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "front": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "confidence": {
                                "type": "number"
                              },
                              "evidence": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "policy",
                              "quaternion",
                              "up",
                              "front",
                              "confidence",
                              "evidence"
                            ],
                            "additionalProperties": false
                          },
                          "identity": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "notes": {
                            "type": "string",
                            "maxLength": 2000
                          },
                          "assetId": {
                            "type": "string"
                          },
                          "manifestId": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "pose": {
                            "type": "object",
                            "properties": {
                              "position": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "quaternion": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              },
                              "scale": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              }
                            },
                            "required": [],
                            "additionalProperties": false
                          },
                          "size": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              }
                            ]
                          },
                          "sizing": {
                            "type": "object",
                            "properties": {
                              "measurement": {
                                "type": "object",
                                "properties": {
                                  "reference": {
                                    "anyOf": [
                                      {
                                        "const": "whole-bounds",
                                        "type": "string"
                                      },
                                      {
                                        "const": "withers",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "targetM": {
                                    "type": "number"
                                  },
                                  "sourceReferenceM": {
                                    "type": "number"
                                  },
                                  "method": {
                                    "anyOf": [
                                      {
                                        "const": "measured-bounds",
                                        "type": "string"
                                      },
                                      {
                                        "const": "rig-shoulder-envelope-approximation/1",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "confidence": {
                                    "type": "number"
                                  },
                                  "evidence": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "reference",
                                  "targetM",
                                  "sourceReferenceM",
                                  "method",
                                  "confidence",
                                  "evidence"
                                ],
                                "additionalProperties": false
                              },
                              "policy": {
                                "const": "quay.sizing/1",
                                "type": "string"
                              },
                              "measuredDimensions": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "orientedDimensions": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "chosenDimensions": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "finalSceneDimensions": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "uniformScale": {
                                "type": "number"
                              },
                              "profile": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "schema": {
                                        "const": "quay.archetype",
                                        "type": "string"
                                      },
                                      "schemaVersion": {
                                        "const": "1.0.0",
                                        "type": "string"
                                      },
                                      "profileId": {
                                        "type": "string"
                                      },
                                      "revision": {
                                        "type": "number"
                                      },
                                      "parentId": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "semanticClass": {
                                        "type": "string"
                                      },
                                      "status": {
                                        "anyOf": [
                                          {
                                            "const": "accepted",
                                            "type": "string"
                                          },
                                          {
                                            "const": "suggested",
                                            "type": "string"
                                          },
                                          {
                                            "const": "rejected",
                                            "type": "string"
                                          },
                                          {
                                            "const": "user-corrected",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "dimensions": {
                                        "type": "object",
                                        "properties": {
                                          "width": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "minM": {
                                                    "type": "number"
                                                  },
                                                  "typicalM": {
                                                    "type": "number"
                                                  },
                                                  "maxM": {
                                                    "type": "number"
                                                  },
                                                  "reference": {
                                                    "anyOf": [
                                                      {
                                                        "const": "whole-bounds",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "withers",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "seat",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "worktop",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "opening",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "minM",
                                                  "typicalM",
                                                  "maxM",
                                                  "reference"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "height": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "minM": {
                                                    "type": "number"
                                                  },
                                                  "typicalM": {
                                                    "type": "number"
                                                  },
                                                  "maxM": {
                                                    "type": "number"
                                                  },
                                                  "reference": {
                                                    "anyOf": [
                                                      {
                                                        "const": "whole-bounds",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "withers",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "seat",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "worktop",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "opening",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "minM",
                                                  "typicalM",
                                                  "maxM",
                                                  "reference"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          },
                                          "depth": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "object",
                                                "properties": {
                                                  "minM": {
                                                    "type": "number"
                                                  },
                                                  "typicalM": {
                                                    "type": "number"
                                                  },
                                                  "maxM": {
                                                    "type": "number"
                                                  },
                                                  "reference": {
                                                    "anyOf": [
                                                      {
                                                        "const": "whole-bounds",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "withers",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "seat",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "worktop",
                                                        "type": "string"
                                                      },
                                                      {
                                                        "const": "opening",
                                                        "type": "string"
                                                      }
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "minM",
                                                  "typicalM",
                                                  "maxM",
                                                  "reference"
                                                ],
                                                "additionalProperties": false
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "width",
                                          "height",
                                          "depth"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "preferredDimension": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "const": "width",
                                            "type": "string"
                                          },
                                          {
                                            "const": "height",
                                            "type": "string"
                                          },
                                          {
                                            "const": "depth",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "grounding": {
                                        "anyOf": [
                                          {
                                            "const": "architectural",
                                            "type": "string"
                                          },
                                          {
                                            "const": "unknown",
                                            "type": "string"
                                          },
                                          {
                                            "const": "floor",
                                            "type": "string"
                                          },
                                          {
                                            "const": "support",
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "orientation": {
                                        "type": "object",
                                        "properties": {
                                          "up": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "const": "+Y",
                                                "type": "string"
                                              },
                                              {
                                                "const": "+Z",
                                                "type": "string"
                                              },
                                              {
                                                "const": "+X",
                                                "type": "string"
                                              },
                                              {
                                                "const": "-Y",
                                                "type": "string"
                                              },
                                              {
                                                "const": "-Z",
                                                "type": "string"
                                              },
                                              {
                                                "const": "-X",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "forward": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "const": "+Z",
                                                "type": "string"
                                              },
                                              {
                                                "const": "+X",
                                                "type": "string"
                                              },
                                              {
                                                "const": "-Z",
                                                "type": "string"
                                              },
                                              {
                                                "const": "-X",
                                                "type": "string"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "up",
                                          "forward"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "affordances": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "clearances": {
                                        "type": "object",
                                        "properties": {
                                          "usableSideM": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "number"
                                              }
                                            ]
                                          },
                                          "circulationM": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "number"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "usableSideM",
                                          "circulationM"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "relationHints": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "provenance": {
                                        "type": "object",
                                        "properties": {
                                          "source": {
                                            "anyOf": [
                                              {
                                                "const": "standard",
                                                "type": "string"
                                              },
                                              {
                                                "const": "curated",
                                                "type": "string"
                                              },
                                              {
                                                "const": "ai_inferred",
                                                "type": "string"
                                              },
                                              {
                                                "const": "user_confirmed",
                                                "type": "string"
                                              },
                                              {
                                                "const": "project_specific",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "producer": {
                                            "type": "string"
                                          },
                                          "model": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "inferenceVersion": {
                                            "type": "string"
                                          },
                                          "requestedClass": {
                                            "anyOf": [
                                              {
                                                "type": "null"
                                              },
                                              {
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          "confidence": {
                                            "type": "number"
                                          },
                                          "createdAt": {
                                            "type": "string"
                                          },
                                          "evidence": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "source",
                                          "producer",
                                          "model",
                                          "inferenceVersion",
                                          "requestedClass",
                                          "confidence",
                                          "createdAt",
                                          "evidence"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "schema",
                                      "schemaVersion",
                                      "profileId",
                                      "revision",
                                      "parentId",
                                      "semanticClass",
                                      "status",
                                      "dimensions",
                                      "preferredDimension",
                                      "grounding",
                                      "orientation",
                                      "affordances",
                                      "clearances",
                                      "relationHints",
                                      "provenance"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "const": "archetype",
                                    "type": "string"
                                  },
                                  {
                                    "const": "instance",
                                    "type": "string"
                                  },
                                  {
                                    "const": "conservative-fallback",
                                    "type": "string"
                                  }
                                ]
                              },
                              "plausibility": {
                                "anyOf": [
                                  {
                                    "const": "unknown",
                                    "type": "string"
                                  },
                                  {
                                    "const": "plausible",
                                    "type": "string"
                                  },
                                  {
                                    "const": "implausible",
                                    "type": "string"
                                  }
                                ]
                              },
                              "diagnostics": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "policy",
                              "measuredDimensions",
                              "orientedDimensions",
                              "chosenDimensions",
                              "uniformScale",
                              "profile",
                              "source",
                              "plausibility",
                              "diagnostics"
                            ],
                            "additionalProperties": false
                          },
                          "architecture": {
                            "type": "object",
                            "properties": {
                              "boundary": {
                                "anyOf": [
                                  {
                                    "const": "back",
                                    "type": "string"
                                  },
                                  {
                                    "const": "front",
                                    "type": "string"
                                  },
                                  {
                                    "const": "left",
                                    "type": "string"
                                  },
                                  {
                                    "const": "right",
                                    "type": "string"
                                  }
                                ]
                              },
                              "section": {
                                "anyOf": [
                                  {
                                    "const": "full",
                                    "type": "string"
                                  },
                                  {
                                    "const": "opening-left",
                                    "type": "string"
                                  },
                                  {
                                    "const": "opening-right",
                                    "type": "string"
                                  },
                                  {
                                    "const": "opening-header",
                                    "type": "string"
                                  },
                                  {
                                    "const": "opening-sill",
                                    "type": "string"
                                  }
                                ]
                              },
                              "opening": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "boundary",
                              "section",
                              "opening"
                            ],
                            "additionalProperties": false
                          },
                          "physics": {
                            "type": "object",
                            "properties": {
                              "motion": {
                                "anyOf": [
                                  {
                                    "const": "static",
                                    "type": "string"
                                  },
                                  {
                                    "const": "dynamic",
                                    "type": "string"
                                  },
                                  {
                                    "const": "kinematic",
                                    "type": "string"
                                  }
                                ]
                              },
                              "collision": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "solid",
                                    "type": "string"
                                  },
                                  {
                                    "const": "sensor",
                                    "type": "string"
                                  }
                                ]
                              },
                              "controller": {
                                "anyOf": [
                                  {
                                    "const": "none",
                                    "type": "string"
                                  },
                                  {
                                    "const": "character",
                                    "type": "string"
                                  }
                                ]
                              },
                              "collider": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "identity": {
                                        "type": "string"
                                      },
                                      "manifestId": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "featureId": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "string"
                                          }
                                        ]
                                      },
                                      "kind": {
                                        "anyOf": [
                                          {
                                            "const": "object",
                                            "type": "string"
                                          },
                                          {
                                            "const": "component",
                                            "type": "string"
                                          },
                                          {
                                            "const": "surface",
                                            "type": "string"
                                          },
                                          {
                                            "const": "collider",
                                            "type": "string"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "identity",
                                      "manifestId",
                                      "featureId",
                                      "kind"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "shape": {
                                "anyOf": [
                                  {
                                    "const": "auto",
                                    "type": "string"
                                  },
                                  {
                                    "const": "box",
                                    "type": "string"
                                  },
                                  {
                                    "const": "convex-hull",
                                    "type": "string"
                                  },
                                  {
                                    "const": "decomposition",
                                    "type": "string"
                                  },
                                  {
                                    "const": "triangle-mesh",
                                    "type": "string"
                                  }
                                ]
                              },
                              "massKg": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              },
                              "friction": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              },
                              "restitution": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              },
                              "provenance": {
                                "type": "object",
                                "properties": {},
                                "required": [],
                                "additionalProperties": {
                                  "anyOf": [
                                    {
                                      "const": "instance",
                                      "type": "string"
                                    },
                                    {
                                      "const": "asset-override",
                                      "type": "string"
                                    },
                                    {
                                      "const": "profile",
                                      "type": "string"
                                    },
                                    {
                                      "const": "inference",
                                      "type": "string"
                                    },
                                    {
                                      "const": "fallback",
                                      "type": "string"
                                    }
                                  ]
                                }
                              }
                            },
                            "required": [
                              "motion",
                              "collision",
                              "controller",
                              "collider",
                              "massKg",
                              "friction",
                              "restitution",
                              "provenance"
                            ],
                            "additionalProperties": false
                          },
                          "interaction": {
                            "type": "object",
                            "properties": {
                              "capabilities": {
                                "type": "array",
                                "items": {
                                  "anyOf": [
                                    {
                                      "const": "animate",
                                      "type": "string"
                                    },
                                    {
                                      "const": "grab",
                                      "type": "string"
                                    },
                                    {
                                      "const": "open",
                                      "type": "string"
                                    },
                                    {
                                      "const": "close",
                                      "type": "string"
                                    },
                                    {
                                      "const": "toggle",
                                      "type": "string"
                                    },
                                    {
                                      "const": "walk",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "enabled": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              },
                              "cooldownSeconds": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "capabilities",
                              "enabled",
                              "cooldownSeconds"
                            ],
                            "additionalProperties": false
                          },
                          "span": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "number"
                              },
                              "end": {
                                "type": "number"
                              },
                              "line": {
                                "type": "number"
                              },
                              "column": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "line",
                              "column"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "identity",
                          "alias",
                          "label",
                          "assetId",
                          "manifestId",
                          "role",
                          "visible",
                          "pose",
                          "size",
                          "physics",
                          "interaction",
                          "span"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "wallImages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "assetId": {
                            "type": "string"
                          },
                          "wallInstanceId": {
                            "type": "string"
                          },
                          "uri": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "byteLength": {
                            "type": "number"
                          },
                          "mediaType": {
                            "anyOf": [
                              {
                                "const": "image/png",
                                "type": "string"
                              },
                              {
                                "const": "image/jpeg",
                                "type": "string"
                              },
                              {
                                "const": "image/webp",
                                "type": "string"
                              }
                            ]
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "position": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 2,
                            "maxItems": 2,
                            "items": false
                          },
                          "size": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 2,
                            "maxItems": 2,
                            "items": false
                          },
                          "surfaceOffset": {
                            "type": "number"
                          },
                          "preserveAspectRatio": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "span": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "number"
                              },
                              "end": {
                                "type": "number"
                              },
                              "line": {
                                "type": "number"
                              },
                              "column": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "line",
                              "column"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "identity",
                          "alias",
                          "label",
                          "assetId",
                          "wallInstanceId",
                          "uri",
                          "sha256",
                          "byteLength",
                          "mediaType",
                          "displayName",
                          "position",
                          "size",
                          "surfaceOffset",
                          "preserveAspectRatio",
                          "span"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "interactiveLabels": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "identity": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "parentObjectId": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "icon": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "anchor": {
                            "anyOf": [
                              {
                                "const": "center",
                                "type": "string"
                              },
                              {
                                "const": "custom",
                                "type": "string"
                              },
                              {
                                "const": "front",
                                "type": "string"
                              },
                              {
                                "const": "left",
                                "type": "string"
                              },
                              {
                                "const": "right",
                                "type": "string"
                              },
                              {
                                "const": "above",
                                "type": "string"
                              }
                            ]
                          },
                          "offset": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 3,
                            "maxItems": 3,
                            "items": false
                          },
                          "maxDistance": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "billboard": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "theme": {
                            "anyOf": [
                              {
                                "const": "warm",
                                "type": "string"
                              },
                              {
                                "const": "cool",
                                "type": "string"
                              },
                              {
                                "const": "default",
                                "type": "string"
                              }
                            ]
                          },
                          "action": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "none",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "anyOf": [
                                      {
                                        "const": "html",
                                        "type": "string"
                                      },
                                      {
                                        "const": "pdf",
                                        "type": "string"
                                      },
                                      {
                                        "const": "audio",
                                        "type": "string"
                                      },
                                      {
                                        "const": "video",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "assetId": {
                                    "type": "string"
                                  },
                                  "uri": {
                                    "type": "string"
                                  },
                                  "sha256": {
                                    "type": "string"
                                  },
                                  "byteLength": {
                                    "type": "number"
                                  },
                                  "mediaType": {
                                    "type": "string"
                                  },
                                  "displayName": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "posterUri": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "captionsUri": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "autoplay": {
                                    "anyOf": [
                                      {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      {
                                        "const": true,
                                        "type": "boolean"
                                      }
                                    ]
                                  },
                                  "loop": {
                                    "anyOf": [
                                      {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      {
                                        "const": true,
                                        "type": "boolean"
                                      }
                                    ]
                                  },
                                  "muted": {
                                    "anyOf": [
                                      {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      {
                                        "const": true,
                                        "type": "boolean"
                                      }
                                    ]
                                  },
                                  "volume": {
                                    "type": "number"
                                  },
                                  "restartOnOpen": {
                                    "anyOf": [
                                      {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      {
                                        "const": true,
                                        "type": "boolean"
                                      }
                                    ]
                                  },
                                  "startSeconds": {
                                    "type": "number"
                                  },
                                  "endSeconds": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "assetId",
                                  "uri",
                                  "sha256",
                                  "byteLength",
                                  "mediaType",
                                  "displayName",
                                  "title",
                                  "posterUri",
                                  "captionsUri",
                                  "autoplay",
                                  "loop",
                                  "muted",
                                  "volume",
                                  "restartOnOpen",
                                  "startSeconds",
                                  "endSeconds"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "ridley",
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "target"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "const": "external-link",
                                    "type": "string"
                                  },
                                  "url": {
                                    "type": "string",
                                    "maxLength": 2048
                                  }
                                },
                                "required": [
                                  "kind",
                                  "url"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "span": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "number"
                              },
                              "end": {
                                "type": "number"
                              },
                              "line": {
                                "type": "number"
                              },
                              "column": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "line",
                              "column"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "identity",
                          "alias",
                          "parentObjectId",
                          "text",
                          "icon",
                          "anchor",
                          "offset",
                          "maxDistance",
                          "billboard",
                          "theme",
                          "action",
                          "span"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "relations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "identity": {
                            "type": "string"
                          },
                          "kind": {
                            "anyOf": [
                              {
                                "const": "on",
                                "type": "string"
                              },
                              {
                                "const": "beside",
                                "type": "string"
                              },
                              {
                                "const": "facing",
                                "type": "string"
                              },
                              {
                                "const": "inside",
                                "type": "string"
                              },
                              {
                                "const": "against",
                                "type": "string"
                              },
                              {
                                "const": "attached-to",
                                "type": "string"
                              },
                              {
                                "const": "keep-clear",
                                "type": "string"
                              },
                              {
                                "const": "reachable-from",
                                "type": "string"
                              }
                            ]
                          },
                          "subject": {
                            "type": "object",
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "manifestId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "featureId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "kind": {
                                "anyOf": [
                                  {
                                    "const": "object",
                                    "type": "string"
                                  },
                                  {
                                    "const": "component",
                                    "type": "string"
                                  },
                                  {
                                    "const": "surface",
                                    "type": "string"
                                  },
                                  {
                                    "const": "collider",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "identity",
                              "manifestId",
                              "featureId",
                              "kind"
                            ],
                            "additionalProperties": false
                          },
                          "target": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "identity": {
                                    "type": "string"
                                  },
                                  "manifestId": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "featureId": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "kind": {
                                    "anyOf": [
                                      {
                                        "const": "object",
                                        "type": "string"
                                      },
                                      {
                                        "const": "component",
                                        "type": "string"
                                      },
                                      {
                                        "const": "surface",
                                        "type": "string"
                                      },
                                      {
                                        "const": "collider",
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "identity",
                                  "manifestId",
                                  "featureId",
                                  "kind"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "temporal": {
                            "anyOf": [
                              {
                                "const": "initial",
                                "type": "string"
                              },
                              {
                                "const": "monitor",
                                "type": "string"
                              },
                              {
                                "const": "maintain",
                                "type": "string"
                              }
                            ]
                          },
                          "strength": {
                            "anyOf": [
                              {
                                "const": "hard",
                                "type": "string"
                              },
                              {
                                "const": "soft",
                                "type": "string"
                              }
                            ]
                          },
                          "weight": {
                            "type": "number"
                          },
                          "parameters": {
                            "type": "object",
                            "properties": {},
                            "required": [],
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  }
                                }
                              ]
                            }
                          },
                          "sourceCommand": {
                            "type": "string"
                          },
                          "span": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "number"
                              },
                              "end": {
                                "type": "number"
                              },
                              "line": {
                                "type": "number"
                              },
                              "column": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "line",
                              "column"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "identity",
                          "kind",
                          "subject",
                          "target",
                          "temporal",
                          "strength",
                          "weight",
                          "parameters",
                          "sourceCommand",
                          "span"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "bindings": {
                      "type": "object",
                      "properties": {},
                      "required": [],
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "dependencies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "assetId": {
                            "type": "string"
                          },
                          "manifestId": {
                            "type": "string"
                          },
                          "analysisRevision": {
                            "type": "string"
                          },
                          "contentHash": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "assetId",
                          "manifestId",
                          "analysisRevision",
                          "contentHash"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "versions": {
                      "type": "object",
                      "properties": {
                        "compiler": {
                          "const": "quay.compiler/1",
                          "type": "string"
                        },
                        "layout": {
                          "anyOf": [
                            {
                              "const": "quay.legacy-layout-adapter/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.semantic-layout/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.semantic-layout/2",
                              "type": "string"
                            }
                          ]
                        },
                        "policy": {
                          "anyOf": [
                            {
                              "const": "quay.static-policy/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.physical-policy/1",
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "compiler",
                        "layout",
                        "policy"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "version",
                    "sceneId",
                    "name",
                    "seed",
                    "room",
                    "profile",
                    "objects",
                    "relations",
                    "bindings",
                    "dependencies",
                    "versions"
                  ],
                  "additionalProperties": false
                },
                "projection": {
                  "type": "object",
                  "properties": {
                    "materials": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "const": "quay.material/1",
                            "type": "string"
                          },
                          "identity": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "category": {
                            "anyOf": [
                              {
                                "const": "glass",
                                "type": "string"
                              },
                              {
                                "const": "generic",
                                "type": "string"
                              },
                              {
                                "const": "wood",
                                "type": "string"
                              },
                              {
                                "const": "metal",
                                "type": "string"
                              },
                              {
                                "const": "stone",
                                "type": "string"
                              },
                              {
                                "const": "concrete",
                                "type": "string"
                              },
                              {
                                "const": "ceramic",
                                "type": "string"
                              },
                              {
                                "const": "fabric",
                                "type": "string"
                              },
                              {
                                "const": "paper",
                                "type": "string"
                              },
                              {
                                "const": "plastic",
                                "type": "string"
                              },
                              {
                                "const": "paint",
                                "type": "string"
                              }
                            ]
                          },
                          "shader": {
                            "anyOf": [
                              {
                                "const": "unlit",
                                "type": "string"
                              },
                              {
                                "const": "standard",
                                "type": "string"
                              }
                            ]
                          },
                          "color": {
                            "type": "string"
                          },
                          "roughness": {
                            "type": "number"
                          },
                          "metalness": {
                            "type": "number"
                          },
                          "emissive": {
                            "type": "string"
                          },
                          "emissiveIntensity": {
                            "type": "number"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "alphaMode": {
                            "anyOf": [
                              {
                                "const": "opaque",
                                "type": "string"
                              },
                              {
                                "const": "mask",
                                "type": "string"
                              },
                              {
                                "const": "blend",
                                "type": "string"
                              }
                            ]
                          },
                          "alphaCutoff": {
                            "type": "number"
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": "back",
                                "type": "string"
                              },
                              {
                                "const": "front",
                                "type": "string"
                              },
                              {
                                "const": "double",
                                "type": "string"
                              }
                            ]
                          },
                          "preset": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "maps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slot": {
                                  "anyOf": [
                                    {
                                      "const": "color",
                                      "type": "string"
                                    },
                                    {
                                      "const": "normal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "roughness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "metalness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "emissive",
                                      "type": "string"
                                    },
                                    {
                                      "const": "occlusion",
                                      "type": "string"
                                    },
                                    {
                                      "const": "alpha",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "image": {
                                  "type": "object",
                                  "properties": {
                                    "assetId": {
                                      "type": "string"
                                    },
                                    "uri": {
                                      "type": "string"
                                    },
                                    "sha256": {
                                      "type": "string"
                                    },
                                    "byteLength": {
                                      "type": "number"
                                    },
                                    "mediaType": {
                                      "anyOf": [
                                        {
                                          "const": "image/png",
                                          "type": "string"
                                        },
                                        {
                                          "const": "image/jpeg",
                                          "type": "string"
                                        },
                                        {
                                          "const": "image/webp",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "displayName": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "assetId",
                                    "uri",
                                    "sha256",
                                    "byteLength",
                                    "mediaType",
                                    "displayName"
                                  ],
                                  "additionalProperties": false
                                },
                                "repeat": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2,
                                  "items": false
                                },
                                "offset": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2,
                                  "items": false
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "wrap": {
                                  "anyOf": [
                                    {
                                      "const": "repeat",
                                      "type": "string"
                                    },
                                    {
                                      "const": "clamp",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mirror",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "slot",
                                "image",
                                "repeat",
                                "offset",
                                "rotation",
                                "wrap"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "version",
                          "identity",
                          "alias",
                          "label",
                          "description",
                          "category",
                          "shader",
                          "color",
                          "roughness",
                          "metalness",
                          "emissive",
                          "emissiveIntensity",
                          "opacity",
                          "alphaMode",
                          "alphaCutoff",
                          "side",
                          "preset",
                          "maps"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "schema": {
                      "const": "quay.scene",
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "1.0.0",
                      "type": "string"
                    },
                    "sceneId": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "number"
                    },
                    "name": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string"
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "units": {
                      "const": "metres",
                      "type": "string"
                    },
                    "coordinateSystem": {
                      "const": "right-handed-y-up-negative-z-forward",
                      "type": "string"
                    },
                    "seed": {
                      "type": "number"
                    },
                    "environment": {
                      "type": "object",
                      "properties": {
                        "room": {
                          "type": "object",
                          "properties": {
                            "width": {
                              "type": "number"
                            },
                            "depth": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            },
                            "floorY": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "width",
                            "depth",
                            "height",
                            "floorY"
                          ],
                          "additionalProperties": false
                        },
                        "background": {
                          "type": "string"
                        },
                        "fog": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "color": {
                                  "type": "string"
                                },
                                "near": {
                                  "type": "number"
                                },
                                "far": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "color",
                                "near",
                                "far"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "floor": {
                          "type": "object",
                          "properties": {
                            "visible": {
                              "anyOf": [
                                {
                                  "const": false,
                                  "type": "boolean"
                                },
                                {
                                  "const": true,
                                  "type": "boolean"
                                }
                              ]
                            },
                            "color": {
                              "type": "string"
                            },
                            "receiveShadow": {
                              "anyOf": [
                                {
                                  "const": false,
                                  "type": "boolean"
                                },
                                {
                                  "const": true,
                                  "type": "boolean"
                                }
                              ]
                            },
                            "gridVisible": {
                              "anyOf": [
                                {
                                  "const": false,
                                  "type": "boolean"
                                },
                                {
                                  "const": true,
                                  "type": "boolean"
                                }
                              ]
                            }
                          },
                          "required": [
                            "visible",
                            "color",
                            "receiveShadow",
                            "gridVisible"
                          ],
                          "additionalProperties": false
                        },
                        "lights": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "anyOf": [
                                  {
                                    "const": "ambient",
                                    "type": "string"
                                  },
                                  {
                                    "const": "hemisphere",
                                    "type": "string"
                                  },
                                  {
                                    "const": "directional",
                                    "type": "string"
                                  },
                                  {
                                    "const": "point",
                                    "type": "string"
                                  }
                                ]
                              },
                              "color": {
                                "type": "string"
                              },
                              "groundColor": {
                                "type": "string"
                              },
                              "intensity": {
                                "type": "number"
                              },
                              "position": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "castShadow": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "color",
                              "intensity",
                              "position",
                              "castShadow"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "room",
                        "background",
                        "fog",
                        "floor",
                        "lights"
                      ],
                      "additionalProperties": false
                    },
                    "assets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "library": {
                            "type": "object",
                            "properties": {
                              "version": {
                                "const": "quay.asset-library/1",
                                "type": "string"
                              },
                              "alias": {
                                "type": "string"
                              },
                              "scope": {
                                "anyOf": [
                                  {
                                    "const": "project",
                                    "type": "string"
                                  },
                                  {
                                    "const": "standard",
                                    "type": "string"
                                  },
                                  {
                                    "const": "user",
                                    "type": "string"
                                  }
                                ]
                              },
                              "projectId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "origin": {
                                "type": "object",
                                "properties": {
                                  "provider": {
                                    "type": "string"
                                  },
                                  "originalAssetId": {
                                    "type": "string"
                                  },
                                  "originalUrl": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "author": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "license": {
                                    "type": "string"
                                  },
                                  "attributionRequired": {
                                    "anyOf": [
                                      {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      {
                                        "const": true,
                                        "type": "boolean"
                                      }
                                    ]
                                  },
                                  "originalFilename": {
                                    "type": "string"
                                  },
                                  "downloadedAt": {
                                    "type": "string"
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  },
                                  "sourceHash": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "provider",
                                  "originalAssetId",
                                  "originalUrl",
                                  "author",
                                  "license",
                                  "attributionRequired",
                                  "originalFilename",
                                  "downloadedAt",
                                  "contentHash",
                                  "sourceHash"
                                ],
                                "additionalProperties": false
                              },
                              "semantics": {
                                "type": "object",
                                "properties": {
                                  "taxonomy": {
                                    "const": "quay.asset-taxonomy/1",
                                    "type": "string"
                                  },
                                  "category": {
                                    "type": "string"
                                  },
                                  "styles": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "roomTypes": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "affordances": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "capacity": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "confidence": {
                                    "type": "number"
                                  },
                                  "state": {
                                    "anyOf": [
                                      {
                                        "const": "accepted",
                                        "type": "string"
                                      },
                                      {
                                        "const": "unknown",
                                        "type": "string"
                                      },
                                      {
                                        "const": "suggested",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "producer": {
                                    "type": "string"
                                  },
                                  "model": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "taxonomy",
                                  "category",
                                  "styles",
                                  "roomTypes",
                                  "affordances",
                                  "capacity",
                                  "confidence",
                                  "state",
                                  "producer",
                                  "model"
                                ],
                                "additionalProperties": false
                              },
                              "manifestId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "archetypeId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "cost": {
                                "type": "object",
                                "properties": {
                                  "triangles": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "materials": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "textureBytes": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "texturePixels": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "triangles",
                                  "materials",
                                  "textureBytes",
                                  "texturePixels"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "version",
                              "alias",
                              "scope",
                              "projectId",
                              "origin",
                              "semantics",
                              "manifestId",
                              "archetypeId",
                              "cost"
                            ],
                            "additionalProperties": false
                          },
                          "assetId": {
                            "type": "string"
                          },
                          "uri": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "byteLength": {
                            "type": "number"
                          },
                          "mediaType": {
                            "const": "model/gltf-binary",
                            "type": "string"
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "canonicalSize": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "number"
                              }
                            ],
                            "minItems": 3,
                            "maxItems": 3,
                            "items": false
                          },
                          "normalization": {
                            "type": "object",
                            "properties": {
                              "rawBounds": {
                                "type": "object",
                                "properties": {
                                  "min": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "max": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "min",
                                  "max"
                                ],
                                "additionalProperties": false
                              },
                              "scale": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "baseOffset": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "forwardCorrection": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              }
                            },
                            "required": [
                              "rawBounds",
                              "scale",
                              "baseOffset",
                              "forwardCorrection"
                            ],
                            "additionalProperties": false
                          },
                          "placement": {
                            "anyOf": [
                              {
                                "const": "floor_only",
                                "type": "string"
                              },
                              {
                                "const": "support_only",
                                "type": "string"
                              },
                              {
                                "const": "floor_or_support",
                                "type": "string"
                              }
                            ]
                          },
                          "supportsObjects": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "wallAlignment": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "const": "center",
                                "type": "string"
                              },
                              {
                                "const": "left",
                                "type": "string"
                              },
                              {
                                "const": "right",
                                "type": "string"
                              }
                            ]
                          },
                          "availability": {
                            "anyOf": [
                              {
                                "const": "local",
                                "type": "string"
                              },
                              {
                                "const": "global",
                                "type": "string"
                              }
                            ]
                          },
                          "roomId": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "supportSurfaces": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "surfaceId": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "center": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 3,
                                  "maxItems": 3,
                                  "items": false
                                },
                                "normal": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 3,
                                  "maxItems": 3,
                                  "items": false
                                },
                                "size": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2,
                                  "items": false
                                },
                                "source": {
                                  "anyOf": [
                                    {
                                      "const": "bounds",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mesh",
                                      "type": "string"
                                    },
                                    {
                                      "const": "manual",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "surfaceId",
                                "label",
                                "center",
                                "normal",
                                "size",
                                "source"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "assetId",
                          "uri",
                          "sha256",
                          "byteLength",
                          "mediaType",
                          "displayName",
                          "description",
                          "category",
                          "canonicalSize",
                          "normalization",
                          "placement",
                          "supportsObjects",
                          "supportSurfaces"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "imageAssets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "assetId": {
                            "type": "string"
                          },
                          "uri": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "byteLength": {
                            "type": "number"
                          },
                          "mediaType": {
                            "anyOf": [
                              {
                                "const": "image/png",
                                "type": "string"
                              },
                              {
                                "const": "image/jpeg",
                                "type": "string"
                              },
                              {
                                "const": "image/webp",
                                "type": "string"
                              }
                            ]
                          },
                          "displayName": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "assetId",
                          "uri",
                          "sha256",
                          "byteLength",
                          "mediaType",
                          "displayName"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "instances": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string"
                          },
                          "normalization": {
                            "type": "object",
                            "properties": {
                              "rawBounds": {
                                "type": "object",
                                "properties": {
                                  "min": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  },
                                  "max": {
                                    "type": "array",
                                    "prefixItems": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "number"
                                      }
                                    ],
                                    "minItems": 3,
                                    "maxItems": 3,
                                    "items": false
                                  }
                                },
                                "required": [
                                  "min",
                                  "max"
                                ],
                                "additionalProperties": false
                              },
                              "scale": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "baseOffset": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "forwardCorrection": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              }
                            },
                            "required": [
                              "rawBounds",
                              "scale",
                              "baseOffset",
                              "forwardCorrection"
                            ],
                            "additionalProperties": false
                          },
                          "instanceId": {
                            "type": "string"
                          },
                          "assetId": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "transform": {
                            "type": "object",
                            "properties": {
                              "position": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              },
                              "quaternion": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 4,
                                "maxItems": 4,
                                "items": false
                              },
                              "scale": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 3,
                                "maxItems": 3,
                                "items": false
                              }
                            },
                            "required": [
                              "position",
                              "quaternion",
                              "scale"
                            ],
                            "additionalProperties": false
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "castShadow": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "receiveShadow": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "locked": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "placement": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "anyOf": [
                                  {
                                    "const": "manual",
                                    "type": "string"
                                  },
                                  {
                                    "const": "solver",
                                    "type": "string"
                                  },
                                  {
                                    "const": "imported",
                                    "type": "string"
                                  }
                                ]
                              },
                              "supportingInstanceId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "supportSurfaceId": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "solverStatus": {
                                "anyOf": [
                                  {
                                    "const": "unresolved",
                                    "type": "string"
                                  },
                                  {
                                    "const": "fallback",
                                    "type": "string"
                                  },
                                  {
                                    "const": "placed",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "source",
                              "supportingInstanceId",
                              "supportSurfaceId",
                              "solverStatus"
                            ],
                            "additionalProperties": false
                          },
                          "tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "wallImage": {
                            "type": "object",
                            "properties": {
                              "wallInstanceId": {
                                "type": "string"
                              },
                              "assetId": {
                                "type": "string"
                              },
                              "position": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 2,
                                "maxItems": 2,
                                "items": false
                              },
                              "size": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ],
                                "minItems": 2,
                                "maxItems": 2,
                                "items": false
                              },
                              "surfaceOffset": {
                                "type": "number"
                              },
                              "preserveAspectRatio": {
                                "anyOf": [
                                  {
                                    "const": false,
                                    "type": "boolean"
                                  },
                                  {
                                    "const": true,
                                    "type": "boolean"
                                  }
                                ]
                              },
                              "surface": {
                                "anyOf": [
                                  {
                                    "const": "floor",
                                    "type": "string"
                                  },
                                  {
                                    "const": "wall",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "wallInstanceId",
                              "assetId",
                              "position",
                              "size",
                              "surfaceOffset",
                              "preserveAspectRatio"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "instanceId",
                          "assetId",
                          "name",
                          "transform",
                          "visible",
                          "castShadow",
                          "receiveShadow",
                          "locked",
                          "placement",
                          "tags"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "relations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "relationId": {
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "ON",
                                "type": "string"
                              },
                              {
                                "const": "NEAR",
                                "type": "string"
                              },
                              {
                                "const": "LEFT_OF",
                                "type": "string"
                              },
                              {
                                "const": "RIGHT_OF",
                                "type": "string"
                              },
                              {
                                "const": "IN_FRONT_OF",
                                "type": "string"
                              },
                              {
                                "const": "BEHIND",
                                "type": "string"
                              },
                              {
                                "const": "FACING",
                                "type": "string"
                              },
                              {
                                "const": "CENTERED_ON",
                                "type": "string"
                              },
                              {
                                "const": "ALIGNED_WITH",
                                "type": "string"
                              },
                              {
                                "const": "AGAINST_WALL",
                                "type": "string"
                              },
                              {
                                "const": "KEEP_CLEAR_OF",
                                "type": "string"
                              }
                            ]
                          },
                          "subjectInstanceId": {
                            "type": "string"
                          },
                          "targetInstanceId": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "strength": {
                            "anyOf": [
                              {
                                "const": "hard",
                                "type": "string"
                              },
                              {
                                "const": "soft",
                                "type": "string"
                              }
                            ]
                          },
                          "status": {
                            "anyOf": [
                              {
                                "const": "satisfied",
                                "type": "string"
                              },
                              {
                                "const": "unresolved",
                                "type": "string"
                              },
                              {
                                "const": "degraded",
                                "type": "string"
                              }
                            ]
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "relationId",
                          "type",
                          "subjectInstanceId",
                          "targetInstanceId",
                          "strength",
                          "status",
                          "message"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "diagnostics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "anyOf": [
                              {
                                "const": "info",
                                "type": "string"
                              },
                              {
                                "const": "error",
                                "type": "string"
                              },
                              {
                                "const": "warning",
                                "type": "string"
                              }
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "instanceIds": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "relationId": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "measurements": {
                            "type": "object",
                            "properties": {},
                            "required": [],
                            "additionalProperties": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "code",
                          "severity",
                          "message",
                          "instanceIds",
                          "relationId"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "unplacedInstanceIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "camera": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "const": "perspective",
                          "type": "string"
                        },
                        "position": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "minItems": 3,
                          "maxItems": 3,
                          "items": false
                        },
                        "target": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "minItems": 3,
                          "maxItems": 3,
                          "items": false
                        },
                        "up": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "minItems": 3,
                          "maxItems": 3,
                          "items": false
                        },
                        "fovDegrees": {
                          "type": "number"
                        },
                        "near": {
                          "type": "number"
                        },
                        "far": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "type",
                        "position",
                        "target",
                        "up",
                        "fovDegrees",
                        "near",
                        "far"
                      ],
                      "additionalProperties": false
                    },
                    "provenance": {
                      "type": "object",
                      "properties": {
                        "createdBy": {
                          "anyOf": [
                            {
                              "const": "quay",
                              "type": "string"
                            },
                            {
                              "const": "import",
                              "type": "string"
                            }
                          ]
                        },
                        "planner": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "provider": {
                                  "anyOf": [
                                    {
                                      "const": "openai",
                                      "type": "string"
                                    },
                                    {
                                      "const": "fake",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "model": {
                                  "type": "string"
                                },
                                "promptTemplateVersion": {
                                  "type": "string"
                                },
                                "requestId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "provider",
                                "model",
                                "promptTemplateVersion",
                                "requestId"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "layoutEngineVersion": {
                          "type": "string"
                        },
                        "threeVersion": {
                          "type": "string"
                        },
                        "sourcePrompt": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "createdBy",
                        "planner",
                        "layoutEngineVersion",
                        "threeVersion",
                        "sourcePrompt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "schema",
                    "schemaVersion",
                    "sceneId",
                    "revision",
                    "name",
                    "createdAt",
                    "updatedAt",
                    "units",
                    "coordinateSystem",
                    "seed",
                    "environment",
                    "assets",
                    "instances",
                    "relations",
                    "diagnostics",
                    "unplacedInstanceIds",
                    "camera",
                    "provenance"
                  ],
                  "additionalProperties": false
                },
                "evaluations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "identity": {
                        "type": "string"
                      },
                      "status": {
                        "anyOf": [
                          {
                            "const": "unsupported",
                            "type": "string"
                          },
                          {
                            "const": "satisfied",
                            "type": "string"
                          },
                          {
                            "const": "failed",
                            "type": "string"
                          },
                          {
                            "const": "unknown",
                            "type": "string"
                          }
                        ]
                      },
                      "message": {
                        "type": "string"
                      },
                      "residuals": {
                        "type": "object",
                        "properties": {},
                        "required": [],
                        "additionalProperties": {
                          "type": "number"
                        }
                      }
                    },
                    "required": [
                      "identity",
                      "status",
                      "message",
                      "residuals"
                    ],
                    "additionalProperties": false
                  }
                },
                "diagnostics": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "severity": {
                        "anyOf": [
                          {
                            "const": "info",
                            "type": "string"
                          },
                          {
                            "const": "error",
                            "type": "string"
                          },
                          {
                            "const": "warning",
                            "type": "string"
                          }
                        ]
                      },
                      "message": {
                        "type": "string"
                      },
                      "span": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "start": {
                                "type": "number"
                              },
                              "end": {
                                "type": "number"
                              },
                              "line": {
                                "type": "number"
                              },
                              "column": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "start",
                              "end",
                              "line",
                              "column"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "identity": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      }
                    },
                    "required": [
                      "code",
                      "severity",
                      "message",
                      "span",
                      "identity"
                    ],
                    "additionalProperties": false
                  }
                },
                "provenance": {
                  "type": "object",
                  "properties": {
                    "sourceHash": {
                      "type": "string"
                    },
                    "versions": {
                      "type": "object",
                      "properties": {
                        "compiler": {
                          "const": "quay.compiler/1",
                          "type": "string"
                        },
                        "layout": {
                          "anyOf": [
                            {
                              "const": "quay.legacy-layout-adapter/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.semantic-layout/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.semantic-layout/2",
                              "type": "string"
                            }
                          ]
                        },
                        "policy": {
                          "anyOf": [
                            {
                              "const": "quay.static-policy/1",
                              "type": "string"
                            },
                            {
                              "const": "quay.physical-policy/1",
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "compiler",
                        "layout",
                        "policy"
                      ],
                      "additionalProperties": false
                    },
                    "dependencies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "assetId": {
                            "type": "string"
                          },
                          "manifestId": {
                            "type": "string"
                          },
                          "analysisRevision": {
                            "type": "string"
                          },
                          "contentHash": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "assetId",
                          "manifestId",
                          "analysisRevision",
                          "contentHash"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "sourceHash",
                    "versions",
                    "dependencies"
                  ],
                  "additionalProperties": false
                },
                "readiness": {
                  "const": "static-preview",
                  "type": "string"
                },
                "physics": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "const": "quay.physics-preparation/1",
                      "type": "string"
                    },
                    "ready": {
                      "anyOf": [
                        {
                          "const": false,
                          "type": "boolean"
                        },
                        {
                          "const": true,
                          "type": "boolean"
                        }
                      ]
                    },
                    "gravity": {
                      "type": "array",
                      "prefixItems": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "number"
                        }
                      ],
                      "minItems": 3,
                      "maxItems": 3,
                      "items": false
                    },
                    "stepSeconds": {
                      "type": "number"
                    },
                    "maxCatchUpSteps": {
                      "type": "number"
                    },
                    "bodies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "instanceId": {
                            "type": "string"
                          },
                          "motion": {
                            "anyOf": [
                              {
                                "const": "static",
                                "type": "string"
                              },
                              {
                                "const": "dynamic",
                                "type": "string"
                              },
                              {
                                "const": "kinematic",
                                "type": "string"
                              }
                            ]
                          },
                          "collision": {
                            "anyOf": [
                              {
                                "const": "none",
                                "type": "string"
                              },
                              {
                                "const": "solid",
                                "type": "string"
                              },
                              {
                                "const": "sensor",
                                "type": "string"
                              }
                            ]
                          },
                          "controller": {
                            "anyOf": [
                              {
                                "const": "none",
                                "type": "string"
                              },
                              {
                                "const": "character",
                                "type": "string"
                              }
                            ]
                          },
                          "role": {
                            "type": "string"
                          },
                          "canGrab": {
                            "anyOf": [
                              {
                                "const": false,
                                "type": "boolean"
                              },
                              {
                                "const": true,
                                "type": "boolean"
                              }
                            ]
                          },
                          "massKg": {
                            "type": "number"
                          },
                          "friction": {
                            "type": "number"
                          },
                          "restitution": {
                            "type": "number"
                          },
                          "colliders": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "shape": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "const": "box",
                                          "type": "string"
                                        },
                                        "center": {
                                          "type": "array",
                                          "prefixItems": [
                                            {
                                              "type": "number"
                                            },
                                            {
                                              "type": "number"
                                            },
                                            {
                                              "type": "number"
                                            }
                                          ],
                                          "minItems": 3,
                                          "maxItems": 3,
                                          "items": false
                                        },
                                        "halfExtents": {
                                          "type": "array",
                                          "prefixItems": [
                                            {
                                              "type": "number"
                                            },
                                            {
                                              "type": "number"
                                            },
                                            {
                                              "type": "number"
                                            }
                                          ],
                                          "minItems": 3,
                                          "maxItems": 3,
                                          "items": false
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "center",
                                        "halfExtents"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "const": "convex",
                                          "type": "string"
                                        },
                                        "vertices": {
                                          "type": "array",
                                          "items": {
                                            "type": "number"
                                          }
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "vertices"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "const": "triangle-mesh",
                                          "type": "string"
                                        },
                                        "vertices": {
                                          "type": "array",
                                          "items": {
                                            "type": "number"
                                          }
                                        },
                                        "indices": {
                                          "type": "array",
                                          "items": {
                                            "type": "number"
                                          }
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "vertices",
                                        "indices"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ]
                                },
                                "volumeM3": {
                                  "type": "number"
                                },
                                "evidence": {
                                  "type": "string"
                                },
                                "approximate": {
                                  "anyOf": [
                                    {
                                      "const": false,
                                      "type": "boolean"
                                    },
                                    {
                                      "const": true,
                                      "type": "boolean"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "shape",
                                "volumeM3",
                                "evidence",
                                "approximate"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "instanceId",
                          "motion",
                          "collision",
                          "controller",
                          "role",
                          "canGrab",
                          "massKg",
                          "friction",
                          "restitution",
                          "colliders"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "diagnostics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "anyOf": [
                              {
                                "const": "error",
                                "type": "string"
                              },
                              {
                                "const": "warning",
                                "type": "string"
                              }
                            ]
                          },
                          "instanceId": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "severity",
                          "instanceId",
                          "message"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "version",
                    "ready",
                    "gravity",
                    "stepSeconds",
                    "maxCatchUpSteps",
                    "bodies",
                    "diagnostics"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "schema",
                "schemaVersion",
                "semantic",
                "projection",
                "evaluations",
                "diagnostics",
                "provenance",
                "readiness"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "source",
            "sourceHash",
            "bindings",
            "dependencies",
            "versions",
            "scene"
          ],
          "additionalProperties": false
        }
      ]
    }
  },
  "required": [
    "schema",
    "schemaVersion",
    "projectId",
    "revision",
    "createdAt",
    "updatedAt",
    "draft",
    "accepted"
  ],
  "additionalProperties": false
}
