68 lines
2.3 KiB
JSON
68 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
|
|
"id": "zone_transfer_accept",
|
|
|
|
"title": "zone_transfer_accept",
|
|
"description": "Zone Transfer Accept",
|
|
"additionalProperties": false,
|
|
|
|
"required": ["transfer_accept"],
|
|
|
|
"properties": {
|
|
"transfer_accept": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["zone_transfer_request_id", "key"],
|
|
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Zone Transfer Request 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
|
|
},
|
|
"zone_transfer_request_id": {
|
|
"type": "string",
|
|
"description": "Request 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}$"
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "Password used to complete the transfer",
|
|
"maxLength": 160
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Zone Status",
|
|
"enum": ["ACTIVE", "PENDING", "DELETED", "ERROR", "COMPLETE"],
|
|
"readOnly": true
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"description": "Date and time of Request creation",
|
|
"format": "date-time",
|
|
"readOnly": true
|
|
},
|
|
"updated_at": {
|
|
"type": ["string", "null"],
|
|
"description": "Date and time of last Request modification",
|
|
"format": "date-time",
|
|
"readOnly": true
|
|
},
|
|
"links": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
"self": {
|
|
"type": "string",
|
|
"format": "url"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|