Home / File/ schema.json — ui Source File

schema.json — ui Source File

Architecture documentation for schema.json, a json file in the ui codebase.

Entity Profile

Source Code

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "style": {
      "type": "string",
      "enum": ["default", "new-york", "radix-vega", "radix-nova", "radix-maia", "radix-lyra", "radix-mira", "base-vega", "base-nova", "base-maia", "base-lyra", "base-mira"]
    },
    "tailwind": {
      "type": "object",
      "properties": {
        "config": {
          "type": "string"
        },
        "css": {
          "type": "string"
        },
        "baseColor": {
          "type": "string"
        },
        "cssVariables": {
          "type": "boolean"
        },
        "prefix": {
          "type": "string"
        }
      },
      "required": ["config", "css", "baseColor", "cssVariables"]
    },
    "rsc": {
      "type": "boolean"
    },
    "tsx": {
      "type": "boolean"
    },
    "iconLibrary": {
      "type": "string"
    },
    "aliases": {
      "type": "object",
      "properties": {
        "utils": {
          "type": "string"
        },
        "components": {
          "type": "string"
        },
        "ui": {
          "type": "string"
        },
        "lib": {
          "type": "string"
        },
        "hooks": {
          "type": "string"
        }
      },
      "required": ["utils", "components"]
    },
    "menuColor": {
      "type": "string",
      "enum": ["default", "inverted"]
    },
    "menuAccent": {
      "type": "string",
      "enum": ["subtle", "bold"]
    },
    "rtl": {
      "type": "boolean"
    },
    "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", "rsc", "aliases"]
}

Frequently Asked Questions

What does schema.json do?
schema.json is a source file in the ui codebase, written in json.
Where is schema.json in the architecture?
schema.json is located at apps/v4/public/schema.json (directory: apps/v4/public).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free