{
  "$defs": {
    "__schema0": {
      "items": {
        "pattern": "^(?:creative-direction|arc|milestone|event|character|fact|world-entity|relationship|revelation|choice-point|puzzle|authored-content|narrative-position)\\.[a-z][a-z0-9]*(?:-[a-z0-9]+)*$",
        "type": "string"
      },
      "type": "array"
    },
    "__schema1": {
      "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$",
      "title": "EntityId",
      "type": "string"
    },
    "__schema10": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema100": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "scenes",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema101": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "dialogues",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema102": {
      "items": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "fromBlockId": {
                "$ref": "#/$defs/__schema1"
              },
              "id": {
                "$ref": "#/$defs/__schema1"
              },
              "kind": {
                "const": "next",
                "type": "string"
              },
              "narrativeRefs": {
                "$ref": "#/$defs/__schema0"
              },
              "toBlockId": {
                "$ref": "#/$defs/__schema1"
              }
            },
            "required": [
              "id",
              "kind",
              "fromBlockId",
              "toBlockId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "autosaveSafePoint": {
                "type": "boolean"
              },
              "condition": {
                "$ref": "#/$defs/__schema29"
              },
              "effects": {
                "items": {
                  "$ref": "#/$defs/__schema90"
                },
                "type": "array"
              },
              "fromBlockId": {
                "$ref": "#/$defs/__schema1"
              },
              "id": {
                "$ref": "#/$defs/__schema1"
              },
              "kind": {
                "const": "choice",
                "type": "string"
              },
              "label": {
                "$ref": "#/$defs/__schema15"
              },
              "logged": {
                "type": "boolean"
              },
              "narrativeRefs": {
                "$ref": "#/$defs/__schema0"
              },
              "toBlockId": {
                "$ref": "#/$defs/__schema1"
              }
            },
            "required": [
              "id",
              "kind",
              "fromBlockId",
              "toBlockId",
              "label",
              "effects",
              "logged",
              "autosaveSafePoint"
            ],
            "type": "object"
          }
        ]
      },
      "type": "array"
    },
    "__schema103": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema104"
        },
        {
          "$ref": "#/$defs/__schema105"
        },
        {
          "$ref": "#/$defs/__schema106"
        },
        {
          "$ref": "#/$defs/__schema107"
        },
        {
          "$ref": "#/$defs/__schema108"
        }
      ],
      "title": "FlowTarget",
      "x-noveltea-documentation": {
        "name": "FlowTarget"
      }
    },
    "__schema104": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "scene",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "__schema105": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "dialogue",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "__schema106": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "room",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "__schema107": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "return",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema108": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "end",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema11": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "assets",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema12": {
      "additionalProperties": false,
      "properties": {
        "logMode": {
          "enum": [
            "everything",
            "nothing",
            "only-choices",
            "only-lines"
          ],
          "type": "string"
        },
        "showDisabledChoices": {
          "type": "boolean"
        }
      },
      "required": [
        "showDisabledChoices",
        "logMode"
      ],
      "type": "object"
    },
    "__schema13": {
      "items": {
        "$ref": "#/$defs/__schema14"
      },
      "minItems": 1,
      "type": "array"
    },
    "__schema14": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "defaultSpeaker": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema1"
                },
                {
                  "type": "null"
                }
              ]
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "narrativeRefs": {
              "$ref": "#/$defs/__schema0"
            },
            "segments": {
              "items": {
                "oneOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "autosaveSafePoint": {
                        "type": "boolean"
                      },
                      "condition": {
                        "$ref": "#/$defs/__schema29"
                      },
                      "cues": {
                        "items": {
                          "oneOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "active-text",
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                },
                                "token": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "token"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "invalid-markup",
                                  "type": "string"
                                },
                                "message": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                },
                                "token": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "token",
                                "message"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "expressionId": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "speaker-expression",
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "expressionId"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "stage",
                                  "type": "string"
                                },
                                "mutation": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "action": {
                                      "enum": [
                                        "update",
                                        "show",
                                        "hide",
                                        "clear"
                                      ],
                                      "type": "string"
                                    },
                                    "appearanceId": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/__schema1"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "character": {
                                      "$ref": "#/$defs/__schema1"
                                    },
                                    "expressionId": {
                                      "$ref": "#/$defs/__schema1"
                                    },
                                    "offset": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "x": {
                                          "type": "number"
                                        },
                                        "y": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "x",
                                        "y"
                                      ],
                                      "type": "object"
                                    },
                                    "poseId": {
                                      "$ref": "#/$defs/__schema1"
                                    },
                                    "position": {
                                      "enum": [
                                        "left",
                                        "center",
                                        "right"
                                      ],
                                      "type": "string"
                                    },
                                    "profileId": {
                                      "$ref": "#/$defs/__schema1"
                                    },
                                    "scale": {
                                      "exclusiveMinimum": 0,
                                      "type": "number"
                                    },
                                    "slotId": {
                                      "$ref": "#/$defs/__schema1"
                                    }
                                  },
                                  "required": [
                                    "slotId",
                                    "action"
                                  ],
                                  "type": "object"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "mutation"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "media",
                                  "type": "string"
                                },
                                "mutation": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "action": {
                                      "enum": [
                                        "update",
                                        "show",
                                        "hide",
                                        "clear"
                                      ],
                                      "type": "string"
                                    },
                                    "content": {
                                      "$ref": "#/$defs/__schema9"
                                    },
                                    "slotId": {
                                      "$ref": "#/$defs/__schema1"
                                    }
                                  },
                                  "required": [
                                    "slotId",
                                    "action"
                                  ],
                                  "type": "object"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "mutation"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "gestureId": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "gesture",
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                },
                                "skippable": {
                                  "type": "boolean"
                                },
                                "slotId": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "waitForCompletion": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "slotId",
                                "gestureId",
                                "waitForCompletion",
                                "skippable"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "asset": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "gain": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "voice",
                                  "type": "string"
                                },
                                "pan": {
                                  "maximum": 1,
                                  "minimum": -1,
                                  "type": "number"
                                },
                                "pausePolicy": {
                                  "enum": [
                                    "gameplay",
                                    "owner",
                                    "unscaled"
                                  ],
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                },
                                "skipBehavior": {
                                  "enum": [
                                    "stop",
                                    "suppress",
                                    "play"
                                  ],
                                  "type": "string"
                                },
                                "waitForCompletion": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "asset",
                                "pausePolicy",
                                "gain",
                                "pan",
                                "waitForCompletion",
                                "skipBehavior"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "asset": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "causality": {
                                  "enum": [
                                    "causal",
                                    "disposable"
                                  ],
                                  "type": "string"
                                },
                                "gain": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "sound-effect",
                                  "type": "string"
                                },
                                "pan": {
                                  "maximum": 1,
                                  "minimum": -1,
                                  "type": "number"
                                },
                                "pausePolicy": {
                                  "enum": [
                                    "gameplay",
                                    "owner",
                                    "unscaled"
                                  ],
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                },
                                "skipBehavior": {
                                  "enum": [
                                    "stop",
                                    "suppress",
                                    "play"
                                  ],
                                  "type": "string"
                                },
                                "synchronized": {
                                  "type": "boolean"
                                },
                                "waitForCompletion": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "asset",
                                "pausePolicy",
                                "gain",
                                "pan",
                                "waitForCompletion",
                                "causality",
                                "synchronized",
                                "skipBehavior"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "emphasis": {
                                  "oneOf": [
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "amplitude": {
                                          "additionalProperties": false,
                                          "properties": {
                                            "x": {
                                              "type": "number"
                                            },
                                            "y": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "x",
                                            "y"
                                          ],
                                          "type": "object"
                                        },
                                        "durationMs": {
                                          "exclusiveMinimum": 0,
                                          "maximum": 9007199254740991,
                                          "type": "integer"
                                        },
                                        "frequencyHz": {
                                          "exclusiveMinimum": 0,
                                          "type": "number"
                                        },
                                        "kind": {
                                          "const": "shake",
                                          "type": "string"
                                        },
                                        "skippable": {
                                          "type": "boolean"
                                        },
                                        "waitForCompletion": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "amplitude",
                                        "frequencyHz",
                                        "durationMs",
                                        "skippable",
                                        "waitForCompletion"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "durationMs": {
                                          "exclusiveMinimum": 0,
                                          "maximum": 9007199254740991,
                                          "type": "integer"
                                        },
                                        "kind": {
                                          "const": "punch",
                                          "type": "string"
                                        },
                                        "rotationDegrees": {
                                          "type": "number"
                                        },
                                        "skippable": {
                                          "type": "boolean"
                                        },
                                        "translation": {
                                          "additionalProperties": false,
                                          "properties": {
                                            "x": {
                                              "type": "number"
                                            },
                                            "y": {
                                              "type": "number"
                                            }
                                          },
                                          "required": [
                                            "x",
                                            "y"
                                          ],
                                          "type": "object"
                                        },
                                        "waitForCompletion": {
                                          "type": "boolean"
                                        },
                                        "zoomDelta": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "translation",
                                        "zoomDelta",
                                        "rotationDegrees",
                                        "durationMs",
                                        "skippable",
                                        "waitForCompletion"
                                      ],
                                      "type": "object"
                                    },
                                    {
                                      "additionalProperties": false,
                                      "properties": {
                                        "color": {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        "durationMs": {
                                          "exclusiveMinimum": 0,
                                          "maximum": 9007199254740991,
                                          "type": "integer"
                                        },
                                        "kind": {
                                          "const": "flash",
                                          "type": "string"
                                        },
                                        "opacity": {
                                          "maximum": 1,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        "skippable": {
                                          "type": "boolean"
                                        },
                                        "waitForCompletion": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "color",
                                        "opacity",
                                        "durationMs",
                                        "skippable",
                                        "waitForCompletion"
                                      ],
                                      "type": "object"
                                    }
                                  ]
                                },
                                "id": {
                                  "$ref": "#/$defs/__schema1"
                                },
                                "kind": {
                                  "const": "camera",
                                  "type": "string"
                                },
                                "position": {
                                  "$ref": "#/$defs/__schema28"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "position",
                                "emphasis"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      "effects": {
                        "items": {
                          "$ref": "#/$defs/__schema90"
                        },
                        "type": "array"
                      },
                      "id": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "logged": {
                        "type": "boolean"
                      },
                      "narrativeRefs": {
                        "$ref": "#/$defs/__schema0"
                      },
                      "showOnce": {
                        "type": "boolean"
                      },
                      "speaker": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/__schema1"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "text": {
                        "$ref": "#/$defs/__schema15"
                      },
                      "type": {
                        "const": "line",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type",
                      "speaker",
                      "text",
                      "cues",
                      "effects",
                      "showOnce",
                      "logged",
                      "autosaveSafePoint"
                    ],
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "condition": {
                        "$ref": "#/$defs/__schema29"
                      },
                      "id": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "mayYield": {
                        "type": "boolean"
                      },
                      "narrativeRefs": {
                        "$ref": "#/$defs/__schema0"
                      },
                      "source": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": {
                        "const": "run-lua",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type",
                      "source",
                      "mayYield"
                    ],
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "condition": {
                        "$ref": "#/$defs/__schema29"
                      },
                      "id": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "inputs": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "inputId": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "value": {
                              "$ref": "#/$defs/__schema34"
                            }
                          },
                          "required": [
                            "inputId",
                            "value"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "narrativeRefs": {
                        "$ref": "#/$defs/__schema0"
                      },
                      "scene": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "type": {
                        "const": "call-scene",
                        "type": "string"
                      },
                      "uiPolicy": {
                        "enum": [
                          "preserve",
                          "conceal"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type",
                      "scene",
                      "inputs",
                      "uiPolicy"
                    ],
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "condition": {
                        "$ref": "#/$defs/__schema29"
                      },
                      "id": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "narrativeRefs": {
                        "$ref": "#/$defs/__schema0"
                      },
                      "payload": {
                        "$ref": "#/$defs/__schema34"
                      },
                      "type": {
                        "const": "handoff",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "narrativeRefs": {
                        "$ref": "#/$defs/__schema0"
                      },
                      "text": {
                        "type": "string"
                      },
                      "type": {
                        "const": "comment",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type",
                      "text"
                    ],
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            "type": {
              "const": "sequence",
              "type": "string"
            }
          },
          "required": [
            "id",
            "type",
            "label",
            "defaultSpeaker",
            "segments"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "narrativeRefs": {
              "$ref": "#/$defs/__schema0"
            },
            "type": {
              "const": "choice",
              "type": "string"
            }
          },
          "required": [
            "id",
            "type",
            "label"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "narrativeRefs": {
              "$ref": "#/$defs/__schema0"
            },
            "targetBlockId": {
              "$ref": "#/$defs/__schema1"
            },
            "type": {
              "const": "redirect",
              "type": "string"
            }
          },
          "required": [
            "id",
            "type",
            "label",
            "targetBlockId"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "narrativeRefs": {
              "$ref": "#/$defs/__schema0"
            },
            "text": {
              "type": "string"
            },
            "type": {
              "const": "comment",
              "type": "string"
            }
          },
          "required": [
            "id",
            "type",
            "label",
            "text"
          ],
          "type": "object"
        }
      ]
    },
    "__schema15": {
      "additionalProperties": false,
      "properties": {
        "markup": {
          "$ref": "#/$defs/__schema27"
        },
        "source": {
          "$ref": "#/$defs/__schema16"
        }
      },
      "required": [
        "source",
        "markup"
      ],
      "title": "TextContent",
      "type": "object",
      "x-noveltea-documentation": {
        "name": "TextContent"
      }
    },
    "__schema16": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema17"
        },
        {
          "$ref": "#/$defs/__schema18"
        },
        {
          "$ref": "#/$defs/__schema19"
        }
      ],
      "title": "TextSource",
      "x-noveltea-documentation": {
        "name": "TextSource"
      }
    },
    "__schema17": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "inline",
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "text"
      ],
      "type": "object"
    },
    "__schema18": {
      "additionalProperties": false,
      "properties": {
        "key": {
          "pattern": "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)+$",
          "title": "NamedMessageKey",
          "type": "string"
        },
        "kind": {
          "const": "localized",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "key"
      ],
      "type": "object"
    },
    "__schema19": {
      "additionalProperties": false,
      "properties": {
        "additionalDependencies": {
          "$ref": "#/$defs/__schema20"
        },
        "kind": {
          "const": "lua-expression",
          "type": "string"
        },
        "source": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "source"
      ],
      "type": "object"
    },
    "__schema2": {
      "const": "dialogue",
      "type": "string"
    },
    "__schema20": {
      "$ref": "#/$defs/__schema21"
    },
    "__schema21": {
      "additionalProperties": false,
      "properties": {
        "targets": {
          "$ref": "#/$defs/__schema22"
        }
      },
      "title": "LuaExplicitDependencies",
      "type": "object"
    },
    "__schema22": {
      "default": [],
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/__schema23"
          },
          {
            "$ref": "#/$defs/__schema24"
          },
          {
            "$ref": "#/$defs/__schema25"
          },
          {
            "$ref": "#/$defs/__schema26"
          }
        ],
        "title": "LuaDependencyTarget"
      },
      "type": "array"
    },
    "__schema23": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "enum": [
            "assets",
            "animations",
            "variables",
            "materials",
            "layouts",
            "archetypes",
            "characters",
            "rooms",
            "interactables",
            "verbs",
            "interactions",
            "dialogues",
            "scenes",
            "maps",
            "scripts",
            "tests"
          ],
          "type": "string"
        },
        "id": {
          "minLength": 1,
          "type": "string"
        },
        "kind": {
          "const": "record",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema24": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "property-value",
          "type": "string"
        },
        "owner": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "minLength": 1,
              "type": "string"
            },
            "kind": {
              "enum": [
                "room",
                "character",
                "interactable"
              ],
              "type": "string"
            }
          },
          "required": [
            "kind",
            "id"
          ],
          "type": "object"
        },
        "propertyId": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "owner",
        "propertyId"
      ],
      "type": "object"
    },
    "__schema25": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "room-placement",
          "type": "string"
        },
        "placementId": {
          "minLength": 1,
          "type": "string"
        },
        "roomId": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "roomId",
        "placementId"
      ],
      "type": "object"
    },
    "__schema26": {
      "additionalProperties": false,
      "properties": {
        "exitId": {
          "minLength": 1,
          "type": "string"
        },
        "kind": {
          "const": "room-exit",
          "type": "string"
        },
        "roomId": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "roomId",
        "exitId"
      ],
      "type": "object"
    },
    "__schema27": {
      "enum": [
        "plain",
        "active-text"
      ],
      "type": "string"
    },
    "__schema28": {
      "additionalProperties": false,
      "properties": {
        "offset": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "order": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "offset",
        "order"
      ],
      "type": "object"
    },
    "__schema29": {
      "$ref": "#/$defs/__schema30",
      "title": "Condition"
    },
    "__schema3": {
      "type": "string"
    },
    "__schema30": {
      "anyOf": [
        {
          "const": "always",
          "type": "string"
        },
        {
          "oneOf": [
            {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "always",
                  "type": "string"
                }
              },
              "required": [
                "kind"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "conditions": {
                  "items": {
                    "$ref": "#/$defs/__schema29"
                  },
                  "type": "array"
                },
                "kind": {
                  "const": "all",
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "conditions"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "conditions": {
                  "items": {
                    "$ref": "#/$defs/__schema29"
                  },
                  "type": "array"
                },
                "kind": {
                  "const": "any",
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "conditions"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "condition": {
                  "$ref": "#/$defs/__schema29"
                },
                "kind": {
                  "const": "not",
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "condition"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "variable-comparison",
                  "type": "string"
                },
                "operator": {
                  "$ref": "#/$defs/__schema33"
                },
                "value": {
                  "$ref": "#/$defs/__schema34"
                },
                "variable": {
                  "$ref": "#/$defs/__schema1"
                }
              },
              "required": [
                "kind",
                "variable",
                "operator"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "property-comparison",
                  "type": "string"
                },
                "operator": {
                  "$ref": "#/$defs/__schema33"
                },
                "owner": {
                  "$ref": "#/$defs/__schema39"
                },
                "propertyId": {
                  "$ref": "#/$defs/__schema1"
                },
                "value": {
                  "$ref": "#/$defs/__schema34"
                }
              },
              "required": [
                "kind",
                "owner",
                "propertyId",
                "operator"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "trait-presence",
                  "type": "string"
                },
                "owner": {
                  "$ref": "#/$defs/__schema39"
                },
                "present": {
                  "type": "boolean"
                },
                "trait": {
                  "$ref": "#/$defs/__schema1"
                }
              },
              "required": [
                "kind",
                "owner",
                "trait",
                "present"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "location-comparison",
                  "type": "string"
                },
                "location": {
                  "$ref": "#/$defs/__schema59"
                },
                "operator": {
                  "enum": [
                    "equal",
                    "not-equal"
                  ],
                  "type": "string"
                },
                "subject": {
                  "$ref": "#/$defs/__schema56"
                }
              },
              "required": [
                "kind",
                "subject",
                "operator",
                "location"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "inventory": {
                  "$ref": "#/$defs/__schema66"
                },
                "kind": {
                  "const": "inventory-quantity-comparison",
                  "type": "string"
                },
                "matcher": {
                  "$ref": "#/$defs/__schema81"
                },
                "operator": {
                  "enum": [
                    "equal",
                    "not-equal",
                    "less",
                    "less-equal",
                    "greater",
                    "greater-equal"
                  ],
                  "type": "string"
                },
                "quantity": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "kind",
                "inventory",
                "matcher",
                "operator",
                "quantity"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "additionalDependencies": {
                  "$ref": "#/$defs/__schema20"
                },
                "kind": {
                  "const": "lua-predicate",
                  "type": "string"
                },
                "source": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "source"
              ],
              "type": "object"
            }
          ]
        }
      ]
    },
    "__schema31": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema32": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "variables",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema33": {
      "enum": [
        "equal",
        "not-equal",
        "less",
        "less-equal",
        "greater",
        "greater-equal",
        "truthy",
        "falsy"
      ],
      "type": "string"
    },
    "__schema34": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema35"
        },
        {
          "$ref": "#/$defs/__schema36"
        },
        {
          "$ref": "#/$defs/__schema37"
        },
        {
          "$ref": "#/$defs/__schema38"
        }
      ],
      "title": "RuntimeScalar",
      "x-noveltea-documentation": {
        "name": "RuntimeScalar"
      }
    },
    "__schema35": {
      "type": "null"
    },
    "__schema36": {
      "type": "boolean"
    },
    "__schema37": {
      "type": "number"
    },
    "__schema38": {
      "type": "string"
    },
    "__schema39": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema40"
        },
        {
          "$ref": "#/$defs/__schema43"
        },
        {
          "$ref": "#/$defs/__schema44"
        },
        {
          "$ref": "#/$defs/__schema47"
        },
        {
          "$ref": "#/$defs/__schema48"
        },
        {
          "$ref": "#/$defs/__schema49"
        },
        {
          "$ref": "#/$defs/__schema50"
        },
        {
          "$ref": "#/$defs/__schema52"
        }
      ],
      "title": "GameplayIdentityOperand",
      "x-noveltea-documentation": {
        "name": "GameplayIdentityOperand"
      }
    },
    "__schema4": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema1"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema40": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "room",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "room"
      ],
      "type": "object"
    },
    "__schema41": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema42": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "rooms",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema43": {
      "additionalProperties": false,
      "properties": {
        "character": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "character",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "character"
      ],
      "type": "object"
    },
    "__schema44": {
      "additionalProperties": false,
      "properties": {
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable"
      ],
      "type": "object"
    },
    "__schema45": {
      "additionalProperties": false,
      "properties": {
        "$ref": {
          "$ref": "#/$defs/__schema46"
        }
      },
      "required": [
        "$ref"
      ],
      "title": "InteractableInstanceRef",
      "type": "object",
      "x-noveltea-documentation": {
        "name": "InteractableInstanceRef"
      }
    },
    "__schema46": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "$ref": "#/$defs/__schema1"
        },
        "registry": {
          "const": "interactableInstances",
          "type": "string"
        }
      },
      "required": [
        "registry",
        "id"
      ],
      "type": "object"
    },
    "__schema47": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "room-feature",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "room",
        "featureId"
      ],
      "type": "object"
    },
    "__schema48": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable-feature",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable",
        "featureId"
      ],
      "type": "object"
    },
    "__schema49": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "current-room",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema5": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema50": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "$ref": "#/$defs/__schema51"
        },
        "slotId": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "slotId"
      ],
      "title": "InteractionSlotOperand",
      "type": "object",
      "x-noveltea-documentation": {
        "name": "InteractionSlotOperand"
      }
    },
    "__schema51": {
      "const": "interaction-slot",
      "type": "string"
    },
    "__schema52": {
      "additionalProperties": false,
      "properties": {
        "bindingId": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "$ref": "#/$defs/__schema53"
        }
      },
      "required": [
        "kind",
        "bindingId"
      ],
      "title": "CommandResultOperand",
      "type": "object",
      "x-noveltea-documentation": {
        "name": "CommandResultOperand"
      }
    },
    "__schema53": {
      "const": "command-result",
      "type": "string"
    },
    "__schema54": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema55": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "traits",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema56": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema57"
        },
        {
          "$ref": "#/$defs/__schema58"
        },
        {
          "$ref": "#/$defs/__schema50"
        },
        {
          "$ref": "#/$defs/__schema52"
        }
      ],
      "title": "LocationSubjectOperand",
      "x-noveltea-documentation": {
        "name": "LocationSubjectOperand"
      }
    },
    "__schema57": {
      "additionalProperties": false,
      "properties": {
        "character": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "character",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "character"
      ],
      "type": "object"
    },
    "__schema58": {
      "additionalProperties": false,
      "properties": {
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable"
      ],
      "type": "object"
    },
    "__schema59": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema60"
        },
        {
          "$ref": "#/$defs/__schema61"
        },
        {
          "$ref": "#/$defs/__schema65"
        }
      ],
      "title": "LocationOperand",
      "x-noveltea-documentation": {
        "name": "LocationOperand"
      }
    },
    "__schema6": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "characters",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema60": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "unplaced",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema61": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "room",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema62"
        }
      },
      "required": [
        "kind",
        "room"
      ],
      "type": "object"
    },
    "__schema62": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema63"
        },
        {
          "$ref": "#/$defs/__schema64"
        },
        {
          "$ref": "#/$defs/__schema52"
        }
      ],
      "title": "RoomOperand",
      "x-noveltea-documentation": {
        "name": "RoomOperand"
      }
    },
    "__schema63": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "room",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "room"
      ],
      "type": "object"
    },
    "__schema64": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "current-room",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema65": {
      "additionalProperties": false,
      "properties": {
        "inventory": {
          "$ref": "#/$defs/__schema66"
        },
        "kind": {
          "const": "inventory",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "inventory"
      ],
      "type": "object"
    },
    "__schema66": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema67"
        },
        {
          "$ref": "#/$defs/__schema74"
        },
        {
          "$ref": "#/$defs/__schema75"
        },
        {
          "$ref": "#/$defs/__schema52"
        }
      ],
      "title": "InventoryOperand",
      "x-noveltea-documentation": {
        "name": "InventoryOperand"
      }
    },
    "__schema67": {
      "additionalProperties": false,
      "properties": {
        "inventory": {
          "additionalProperties": false,
          "properties": {
            "inventoryId": {
              "$ref": "#/$defs/__schema1"
            },
            "owner": {
              "$ref": "#/$defs/__schema68"
            }
          },
          "required": [
            "owner",
            "inventoryId"
          ],
          "title": "InventoryRef",
          "type": "object",
          "x-noveltea-documentation": {
            "name": "InventoryRef"
          }
        },
        "kind": {
          "const": "inventory",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "inventory"
      ],
      "type": "object"
    },
    "__schema68": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema69"
        },
        {
          "$ref": "#/$defs/__schema70"
        },
        {
          "$ref": "#/$defs/__schema71"
        },
        {
          "$ref": "#/$defs/__schema72"
        },
        {
          "$ref": "#/$defs/__schema73"
        }
      ],
      "title": "InventoryOwner",
      "x-noveltea-documentation": {
        "name": "InventoryOwner"
      }
    },
    "__schema69": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "project",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema7": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "$ref": "#/$defs/__schema1"
          },
          "initial": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "appearanceId": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/__schema1"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "character": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "expressionId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "offset": {
                    "additionalProperties": false,
                    "properties": {
                      "x": {
                        "type": "number"
                      },
                      "y": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "x",
                      "y"
                    ],
                    "type": "object"
                  },
                  "poseId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "position": {
                    "enum": [
                      "left",
                      "center",
                      "right"
                    ],
                    "type": "string"
                  },
                  "profileId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "scale": {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  "visible": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "character",
                  "profileId",
                  "poseId",
                  "expressionId",
                  "appearanceId",
                  "position",
                  "offset",
                  "scale",
                  "visible"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "speakerSync": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "label",
          "speakerSync",
          "initial"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "__schema70": {
      "additionalProperties": false,
      "properties": {
        "character": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "character",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "character"
      ],
      "type": "object"
    },
    "__schema71": {
      "additionalProperties": false,
      "properties": {
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable"
      ],
      "type": "object"
    },
    "__schema72": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "room-feature",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "room",
        "featureId"
      ],
      "type": "object"
    },
    "__schema73": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable-feature",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable",
        "featureId"
      ],
      "type": "object"
    },
    "__schema74": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "player-inventory",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema75": {
      "additionalProperties": false,
      "properties": {
        "inventoryId": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "owner-inventory",
          "type": "string"
        },
        "owner": {
          "oneOf": [
            {
              "$ref": "#/$defs/__schema76"
            },
            {
              "$ref": "#/$defs/__schema77"
            },
            {
              "$ref": "#/$defs/__schema78"
            },
            {
              "$ref": "#/$defs/__schema79"
            },
            {
              "$ref": "#/$defs/__schema80"
            },
            {
              "$ref": "#/$defs/__schema50"
            },
            {
              "$ref": "#/$defs/__schema52"
            }
          ],
          "title": "InventoryOwnerOperand",
          "x-noveltea-documentation": {
            "name": "InventoryOwnerOperand"
          }
        }
      },
      "required": [
        "kind",
        "owner",
        "inventoryId"
      ],
      "type": "object"
    },
    "__schema76": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "project",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "__schema77": {
      "additionalProperties": false,
      "properties": {
        "character": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "character",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "character"
      ],
      "type": "object"
    },
    "__schema78": {
      "additionalProperties": false,
      "properties": {
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable"
      ],
      "type": "object"
    },
    "__schema79": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "room-feature",
          "type": "string"
        },
        "room": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "kind",
        "room",
        "featureId"
      ],
      "type": "object"
    },
    "__schema8": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "$ref": "#/$defs/__schema1"
          },
          "initial": {
            "anyOf": [
              {
                "$ref": "#/$defs/__schema9"
              },
              {
                "type": "null"
              }
            ]
          },
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "label",
          "initial",
          "visible"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "__schema80": {
      "additionalProperties": false,
      "properties": {
        "featureId": {
          "$ref": "#/$defs/__schema1"
        },
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable-feature",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable",
        "featureId"
      ],
      "type": "object"
    },
    "__schema81": {
      "additionalProperties": false,
      "properties": {
        "definition": {
          "$ref": "#/$defs/__schema82"
        },
        "exact": {
          "$ref": "#/$defs/__schema87"
        },
        "properties": {
          "$ref": "#/$defs/__schema86"
        },
        "traits": {
          "$ref": "#/$defs/__schema85"
        }
      },
      "title": "InteractableMatcher",
      "type": "object",
      "x-noveltea-documentation": {
        "name": "InteractableMatcher"
      }
    },
    "__schema82": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema83": {
      "$ref": "#/$defs/__schema1"
    },
    "__schema84": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "interactables",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema85": {
      "default": [],
      "items": {
        "$ref": "#/$defs/__schema1"
      },
      "type": "array"
    },
    "__schema86": {
      "default": [],
      "items": {
        "additionalProperties": false,
        "properties": {
          "propertyId": {
            "$ref": "#/$defs/__schema1"
          },
          "value": {
            "$ref": "#/$defs/__schema34"
          }
        },
        "required": [
          "propertyId",
          "value"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "__schema87": {
      "$ref": "#/$defs/__schema88"
    },
    "__schema88": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema89"
        },
        {
          "$ref": "#/$defs/__schema50"
        },
        {
          "$ref": "#/$defs/__schema52"
        }
      ],
      "title": "InteractableOperand",
      "x-noveltea-documentation": {
        "name": "InteractableOperand"
      }
    },
    "__schema89": {
      "additionalProperties": false,
      "properties": {
        "interactable": {
          "$ref": "#/$defs/__schema45"
        },
        "kind": {
          "const": "interactable",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "interactable"
      ],
      "type": "object"
    },
    "__schema9": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "appearanceId": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema1"
                },
                {
                  "type": "null"
                }
              ]
            },
            "character": {
              "$ref": "#/$defs/__schema1"
            },
            "expressionId": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "character",
              "type": "string"
            },
            "poseId": {
              "$ref": "#/$defs/__schema1"
            },
            "profileId": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "kind",
            "character",
            "profileId",
            "poseId",
            "expressionId",
            "appearanceId"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "asset": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "image",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "asset"
          ],
          "type": "object"
        }
      ]
    },
    "__schema90": {
      "$ref": "#/$defs/__schema91",
      "title": "GameplayCommand"
    },
    "__schema91": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "set-global-property",
              "type": "string"
            },
            "value": {
              "$ref": "#/$defs/__schema34"
            },
            "variable": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "variable",
            "value"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "unset-global-property",
              "type": "string"
            },
            "variable": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "variable"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "set-property",
              "type": "string"
            },
            "owner": {
              "$ref": "#/$defs/__schema39"
            },
            "propertyId": {
              "$ref": "#/$defs/__schema1"
            },
            "value": {
              "$ref": "#/$defs/__schema34"
            }
          },
          "required": [
            "id",
            "kind",
            "owner",
            "propertyId",
            "value"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "unset-property",
              "type": "string"
            },
            "owner": {
              "$ref": "#/$defs/__schema39"
            },
            "propertyId": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "owner",
            "propertyId"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "add-trait",
              "type": "string"
            },
            "owner": {
              "$ref": "#/$defs/__schema39"
            },
            "trait": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "owner",
            "trait"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "remove-trait",
              "type": "string"
            },
            "owner": {
              "$ref": "#/$defs/__schema39"
            },
            "trait": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "owner",
            "trait"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "set-enabled",
              "type": "string"
            },
            "subject": {
              "$ref": "#/$defs/__schema56"
            }
          },
          "required": [
            "id",
            "kind",
            "subject",
            "enabled"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "set-visible",
              "type": "string"
            },
            "subject": {
              "$ref": "#/$defs/__schema56"
            },
            "visible": {
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "kind",
            "subject",
            "visible"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "move-instance",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "roomPresentation": {
              "enum": [
                "resolve",
                "none"
              ],
              "type": "string"
            },
            "subject": {
              "$ref": "#/$defs/__schema56"
            }
          },
          "required": [
            "id",
            "kind",
            "subject",
            "location"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "create-room",
              "type": "string"
            },
            "result": {
              "$ref": "#/$defs/__schema1"
            },
            "source": {
              "$ref": "#/$defs/__schema92"
            }
          },
          "required": [
            "id",
            "kind",
            "source"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "create-character",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "result": {
              "$ref": "#/$defs/__schema1"
            },
            "source": {
              "$ref": "#/$defs/__schema92"
            },
            "visible": {
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "kind",
            "source",
            "location",
            "enabled",
            "visible"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "definition": {
              "$ref": "#/$defs/__schema1"
            },
            "enabled": {
              "type": "boolean"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "create-interactable",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "result": {
              "$ref": "#/$defs/__schema1"
            },
            "roomPresentation": {
              "enum": [
                "resolve",
                "none"
              ],
              "type": "string"
            },
            "visible": {
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "kind",
            "definition",
            "quantity",
            "location",
            "enabled",
            "visible"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "instance": {
              "$ref": "#/$defs/__schema39"
            },
            "kind": {
              "const": "destroy-instance",
              "type": "string"
            }
          },
          "required": [
            "id",
            "kind",
            "instance"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "split-quantity",
              "type": "string"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "result": {
              "$ref": "#/$defs/__schema1"
            },
            "source": {
              "$ref": "#/$defs/__schema88"
            }
          },
          "required": [
            "id",
            "kind",
            "source",
            "quantity"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "donor": {
              "$ref": "#/$defs/__schema88"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "merge-quantity",
              "type": "string"
            },
            "receiver": {
              "$ref": "#/$defs/__schema88"
            }
          },
          "required": [
            "id",
            "kind",
            "receiver",
            "donor"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "transfer-quantity",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "mode": {
              "const": "exact",
              "type": "string"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "result": {
              "$ref": "#/$defs/__schema1"
            },
            "source": {
              "$ref": "#/$defs/__schema88"
            }
          },
          "required": [
            "id",
            "kind",
            "mode",
            "source",
            "quantity",
            "location"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "transfer-quantity",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "matcher": {
              "$ref": "#/$defs/__schema81"
            },
            "mode": {
              "const": "aggregate",
              "type": "string"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "sourceInventory": {
              "$ref": "#/$defs/__schema66"
            }
          },
          "required": [
            "id",
            "kind",
            "mode",
            "matcher",
            "quantity",
            "location"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "definition": {
              "$ref": "#/$defs/__schema1"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "add-quantity",
              "type": "string"
            },
            "location": {
              "$ref": "#/$defs/__schema59"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            }
          },
          "required": [
            "id",
            "kind",
            "definition",
            "quantity",
            "location"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "consume-quantity",
              "type": "string"
            },
            "mode": {
              "const": "exact",
              "type": "string"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "source": {
              "$ref": "#/$defs/__schema88"
            }
          },
          "required": [
            "id",
            "kind",
            "mode",
            "source",
            "quantity"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "consume-quantity",
              "type": "string"
            },
            "matcher": {
              "$ref": "#/$defs/__schema81"
            },
            "mode": {
              "const": "aggregate",
              "type": "string"
            },
            "quantity": {
              "$ref": "#/$defs/__schema97"
            },
            "sourceInventory": {
              "$ref": "#/$defs/__schema66"
            }
          },
          "required": [
            "id",
            "kind",
            "mode",
            "matcher",
            "quantity"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "coexist": {
              "type": "boolean"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "inventory": {
              "$ref": "#/$defs/__schema66"
            },
            "kind": {
              "const": "present-inventory",
              "type": "string"
            },
            "layout": {
              "$ref": "#/$defs/__schema1"
            },
            "parentToTriggeringLayout": {
              "type": "boolean"
            },
            "useTriggerAnchor": {
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "kind",
            "inventory"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "exitId": {
              "$ref": "#/$defs/__schema1"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "navigate-exit",
              "type": "string"
            }
          },
          "required": [
            "id",
            "kind",
            "exitId"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "change-room",
              "type": "string"
            },
            "room": {
              "$ref": "#/$defs/__schema62"
            }
          },
          "required": [
            "id",
            "kind",
            "room"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "call-scene",
              "type": "string"
            },
            "scene": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "id",
            "kind",
            "scene"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "dialogue": {
              "$ref": "#/$defs/__schema1"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "call-dialogue",
              "type": "string"
            }
          },
          "required": [
            "id",
            "kind",
            "dialogue"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "notify",
              "type": "string"
            },
            "message": {
              "$ref": "#/$defs/__schema15"
            }
          },
          "required": [
            "id",
            "kind",
            "message"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "run-lua",
              "type": "string"
            },
            "source": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "id",
            "kind",
            "source"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "condition": {
              "$ref": "#/$defs/__schema29"
            },
            "else": {
              "items": {
                "$ref": "#/$defs/__schema90"
              },
              "type": "array"
            },
            "id": {
              "$ref": "#/$defs/__schema1"
            },
            "kind": {
              "const": "if",
              "type": "string"
            },
            "then": {
              "items": {
                "$ref": "#/$defs/__schema90"
              },
              "type": "array"
            }
          },
          "required": [
            "id",
            "kind",
            "condition",
            "then",
            "else"
          ],
          "type": "object"
        }
      ]
    },
    "__schema92": {
      "oneOf": [
        {
          "$ref": "#/$defs/__schema93"
        },
        {
          "$ref": "#/$defs/__schema95"
        },
        {
          "$ref": "#/$defs/__schema96"
        }
      ],
      "title": "GameplayConfigurationSource",
      "x-noveltea-documentation": {
        "name": "GameplayConfigurationSource"
      }
    },
    "__schema93": {
      "additionalProperties": false,
      "properties": {
        "archetype": {
          "$ref": "#/$defs/__schema1"
        },
        "kind": {
          "const": "archetype",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "archetype"
      ],
      "type": "object"
    },
    "__schema94": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "archetypes",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema95": {
      "additionalProperties": false,
      "properties": {
        "instance": {
          "$ref": "#/$defs/__schema39"
        },
        "kind": {
          "const": "compiled-instance",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "instance"
      ],
      "type": "object"
    },
    "__schema96": {
      "additionalProperties": false,
      "properties": {
        "instance": {
          "$ref": "#/$defs/__schema39"
        },
        "kind": {
          "const": "effective-instance",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "instance"
      ],
      "type": "object"
    },
    "__schema97": {
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "type": "integer"
    },
    "__schema98": {
      "additionalProperties": false,
      "properties": {
        "collection": {
          "const": "layouts",
          "type": "string"
        },
        "id": {
          "$ref": "#/$defs/__schema1"
        }
      },
      "required": [
        "collection",
        "id"
      ],
      "type": "object"
    },
    "__schema99": {
      "$ref": "#/$defs/__schema1"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "blocks": {
          "items": {
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "defaultSpeaker": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/__schema1"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "segments": {
                    "items": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "autosaveSafePoint": {
                              "default": false,
                              "type": "boolean"
                            },
                            "condition": {
                              "$ref": "#/$defs/__schema29"
                            },
                            "cues": {
                              "default": [],
                              "items": {
                                "oneOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "active-text",
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      },
                                      "token": {
                                        "minLength": 1,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "token"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "invalid-markup",
                                        "type": "string"
                                      },
                                      "message": {
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      },
                                      "token": {
                                        "minLength": 1,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "token",
                                      "message"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "expressionId": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "speaker-expression",
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "expressionId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "stage",
                                        "type": "string"
                                      },
                                      "mutation": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "action": {
                                            "enum": [
                                              "update",
                                              "show",
                                              "hide",
                                              "clear"
                                            ],
                                            "type": "string"
                                          },
                                          "appearanceId": {
                                            "anyOf": [
                                              {
                                                "$ref": "#/$defs/__schema1"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "character": {
                                            "$ref": "#/$defs/__schema1"
                                          },
                                          "expressionId": {
                                            "$ref": "#/$defs/__schema1"
                                          },
                                          "offset": {
                                            "additionalProperties": false,
                                            "properties": {
                                              "x": {
                                                "type": "number"
                                              },
                                              "y": {
                                                "type": "number"
                                              }
                                            },
                                            "required": [
                                              "x",
                                              "y"
                                            ],
                                            "type": "object"
                                          },
                                          "poseId": {
                                            "$ref": "#/$defs/__schema1"
                                          },
                                          "position": {
                                            "enum": [
                                              "left",
                                              "center",
                                              "right"
                                            ],
                                            "type": "string"
                                          },
                                          "profileId": {
                                            "$ref": "#/$defs/__schema1"
                                          },
                                          "scale": {
                                            "exclusiveMinimum": 0,
                                            "type": "number"
                                          },
                                          "slotId": {
                                            "$ref": "#/$defs/__schema1"
                                          }
                                        },
                                        "required": [
                                          "slotId",
                                          "action"
                                        ],
                                        "type": "object"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "mutation"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "media",
                                        "type": "string"
                                      },
                                      "mutation": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "action": {
                                            "enum": [
                                              "update",
                                              "show",
                                              "hide",
                                              "clear"
                                            ],
                                            "type": "string"
                                          },
                                          "content": {
                                            "$ref": "#/$defs/__schema9"
                                          },
                                          "slotId": {
                                            "$ref": "#/$defs/__schema1"
                                          }
                                        },
                                        "required": [
                                          "slotId",
                                          "action"
                                        ],
                                        "type": "object"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "mutation"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "gestureId": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "gesture",
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      },
                                      "skippable": {
                                        "default": true,
                                        "type": "boolean"
                                      },
                                      "slotId": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "waitForCompletion": {
                                        "default": false,
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "slotId",
                                      "gestureId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asset": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "gain": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "voice",
                                        "type": "string"
                                      },
                                      "pan": {
                                        "maximum": 1,
                                        "minimum": -1,
                                        "type": "number"
                                      },
                                      "pausePolicy": {
                                        "enum": [
                                          "gameplay",
                                          "owner",
                                          "unscaled"
                                        ],
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      },
                                      "skipBehavior": {
                                        "enum": [
                                          "stop",
                                          "suppress",
                                          "play"
                                        ],
                                        "type": "string"
                                      },
                                      "waitForCompletion": {
                                        "default": false,
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "asset",
                                      "pausePolicy",
                                      "gain",
                                      "pan",
                                      "skipBehavior"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asset": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "causality": {
                                        "enum": [
                                          "causal",
                                          "disposable"
                                        ],
                                        "type": "string"
                                      },
                                      "gain": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "sound-effect",
                                        "type": "string"
                                      },
                                      "pan": {
                                        "maximum": 1,
                                        "minimum": -1,
                                        "type": "number"
                                      },
                                      "pausePolicy": {
                                        "enum": [
                                          "gameplay",
                                          "owner",
                                          "unscaled"
                                        ],
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      },
                                      "skipBehavior": {
                                        "enum": [
                                          "stop",
                                          "suppress",
                                          "play"
                                        ],
                                        "type": "string"
                                      },
                                      "synchronized": {
                                        "type": "boolean"
                                      },
                                      "waitForCompletion": {
                                        "default": false,
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "asset",
                                      "pausePolicy",
                                      "gain",
                                      "pan",
                                      "causality",
                                      "synchronized",
                                      "skipBehavior"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "emphasis": {
                                        "oneOf": [
                                          {
                                            "additionalProperties": false,
                                            "properties": {
                                              "amplitude": {
                                                "additionalProperties": false,
                                                "properties": {
                                                  "x": {
                                                    "type": "number"
                                                  },
                                                  "y": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "x",
                                                  "y"
                                                ],
                                                "type": "object"
                                              },
                                              "durationMs": {
                                                "exclusiveMinimum": 0,
                                                "maximum": 9007199254740991,
                                                "type": "integer"
                                              },
                                              "frequencyHz": {
                                                "exclusiveMinimum": 0,
                                                "type": "number"
                                              },
                                              "kind": {
                                                "const": "shake",
                                                "type": "string"
                                              },
                                              "skippable": {
                                                "type": "boolean"
                                              },
                                              "waitForCompletion": {
                                                "type": "boolean"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "amplitude",
                                              "frequencyHz",
                                              "durationMs",
                                              "skippable",
                                              "waitForCompletion"
                                            ],
                                            "type": "object"
                                          },
                                          {
                                            "additionalProperties": false,
                                            "properties": {
                                              "durationMs": {
                                                "exclusiveMinimum": 0,
                                                "maximum": 9007199254740991,
                                                "type": "integer"
                                              },
                                              "kind": {
                                                "const": "punch",
                                                "type": "string"
                                              },
                                              "rotationDegrees": {
                                                "type": "number"
                                              },
                                              "skippable": {
                                                "type": "boolean"
                                              },
                                              "translation": {
                                                "additionalProperties": false,
                                                "properties": {
                                                  "x": {
                                                    "type": "number"
                                                  },
                                                  "y": {
                                                    "type": "number"
                                                  }
                                                },
                                                "required": [
                                                  "x",
                                                  "y"
                                                ],
                                                "type": "object"
                                              },
                                              "waitForCompletion": {
                                                "type": "boolean"
                                              },
                                              "zoomDelta": {
                                                "type": "number"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "translation",
                                              "zoomDelta",
                                              "rotationDegrees",
                                              "durationMs",
                                              "skippable",
                                              "waitForCompletion"
                                            ],
                                            "type": "object"
                                          },
                                          {
                                            "additionalProperties": false,
                                            "properties": {
                                              "color": {
                                                "minLength": 1,
                                                "type": "string"
                                              },
                                              "durationMs": {
                                                "exclusiveMinimum": 0,
                                                "maximum": 9007199254740991,
                                                "type": "integer"
                                              },
                                              "kind": {
                                                "const": "flash",
                                                "type": "string"
                                              },
                                              "opacity": {
                                                "maximum": 1,
                                                "minimum": 0,
                                                "type": "number"
                                              },
                                              "skippable": {
                                                "type": "boolean"
                                              },
                                              "waitForCompletion": {
                                                "type": "boolean"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "color",
                                              "opacity",
                                              "durationMs",
                                              "skippable",
                                              "waitForCompletion"
                                            ],
                                            "type": "object"
                                          }
                                        ]
                                      },
                                      "id": {
                                        "$ref": "#/$defs/__schema1"
                                      },
                                      "kind": {
                                        "const": "camera",
                                        "type": "string"
                                      },
                                      "position": {
                                        "$ref": "#/$defs/__schema28"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "kind",
                                      "position",
                                      "emphasis"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              "type": "array"
                            },
                            "effects": {
                              "default": [],
                              "items": {
                                "$ref": "#/$defs/__schema90"
                              },
                              "type": "array"
                            },
                            "id": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "logged": {
                              "default": true,
                              "type": "boolean"
                            },
                            "narrativeRefs": {
                              "$ref": "#/$defs/__schema0"
                            },
                            "showOnce": {
                              "default": false,
                              "type": "boolean"
                            },
                            "speaker": {
                              "anyOf": [
                                {
                                  "$ref": "#/$defs/__schema1"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "default": null
                            },
                            "text": {
                              "$ref": "#/$defs/__schema15"
                            },
                            "type": {
                              "const": "line",
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "text"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "condition": {
                              "$ref": "#/$defs/__schema29"
                            },
                            "id": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "mayYield": {
                              "default": true,
                              "type": "boolean"
                            },
                            "narrativeRefs": {
                              "$ref": "#/$defs/__schema0"
                            },
                            "source": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": {
                              "const": "run-lua",
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "source"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "condition": {
                              "$ref": "#/$defs/__schema29"
                            },
                            "id": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "inputs": {
                              "default": [],
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "inputId": {
                                    "$ref": "#/$defs/__schema1"
                                  },
                                  "value": {
                                    "$ref": "#/$defs/__schema34"
                                  }
                                },
                                "required": [
                                  "inputId",
                                  "value"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "narrativeRefs": {
                              "$ref": "#/$defs/__schema0"
                            },
                            "scene": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "type": {
                              "const": "call-scene",
                              "type": "string"
                            },
                            "uiPolicy": {
                              "default": "conceal",
                              "enum": [
                                "preserve",
                                "conceal"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "scene"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "condition": {
                              "$ref": "#/$defs/__schema29"
                            },
                            "id": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "narrativeRefs": {
                              "$ref": "#/$defs/__schema0"
                            },
                            "payload": {
                              "$ref": "#/$defs/__schema34"
                            },
                            "type": {
                              "const": "handoff",
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "type"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "id": {
                              "$ref": "#/$defs/__schema1"
                            },
                            "narrativeRefs": {
                              "$ref": "#/$defs/__schema0"
                            },
                            "text": {
                              "type": "string"
                            },
                            "type": {
                              "const": "comment",
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "text"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "type": "array"
                  },
                  "type": {
                    "const": "sequence",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "type",
                  "label",
                  "segments"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "type": {
                    "const": "choice",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "type",
                  "label"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "targetBlockId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "type": {
                    "const": "redirect",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "type",
                  "label",
                  "targetBlockId"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "text": {
                    "type": "string"
                  },
                  "type": {
                    "const": "comment",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "type",
                  "label",
                  "text"
                ],
                "type": "object"
              }
            ]
          },
          "minItems": 1,
          "type": "array"
        },
        "completion": {
          "$ref": "#/$defs/__schema103",
          "default": {
            "kind": "end"
          }
        },
        "defaultSpeaker": {
          "$ref": "#/$defs/__schema4",
          "default": null
        },
        "displayName": {
          "$ref": "#/$defs/__schema3",
          "default": ""
        },
        "edges": {
          "default": [],
          "items": {
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "fromBlockId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "kind": {
                    "const": "next",
                    "type": "string"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "toBlockId": {
                    "$ref": "#/$defs/__schema1"
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "fromBlockId",
                  "toBlockId"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "autosaveSafePoint": {
                    "default": false,
                    "type": "boolean"
                  },
                  "condition": {
                    "$ref": "#/$defs/__schema29"
                  },
                  "effects": {
                    "default": [],
                    "items": {
                      "$ref": "#/$defs/__schema90"
                    },
                    "type": "array"
                  },
                  "fromBlockId": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "id": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "kind": {
                    "const": "choice",
                    "type": "string"
                  },
                  "label": {
                    "$ref": "#/$defs/__schema15"
                  },
                  "logged": {
                    "default": true,
                    "type": "boolean"
                  },
                  "narrativeRefs": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "toBlockId": {
                    "$ref": "#/$defs/__schema1"
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "fromBlockId",
                  "toBlockId",
                  "label"
                ],
                "type": "object"
              }
            ]
          },
          "type": "array"
        },
        "entryBlockId": {
          "$ref": "#/$defs/__schema1"
        },
        "mediaSlots": {
          "default": [],
          "items": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "$ref": "#/$defs/__schema1"
              },
              "initial": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/__schema9"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "visible": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "label"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "settings": {
          "additionalProperties": false,
          "default": {
            "logMode": "everything",
            "showDisabledChoices": true
          },
          "properties": {
            "logMode": {
              "default": "everything",
              "enum": [
                "everything",
                "nothing",
                "only-choices",
                "only-lines"
              ],
              "type": "string"
            },
            "showDisabledChoices": {
              "default": true,
              "type": "boolean"
            }
          },
          "required": [],
          "type": "object"
        },
        "stageSlots": {
          "default": [],
          "items": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "$ref": "#/$defs/__schema1"
              },
              "initial": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "appearanceId": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/__schema1"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "character": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "expressionId": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "offset": {
                        "additionalProperties": false,
                        "properties": {
                          "x": {
                            "type": "number"
                          },
                          "y": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "x",
                          "y"
                        ],
                        "type": "object"
                      },
                      "poseId": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "position": {
                        "enum": [
                          "left",
                          "center",
                          "right"
                        ],
                        "type": "string"
                      },
                      "profileId": {
                        "$ref": "#/$defs/__schema1"
                      },
                      "scale": {
                        "exclusiveMinimum": 0,
                        "type": "number"
                      },
                      "visible": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "character",
                      "profileId",
                      "poseId",
                      "expressionId",
                      "appearanceId",
                      "position",
                      "offset",
                      "scale",
                      "visible"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "speakerSync": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "label"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "entryBlockId",
        "blocks"
      ],
      "type": "object",
      "x-noveltea-documentation": {
        "constraints": [
          "Dialogue cue position.offset counts Unicode code points in the inline source text, not UTF-8 bytes or UTF-16 code units.",
          "Positioned Dialogue cues currently require an inline text source, and each (offset, order) pair must be unique within one line segment.",
          "Sequence blocks admit at most one outgoing next edge and no choice edges; Choice blocks require at least one outgoing choice edge and admit no next edges; Redirect and Comment blocks cannot own outgoing edges.",
          "Edges cannot target Comment blocks, and Redirect blocks cannot target Comment blocks."
        ]
      }
    },
    "description": {
      "type": "string"
    },
    "id": {
      "$ref": "#/$defs/__schema1"
    },
    "label": {
      "minLength": 1,
      "type": "string"
    },
    "narrativeRefs": {
      "$ref": "#/$defs/__schema0"
    }
  },
  "required": [
    "id",
    "label",
    "data"
  ],
  "type": "object"
}
