Documentation
LoreHub Dialogue System

Meta Schema version 1

Schema: Text Type

{
  "type": "@lorehub/meta-schema",
  "apiVersion": "1.0.0",
  "id": "97dbd876-117c-48a1-a7a5-2841edc58136",
  "name": "background_color",
  "schemaType:": "text"
}

Schema: Integer Type

{
  "type": "@lorehub/meta-schema",
  "apiVersion": "1.0.0",
  "id": "97dbd876-117c-48a1-a7a5-2841edc58136",
  "name": "text_speed",
  "schemaType:": "integer"
}

Schema: Integer List Type

A field whose value is one of the options defined in the meta schema. options lists them in order.

{
  "type": "@lorehub/meta-schema",
  "apiVersion": "1.0.0",
  "id": "5b1f0a52-6a7e-4d0c-9a51-2f0d9e3c7b10",
  "name": "camera_angle",
  "schemaType": "integerList",
  "options": ["0", "45", "90", "180"]
}

Schema: Text List Type

{
  "type": "@lorehub/meta-schema",
  "apiVersion": "1.0.0",
  "id": "c3e9d2a1-8f4b-4b8e-b0d6-7a2e5c1f9d34",
  "name": "mood",
  "schemaType": "textList",
  "options": ["calm", "tense", "angry"]
}

Type

text, integer, textList or integerList. Only textList and integerList have options, and a node's value for them is always one of the options. Options are strings, and the options of an integerList are whole numbers written without leading zeros.