SimilarityLiveSearchBody
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
streamIds |
array of string (uuid) | No | default [] |
startTime |
string (date-time) or null | No | |
endTime |
string (date-time) or null | No | |
durationSeconds |
number or null | No | |
trackAlertCooldownSeconds |
number | No | minimum 0.0. maximum 86400.0. default 5 |
alertThreshold |
number | No | minimum -1.0. maximum 1.0. default 0.8 |
kind |
"similarity" |
Yes | |
className |
string or null | No | |
seeds |
array of LiveSimilaritySeedModel | Yes | minimum items 1. maximum items 16 |
genetecEventId |
integer or null | No | Optional Genetec custom event delivered by the server for accepted live matches. |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "streamIds": { "items": { "type": "string", "format": "uuid" }, "type": "array", "title": "Streamids", "default": [] }, "startTime": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Starttime" }, "endTime": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Endtime" }, "durationSeconds": { "anyOf": [ { "type": "number", "maximum": 31536000.0, "exclusiveMinimum": 0.0 }, { "type": "null" } ], "title": "Durationseconds" }, "trackAlertCooldownSeconds": { "type": "number", "maximum": 86400.0, "minimum": 0.0, "title": "Trackalertcooldownseconds", "default": 5 }, "alertThreshold": { "type": "number", "maximum": 1.0, "minimum": -1.0, "title": "Alertthreshold", "default": 0.8 }, "kind": { "type": "string", "const": "similarity", "title": "Kind" }, "className": { "anyOf": [ { "type": "string", "maxLength": 128, "minLength": 1 }, { "type": "null" } ], "title": "Classname" }, "seeds": { "items": { "$ref": "#/components/schemas/LiveSimilaritySeedModel" }, "type": "array", "maxItems": 16, "minItems": 1, "title": "Seeds" }, "genetecEventId": { "anyOf": [ { "type": "integer", "maximum": 2147483647.0, "minimum": 1.0 }, { "type": "null" } ], "title": "Geneteceventid", "description": "Optional Genetec custom event delivered by the server for accepted live matches." } }, "additionalProperties": false, "type": "object", "required": [ "kind", "seeds" ], "title": "SimilarityLiveSearchBody"}