Skip to content

GenetecActionModel

Field Type Required Description and constraints
type "genetec" Yes
id string Yes minimum length 1. maximum length 128. pattern ^[A-Za-z0-9][A-Za-z0-9._:-]*$
baseUrl string (uri) or null No Omit with credentialRef to use the server’s vms_config.yml.
eventId integer or null No Custom event ID; omitted file-backed actions use genetec.default_event_value.
cameraId string (uuid) Yes
credentialRef string or null No

Additional properties are rejected by this schema.

{
"properties": {
"type": {
"type": "string",
"const": "genetec",
"title": "Type"
},
"id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"title": "Id"
},
"baseUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2083,
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Baseurl",
"description": "Omit with credentialRef to use the server's vms_config.yml."
},
"eventId": {
"anyOf": [
{
"type": "integer",
"maximum": 2147483647.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Eventid",
"description": "Custom event ID; omitted file-backed actions use genetec.default_event_value."
},
"cameraId": {
"type": "string",
"format": "uuid",
"title": "Cameraid"
},
"credentialRef": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
},
{
"type": "null"
}
],
"title": "Credentialref"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"type",
"id",
"cameraId"
],
"title": "GenetecActionModel"
}
Image preview