{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/statcite-com/json-schema/statcite-com-citation-schema.json",
  "title": "Citation",
  "description": "Every numeric payload carries one of these. Reproduce citation_text when presenting the number.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/statcite-com-openapi.json#/components/schemas/Citation",
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "dataset": {
      "type": "string"
    },
    "series_id": {
      "type": "string"
    },
    "series_name": {
      "type": "string"
    },
    "source_url": {
      "type": "string"
    },
    "api_url": {
      "type": "string"
    },
    "license": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "retrieved_at": {
      "type": "string"
    },
    "citation_text": {
      "type": "string"
    },
    "notices": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "export_formats": {
      "type": "object",
      "description": "Ready-to-paste citation strings derived from this citation's own fields, so they can never disagree with citation_text.",
      "properties": {
        "bibtex": {
          "type": "string"
        },
        "apa": {
          "type": "string"
        }
      }
    }
  }
}