{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/chamaleon-environment/latest.json",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/gerardorodriguezdev/chamaleon/refs/heads/master/schemas/environment-schema.json",
    "sourceSha256": "c4214178028605d2e60a67d3e0aa60fa8f2d697472c7479ea2d78d9bb70b9184",
    "fileMatch": [
      "*.environment.chamaleon.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "array",
  "uniqueItems": true,
  "minItems": 1,
  "items": {
    "type": "object",
    "properties": {
      "platformType": {
        "type": "string",
        "enum": [
          "android",
          "wasm",
          "js",
          "jvm",
          "native"
        ]
      },
      "properties": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": [
                "string",
                "boolean",
                "null"
              ],
              "minLength": 1
            }
          },
          "required": [
            "name",
            "value"
          ]
        },
        "minItems": 1,
        "uniqueItems": true
      }
    },
    "required": [
      "platformType",
      "properties"
    ]
  }
}
