{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "shortId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12,
      "pattern": "^[A-Za-z0-9_-]+$"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "tokens": {
      "type": "object",
      "properties": {
        "meta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "name",
            "version"
          ],
          "additionalProperties": false
        },
        "setup": {
          "type": "object",
          "properties": {
            "appearance": {
              "type": "string",
              "enum": [
                "single",
                "dual"
              ]
            },
            "cascadeMode": {
              "type": "string",
              "enum": [
                "adaptive",
                "mobile-first",
                "desktop-first"
              ]
            }
          },
          "required": [
            "appearance",
            "cascadeMode"
          ],
          "additionalProperties": false
        },
        "globals": {
          "type": "object",
          "properties": {
            "typography": {
              "type": "object",
              "properties": {
                "fontFamily": {
                  "type": "string"
                },
                "fontSizeBase": {
                  "type": "string"
                },
                "lineHeightBase": {
                  "type": "string"
                },
                "fontWeightBase": {
                  "type": "string"
                },
                "headingFont": {
                  "type": "string"
                },
                "buttonFont": {
                  "type": "string"
                }
              },
              "required": [
                "fontFamily"
              ],
              "additionalProperties": false
            },
            "radii": {
              "type": "object",
              "properties": {
                "base": {
                  "type": "string"
                },
                "button": {
                  "type": "string"
                },
                "card": {
                  "type": "string"
                }
              },
              "required": [
                "base"
              ],
              "additionalProperties": false
            },
            "spacing": {
              "type": "object",
              "properties": {
                "base": {
                  "type": "string"
                },
                "compact": {
                  "type": "string"
                },
                "comfortable": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "required": [
            "typography",
            "radii"
          ],
          "additionalProperties": false
        },
        "colors": {
          "type": "object",
          "properties": {
            "brand": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "background": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "surface": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "text": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "textSecondary": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "border": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "link": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "required": [
            "brand",
            "background",
            "surface",
            "text"
          ],
          "additionalProperties": false
        },
        "components": {
          "type": "object",
          "properties": {
            "button": {
              "type": "object",
              "properties": {
                "variants": {
                  "type": "object",
                  "properties": {
                    "primary": {
                      "type": "object",
                      "properties": {
                        "background": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "border": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBorder": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "focusRing": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "disabledOpacity": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "background",
                        "text"
                      ],
                      "additionalProperties": false
                    },
                    "secondary": {
                      "type": "object",
                      "properties": {
                        "background": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "border": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBorder": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "focusRing": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "disabledOpacity": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "background",
                        "text"
                      ],
                      "additionalProperties": false
                    },
                    "ghost": {
                      "type": "object",
                      "properties": {
                        "background": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "border": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBorder": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "focusRing": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "disabledOpacity": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "background",
                        "text"
                      ],
                      "additionalProperties": false
                    },
                    "link": {
                      "type": "object",
                      "properties": {
                        "background": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "border": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "hoverBorder": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeBackground": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "activeText": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "focusRing": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "light": {
                                  "type": "string"
                                },
                                "dark": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "light",
                                "dark"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "disabledOpacity": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "background",
                        "text"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "primary",
                    "secondary"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "variants"
              ],
              "additionalProperties": false
            },
            "link": {
              "type": "object",
              "properties": {
                "color": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "underline": {
                  "type": "boolean"
                },
                "hoverColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "focusRing": {
                  "type": "boolean"
                }
              },
              "required": [
                "color",
                "underline"
              ],
              "additionalProperties": false
            },
            "toggle": {
              "type": "object",
              "properties": {
                "activeColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "inactiveColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "trackBackground": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "thumbColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledActiveColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledInactiveColor": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledOpacity": {
                  "type": "string"
                }
              },
              "required": [
                "activeColor",
                "inactiveColor"
              ],
              "additionalProperties": false
            },
            "input": {
              "type": "object",
              "properties": {
                "background": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "border": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "placeholder": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledBackground": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledBorder": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "disabledText": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "light": {
                          "type": "string"
                        },
                        "dark": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "light",
                        "dark"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "required": [
                "background",
                "border",
                "text"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "button",
            "link"
          ],
          "additionalProperties": false
        },
        "brand": {
          "type": "object",
          "properties": {
            "logoUrl": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "logoIconUrl": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "light": {
                      "type": "string"
                    },
                    "dark": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "light",
                    "dark"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "meta",
        "setup",
        "globals",
        "colors",
        "components"
      ],
      "additionalProperties": false
    },
    "themeMode": {
      "type": "string",
      "enum": [
        "single",
        "dual"
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "org",
        "project",
        "app"
      ]
    },
    "scopeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12,
      "pattern": "^[A-Za-z0-9_-]+$"
    }
  },
  "required": [
    "name",
    "tokens"
  ],
  "additionalProperties": false
}
