Schema for Eliza Dialogue Trigger Entities

From DialogueTriggerEntities.schema.yaml (eliza/DialogueTriggerEntities.schema)

---
$id: https://skeleton.botmd.io/eliza/DialogueTriggerEntities.schema
$schema: http://json-schema.org/draft-07/schema#

title: Dialogue Trigger Entities
description: >-
  Array of entities that make up a trigger.
type: array
items:
  - $ref: "#/definitions/Entity"

definitions:
  Entity:
    type: object
    additionalProperties: false
    required: [phrases, is_required]
    properties:
      phrases:
        title: Phrases
        description: Array of phrases which are synonyms of each other.
        type: array
        items:
          - title: Phrase
            description: Phrase may be a word or sentence.
            type: string
            minLength: 1

      is_required:
        title: Is Required
        description: Determines if the phrases are required or optional.
        type: boolean

[Main Page] [Schema Documentation] [Examples]