Amazon IoT Events · JSON Structure

Iot Events Detector Model Definition Structure

Information that defines how a detector operates.

Type: object Properties: 2 Required: 2
Event DetectionIoTState MachineAutomation

DetectorModelDefinition is a JSON Structure definition published by Amazon IoT Events, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

states initialStateName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-structure/iot-events-detector-model-definition-structure.json",
  "name": "DetectorModelDefinition",
  "description": "Information that defines how a detector operates.",
  "type": "object",
  "properties": {
    "states": {
      "allOf": [
        {
          "$ref": "#/components/schemas/States"
        },
        {
          "description": "Information about the states of the detector."
        }
      ]
    },
    "initialStateName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StateName"
        },
        {
          "description": "The state that is entered at the creation of each detector (instance)."
        }
      ]
    }
  },
  "required": [
    "states",
    "initialStateName"
  ]
}