{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/github-actions-contexts.schema.json",
  "title": "github-actions-contexts (summary schema)",
  "description": "Coverage draft, 23 November 2026, America/Los_Angeles. Not published. Draft note; iil_id is null until live.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "github-actions-contexts"
    },
    "iil_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "note_url": {
      "type": "string",
      "format": "uri",
      "description": "https://iinventedlight.com/library/notes/github-actions-contexts/"
    },
    "claim": {
      "type": "string",
      "description": "The env context holds variables set in a workflow, job, or step."
    },
    "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": "github-actions-contexts",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/github-actions-contexts/",
      "claim": "The env context holds variables set in a workflow, job, or step.",
      "claims": [
        {
          "id": "C1",
          "claim": "The env context holds variables set in a workflow, job, or step.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "The vars context holds variables set at the repository, organization, or environment levels.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "You can access contexts using the expression syntax.",
          "source_id": "S2"
        },
        {
          "id": "C4",
          "claim": "Each context is an object that contains properties, which can be strings or other objects.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "github-actions-expressions",
        "github-actions-workflow-basics",
        "github-actions-secrets"
      ],
      "related_artifacts": [
        "github-actions-contexts.table.json"
      ],
      "license": "CC-BY-4.0",
      "source_license": "CC-BY-4.0 (GitHub Docs); CC-BY-4.0 (github/docs (GitHub)); prose restates cited source lines in own words",
      "as_of": "2026-11-23",
      "status": "draft-20261123-cov-01"
    }
  ]
}
