1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
{
"$schema": "http://json-schema.org/draft-04/hyper-schema",
"id": "zone",
"title": "zone",
"description": "Zone",
"additionalProperties": false,
"required": ["zone"],
"properties": {
"zone": {
"type": "object",
"additionalProperties": false,
"required": ["name", "email"],
"properties": {
"id": {
"type": "string",
"description": "Zone 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
},
"pool_id": {
"type": "string",
"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}$",
"immutable": true
},
"project_id": {
"type": ["string", "null"],
"description": "Project identifier",
"maxLength": 36,
"immutable": true
},
"name": {
"type": "string",
"description": "Zone name",
"format": "domain-name",
"maxLength": 255,
"immutable": true
},
"email": {
"type": "string",
"description": "Hostmaster email address",
"format": "email",
"maxLength": 255
},
"description": {
"type": ["string", "null"],
"description": "Description for the zone",
"maxLength": 160
},
"ttl": {
"type": "integer",
"description": "Default time to live",
"min": 0,
"max": 2147483647
},
"status": {
"type": "string",
"description": "Zone Status",
"enum": ["ACTIVE", "PENDING", "DELETING", "ERROR"],
"readOnly": true
},
"serial": {
"type": "integer",
"description": "Zone serial number",
"min": 1,
"max": 4294967295,
"readOnly": true
},
"notes": {
"type": ["string", "null"],
"description": "Notes",
"maxLength": 100
},
"version": {
"type": "integer",
"description": "Zone version number",
"readOnly": true
},
"created_at": {
"type": "string",
"description": "Date and time of Zone creation",
"format": "date-time",
"readOnly": true
},
"updated_at": {
"type": ["string", "null"],
"description": "Date and time of last zone modification",
"format": "date-time",
"readOnly": true
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"self": {
"type": "string",
"format": "url"
}
}
}
}
}
}
}
|