{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://hormuz.group/wp-content/uploads/hormuz-data/schemas/infrastructure.schema.json",
    "title": "Infrastructure Entity Dataset Schema",
    "description": "Validation schema for individual Hormuz infrastructure entity JSON files.",
    "type": "object",
    "required": [
        "id",
        "identifier",
        "name",
        "slug",
        "url",
        "fields"
    ],
    "properties": {
        "id": {
            "type": "string"
        },
        "identifier": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "slug": {
            "type": "string"
        },
        "url": {
            "type": "string",
            "format": "uri"
        },
        "data_updated_at": {
            "type": [
                "string",
                "null"
            ],
            "format": "date-time"
        },
        "taxonomies": {
            "type": "object"
        },
        "fields": {
            "type": "object",
            "properties": {
                "official_name": {
                    "type": "string"
                },
                "strategic_role": {
                    "type": "string"
                },
                "operational_status": {
                    "type": "string"
                },
                "related_use_cases": {
                    "type": "string"
                },
                "verification_status": {
                    "type": "string"
                },
                "data_confidence": {
                    "type": "string"
                },
                "last_updated": {
                    "type": "string"
                },
                "city_location": {
                    "type": "string"
                }
            },
            "additionalProperties": false
        },
        "sources": {
            "type": "array"
        }
    },
    "additionalProperties": true,
    "x-hormuz-profile": {
        "entity_type": "infrastructure",
        "sampled_records": 160,
        "generated_at": "2026-07-31T05:28:29+00:00"
    }
}