{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://hormuz.group/wp-content/uploads/hormuz-data/schemas/opportunities.schema.json",
    "title": "Opportunities Entity Dataset Schema",
    "description": "Validation schema for individual Hormuz opportunities 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": {
                "short_thesis": {
                    "type": "string"
                },
                "opportunity_archetype": {
                    "type": "string"
                },
                "buyer_type": {
                    "type": "string"
                },
                "entry_route": {
                    "type": "string"
                },
                "target_geography": {
                    "type": "string"
                },
                "related_provinces": {
                    "type": "array"
                },
                "related_products": {
                    "type": [
                        "array",
                        "boolean"
                    ]
                },
                "product_gap_note": {
                    "type": "string"
                },
                "related_industries": {
                    "type": "array"
                },
                "related_markets": {
                    "type": "array"
                },
                "related_challenges": {
                    "type": "array"
                },
                "related_companies": {
                    "type": [
                        "array",
                        "string"
                    ]
                },
                "related_infrastructure": {
                    "type": [
                        "array",
                        "string"
                    ]
                },
                "detected_signals": {
                    "type": "string"
                },
                "evidence_summary": {
                    "type": "string"
                },
                "demand_signal": {
                    "type": "string"
                },
                "supply_gap_signal": {
                    "type": "string"
                },
                "infrastructure_signal": {
                    "type": "string"
                },
                "competition_signal": {
                    "type": "string"
                },
                "timing_signal": {
                    "type": "string"
                },
                "export_signal": {
                    "type": "string"
                },
                "risk_signal": {
                    "type": "string"
                },
                "demand_score": {
                    "type": "string"
                },
                "supply_gap_score": {
                    "type": "string"
                },
                "pain_severity_score": {
                    "type": "string"
                },
                "market_access_score": {
                    "type": "string"
                },
                "infrastructure_score": {
                    "type": "string"
                },
                "margin_score": {
                    "type": "string"
                },
                "timing_score": {
                    "type": "string"
                },
                "defensibility_score": {
                    "type": "string"
                },
                "strategic_relevance_score": {
                    "type": "string"
                },
                "export_score": {
                    "type": "string"
                },
                "risk_penalty": {
                    "type": "string"
                },
                "data_confidence_score": {
                    "type": "string"
                },
                "data_confidence_label": {
                    "type": "string"
                },
                "opportunity_score": {
                    "type": "string"
                },
                "estimated_execution_probability": {
                    "type": "string"
                },
                "opportunity_stage": {
                    "type": "string"
                },
                "last_updated": {
                    "type": "string"
                }
            },
            "additionalProperties": false
        },
        "sources": {
            "type": "array"
        }
    },
    "additionalProperties": true,
    "x-hormuz-profile": {
        "entity_type": "opportunities",
        "sampled_records": 92,
        "generated_at": "2026-07-31T05:28:29+00:00"
    }
}