{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cover-desk.pages.dev/open-cover/schemas/facts-result.json",
  "title": "Open Cover 0.1: facts-result",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "profile",
    "insurer",
    "product",
    "summary",
    "claims_contact",
    "links",
    "demo_notice"
  ],
  "properties": {
    "profile": {
      "type": "string",
      "enum": [
        "open-cover/0.1"
      ]
    },
    "insurer": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "product": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "summary": {
      "type": "string",
      "minLength": 1,
      "maxLength": 600
    },
    "claims_contact": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "links": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "home",
        "wording",
        "quote",
        "claim"
      ],
      "properties": {
        "home": {
          "type": "string",
          "minLength": 8,
          "maxLength": 300
        },
        "wording": {
          "type": "string",
          "minLength": 8,
          "maxLength": 300
        },
        "quote": {
          "type": "string",
          "minLength": 8,
          "maxLength": 300
        },
        "claim": {
          "type": "string",
          "minLength": 8,
          "maxLength": 300
        }
      }
    },
    "demo_notice": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    }
  }
}
