Commit e6567eaf authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade config de Jolt para transformar estructura

parent cffc5618
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
[{
    "operation": "shift",
    "spec": {
      "id": "&",
      "date": "&",
      "*": "temp.&"
    }
  },
  {
    "operation": "shift",
    "spec": {
      "*": "&",
      "temp": {
        "*": {
          "$": "sensors.[#2].dataDefinition",
          "@": "sensors.[#2].value"
        }
      }
    }
  },
  {
    "operation": "default",
    "spec": {
      "activityId": null,
      "featuresRelations": null,
      "sampleId": null,
      "inserted": null,
      "updated": null,
      "sensors[]": {
        "*": {
          "z": null,
          "deviation": null,
          "remark": null,
          "qFlag": null,
          "vFlag": null
        }
      }
    }
  }
]
 No newline at end of file