{
  "apiVersion": "missioncore.nodedc/v1alpha2",
  "kind": "DevicePlugin",
  "metadata": {
    "id": "nodedc.device.xgrids-lixelkity-k1",
    "version": "0.6.0",
    "displayName": "XGRIDS K1 Integration"
  },
  "spec": {
    "hostApiRange": "v1alpha2",
    "runtime": {
      "backendEntrypoint": "k1link.device_plugins.xgrids_k1.facade:build_xgrids_k1_plugin",
      "isolation": "transitional-in-process"
    },
    "compatibilityProfiles": [
      {
        "profileId": "xgrids.lixelkity-k1.fw-3.0.2.local-network.v2",
        "path": "profiles/fw-3.0.2/local-network.v2.json",
        "modelId": "xgrids.lixelkity-k1"
      }
    ],
    "permissions": [
      "device.discovery.ble",
      "device.provisioning.wifi-over-ble",
      "host.network.wifi-associate-local",
      "network.mqtt.subscribe-private-lan",
      "network.mqtt.publish-private-lan",
      "network.rtsp.read-private-lan",
      "media.publish-local-browser",
      "evidence.write-session-artifacts",
      "credential.keychain.read-local"
    ],
    "actions": [
      { "id": "state.read", "mutating": false, "secretFields": [] },
      { "id": "discovery.scan", "mutating": false, "secretFields": [] },
      { "id": "device.inspect", "mutating": false, "secretFields": [] },
      { "id": "sensor.catalog.read", "mutating": false, "secretFields": [] },
      { "id": "calibration.device-snapshot.read", "mutating": false, "secretFields": [] },
      { "id": "network.provision", "mutating": true, "secretFields": ["password"] },
      { "id": "connection.verify", "mutating": false, "secretFields": [] },
      { "id": "acquisition.prepare", "mutating": true, "secretFields": [] },
      { "id": "acquisition.start", "mutating": true, "secretFields": [] },
      { "id": "acquisition.stop", "mutating": true, "secretFields": [] },
      { "id": "acquisition.abort", "mutating": true, "secretFields": [] },
      { "id": "acquisition.state.read", "mutating": false, "secretFields": [] },
      { "id": "stream.start-live", "mutating": true, "secretFields": [] },
      { "id": "stream.start-replay", "mutating": true, "secretFields": [] },
      { "id": "stream.stop", "mutating": true, "secretFields": [] },
      { "id": "camera.preview.select", "mutating": true, "secretFields": [] },
      { "id": "camera.preview.stop", "mutating": true, "secretFields": [] },
      { "id": "viewer.settings.update", "mutating": true, "secretFields": [] },
      { "id": "application-control.shadow-state", "mutating": false, "secretFields": [] },
      { "id": "application-control.shadow-arm", "mutating": true, "secretFields": [] },
      { "id": "application-control.shadow-disarm", "mutating": true, "secretFields": [] },
      { "id": "application-control.session.open", "mutating": true, "secretFields": [] },
      { "id": "application-control.workspace.enter", "mutating": true, "secretFields": [] },
      { "id": "application-control.session.close", "mutating": true, "secretFields": [] }
    ],
    "models": [
      {
        "id": "xgrids.lixelkity-k1",
        "vendor": "XGRIDS",
        "displayName": "XGRIDS LixelKity K1",
        "category": "Мобильный лидарный сканер",
        "description": "Локальный профиль Bridge, Quick Connect и Direct Connect: BLE/CoreWLAN, MQTT, камеры и raw-first запись.",
        "verified": true,
        "capabilities": [
          { "id": "device.discovery.ble", "label": "Поиск BLE" },
          { "id": "device.provisioning.wifi-over-ble", "label": "Wi-Fi через BLE" },
          { "id": "host.network.wifi-associate-local", "label": "Подключение к точке доступа K1" },
          { "id": "spatial.point-cloud.live", "label": "Облако точек" },
          { "id": "spatial.pose.live", "label": "Траектория" },
          { "id": "device.modeling.live", "label": "Метрики маршрута" },
          { "id": "device.status.live", "label": "Состояние сканирования" },
          { "id": "camera.preview.live", "label": "Видеокамеры" },
          { "id": "evidence.raw-capture", "label": "Исходная запись" },
          { "id": "evidence.replay", "label": "Повтор записи" }
        ],
        "ui": {
          "slot": "device.connection",
          "componentKey": "xgrids-k1.connection"
        }
      }
    ]
  }
}
