{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://decantr.ai/schemas/execution-pack-bundle.v1.json",
  "title": "Decantr Execution Pack Bundle",
  "type": "object",
  "required": [
    "$schema",
    "generatedAt",
    "sourceEssenceVersion",
    "manifest",
    "scaffold",
    "review",
    "sections",
    "pages",
    "mutations"
  ],
  "properties": {
    "$schema": {
      "const": "https://decantr.ai/schemas/execution-pack-bundle.v1.json"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "sourceEssenceVersion": {
      "type": "string",
      "minLength": 1
    },
    "manifest": {
      "$ref": "https://decantr.ai/schemas/pack-manifest.v1.json"
    },
    "scaffold": {
      "$ref": "https://decantr.ai/schemas/scaffold-pack.v1.json"
    },
    "review": {
      "$ref": "https://decantr.ai/schemas/review-pack.v1.json"
    },
    "sections": {
      "type": "array",
      "items": {
        "$ref": "https://decantr.ai/schemas/section-pack.v1.json"
      }
    },
    "pages": {
      "type": "array",
      "items": {
        "$ref": "https://decantr.ai/schemas/page-pack.v1.json"
      }
    },
    "mutations": {
      "type": "array",
      "items": {
        "$ref": "https://decantr.ai/schemas/mutation-pack.v1.json"
      }
    }
  },
  "additionalProperties": false
}
