{
    "additionalProperties": false,
    "description": "Pool",
    "properties": {
        "pool": {
            "additionalProperties": false,
            "properties": {
                "attributes": {
                    "additionalProperties": true,
                    "description": "Pool attributes as name value pairs",
                    "properties": {
                        "scope": {
                            "enum": [
                                "public",
                                "private"
                            ],
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "created_at": {
                    "description": "Date and time of pool creation",
                    "format": "date-time",
                    "readOnly": true,
                    "type": "string"
                },
                "description": {
                    "description": "Description for the pool",
                    "maxLength": 160,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "Pool identifier",
                    "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
                    "readOnly": true,
                    "type": "string"
                },
                "links": {
                    "additionalProperties": false,
                    "properties": {
                        "self": {
                            "format": "url",
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "name": {
                    "description": "Pool name",
                    "immutable": true,
                    "maxLength": 50,
                    "type": "string"
                },
                "ns_records": {
                    "description": "List of NS Records for Zones in this pool",
                    "items": {
                        "additionalProperties": false,
                        "properties": {
                            "hostname": {
                                "format": "hostname",
                                "maxLength": 255,
                                "type": "string"
                            },
                            "priority": {
                                "maximum": 1000,
                                "minimum": 0,
                                "type": "integer"
                            }
                        },
                        "required": [
                            "priority",
                            "hostname"
                        ],
                        "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                },
                "project_id": {
                    "description": "Project identifier",
                    "immutable": true,
                    "maxLength": 36,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "updated_at": {
                    "description": "Date and time of last pool modification",
                    "format": "date-time",
                    "readOnly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "version": {
                    "description": "Pool version number",
                    "readOnly": true,
                    "type": "integer"
                }
            },
            "required": [
                "name",
                "attributes",
                "ns_records"
            ],
            "type": "object"
        }
    },
    "required": [
        "pool"
    ],
    "title": "pool"
}