{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
    "schema",
    "architecture",
    "workflow",
    "features",
    "runtime"
  ],
  "properties": {
    "schema": {
      "const": 1
    },
    "architecture": {
      "enum": [
        "gutenberg-hybrid",
        "block-fse",
        "classic",
        "elementor"
      ]
    },
    "workflow": {
      "enum": [
        "new-theme",
        "mockup-to-theme",
        "source-preserving-conversion",
        "enhancement"
      ]
    },
    "reference": {
      "type": [
        "string",
        "null"
      ]
    },
    "features": {
      "type": "object",
      "additionalProperties": {
        "type": "boolean"
      }
    },
    "pages": {
      "type": "object"
    },
    "components": {
      "type": "object"
    },
    "demo_import": {
      "type": "object"
    },
    "runtime": {
      "type": "object",
      "required": [
        "routes"
      ],
      "properties": {
        "routes": {
          "type": [
            "array",
            "string"
          ]
        },
        "viewports": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "browser_shards": {
          "type": [
            "string",
            "integer"
          ]
        }
      }
    },
    "budgets": {
      "type": "object"
    },
    "plugins": {
      "type": "array"
    },
    "editable_fields": {
      "type": "object"
    }
  },
  "additionalProperties": true
}
