summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/pages_domain/basic.json
blob: ed8ed9085c0eab2a2803c288afd594c2e3b65fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "type": "object",
  "properties": {
    "domain": { "type": "string" },
    "url": { "type": "uri" },
    "project_id": { "type": "integer" },
    "verified": { "type": "boolean" },
    "verification_code": { "type": ["string", "null"] },
    "enabled_until": { "type": ["date", "null"] },
    "certificate_expiration": {
      "type": "object",
      "properties": {
        "expired": { "type": "boolean" },
        "expiration": { "type": "string" }
      },
      "required": ["expired", "expiration"],
      "additionalProperties": false
    }
  },
  "required": ["domain", "url", "project_id", "verified", "verification_code", "enabled_until"],
  "additionalProperties": false
}