{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/probable-media/json-schema/probable-media-reference-context-schema.json",
  "title": "ReferenceContext",
  "description": "Optional explicit context for conservative reference matching. Omitted fields remain unknown.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/probable-media-openapi.json#/components/schemas/ReferenceContext",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "countryCode": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "Uppercase ISO 3166-1 alpha-3 country code."
    },
    "magnitude": {
      "type": "number",
      "minimum": 0,
      "maximum": 10
    },
    "industry": {
      "type": "string",
      "enum": [
        "00",
        "31-33",
        "44-45",
        "51"
      ]
    },
    "aviationScope": {
      "type": "string",
      "enum": [
        "us_scheduled_part121"
      ]
    }
  }
}