{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "definitions": {},
    "other_attributes": {
        "description": "Use for other attributes for which we don't yet have curated schema attributes",
        "type": "object"
    },
    "properties": {
        "confidence": {
            "description": "Confidence in accuracy of data",
            "enum": [
                "HIGH",
                "MEDIUM",
                "LOW"
            ],
            "type": "string"
        },
        "direct": {
            "description": "Is the control relationship direct or indirect (if unknown, leave blank)?",
            "type": "boolean"
        },
        "end_date": {
            "_format": "date",
            "description": "Latest known date this was known to be a subsidiary",
            "type": "string"
        },
        "parent_identifier": {
            "description": "Any unique ID for the controlling company",
            "type": "string"
        },
        "parent_jurisdiction": {
            "description": "Jurisdiction where controlling company is based",
            "minLength": 1,
            "type": "string"
        },
        "parent_name": {
            "description": "Name of the controlling company",
            "minLength": 1,
            "type": "string"
        },
        "percentage_controlled": {
            "description": "Percentage of the subsidiary that is controlled (if known), either directly or indirectly",
            "pattern": "^[0-9]{1,2}0?[.]?[0-9]{0,2}$",
            "type": "string"
        },
        "retrieved_at": {
            "_format": "date",
            "type": "string"
        },
        "sample_date": {
            "_format": "date",
            "description": "Date on which this fact was known to be true",
            "type": "string"
        },
        "source_url": {
            "description": "Place where this fact can be verified",
            "minLength": 1,
            "type": "string"
        },
        "start_date": {
            "_format": "date",
            "description": "Earliest known date this was known to be a subsidiary",
            "type": "string"
        },
        "subsidiary_identifier": {
            "description": "Any unique id for the subsidiary that might be provided in the source",
            "type": "string"
        },
        "subsidiary_jurisdiction": {
            "description": "Jurisdiction of the subsidiary",
            "minLength": 1,
            "type": "string"
        },
        "subsidiary_name": {
            "description": "The name of the subsidiary",
            "minLength": 1,
            "type": "string"
        }
    },
    "required": [
        "source_url",
        "sample_date",
        "parent_name",
        "parent_jurisdiction",
        "subsidiary_name",
        "subsidiary_jurisdiction"
    ],
    "type": "object"
}