LineLayerModel
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
id |
string | Yes | minimum length 1. maximum length 128. pattern ^[A-Za-z0-9][A-Za-z0-9._:-]*$ |
label |
string | Yes | minimum length 1. maximum length 256 |
enabled |
boolean | No | default true |
regionId |
string | Yes | minimum length 1. maximum length 128. pattern ^[A-Za-z0-9][A-Za-z0-9._:-]*$ |
start |
NormalizedPointModel | Yes | |
end |
NormalizedPointModel | Yes | |
rules |
array of LineCrossingRuleModel | No | maximum items 128. default [] |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "id": { "type": "string", "maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$", "title": "Id" }, "label": { "type": "string", "maxLength": 256, "minLength": 1, "title": "Label" }, "enabled": { "type": "boolean", "title": "Enabled", "default": true }, "regionId": { "type": "string", "maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$", "title": "Regionid" }, "start": { "$ref": "#/components/schemas/NormalizedPointModel" }, "end": { "$ref": "#/components/schemas/NormalizedPointModel" }, "rules": { "items": { "$ref": "#/components/schemas/LineCrossingRuleModel" }, "type": "array", "maxItems": 128, "title": "Rules", "default": [] } }, "additionalProperties": false, "type": "object", "required": [ "id", "label", "regionId", "start", "end" ], "title": "LineLayerModel"}