{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/permtracker-app/json-schema/permtracker-app-meta-schema.json",
  "title": "Meta",
  "description": "Where the answer came from: the publisher, the date it's true for, and the page that shows it.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/permtracker-app-exports-api-openapi.yml#/components/schemas/Meta",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "Who published the underlying records, in words."
    },
    "asOf": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "The date the data is true for, as YYYY-MM-DD."
        },
        {
          "type": "null"
        }
      ],
      "description": "The date the data is true for, as YYYY-MM-DD, or null when no single date applies."
    },
    "url": {
      "type": "string",
      "description": "The page on permtracker.app that shows the same thing. Cite it."
    }
  },
  "required": [
    "source",
    "asOf",
    "url"
  ],
  "additionalProperties": false
}