{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "themes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the color theme displayed to users."
          },
          "theme": {
            "type": "object",
            "properties": {
              "colors": {
                "type": "object",
                "properties": {
                  "primary": {
                    "type": "string"
                  },
                  "primaryForeground": {
                    "type": "string"
                  },
                  "background": {
                    "type": "string"
                  },
                  "foreground": {
                    "type": "string"
                  },
                  "muted": {
                    "type": "string"
                  },
                  "mutedForeground": {
                    "type": "string"
                  },
                  "card": {
                    "type": "string"
                  },
                  "accent": {
                    "type": "string"
                  },
                  "destructive": {
                    "type": "string"
                  },
                  "destructiveLight": {
                    "type": "string"
                  },
                  "destructiveForeground": {
                    "type": "string"
                  },
                  "warning": {
                    "type": "string"
                  },
                  "warningForeground": {
                    "type": "string"
                  },
                  "success": {
                    "type": "string"
                  },
                  "successForeground": {
                    "type": "string"
                  },
                  "folder": {
                    "type": "string"
                  },
                  "ring": {
                    "type": "string"
                  },
                  "border": {
                    "type": "string"
                  },
                  "popover": {
                    "type": "string"
                  },
                  "popoverForeground": {
                    "type": "string"
                  },
                  "yellow": {
                    "type": "string"
                  },
                  "black": {
                    "type": "string"
                  },
                  "white": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "colors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "name",
          "theme"
        ],
        "additionalProperties": false,
        "description": "Semantic app color variables used across Recall"
      }
    },
    "$schema": {
      "type": "string"
    }
  },
  "required": [
    "themes",
    "$schema"
  ],
  "additionalProperties": false
}
