107 lines
5.6 KiB
JSON
107 lines
5.6 KiB
JSON
{
|
||
"schemaVersion": "nodedc.map-subject-detail-profiles/v1",
|
||
"profiles": [
|
||
{
|
||
"id": "map.subject-detail.operational.default",
|
||
"version": "1.0.0",
|
||
"title": "Техническая карточка объекта",
|
||
"semanticTypes": ["map.moving_object"],
|
||
"defaultTabId": "overview",
|
||
"tabs": [
|
||
{
|
||
"id": "overview",
|
||
"label": "Обзор",
|
||
"emptyMessage": "Оперативные данные объекта пока не получены.",
|
||
"sections": [
|
||
{
|
||
"id": "state",
|
||
"label": "Состояние",
|
||
"fields": [
|
||
{ "id": "overview.signal", "source": "attribute", "field": "signal_state", "label": "Связь", "format": "signal_state" },
|
||
{ "id": "overview.movement", "source": "attribute", "field": "movement_state", "label": "Движение", "format": "movement_state" },
|
||
{ "id": "overview.speed", "source": "attribute", "field": "speed_kph", "label": "Скорость", "format": "number", "unit": "км/ч" },
|
||
{ "id": "overview.observed", "source": "fact", "field": "observedAt", "label": "Данные объекта", "format": "timestamp" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "position",
|
||
"label": "Позиция",
|
||
"emptyMessage": "Для объекта нет разрешённой позиции.",
|
||
"sections": [
|
||
{
|
||
"id": "coordinates",
|
||
"label": "Координаты и движение",
|
||
"fields": [
|
||
{ "id": "position.latitude", "source": "geometry", "field": "latitude", "label": "Широта", "format": "coordinate" },
|
||
{ "id": "position.longitude", "source": "geometry", "field": "longitude", "label": "Долгота", "format": "coordinate" },
|
||
{ "id": "position.course", "source": "attribute", "field": "course_degrees", "label": "Курс", "format": "number", "unit": "°" },
|
||
{ "id": "position.elevation", "source": "attribute", "field": "elevation_meters", "label": "Высота", "format": "number", "unit": "м" }
|
||
]
|
||
},
|
||
{
|
||
"id": "quality",
|
||
"label": "Качество GPS",
|
||
"fields": [
|
||
{ "id": "position.satellites", "source": "attribute", "field": "satellite_count", "label": "Спутники", "format": "number" },
|
||
{ "id": "position.hdop", "source": "attribute", "field": "hdop", "label": "HDOP", "format": "number" },
|
||
{ "id": "position.accuracy", "source": "attribute", "field": "horizontal_accuracy_meters", "label": "Точность", "format": "number", "unit": "м" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "telemetry",
|
||
"label": "Телеметрия",
|
||
"emptyMessage": "Разрешённые сенсоры появятся после профилирования подключения.",
|
||
"sections": [
|
||
{
|
||
"id": "readings",
|
||
"label": "Датчики",
|
||
"fields": [
|
||
{ "id": "telemetry.readings", "source": "attribute", "field": "sensor_readings", "label": "Датчики", "format": "telemetry_readings", "allowedReadingIds": [] }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "counters",
|
||
"label": "Счётчики",
|
||
"emptyMessage": "Счётчики для объекта не получены.",
|
||
"sections": [
|
||
{
|
||
"id": "operation",
|
||
"label": "Эксплуатация",
|
||
"fields": [
|
||
{ "id": "counters.mileage", "source": "attribute", "field": "mileage_km", "label": "Пробег", "format": "number", "unit": "км" },
|
||
{ "id": "counters.engine-hours", "source": "attribute", "field": "engine_hours", "label": "Моточасы", "format": "number", "unit": "ч" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{ "id": "equipment", "label": "Оборудование", "emptyMessage": "Технический профиль оборудования ещё не подключён.", "sections": [] },
|
||
{ "id": "settings", "label": "Настройки", "emptyMessage": "Trip/fuel settings ещё не подключены.", "sections": [] },
|
||
{ "id": "maintenance", "label": "ТО", "emptyMessage": "Планы технического обслуживания ещё не подключены.", "sections": [] },
|
||
{
|
||
"id": "diagnostics",
|
||
"label": "Данные",
|
||
"emptyMessage": "Диагностические метаданные не получены.",
|
||
"sections": [
|
||
{
|
||
"id": "provenance",
|
||
"label": "Происхождение",
|
||
"fields": [
|
||
{ "id": "diagnostics.source-id", "source": "fact", "field": "sourceId", "label": "ID объекта", "format": "text" },
|
||
{ "id": "diagnostics.semantic-type", "source": "fact", "field": "semanticType", "label": "Семантический тип", "format": "text" },
|
||
{ "id": "diagnostics.product", "source": "context", "field": "dataProductId", "label": "Продукт данных", "format": "text" },
|
||
{ "id": "diagnostics.received", "source": "fact", "field": "receivedAt", "label": "Получено NODE.DC", "format": "timestamp" }
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|