{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#DomainZone",
    "description": "The DNS Zone of an Internet Domain.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "domainName": {
                    "description": "Domain name.",
                    "type": "string"
                },
                "parent": {
                    "description": "Parent domain, if the entity is a sub-domain.",
                    "type": "string"
                },
                "recordsCount": {
                    "description": "Total number of DNS records in this zone.",
                    "type": "number"
                }
            },
            "required": ["domainName"]
        }
    ]
}
