{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-start-detector-model-analysis-request-schema.json", "title": "StartDetectorModelAnalysisRequest", "description": "StartDetectorModelAnalysisRequest schema", "type": "object", "properties": { "detectorModelDefinition": { "type": "object", "required": [ "states", "initialStateName" ], "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)." } ] } }, "description": "Information that defines how a detector operates." } }, "required": [ "detectorModelDefinition" ] }