{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-fields-schema.json",
  "title": "Fields",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-indexing-api-openapi.yml#/components/schemas/Fields",
  "type": "array",
  "items": {
    "$ref": "#/$defs/Field"
  },
  "$defs": {
    "Field": {
      "type": "object",
      "properties": {
        "name": {
          "allOf": [
            {
              "$ref": "#/$defs/FieldName"
            },
            {
              "description": "The name of the field."
            }
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/FieldType"
            },
            {
              "description": "The data type of the field."
            }
          ]
        }
      },
      "description": "Describes the name and data type at a field."
    },
    "FieldName": {
      "type": "string"
    },
    "FieldType": {
      "type": "string",
      "enum": [
        "Number",
        "String",
        "Boolean"
      ]
    }
  }
}