{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/ao-a2a-task-lifecycle.schema.json",
  "title": "ao-a2a-task-lifecycle (summary schema)",
  "description": "Week draft, 16 November 2026. Not published. Queued note; iil_id is null until the note is published.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "ao-a2a-task-lifecycle"
    },
    "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/ao-a2a-task-lifecycle/"
    },
    "claim": {
      "type": "string",
      "description": "An A2A agent can return a stateless Message or a stateful Task that ends in an interrupted or terminal state."
    },
    "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": "ao-a2a-task-lifecycle",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/ao-a2a-task-lifecycle/",
      "claim": "An A2A agent can return a stateless Message or a stateful Task that ends in an interrupted or terminal state.",
      "license": "CC-BY-4.0",
      "source_license": "Apache-2.0 (A2A Protocol); Apache-2.0 (a2aproject/A2A (GitHub)); prose restates cited source lines in own words",
      "as_of": "2026-11-16",
      "status": "week-draft-20261116",
      "claims": [
        {
          "id": "C1",
          "claim": "A stateless Message fits an immediate, self-contained exchange.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "A stateful Task can pause in input-required or auth-required.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "Terminal Task states include completed, canceled, rejected, and failed.",
          "source_id": "S1"
        }
      ],
      "related_slugs": [
        "ao-a2a-protocol-basics",
        "ao-mcp-tasks"
      ],
      "related_artifacts": [
        "ao-a2a-task-lifecycle.table.json"
      ]
    }
  ]
}
