Skip to content

AnnotationLabelPartModel

Field Type Required Description and constraints
kind string Yes values "text", "field"
text string or null No
field string or null No
ruleId string or null No
durationFormat string or null No

Additional properties are rejected by this schema.

{
"properties": {
"kind": {
"type": "string",
"enum": [
"text",
"field"
],
"title": "Kind"
},
"text": {
"anyOf": [
{
"type": "string",
"maxLength": 256
},
{
"type": "null"
}
],
"title": "Text"
},
"field": {
"anyOf": [
{
"type": "string",
"enum": [
"detectionLabel",
"objectClass",
"confidence",
"configurationName",
"trackDuration",
"ruleName",
"ruleDwell",
"ruleActiveDuration"
]
},
{
"type": "null"
}
],
"title": "Field"
},
"ruleId": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$"
},
{
"type": "null"
}
],
"title": "Ruleid"
},
"durationFormat": {
"anyOf": [
{
"type": "string",
"enum": [
"seconds",
"tenths",
"mmss"
]
},
{
"type": "null"
}
],
"title": "Durationformat"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"kind"
],
"title": "AnnotationLabelPartModel"
}
Image preview