64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
|
|
"id": "blacklist",
|
|
|
|
"title": "blacklist",
|
|
"description": "Blacklisted Zone",
|
|
"additionalProperties": false,
|
|
|
|
"required": ["blacklist"],
|
|
|
|
"properties": {
|
|
"blacklist": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["pattern"],
|
|
|
|
"properties":{
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Blacklisted Zone Identifier",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"pattern": {
|
|
"type": "string",
|
|
"description": "Regex for blacklisted zone name",
|
|
"format": "regex",
|
|
"maxLength": 255,
|
|
"required": true
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"description": "Date and time of blacklisted zone creation",
|
|
"format": "date-time",
|
|
"readOnly": true
|
|
},
|
|
"description": {
|
|
"type": ["string", "null"],
|
|
"description": "Description for the blacklisted zone",
|
|
"maxLength": 160
|
|
},
|
|
"updated_at": {
|
|
"type": ["string", "null"],
|
|
"description": "Date and time of last blacklisted zone update",
|
|
"format": "date-time",
|
|
"readOnly": true
|
|
},
|
|
"links": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
"self": {
|
|
"type": "string",
|
|
"format": "url"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|