{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/pydantic-settings.schema.json",
  "title": "pydantic-settings (summary schema)",
  "description": "Week draft, 18 November 2026. Not published. Queued note; iil_id is null until the note is published.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "pydantic-settings"
    },
    "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/pydantic-settings/"
    },
    "claim": {
      "type": "string",
      "description": "BaseSettings fills fields not passed as keywords from the environment."
    },
    "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": "pydantic-settings",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/pydantic-settings/",
      "claim": "BaseSettings fills fields not passed as keywords from the environment.",
      "license": "CC-BY-4.0",
      "source_license": "MIT (pydantic-settings); MIT (FastAPI docs); prose restates cited source lines in own words",
      "as_of": "2026-11-18",
      "status": "week-draft-20261118",
      "claims": [
        {
          "id": "C1",
          "claim": "BaseSettings fills fields not passed as keywords from the environment.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "env_prefix adds a prefix to environment variable names.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "FastAPI uses a BaseSettings subclass for environment configuration.",
          "source_id": "S2"
        },
        {
          "id": "C4",
          "claim": "Creating the settings object reads and then validates environment values.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "flask-and-fastapi",
        "fastapi-request-body",
        "fastapi-apirouter",
        "fastapi-lifespan"
      ],
      "related_artifacts": [
        "pydantic-settings.table.json",
        "pydantic-settings.schema.json"
      ]
    }
  ]
}
