summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/pages_domain/detail.json
blob: bbbc610eb27acae371025a6eebf4ddf10de5134d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "type": "object",
  "properties": {
    "domain": { "type": "string" },
    "url": { "type": "uri" },
    "verified": { "type": "boolean" },
    "verification_code": { "type": ["string", "null"] },
    "enabled_until": { "type": ["string", "null"] },
    "auto_ssl_enabled": { "type": "boolean" },
    "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", "verified", "verification_code", "enabled_until", "auto_ssl_enabled"],
  "additionalProperties": false
}