{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "enqueue_new_task",
        "wait_before_next_scan"
      ]
    },
    "title": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "feature",
        "bug",
        "chore",
        "docs"
      ]
    },
    "scope": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "goals": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "acceptance_criteria": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "issue": {
      "type": "object",
      "properties": {
        "create": {
          "type": "boolean"
        }
      },
      "required": [
        "create"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "title",
    "type",
    "scope",
    "summary",
    "goals",
    "acceptance_criteria",
    "labels",
    "issue"
  ],
  "additionalProperties": false
}
