{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "context.prose.structure-batch.v1",
  "title": "Context prose structure batch",
  "type": "object",
  "additionalProperties": false,
  "required": ["schema", "items"],
  "properties": {
    "schema": {
      "const": "context.prose.structure-batch.v1"
    },
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["phase_id", "input"],
        "properties": {
          "phase_id": {
            "type": "string",
            "minLength": 1,
            "description": "One declared phase.align.prose id from the current pending structure targets."
          },
          "input": {
            "type": "string",
            "minLength": 1,
            "description": "Project-relative or absolute YAML/JSON context.structure.v1 payload path for this target."
          }
        }
      }
    }
  }
}
