{
  "$ref": "#/definitions/Component",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Component": {
      "additionalProperties": false,
      "properties": {
        "filter": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "info": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "$ref": "#/definitions/FaqInfoItem"
              },
              "type": "array"
            }
          ],
          "description": "From HTML this is a JSON string; `$effect` parses it into `FaqInfoItem[]`."
        },
        "style": {
          "type": "string"
        },
        "topics": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "$ref": "#/definitions/FaqTopicChip"
              },
              "type": "array"
            }
          ],
          "description": "From HTML this is a JSON string; `$effect` parses it into `FaqTopicChip[]` and assigns `index`."
        }
      },
      "type": "object"
    },
    "FaqInfoItem": {
      "additionalProperties": false,
      "properties": {
        "text": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "topic": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "text"
      ],
      "type": "object"
    },
    "FaqTopicChip": {
      "additionalProperties": false,
      "properties": {
        "catchAll": {
          "type": "boolean"
        },
        "icon": {
          "type": "string"
        },
        "index": {
          "type": "number"
        },
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "label",
        "icon"
      ],
      "type": "object"
    }
  }
}
