summaryrefslogtreecommitdiff
path: root/designateclient/resources/schemas/v1/domain.json
diff options
context:
space:
mode:
Diffstat (limited to 'designateclient/resources/schemas/v1/domain.json')
-rw-r--r--designateclient/resources/schemas/v1/domain.json76
1 files changed, 0 insertions, 76 deletions
diff --git a/designateclient/resources/schemas/v1/domain.json b/designateclient/resources/schemas/v1/domain.json
deleted file mode 100644
index 5ed584f..0000000
--- a/designateclient/resources/schemas/v1/domain.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "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": 1,
- "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"
- }]
-}