{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/africanmarketos-com/json-schema/africanmarketos-com-telemetry-source-metadata-schema.json",
  "title": "TelemetrySourceMetadata",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/africanmarketos-com-connectors-api-openapi.yml#/components/schemas/TelemetrySourceMetadata",
  "type": "object",
  "properties": {
    "freshness_date": {
      "type": "string",
      "description": "ISO calendar date or timestamp."
    },
    "collected_at": {
      "type": "string",
      "description": "ISO calendar date or timestamp."
    },
    "source_period_end": {
      "type": "string",
      "description": "ISO calendar date or timestamp."
    },
    "source_name": {
      "type": "string"
    },
    "collector": {
      "type": "string"
    },
    "source_doc_id": {
      "type": "string"
    },
    "source_locator": {
      "type": "string"
    },
    "source_family": {
      "type": "string"
    },
    "extraction_method": {
      "type": "string"
    },
    "extraction_confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "compiler_stage": {
      "type": "string"
    },
    "fieldname_map": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "additionalProperties": true
}