{
  "description": "This file is auto-generated by scripts/prep. Do not edit manually.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "$schema": { "type": "string" },
    "data": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "appId": { "type": "string", "pattern": "^[a-z]*$" },
          "appIdCaps": { "type": "string", "pattern": "^[A-Z]*$" },
          "appName": { "type": "string" },
          "color": { "type": "string", "pattern": "^#[0-9A-Fa-f]{6}$" },
          "icon": {
            "type": "string",
            "pattern": "^src\\/assets\\/clones\\/[A-Za-z\\-\\_]*\\.png$"
          },
          "iconNoBg": {
            "type": "string",
            "pattern": "^src\\/assets\\/clones\\/[A-Za-z\\-\\_]*\\.png$"
          },
          "languages": {
            "type": "array",
            "items": { "type": "string", "pattern": "^[a-z]{3}$" }
          },
          "linkAndroid": {
            "type": "string",
            "description": "URL to the app in the Google Play Store. Just `https://play.google.com/store/apps/details?id=com.kingdomstrategies.` + the clone appId."
          },
          "linkIos": {
            "type": "string",
            "description": "URL to the app in the Apple App Store. After creating app on ASC, go to App Store Connect > App Information > Additional Information > App Store ID."
          },
          "removeTraining": {
            "type": "boolean",
            "description": "If true, the training section and content will be removed from the clone."
          }
        },
        "required": [
          "appId",
          "appIdCaps",
          "appName",
          "color",
          "icon",
          "iconNoBg",
          "linkAndroid",
          "linkIos",
          "removeTraining"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": ["$schema", "data"]
}
