{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-page-draft-schema.json",
  "title": "PageDraft",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-page-drafts-api-openapi.yml#/components/schemas/PageDraft",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run Id"
    },
    "page_type": {
      "type": "string",
      "title": "Page Type"
    },
    "slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Slug"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "source_node_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Node Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "payload_collection": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payload Collection"
    },
    "payload_record_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payload Record Id"
    },
    "has_regression": {
      "type": "boolean",
      "title": "Has Regression",
      "default": false
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At"
    },
    "canonical_payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Canonical Payload"
    },
    "manifest": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Manifest"
    },
    "regression": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Regression"
    },
    "landed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Landed At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "page_type",
    "status",
    "canonical_payload"
  ]
}