{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "collections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 12,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "templates": {
            "maxItems": 3,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 12,
                  "pattern": "^[A-Za-z0-9_-]+$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "version": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "status": {
                  "type": "string",
                  "minLength": 1
                },
                "frameworkType": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "GDPR",
                        "TCF",
                        "US"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "vars",
                          "styles",
                          "view",
                          "template"
                        ]
                      },
                      "filename": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255,
                        "pattern": "^(?!\\.{1,2}$)[^/\\\\\\x00]+$"
                      },
                      "language": {
                        "type": "string",
                        "minLength": 1
                      },
                      "content": {
                        "type": "string"
                      },
                      "contentHash": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "kind",
                      "filename",
                      "language",
                      "content",
                      "contentHash"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "id",
                "name",
                "description",
                "version",
                "status",
                "frameworkType",
                "files"
              ],
              "additionalProperties": false
            }
          },
          "sharedFiles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255,
                  "pattern": "^(?!\\.{1,2}$)[^/\\\\\\x00]+$"
                },
                "content": {
                  "type": "string"
                },
                "contentHash": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "filename",
                "content",
                "contentHash"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "templates",
          "sharedFiles"
        ],
        "additionalProperties": false
      }
    },
    "templates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 12,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "status": {
            "type": "string",
            "minLength": 1
          },
          "frameworkType": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "GDPR",
                  "TCF",
                  "US"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "vars",
                    "styles",
                    "view",
                    "template"
                  ]
                },
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255,
                  "pattern": "^(?!\\.{1,2}$)[^/\\\\\\x00]+$"
                },
                "language": {
                  "type": "string",
                  "minLength": 1
                },
                "content": {
                  "type": "string"
                },
                "contentHash": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "filename",
                "language",
                "content",
                "contentHash"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "version",
          "status",
          "frameworkType",
          "files"
        ],
        "additionalProperties": false
      }
    },
    "themes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 12,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "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"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "tokens",
          "themeMode"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "collections",
    "templates",
    "themes"
  ],
  "additionalProperties": false
}
