{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eckari-com/json-schema/eckari-com-response-meta-schema.json",
  "title": "ResponseMeta",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eckari-com-domain-intelligence-api-openapi.yml#/components/schemas/ResponseMeta",
  "type": "object",
  "required": [
    "capability",
    "version",
    "retrieved_at",
    "source",
    "freshness",
    "request_id"
  ],
  "properties": {
    "capability": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "retrieved_at": {
      "type": "string",
      "format": "date-time"
    },
    "source": {
      "type": "string"
    },
    "freshness": {
      "type": "string",
      "enum": [
        "live",
        "near_live",
        "cached",
        "static"
      ]
    },
    "request_id": {
      "type": "string"
    },
    "attribution": {
      "type": "string",
      "description": "Source licence attribution statement, present only when the executing provider's licence conditions re-use on acknowledging the source (e.g. Open Government Licence v3.0 for Companies House). Republish it verbatim with the data. Absent when the provider declares none (ADR-007)."
    },
    "attribution_url": {
      "type": "string",
      "format": "uri",
      "description": "Canonical https URL of the licence or attribution notice behind meta.attribution. Present only when the executing provider declares one; attribution never appears inside data (ADR-008 §1)."
    }
  }
}