{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "data_type": {
            "enum": [
                "subsidiary_relationship"
            ]
        },
        "properties": {
            "type": "object",
            "required": [
                "subsidiary"
            ],
            "additionalProperties": false,
            "properties": {
                "direct": {
                    "description": "If the control is direct (if via an intermediary, this value should be false; if unknown, left blank)",
                    "type": "boolean"
                },
                "percentage_controlled": {
                    "description": "Percentage controlled, either directly or indirectly",
                    "type": "string"
                },
                "significant": {
                    "description": "Does the source define the control as somehow significant?",
                    "type": "boolean"
                },
                "subsidiary": {
                    "description": "Company that is controlled",
                    "type": "object",
                    "required": [
                        "name"
                    ],
                    "additionalProperties": false,
                    "properties": {
                        "name": {
                            "description": "Name of company",
                            "type": "string"
                        },
                        "jurisdiction": {
                            "description": "Jurisdiction of registration",
                            "type": "string"
                        },
                        "company_number": {
                            "description": "Company number, if company and known",
                            "type": "string"
                        },
                        "identifier": {
                            "description": "Unique identifier of company",
                            "type": "string"
                        }
                    }
                }
            }
        }
    }
}