{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/cloudflare-pages.schema.json",
  "title": "cloudflare-pages (summary schema)",
  "description": "Deep draft, 19 November 2026. Not published. Queued note; iil_id is null until the note is published.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "cloudflare-pages"
    },
    "iil_id": {
      "type": "null",
      "description": "Not live yet; the iil:note ID is assigned when the note is published."
    },
    "note_url": {
      "type": "string",
      "format": "uri",
      "description": "https://iinventedlight.com/library/notes/cloudflare-pages/"
    },
    "claim": {
      "type": "string",
      "description": "Writing Function files in the `/functions` directory automatically generates a Worker with custom functionality at predesignated routes."
    },
    "license": {
      "type": "string"
    },
    "source_license": {
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "claims": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "claim": {
            "type": "string"
          },
          "source_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "claim"
        ]
      }
    },
    "related_slugs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "related_artifacts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "slug",
    "iil_id",
    "claim",
    "license",
    "as_of"
  ],
  "examples": [
    {
      "slug": "cloudflare-pages",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/cloudflare-pages/",
      "claim": "Writing Function files in the `/functions` directory automatically generates a Worker with custom functionality at predesignated routes.",
      "license": "CC-BY-4.0",
      "source_license": "CC-BY-4.0 (Cloudflare docs); CC-BY-4.0 (Cloudflare docs); prose restates cited source lines in own words",
      "as_of": "2026-11-19",
      "status": "deep-draft-20261119",
      "claims": [
        {
          "id": "C1",
          "claim": "A /functions directory at the Pages project root generates a Worker from those files.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "The onRequest handler must return a Response or a Promise of a Response.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "Workers is a serverless platform for building and deploying apps on Cloudflare's global network.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "cloudflare-workers-fetch-handler",
        "github-pages",
        "azure-functions"
      ],
      "related_artifacts": [
        "cloudflare-pages.table.json"
      ]
    }
  ]
}