{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "style": {
      "type": "string",
      "enum": [
        "default",
        "new-york"
      ]
    },
    "typescript": {
      "type": "boolean",
      "default": true
    },
    "tailwind": {
      "type": "object",
      "properties": {
        "config": {
          "type": "string"
        },
        "css": {
          "type": "string"
        },
        "baseColor": {
          "type": "string"
        },
        "cssVariables": {
          "type": "boolean"
        },
        "prefix": {
          "type": "string"
        }
      },
      "required": [
        "config",
        "css",
        "baseColor",
        "cssVariables"
      ]
    },
    "iconLibrary": {
      "type": "string"
    },
    "aliases": {
      "type": "object",
      "properties": {
        "utils": {
          "type": "string"
        },
        "components": {
          "type": "string"
        },
        "ui": {
          "type": "string"
        },
        "lib": {
          "type": "string"
        },
        "composables": {
          "type": "string"
        }
      },
      "required": [
        "utils",
        "components"
      ]
    },
    "registries": {
      "type": "object",
      "patternProperties": {
        "^@": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "\\{name\\}"
            },
            {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "pattern": "\\{name\\}"
                },
                "params": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "url"
              ]
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "style",
    "tailwind",
    "aliases"
  ]
}
