{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TurnRequest",
  "type": "object",
  "required": [
    "storyId",
    "branchId",
    "expectedNodeId",
    "actionId",
    "intent",
    "input"
  ],
  "properties": {
    "storyId": {
      "type": "string"
    },
    "branchId": {
      "type": "string"
    },
    "expectedNodeId": {
      "type": "string"
    },
    "actionId": {
      "type": "string"
    },
    "intent": {
      "enum": ["speak_or_act", "continue", "regenerate", "push_check"]
    },
    "input": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
