{
    "$id": "../observables/domain-name.json",
    "$schema": "http://json-schema.org/draft-06/schema#",
    "title": "domain-name",
    "description": "The Domain Name represents the properties of a network domain name.",
    "type": "object",
    "allOf": [
        {
            "$ref": "../common/cyber-observable-core.json"
        },
        {
            "properties": {
                "type": {
                    "type": "string",
                    "description": "The value of this property MUST be `domain-name`.",
                    "const": "domain-name"
                },
                "value": {
                    "type": "string",
                    "description": "Specifies the value of the domain name."
                },
                "resolves_to_refs": {
                    "type": "array",
                    "description": "Specifies a list of references to one or more IP addresses or domain names that the domain name resolves to.",
                    "items": {
                        "type": "string"
                    }
                }
            },
            "required": [
                "value"
            ]
        }
    ]
}