{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/prometheus-promql-selectors.schema.json",
  "title": "prometheus-promql-selectors (summary schema)",
  "description": "Fill draft, 18 November 2026. Not published. Queued note; iil_id is null until the note is published.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "prometheus-promql-selectors"
    },
    "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/prometheus-promql-selectors/"
    },
    "claim": {
      "type": "string",
      "description": "An instant vector selector such as `http_requests_total{job=\"api\"}` selects a set of time series with one sample value each at a given timestamp."
    },
    "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": "prometheus-promql-selectors",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/prometheus-promql-selectors/",
      "claim": "An instant vector selector such as `http_requests_total{job=\"api\"}` selects a set of time series with one sample value each at a given timestamp.",
      "license": "CC-BY-4.0",
      "source_license": "Apache-2.0 (Prometheus docs); Apache-2.0 (prometheus/prometheus (GitHub)); prose restates cited source lines in own words",
      "as_of": "2026-11-18",
      "status": "fill-draft-20261118",
      "claims": [
        {
          "id": "C1",
          "claim": "Instant vector selectors select series with one sample at a timestamp.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "Regex matches are fully anchored.",
          "source_id": "S2"
        },
        {
          "id": "C3",
          "claim": "Selectors need a name or a non-empty-matching label matcher.",
          "source_id": "S2"
        },
        {
          "id": "C4",
          "claim": "offset changes the time offset for vectors in a query.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "kubernetes-horizontal-pod-autoscaling",
        "http-status-codes"
      ],
      "related_artifacts": [
        "prometheus-promql-selectors.table.json"
      ]
    }
  ]
}