{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/armis/json-schema/armis-config-schema.json",
  "title": "Config",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/armis-device-custom-properties-api-openapi.yml#/components/schemas/Config",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 40,
      "pattern": "^[\\w_]*$",
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 250
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "type": {
      "type": "string",
      "enum": [
        "boolean",
        "enum",
        "externalLink",
        "integer",
        "string",
        "timestamp"
      ],
      "title": "Type"
    },
    "allowed_values": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allowed Values"
    }
  },
  "type": "object",
  "required": [
    "name",
    "type"
  ]
}