{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/docker-run.schema.json",
  "title": "docker-run (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": "docker-run"
    },
    "iil_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "note_url": {
      "type": "string",
      "format": "uri",
      "description": "https://iinventedlight.com/library/notes/docker-run/"
    },
    "claim": {
      "type": "string",
      "description": "docker container run creates and runs a new container from an image."
    },
    "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": "docker-run",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/docker-run/",
      "claim": "docker container run creates and runs a new container from an image.",
      "claims": [
        {
          "id": "C1",
          "claim": "docker container run creates and runs a new container from an image.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "The command runs a command in a new container and pulls the image if needed.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "--rm removes the container and its anonymous volumes when it exits.",
          "source_id": "S2"
        },
        {
          "id": "C4",
          "claim": "--restart sets a restart policy to apply when a container exits.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "docker-restart-policies",
        "docker-exec",
        "docker-start"
      ],
      "related_artifacts": [
        "docker-run.table.json"
      ],
      "license": "CC-BY-4.0",
      "source_license": "Apache-2.0 (Docker docs); Apache-2.0 (docker/cli); prose restates cited source lines in own words",
      "as_of": "2026-11-23",
      "status": "draft-20261123-cov-01"
    }
  ]
}
