{ "id": "domain", "$schema": "http://json-schema.org/draft-03/hyper-schema", "title": "domain", "description": "Domain", "additionalProperties": false, "properties": { "id": { "type": "string", "description": "Domain 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 }, "name": { "type": "string", "description": "Domain name", "format": "domain-name", "maxLength": 255, "required": true, "readonly": true }, "email": { "type": "string", "description": "Hostmaster email address", "format": "email", "maxLength": 255, "required": true }, "ttl": { "type": "integer", "description": "Time to live", "minimum": 0, "maximum": 2147483647 }, "serial": { "type": "integer", "description": "Serial Number", "minimum": 1, "maximum": 4294967295, "readonly": true }, "description": { "type": ["string", "null"], "description": "Description for the Domain", "maxLength": 160 }, "created_at": { "type": "string", "description": "Date and time of domain creation", "format": "date-time", "readonly": true }, "updated_at": { "type": ["string", "null"], "description": "Date and time of last domain update", "format": "date-time", "readonly": true } }, "links": [{ "rel": "self", "href": "/domains/{id}" }, { "rel": "records", "href": "/domains/{id}/records" }, { "rel": "servers", "href": "/domains/{id}/servers" }, { "rel": "collection", "href": "/domains" }] }