Add pages domains API schema

This commit is contained in:
Travis Miller 2017-08-21 18:57:20 -05:00
parent 6e5f63acce
commit de4d1bacc6

View file

@ -0,0 +1,23 @@
{
"type": "array",
"items": {
"type": "object",
"properties": {
"domain": { "type": "string" },
"url": { "type": "uri" },
"certificate": {
"type": "object",
"properties": {
"subject": { "type": "string" },
"expired": { "type": "boolean" },
"certificate": { "type": "string" },
"certificate_text": { "type": "string" }
},
"required": ["subject", "expired"],
"additionalProperties": false
}
},
"required": ["domain", "url"],
"additionalProperties": false
}
}