Batch Export
Last updated
Last updated
After a task gets submitted in any of the nodes it is ready for export. Click on Batch Export from the left navigation.
Batches with the status ‘Ready for Export’ are the only ones that can be exported.
Select the ones you would like to export and click on ‘Request Export’
This action sends an email to the user’s registered iMerit email ID which contains an AWS-signed URL valid for 1 hour for download.
The output files are in the format specified in the Taskflow configuration.
Below attached file contains the schema definition of the output generated from the system on which Jinja template will be applied to get custom output.
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": "object",
"default": {},
"title": "PointCloud Tool Output Schema",
"required": [
"operation",
"output"
],
"properties": {
"operation": {
"type": "object",
"default": {},
"title": "The operation Schema",
"required": [
"batch_code",
"customData",
"emp_code",
"engagement_code",
"job_code"
],
"properties": {
"batch_code": {
"type": "string",
"default": "",
"title": "The batch_code Schema",
"examples": [
"BC-66c4a48851017200011cc9b4"
]
},
"customData": {
"type": "array",
"default": [],
"title": "The customData Schema",
"items": {
"type": "object",
"default": {},
"title": "A Schema",
"properties": {
"key": {
"type": "string",
"default": "",
"title": "The key Schema"
},
"data": {
"type": "object",
"default": {},
"title": "The data Schema",
"examples": [{
"B1": 2
}]
}
},
"examples": [{
"key": "batchAttributes",
"data": {
"B1": 2
}
}]
},
"examples": [
[{
"key": "batchAttributes",
"data": {
"B1": 2
}
}]
]
},
"emp_code": {
"type": "string",
"default": "",
"title": "The emp_code Schema",
"examples": [
"I1054"
]
},
"engagement_code": {
"type": "string",
"default": "",
"title": "The engagement_code Schema",
"examples": [
"SC-6684130e9ffabb00010d5191"
]
},
"job_code": {
"type": "string",
"default": "",
"title": "The job_code Schema",
"examples": [
"JC-66b4a2c3498bb0a056276479"
]
}
},
"examples": [{
"batch_code": "BC-66c4a48851017200011cc9b4",
"customData": [{
"key": "batchAttributes",
"data": {
"B1": 2
}
}],
"emp_code": "I1054",
"engagement_code": "SC-6684130e9ffabb00010d5191",
"job_code": "JC-66b4a2c3498bb0a056276479"
}]
},
"output": {
"type": "array",
"default": [],
"title": "The output Schema",
"items": {
"oneOf": [
{
"type": "object",
"default": {},
"title": "The relationship Schema",
"required": [
"seq_no",
"key",
"relationship"
],
"properties": {
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
},
"key": {
"type": "string",
"default": "",
"title": "The key Schema",
"examples": [
"relationship_1"
]
},
"relationship": {
"type": "array",
"default": [],
"title": "The relationship Schema",
"items": {
"type": "object",
"default": {},
"title": "A Schema",
"required": [
"label",
"peers"
],
"properties": {
"label": {
"type": "string",
"default": "",
"title": "The label Schema",
"examples": [
"Joined"
]
},
"peers": {
"type": "array",
"default": [],
"title": "The peers Schema",
"items": {
"type": "object",
"default": {},
"title": "A Schema",
"required": [
"objectClass",
"subjectClasses"
],
"properties": {
"objectClass": {
"type": "string",
"default": "",
"title": "The objectClass Schema",
"examples": [
"8f4614de-bc3e-40cf-b2a6-1a331e888043"
]
},
"subjectClasses": {
"type": "array",
"default": [],
"title": "The subjectClasses Schema",
"items": {
"type": "string",
"default": "",
"title": "A Schema",
"examples": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
},
"examples": [
[
"6baf12db-a939-4fa2-8803-a37514dcf6ec"]
]
}
},
"examples": [{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
},
"examples": [
[{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
]
}
},
"examples": [{
"label": "Joined",
"peers": [{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
}]
},
"examples": [
[{
"label": "Joined",
"peers": [{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
}]
]
}
},
"examples": [{
"seq_no": "1",
"key": "relationship_1",
"relationship": [{
"label": "Joined",
"peers": [{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
}]
}]
},
{
"type": "object",
"default": {},
"title": "formInput Schema",
"required": [
"key",
"seq_no",
"timeSpent",
"taskAttribute"
],
"properties": {
"key": {
"type": "string",
"default": "",
"title": "The key Schema",
"examples": [
"formInput_1"
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
},
"timeSpent": {
"type": "integer",
"default": 0,
"title": "The timeSpent Schema",
"examples": [
299
]
},
"taskAttribute": {
"type": "object",
"default": {},
"title": "The taskAttribute Schema",
"required": [
],
"properties": {
},
"examples": [{
"Grass": "test"
}]
}
},
"examples": [{
"key": "formInput_1",
"seq_no": "1",
"timeSpent": 299,
"taskAttribute": {
"Grass": "test"
}
}]
},
{
"type": "object",
"default": {},
"title": "polyline2d Schema",
"required": [
"id",
"object_type",
"class",
"taxonomy_attribute",
"identity",
"classColor",
"key",
"seq_no",
"geometry",
"order",
"referenceIndex"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"4fd215a4-784d-475c-a84a-c6dbead310b4"
]
},
"object_type": {
"type": "string",
"const": "polyline2d"
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"stop_line"
]
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
1
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#F57F66"
]
},
"key": {
"type": "string",
"default": "",
"title": "The key Schema",
"examples": [
"1_4fd215a4-784d-475c-a84a-c6dbead310b4"
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"coordinates"
],
"properties": {
"coordinates": {
"type": "array",
"default": [],
"title": "The coordinates Schema",
"items": {
"type": "object",
"title": "A Schema",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number",
"title": "The x Schema",
"examples": [
960.0267300009727,
1014.4160354733467,
1048.7671796679497
]
},
"y": {
"type": "number",
"title": "The y Schema",
"examples": [
57.251907885074615,
141.22137520462275,
263.3587773889303
]
}
},
"examples": [{
"x": 960.0267300009727,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
}]
},
"examples": [
[{
"x": 960.0267300009727,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
}]
]
}
},
"examples": [{
"coordinates": [{
"x": 960.0267300009727,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
}]
}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
0
]
}
},
"examples": [{
"id": "4fd215a4-784d-475c-a84a-c6dbead310b4",
"object_type": "polyline2d",
"class": "stop_line",
"taxonomy_attribute": {},
"identity": 1,
"classColor": "#F57F66",
"key": "1_4fd215a4-784d-475c-a84a-c6dbead310b4",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 960.0267300009727,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
}]
},
"order": 0,
"referenceIndex": 0
}]
},
{
"type": "object",
"default": {},
"title": "cuboid Schema",
"required": [
"id",
"identity",
"class",
"color",
"classColor",
"geometry",
"object_type",
"taxonomy_attribute",
"order",
"verticalLimit",
"groundClippingMode",
"referenceIndex",
"key",
"seq_no"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
1
]
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"traffic_light"
]
},
"color": {
"type": "string",
"default": "",
"title": "The color Schema",
"examples": [
""
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#90668E"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"boxSize",
"position",
"rotation",
"clipTask",
"referenceSourceIds"
],
"properties": {
"boxSize": {
"type": "object",
"default": {},
"title": "The boxSize Schema",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"default": 0.0,
"title": "The x Schema",
"examples": [
4.129600195331778
]
},
"y": {
"type": "number",
"default": 0.0,
"title": "The y Schema",
"examples": [
4.129600195331778
]
},
"z": {
"type": "number",
"default": 0.0,
"title": "The z Schema",
"examples": [
4.129600195331778
]
}
},
"examples": [{
"x": 4.129600195331778,
"y": 4.129600195331778,
"z": 4.129600195331778
}]
},
"position": {
"type": "object",
"default": {},
"title": "The position Schema",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"default": 0.0,
"title": "The x Schema",
"examples": [
-10.400499916076654
]
},
"y": {
"type": "number",
"default": 0.0,
"title": "The y Schema",
"examples": [
10.498999786376956
]
},
"z": {
"type": "number",
"default": 0.0,
"title": "The z Schema",
"examples": [
-0.8000000000000003
]
}
},
"examples": [{
"x": -10.400499916076654,
"y": 10.498999786376956,
"z": -0.8000000000000003
}]
},
"rotation": {
"type": "object",
"default": {},
"title": "The rotation Schema",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "integer",
"default": 0,
"title": "The x Schema",
"examples": [
0
]
},
"y": {
"type": "integer",
"default": 0,
"title": "The y Schema",
"examples": [
0
]
},
"z": {
"type": "integer",
"default": 0,
"title": "The z Schema",
"examples": [
0
]
}
},
"examples": [{
"x": 0,
"y": 0,
"z": 0
}]
},
"clipTask": {
"type": "integer",
"default": 0,
"title": "The clipTask Schema",
"examples": [
1
]
},
"referenceSourceIds": {
"type": "array",
"default": [],
"title": "The referenceSourceIds Schema",
"items": {},
"examples": [
[]
]
}
},
"examples": [{
"boxSize": {
"x": 4.129600195331778,
"y": 4.129600195331778,
"z": 4.129600195331778
},
"position": {
"x": -10.400499916076654,
"y": 10.498999786376956,
"z": -0.8000000000000003
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"clipTask": 1,
"referenceSourceIds": []
}]
},
"object_type": {
"type": "string",
"const": "cuboid"
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"required": [
],
"properties": {
},
"examples": [{
"traffic_light_activity_state": [],
"traffic_light_is_occluded": false
}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"verticalLimit": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"title": "The verticalLimit Schema",
"items": {
"type": "number",
"title": "A Schema",
"examples": [
-16.6,
2.9000007629394524
]
},
"examples": [
[-16.6,
2.9000007629394524
]
]
},
"groundClippingMode": {
"type": "integer",
"default": 0,
"title": "The groundClippingMode Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
-1
]
},
"key": {
"type": "string",
"default": "",
"title": "The key Schema",
"examples": [
"1_6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
}
},
"examples": [{
"id": "6baf12db-a939-4fa2-8803-a37514dcf6ec",
"identity": 1,
"class": "traffic_light",
"color": "",
"classColor": "#90668E",
"geometry": {
"boxSize": {
"x": 4.129600195331778,
"y": 4.129600195331778,
"z": 4.129600195331778
},
"position": {
"x": -10.400499916076654,
"y": 10.498999786376956,
"z": -0.8000000000000003
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"clipTask": 1,
"referenceSourceIds": []
},
"object_type": "cuboid",
"taxonomy_attribute": {
"traffic_light_activity_state": [],
"traffic_light_is_occluded": false
},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"key": "1_6baf12db-a939-4fa2-8803-a37514dcf6ec",
"seq_no": "1"
}]
},
{
"type": "object",
"default": {},
"title": "rectangle Schema",
"required": [
"id",
"object_type",
"class",
"taxonomy_attribute",
"drawable_attribute",
"identity",
"classColor",
"seq_no",
"geometry",
"order",
"referenceIndex"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"20f279ac-e415-4ba2-8cb5-53d7e53e7cc1"
]
},
"object_type": {
"type": "string",
"const": "rectangle"
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"yield_line"
]
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"drawable_attribute": {
"type": "object",
"default": {},
"title": "The drawable_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
1
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#B4C3F0"
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"coordinates",
"pointCoordinates"
],
"properties": {
"coordinates": {
"type": "array",
"default": [],
"title": "The coordinates Schema",
"items": {
"type": "object",
"title": "A Schema",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number",
"title": "The x Schema",
"examples": [
636.5534354522824,
732.9274794012308
]
},
"y": {
"type": "number",
"title": "The y Schema",
"examples": [
346.3740460574627,
266.2213761359453
]
}
},
"examples": [{
"x": 636.5534354522824,
"y": 346.3740460574627
},
{
"x": 636.5534354522824,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 346.3740460574627
}]
},
"examples": [
[{
"x": 636.5534354522824,
"y": 346.3740460574627
},
{
"x": 636.5534354522824,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 346.3740460574627
}]
]
},
"pointCoordinates": {
"type": "object",
"default": {},
"title": "The pointCoordinates Schema",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number",
"default": 0.0,
"title": "The x Schema",
"examples": [
684.7404597401619
]
},
"y": {
"type": "number",
"default": 0.0,
"title": "The y Schema",
"examples": [
306.2977083027363
]
}
},
"examples": [{
"x": 684.7404597401619,
"y": 306.2977083027363
}]
}
},
"examples": [{
"coordinates": [{
"x": 636.5534354522824,
"y": 346.3740460574627
},
{
"x": 636.5534354522824,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 346.3740460574627
}],
"pointCoordinates": {
"x": 684.7404597401619,
"y": 306.2977083027363
}
}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
0
]
}
},
"examples": [{
"id": "20f279ac-e415-4ba2-8cb5-53d7e53e7cc1",
"object_type": "rectangle",
"class": "yield_line",
"taxonomy_attribute": {},
"drawable_attribute": {},
"identity": 1,
"classColor": "#B4C3F0",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 636.5534354522824,
"y": 346.3740460574627
},
{
"x": 636.5534354522824,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 346.3740460574627
}],
"pointCoordinates": {
"x": 684.7404597401619,
"y": 306.2977083027363
}
},
"order": 0,
"referenceIndex": 0
}]
},
{
"type": "object",
"default": {},
"title": "Polygon2d Schema",
"required": [
"id",
"object_type",
"class",
"taxonomy_attribute",
"drawable_attribute",
"identity",
"classColor",
"seq_no",
"geometry",
"order",
"referenceIndex"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"8a1ac207-fc34-4bcb-a6c4-bb9adc2598aa"
]
},
"object_type": {
"type": "string",
"const": "polygon2d"
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"construction_vehicle"
]
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"examples": [{
"occlusion": false,
"towing": [],
"left_turn_signal": false,
"right_turn_signal": false
}]
},
"drawable_attribute": {
"type": "object",
"default": {},
"title": "The drawable_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
1
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#0FDF62"
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"coordinates"
],
"properties": {
"coordinates": {
"type": "array",
"default": [],
"title": "The coordinates Schema",
"items": {
"type": "object",
"title": "A Schema",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number",
"title": "The x Schema",
"examples": [
733.8816757947206,
739.6068726629019,
834.0725284516811,
903.7290132343769,
908.4999952018261
]
},
"y": {
"type": "number",
"title": "The y Schema",
"examples": [
90.64885228872299,
177.48091625981033,
310.1145029067993,
185.11450389632955,
96.37404419481754
]
}
},
"examples": [{
"x": 733.8816757947206,
"y": 90.64885228872299
},
{
"x": 739.6068726629019,
"y": 177.48091625981033
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 903.7290132343769,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.37404419481754
}]
},
"examples": [
[{
"x": 733.8816757947206,
"y": 90.64885228872299
},
{
"x": 739.6068726629019,
"y": 177.48091625981033
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 903.7290132343769,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.37404419481754
}]
]
}
},
"examples": [{
"coordinates": [{
"x": 733.8816757947206,
"y": 90.64885228872299
},
{
"x": 739.6068726629019,
"y": 177.48091625981033
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 903.7290132343769,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.37404419481754
}]
}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
0
]
}
},
"examples": [{
"id": "8a1ac207-fc34-4bcb-a6c4-bb9adc2598aa",
"object_type": "polygon2d",
"class": "construction_vehicle",
"taxonomy_attribute": {
"occlusion": false,
"towing": [],
"left_turn_signal": false,
"right_turn_signal": false
},
"drawable_attribute": {},
"identity": 1,
"classColor": "#0FDF62",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 733.8816757947206,
"y": 90.64885228872299
},
{
"x": 739.6068726629019,
"y": 177.48091625981033
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 903.7290132343769,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.37404419481754
}]
},
"order": 0,
"referenceIndex": 0
}]
},
{
"type": "object",
"default": {},
"title": "Polygon Schema",
"required": [
"id",
"identity",
"class",
"color",
"classColor",
"geometry",
"object_type",
"taxonomy_attribute",
"order",
"verticalLimit",
"groundClippingMode",
"referenceIndex",
"seq_no"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"137c5ed7-4d32-4ce5-8b3a-c51a82fac68d"
]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
2
]
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"alt_equipment"
]
},
"color": {
"type": "string",
"default": "",
"title": "The color Schema",
"examples": [
""
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#7E3E72"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"polygons"
],
"properties": {
"polygons": {
"type": "array",
"default": [],
"title": "The polygons Schema",
"items": {
"type": "object",
"default": {},
"title": "A Schema",
"required": [
"geometry",
"mode"
],
"properties": {
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"matrixWorldInverse",
"projectionMatrix",
"points",
"referenceSourceIds"
],
"properties": {
"matrixWorldInverse": {
"type": "array",
"default": [],
"title": "The matrixWorldInverse Schema",
"items": {
"anyOf": [{
"type": "number",
"title": "A Schema",
"examples": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
1.6184142622847344e-16,
-1.6184142622847344e-16,
9.520083895792555e-18,
0.8574929257125443,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651
]
},
{
"type": "integer",
"title": "A Schema",
"examples": [
0,
-1,
1
]
}]
},
"examples": [
[1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
]
]
},
"projectionMatrix": {
"type": "array",
"default": [],
"title": "The projectionMatrix Schema",
"items": {
"anyOf": [{
"type": "number",
"title": "A Schema",
"examples": [
0.816371333415685,
1.7320508075688774,
-1.0000844916030764,
-0.844951724919532
]
},
{
"type": "integer",
"title": "A Schema",
"examples": [
0,
-1
]
}]
},
"examples": [
[0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
]
]
},
"points": {
"type": "array",
"default": [],
"title": "The points Schema",
"items": {
"type": "object",
"title": "A Schema",
"required": [
"position"
],
"properties": {
"position": {
"type": "object",
"title": "The position Schema",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"title": "The x Schema",
"examples": [
-0.49190556460246765,
-0.34519392885204847,
-0.26762225937481315
]
},
"y": {
"type": "number",
"title": "The y Schema",
"examples": [
-0.8855098389982033,
-0.6279069767441842,
-0.9499105545617116
]
},
"z": {
"type": "number",
"title": "The z Schema",
"examples": [
6.176079583119211e-15,
1.9710892286550758e-15
]
}
},
"examples": [{
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
},
{
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
},
{
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}]
}
},
"examples": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}]
},
"examples": [
[{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}]
]
},
"referenceSourceIds": {
"type": "array",
"default": [],
"title": "The referenceSourceIds Schema",
"items": {},
"examples": [
[]
]
}
},
"examples": [{
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
}]
},
"mode": {
"type": "string",
"default": "",
"title": "The mode Schema",
"examples": [
"add"
]
}
},
"examples": [{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
},
"mode": "add"
}]
},
"examples": [
[{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
},
"mode": "add"
}]
]
}
},
"examples": [{
"polygons": [{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
},
"mode": "add"
}]
}]
},
"object_type": {
"type": "string",
"const": "polygongroup"
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"verticalLimit": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"title": "The verticalLimit Schema",
"items": {
"type": "number",
"title": "A Schema",
"examples": [
-16.6,
2.9000007629394524
]
},
"examples": [
[-16.6,
2.9000007629394524
]
]
},
"groundClippingMode": {
"type": "integer",
"default": 0,
"title": "The groundClippingMode Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
-1
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
}
},
"examples": [{
"id": "137c5ed7-4d32-4ce5-8b3a-c51a82fac68d",
"identity": 2,
"class": "alt_equipment",
"color": "",
"classColor": "#7E3E72",
"geometry": {
"polygons": [{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
},
"mode": "add"
}]
},
"object_type": "polygongroup",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"seq_no": "1"
}]
},
{
"type": "object",
"default": {},
"title": "Polyline Schema",
"required": [
"id",
"identity",
"class",
"color",
"classColor",
"geometry",
"object_type",
"taxonomy_attribute",
"order",
"verticalLimit",
"groundClippingMode",
"referenceIndex",
"seq_no"
],
"properties": {
"id": {
"type": "string",
"default": "",
"title": "The id Schema",
"examples": [
"7ff69b76-a5d7-4ab3-8432-d38bdc69b3e7"
]
},
"identity": {
"type": "integer",
"default": 0,
"title": "The identity Schema",
"examples": [
1
]
},
"class": {
"type": "string",
"default": "",
"title": "The class Schema",
"examples": [
"unlabeled"
]
},
"color": {
"type": "string",
"default": "",
"title": "The color Schema",
"examples": [
""
]
},
"classColor": {
"type": "string",
"default": "",
"title": "The classColor Schema",
"examples": [
"#2E5629"
]
},
"geometry": {
"type": "object",
"default": {},
"title": "The geometry Schema",
"required": [
"points",
"thickness",
"referenceSourceIds"
],
"properties": {
"points": {
"type": "array",
"default": [],
"title": "The points Schema",
"items": {
"type": "object",
"title": "A Schema",
"required": [
"position"
],
"properties": {
"position": {
"type": "object",
"title": "The position Schema",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"title": "The x Schema",
"examples": [
-14.80049991607666,
-10.700499534606934,
-6.900749921798706
]
},
"y": {
"type": "number",
"title": "The y Schema",
"examples": [
-2.4010000228881836,
-2.2009999752044678,
-1.9000000953674316
]
},
"z": {
"type": "number",
"title": "The z Schema",
"examples": [
-1.699999904632569
]
}
},
"examples": [{
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
},
{
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
},
{
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}]
}
},
"examples": [{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
}
},
{
"position": {
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}
}]
},
"examples": [
[{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
}
},
{
"position": {
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}
}]
]
},
"thickness": {
"type": "integer",
"default": 0,
"title": "The thickness Schema",
"examples": [
0
]
},
"referenceSourceIds": {
"type": "array",
"default": [],
"title": "The referenceSourceIds Schema",
"items": {},
"examples": [
[]
]
}
},
"examples": [{
"points": [{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
}
},
{
"position": {
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}
}],
"thickness": 0,
"referenceSourceIds": []
}]
},
"object_type": {
"type": "string",
"const": "polyline"
},
"taxonomy_attribute": {
"type": "object",
"default": {},
"title": "The taxonomy_attribute Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"order": {
"type": "integer",
"default": 0,
"title": "The order Schema",
"examples": [
0
]
},
"verticalLimit": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"title": "The verticalLimit Schema",
"items": {
"type": "number",
"title": "A Schema",
"examples": [
-16.6,
2.9000007629394524
]
},
"examples": [
[-16.6,
2.9000007629394524
]
]
},
"groundClippingMode": {
"type": "integer",
"default": 0,
"title": "The groundClippingMode Schema",
"examples": [
0
]
},
"referenceIndex": {
"type": "integer",
"default": 0,
"title": "The referenceIndex Schema",
"examples": [
-1
]
},
"seq_no": {
"type": "string",
"default": "",
"title": "The seq_no Schema",
"examples": [
"1"
]
}
},
"examples": [{
"id": "7ff69b76-a5d7-4ab3-8432-d38bdc69b3e7",
"identity": 1,
"class": "unlabeled",
"color": "",
"classColor": "#2E5629",
"geometry": {
"points": [{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
}
},
{
"position": {
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}
}],
"thickness": 0,
"referenceSourceIds": []
},
"object_type": "polyline",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"seq_no": "1"
}]
}
]
}
}
},
"examples": [{
"operation": {
"batch_code": "BC-66c4a48851017200011cc9b4",
"customData": [{
"key": "batchAttributes",
"source": "66c4a496b488bc00015a3124",
"data": {
"B1": 2
}
}],
"emp_code": "I1054",
"engagement_code": "SC-6684130e9ffabb00010d5191",
"job_code": "JC-66b4a2c3498bb0a056276479"
},
"output": [{
"id": "4fd215a4-784d-475c-a84a-c6dbead310b4",
"object_type": "polyline2d",
"class": "stop_line",
"taxonomy_attribute": {},
"identity": 1,
"classColor": "#F57F66",
"key": "1_4fd215a4-784d-475c-a84a-c6dbead310b4",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 960.0267300009727,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
},
{
"x": 1048.7671796679497,
"y": 263.3587773889303
}]
},
"order": 0,
"referenceIndex": 0
},
{
"seq_no": "1",
"key": "relationship_1",
"relationship": [{
"label": "Joined",
"peers": [{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}]
}]
},
{
"id": "6baf12db-a939-4fa2-8803-a37514dcf6ec",
"identity": 1,
"class": "traffic_light",
"color": "",
"classColor": "#90668E",
"geometry": {
"boxSize": {
"x": 4.129600195331778,
"y": 4.129600195331778,
"z": 4.129600195331778
},
"position": {
"x": -10.400499916076654,
"y": 10.498999786376956,
"z": -0.8000000000000003
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"clipTask": 1,
"referenceSourceIds": []
},
"object_type": "cuboid",
"taxonomy_attribute": {
"traffic_light_activity_state": [],
"traffic_light_is_occluded": false
},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"key": "1_6baf12db-a939-4fa2-8803-a37514dcf6ec",
"seq_no": "1"
},
{
"id": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"identity": 1,
"class": "traffic_channelizer",
"color": "",
"classColor": "#1F7823",
"geometry": {
"boxSize": {
"x": 4.22225230857188,
"y": 4.22225230857188,
"z": 4.22225230857188
},
"position": {
"x": -10.400249958038316,
"y": -4.700250053405753,
"z": -1.6888738457140602
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"clipTask": 1,
"referenceSourceIds": []
},
"object_type": "cuboid",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"seq_no": "1",
"key": "1_8f4614de-bc3e-40cf-b2a6-1a331e888043"
},
{
"key": "formInput_1",
"seq_no": "1",
"timeSpent": 299,
"taskAttribute": {
"Grass": "test"
}
},
{
"id": "20f279ac-e415-4ba2-8cb5-53d7e53e7cc1",
"object_type": "rectangle",
"class": "yield_line",
"taxonomy_attribute": {},
"drawable_attribute": {},
"identity": 1,
"classColor": "#B4C3F0",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 636.5534354522824,
"y": 346.3740460574627
},
{
"x": 636.5534354522824,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 266.2213761359453
},
{
"x": 732.9274794012308,
"y": 346.3740460574627
}],
"pointCoordinates": {
"x": 684.7404597401619,
"y": 306.2977083027363
}
},
"order": 0,
"referenceIndex": 0
},
{
"id": "8a1ac207-fc34-4bcb-a6c4-bb9adc2598aa",
"object_type": "polygon2d",
"class": "construction_vehicle",
"taxonomy_attribute": {
"occlusion": false,
"towing": [],
"left_turn_signal": false,
"right_turn_signal": false
},
"drawable_attribute": {},
"identity": 1,
"classColor": "#0FDF62",
"seq_no": "1",
"geometry": {
"coordinates": [{
"x": 733.8816757947206,
"y": 90.64885228872299
},
{
"x": 739.6068726629019,
"y": 177.48091625981033
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 834.0725284516811,
"y": 310.1145029067993
},
{
"x": 903.7290132343769,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.37404419481754
}]
},
"order": 0,
"referenceIndex": 0
},
{
"id": "137c5ed7-4d32-4ce5-8b3a-c51a82fac68d",
"identity": 2,
"class": "alt_equipment",
"color": "",
"classColor": "#7E3E72",
"geometry": {
"polygons": [{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368e-16,
0.5144957554275266,
-0.8574929257125443,
0,
-1,
1.6184142622847344e-16,
-1.6184142622847344e-16,
0,
9.520083895792555e-18,
0.8574929257125443,
0.5144957554275266,
0,
4.855242786854203e-15,
-5.54667823983524e-31,
-29.15475947422651,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [{
"position": {
"x": -0.49190556460246765,
"y": -0.8855098389982033,
"z": 6.176079583119211e-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.6279069767441842,
"z": 1.9710892286550758e-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.9499105545617116,
"z": 6.176079583119211e-15
}
}],
"referenceSourceIds": []
},
"mode": "add"
}]
},
"object_type": "polygongroup",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"seq_no": "1"
},
{
"id": "7ff69b76-a5d7-4ab3-8432-d38bdc69b3e7",
"identity": 1,
"class": "unlabeled",
"color": "",
"classColor": "#2E5629",
"geometry": {
"points": [{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.699999904632569
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.699999904632569
}
},
{
"position": {
"x": -6.900749921798706,
"y": -1.9000000953674316,
"z": -1.699999904632569
}
}],
"thickness": 0,
"referenceSourceIds": []
},
"object_type": "polyline",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex":
-1,
"seq_no": "1"
}]
}]
}
{
"annotations":
[
{% set ns = namespace(firstFound=false) %}
{% for annotation in data['annotations'] %}
{% if annotation.class != undefined and annotation.object_type == "cuboid" or annotation.object_type == "polyline" or annotation.object_type == "polyline2d" or annotation.object_type == "polygongroup" or annotation.object_type == "polygon2d" or annotation.object_type == "rectangle" %}
{% if ns.firstFound == true %} , {% else %} {% set ns.firstFound = true %} {% endif %}
{
"label": "{{ annotation.class }}",
"_id": "{{ annotation._id }}",
"id": "{{ annotation.id }}",
"object_type": "{{ annotation.object_type }}",
"identity" : {{annotation.identity}},
{% if annotation.object_type == "cuboid" %}
"position": [ {{ annotation.geometry.position.x }} , {{ annotation.geometry.position.y }}, {{ annotation.geometry.position.z }} ],
"orientation": {{ [ annotation.geometry.rotation.x, annotation.geometry.rotation.y, annotation.geometry.rotation.z ] | toQuaternion }},
"dimension": [{{ annotation.geometry.boxSize.x }} , {{ annotation.geometry.boxSize.y }}, {{ annotation.geometry.boxSize.z }}],
{% elif annotation.object_type == "polyline" %}
"position": [ {{ annotation.geometry.position.x }} , {{ annotation.geometry.position.y }}, {{ annotation.geometry.position.z }} ],
"orientation": {{ [ annotation.geometry.rotation.x, annotation.geometry.rotation.y, annotation.geometry.rotation.z ] | toQuaternion }},
"points": [ {{ annotation.geometry.points | tojson }} ],
{% elif annotation.object_type == "polyline2d" %}
"position": [ {{ annotation.geometry.position.x }} , {{ annotation.geometry.position.y }}, {{ annotation.geometry.position.z }} ],
"orientation": {{ [ annotation.geometry.rotation.x, annotation.geometry.rotation.y, annotation.geometry.rotation.z ] | toQuaternion }},
"points": [
{% for polygons_position_obj in annotation.geometry.points %}
{{ polygons_position_obj | tojson }}
{% if not loop.last %} , {% endif %}
{% endfor %}
],
"coordinates": [
{% for polygons_position_obj in annotation.geometry.coordinates %}
{{ polygons_position_obj | tojson }}
{% if not loop.last %} , {% endif %}
{% endfor %}
],
{% elif annotation.object_type == "polygongroup" %}
"position": [ {{ annotation.geometry.position.x }} , {{ annotation.geometry.position.y }}, {{ annotation.geometry.position.z }} ],
"orientation": {{ [ annotation.geometry.rotation.x, annotation.geometry.rotation.y, annotation.geometry.rotation.z ] | toQuaternion }},
"points": [
{% for polygons_val in annotation.geometry.polygons %}
{% for polygons_position_obj in polygons_val.geometry.points %}
{{ polygons_position_obj | tojson }}
{% if not loop.last %} , {% endif %}
{% endfor %}
{% if not loop.last %} , {% endif %}
{% endfor %}
],
{# both objecttype coordinate data structure are same annotation.object_type == "rectangle" or annotation.object_type == "polygon2d" #}
{% elif annotation.object_type == "rectangle" or annotation.object_type == "polygon2d" %}
{% set content = data.tasks.metadata.help_images[annotation.referenceIndex].split("=")[-1] %}
"image" : "{{ content.split("/")[-1] }}",
"reference_folder": "{{content.split("/")[-2]}}",
"coordinates":[
{% for eachcoord in annotation.geometry.coordinates %}
{
{% for eachpointkey in eachcoord %}
"{{ eachpointkey }}" : {{ eachcoord[eachpointkey] }}
{% if not loop.last %} , {% endif %}
{% endfor %}
}
{% if not loop.last %} , {% endif %}
{% endfor %}
],
{% if annotation.geometry.pointCoordinates %}
"pointCoordinates": {{ annotation.geometry.pointCoordinates | tojson }},
{% endif %}
{% endif %}
"taxonomy_attribute" :
{
{% for key in annotation.taxonomy_attribute %}
{% if annotation.taxonomy_attribute[key] is boolean and key !="num_points" %}
"{{ key }}" : {{ annotation.taxonomy_attribute[key]|lower }}
{% elif annotation.taxonomy_attribute[key] is number and key !="num_points" %}
"{{ key }}" : {{ annotation.taxonomy_attribute[key] }}
{% elif annotation.taxonomy_attribute[key] is number and key =="num_points" %}
"{{ key }}" : {{ (annotation.classId | int , annotation.identity, data['path']) |countPoints }}
{% elif annotation.taxonomy_attribute[key].__class__.__name__ == 'list' %}
"{{ key }}":
[
{% for taxonomy in annotation.taxonomy_attribute[key] %}
"{{ taxonomy }}"
{% if not loop.last %} , {% endif %}
{% endfor %}
]
{% else %}
"{{ key }}" : "{{ annotation.taxonomy_attribute[key] }}"
{% endif %}
{% if not loop.last %} , {% endif %}
{% endfor %}
}
}
{% endif %}
{% endfor %}
],
{# Start attributes #}
{# Start taxonomy_attribute #}
{# Start batchAttributes #}
"batch_attribute": {
{% for batchAttribute in data.operation.customData %}
{% if 'batchAttributes' in batchAttribute.key %}
{% for batchAtr_key, batchAtr_value in batchAttribute['data'].items() %}
{# check the value type if boolen then convert it #}
{% if batchAtr_value is boolean %}
"{{ batchAtr_key }}" : {{ batchAtr_value |lower }}
{# check the value is list or not #}
{% elif batchAtr_value.__class__.__name__ == 'list' %}
{# list value looping #}
"{{ batchAtr_key }}":
[
{% for sub_attr in batchAtr_value %}
"{{ sub_attr }}"
{% if not loop.last %} , {% endif %}
{% endfor %}
]
{% else %}
"{{ batchAtr_key }}" : "{{ batchAtr_value }}"
{% endif %}
{% if not loop.last %} , {% endif %}
{% endfor %}
{% endif %}
{% endfor %}
},
{# End batchAttributes #}
{# Start taskAttribute #}
"frame_attribute": {
{% if 'taskAttribute' in data.meta %}
{% for taskAtr_key, taskAtr_value in data.meta.taskAttribute.items() %}
{# check the value type if boolen then convert it #}
{% if taskAtr_value is boolean %}
"{{ taskAtr_key }}" : {{ taskAtr_value |lower }}
{# check the value is list or not #}
{% elif taskAtr_value.__class__.__name__ == 'list' %}
{# list value looping #}
"{{ taskAtr_key }}":
[
{% for sub_attr in taskAtr_value %}
"{{ sub_attr }}"
{% if not loop.last %} , {% endif %}
{% endfor %}
]
{% else %}
"{{ taskAtr_key }}" : "{{ taskAtr_value }}"
{% endif %}
{% if not loop.last %} , {% endif %}
{% endfor %}
{% endif %}
},
{# End taskAttribute #}
"meta_info":
{
"point_cloud": "{{ data.tasks.metadata.point_cloud }}",
"frame_no": {{ data.tasks.task_seq_no }}
},
"relationship":
[
{% for items in data["annotations"] %}
{% if 'relationship' in items %}
{% for relation_val in items.relationship %}
{{ relation_val | tojson }} {% if not loop.last %} , {% endif %}
{% endfor %}
{% endif %}
{% endfor %}
]
}
{
"operation": {
"batch_code": "BC-66c4a48851017200011cc9b4",
"customData": [
{
"key": "batchAttributes",
"data": {
"B1": 2,
"TT": [
"a",
"b"
]
}
}
],
"emp_code": "I1054",
"engagement_code": "SC-6684130e9ffabb00010d5191",
"job_code": "JC-66b4a2c3498bb0a056276479"
},
"output": [
{
"id": "4fd215a4-784d-475c-a84a-c6dbead310b4",
"object_type": "polyline2d",
"class": "stop_line",
"taxonomy_attribute": {},
"identity": 1,
"classColor": "#F57F66",
"key": "1_4fd215a4-784d-475c-a84a-c6dbead310b4",
"seq_no": "1",
"geometry": {
"coordinates": [
{
"x": 960.02673000097275,
"y": 57.251907885074615
},
{
"x": 1014.4160354733467,
"y": 141.22137520462275
},
{
"x": 1048.7671796679497,
"y": 263.35877738893032
},
{
"x": 1048.7671796679497,
"y": 263.35877738893032
},
{
"x": 1048.7671796679497,
"y": 263.35877738893032
}
]
},
"order": 0,
"referenceIndex": 0
},
{
"seq_no": "1",
"key": "relationship_1",
"relationship": [
{
"label": "Joined",
"peers": [
{
"objectClass": "8f4614de-bc3e-40cf-b2a6-1a331e888043",
"subjectClasses": [
"6baf12db-a939-4fa2-8803-a37514dcf6ec"
]
}
]
}
]
},
{
"id": "6baf12db-a939-4fa2-8803-a37514dcf6ec",
"identity": 1,
"class": "traffic_light",
"color": "",
"classColor": "#90668E",
"geometry": {
"boxSize": {
"x": 4.1296001953317782,
"y": 4.1296001953317782,
"z": 4.1296001953317782
},
"position": {
"x": -10.400499916076654,
"y": 10.498999786376956,
"z": -0.80000000000000027
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"clipTask": 1,
"referenceSourceIds": []
},
"object_type": "cuboid",
"taxonomy_attribute": {
"traffic_light_activity_state": [],
"traffic_light_is_occluded": false
},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex": -1,
"key": "1_6baf12db-a939-4fa2-8803-a37514dcf6ec",
"seq_no": "1"
},
{
"key": "formInput_1",
"seq_no": "1",
"timeSpent": 299,
"taskAttribute": {
"Grass": "test"
}
},
{
"id": "20f279ac-e415-4ba2-8cb5-53d7e53e7cc1",
"object_type": "rectangle",
"class": "yield_line",
"taxonomy_attribute": {},
"drawable_attribute": {},
"identity": 1,
"classColor": "#B4C3F0",
"seq_no": "1",
"geometry": {
"coordinates": [
{
"x": 636.55343545228243,
"y": 346.37404605746269
},
{
"x": 636.55343545228243,
"y": 266.22137613594532
},
{
"x": 732.92747940123081,
"y": 266.22137613594532
},
{
"x": 732.92747940123081,
"y": 346.37404605746269
}
],
"pointCoordinates": {
"x": 684.7404597401619,
"y": 306.29770830273628
}
},
"order": 0,
"referenceIndex": 0
},
{
"id": "8a1ac207-fc34-4bcb-a6c4-bb9adc2598aa",
"object_type": "polygon2d",
"class": "construction_vehicle",
"taxonomy_attribute": {
"occlusion": false,
"towing": [],
"left_turn_signal": false,
"right_turn_signal": false
},
"drawable_attribute": {},
"identity": 1,
"classColor": "#0FDF62",
"seq_no": "1",
"geometry": {
"coordinates": [
{
"x": 733.88167579472065,
"y": 90.648852288722992
},
{
"x": 739.60687266290188,
"y": 177.48091625981033
},
{
"x": 834.07252845168114,
"y": 310.11450290679932
},
{
"x": 834.07252845168114,
"y": 310.11450290679932
},
{
"x": 903.72901323437691,
"y": 185.11450389632955
},
{
"x": 908.4999952018261,
"y": 96.374044194817543
}
]
},
"order": 0,
"referenceIndex": 0
},
{
"id": "137c5ed7-4d32-4ce5-8b3a-c51a82fac68d",
"identity": 2,
"class": "alt_equipment",
"color": "",
"classColor": "#7E3E72",
"geometry": {
"polygons": [
{
"geometry": {
"matrixWorldInverse": [
1.9992176181164368E-16,
0.51449575542752657,
-0.85749292571254432,
0,
-1,
1.6184142622847344E-16,
-1.6184142622847344E-16,
0,
9.5200838957925553E-18,
0.85749292571254432,
0.51449575542752657,
0,
4.8552427868542032E-15,
-5.54667823983524E-31,
-29.154759474226509,
1
],
"projectionMatrix": [
0.816371333415685,
0,
0,
0,
0,
1.7320508075688774,
0,
0,
0,
0,
-1.0000844916030764,
-1,
0,
0,
-0.844951724919532,
0
],
"points": [
{
"position": {
"x": -0.49190556460246765,
"y": -0.88550983899820335,
"z": 6.1760795831192113E-15
}
},
{
"position": {
"x": -0.34519392885204847,
"y": -0.62790697674418416,
"z": 1.9710892286550758E-15
}
},
{
"position": {
"x": -0.26762225937481315,
"y": -0.94991055456171158,
"z": 6.1760795831192113E-15
}
}
],
"referenceSourceIds": []
},
"mode": "add"
}
]
},
"object_type": "polygongroup",
"taxonomy_attribute": {},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex": -1,
"seq_no": "1"
},
{
"id": "7ff69b76-a5d7-4ab3-8432-d38bdc69b3e7",
"identity": 1,
"class": "unlabeled",
"color": "",
"classColor": "#2E5629",
"geometry": {
"points": [
{
"position": {
"x": -14.80049991607666,
"y": -2.4010000228881836,
"z": -1.6999999046325689
}
},
{
"position": {
"x": -10.700499534606934,
"y": -2.2009999752044678,
"z": -1.6999999046325689
}
},
{
"position": {
"x": -6.9007499217987061,
"y": -1.9000000953674316,
"z": -1.6999999046325689
}
}
],
"thickness": 0,
"referenceSourceIds": []
},
"object_type": "polyline",
"taxonomy_attribute": {
"sub": "test"
},
"order": 0,
"verticalLimit": [
-16.6,
2.9000007629394524
],
"groundClippingMode": 0,
"referenceIndex": -1,
"seq_no": "1"
}
]
}