{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/cloudflare-workflows.schema.json",
  "title": "cloudflare-workflows (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-workflows"
    },
    "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-workflows/"
    },
    "claim": {
      "type": "string",
      "description": "A Workflow must extend the `WorkflowEntrypoint` class and define a `run` method with at least one `step` call."
    },
    "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-workflows",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/cloudflare-workflows/",
      "claim": "A Workflow must extend the `WorkflowEntrypoint` class and define a `run` method with at least one `step` call.",
      "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 Workflow class must extend WorkflowEntrypoint and define a run method with at least one step.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "Each step.do name can be up to 256 characters.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "Durable Objects are a building block for stateful applications and distributed systems.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "cloudflare-workers-fetch-handler",
        "azure-functions",
        "kubernetes-jobs"
      ],
      "related_artifacts": [
        "cloudflare-workflows.table.json"
      ]
    }
  ]
}