{
  "$id": "https://github.com/TanStack/tanstack.com/blob/main/tanstack-docs-config.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Config file for the documentation of a TanStack project.",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "docSearch": {
      "description": "Data for Algolia Search.",
      "properties": {
        "apiKey": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "indexName": {
          "type": "string"
        }
      },
      "required": [
        "appId",
        "apiKey",
        "indexName"
      ],
      "type": "object"
    },
    "sections": {
      "description": "Section groups for the sidebar.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "children": {
            "description": "Framework-agnostic docs go here.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "badge": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "to": {
                  "type": "string"
                }
              },
              "required": [
                "label",
                "to"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "frameworks": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "children": {
                  "description": "Framework-specific docs go here.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "badge": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "label",
                      "to"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "label",
                "children"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "children"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "users": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "docSearch",
    "sections"
  ],
  "title": "TanStack Docs Config",
  "type": "object"
}