Viam · Schema
Viam Binary Data Item
A single binary data item (image, video, audio, log) captured from a camera, audio, or generic component.
RoboticsEdge AIFleet ManagementComputer VisionMachine LearningIoTEmbeddedgRPC
Properties
| Name | Type | Description |
|---|---|---|
| binary_id | object | |
| part_id | string | |
| resource_name | string | |
| method_name | string | |
| file_extension | string | .jpg, .png, .pcd, .mp4, .wav, ... |
| file_size_bytes | integer | |
| mime_type | string | |
| time_captured | string | |
| time_received | string | |
| tags | array | |
| dataset_ids | array | |
| bounding_boxes | array | |
| metadata | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/viam/refs/heads/main/json-schema/viam-binary-data-schema.json",
"title": "Viam Binary Data Item",
"description": "A single binary data item (image, video, audio, log) captured from a camera, audio, or generic component.",
"type": "object",
"required": ["binary_id", "file_extension", "time_captured"],
"properties": {
"binary_id": {
"type": "object",
"properties": {
"file_id": { "type": "string" },
"organization_id": { "type": "string" },
"location_id": { "type": "string" }
}
},
"part_id": { "type": "string" },
"resource_name": { "type": "string" },
"method_name": { "type": "string" },
"file_extension": { "type": "string", "description": ".jpg, .png, .pcd, .mp4, .wav, ..." },
"file_size_bytes": { "type": "integer", "minimum": 0 },
"mime_type": { "type": "string" },
"time_captured": { "type": "string", "format": "date-time" },
"time_received": { "type": "string", "format": "date-time" },
"tags": { "type": "array", "items": { "type": "string" } },
"dataset_ids": { "type": "array", "items": { "type": "string" } },
"bounding_boxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"label": { "type": "string" },
"x_min_normalized": { "type": "number", "minimum": 0, "maximum": 1 },
"y_min_normalized": { "type": "number", "minimum": 0, "maximum": 1 },
"x_max_normalized": { "type": "number", "minimum": 0, "maximum": 1 },
"y_max_normalized": { "type": "number", "minimum": 0, "maximum": 1 }
}
}
},
"metadata": { "type": "object" }
}
}