Stored Transformation

Stored transformation detail

Inspect version history, edit inputs, and save a new version without overwriting prior records.

Transformation Name PointOfInterest_to_hotel
Selected Version v1
Versions 10
Updated 2026-07-02T01:09:23.371873+00:00
Version 10 Version 9 Version 8 Version 7 Version 6 Version 5 Version 4 Version 3 Version 2 Version 1
Target Stored target schema Switch between manual editing, a persisted schema, and an internal schema, then validate or translate with the selected target schema.
Result Generated jq filter
{"externalId": .id, "name": [{"value": .name.value, "lang": "es"}], "hasAdditionalType": [.category.value, .subcategory.value], "hasDescription": [{"object": {"shortDescription": [{"value": .name.value, "lang": "es"}]}}], "hasLocation": [{"object": {"autonomousCommunity": "Comunidad de Madrid", "country": "EspaƱa", "municipality": "Las Rozas de Madrid", "postalCode": "28290", "province": "Madrid", "streetAddress": (.refSeeAlso.value[] | select(has("address")) | .address)}}], "hasContactPoint": [{"object": {"telephone": (.refSeeAlso.value[] | select(has("telephone")) | .telephone), "url": (.refSeeAlso.value[] | select(has("infoUrl")) | .infoUrl)}}]}
Output Transformed output
{
  "externalId": "accommodation_hotel-attica21-las-rozas",
  "hasAdditionalType": [
    "Accommodation",
    "Hotel"
  ],
  "hasContactPoint": [
    {
      "object": {
        "telephone": "916308410",
        "url": "https://www.attica21hotels.com/gran-hotel-attica21-las-rozas/"
      }
    }
  ],
  "hasDescription": [
    {
      "object": {
        "shortDescription": [
          {
            "lang": "es",
            "value": "Hotel Attica21 Las Rozas"
          }
        ]
      }
    }
  ],
  "hasLocation": [
    {
      "object": {
        "autonomousCommunity": "Comunidad de Madrid",
        "country": "Espa\u00f1a",
        "municipality": "Las Rozas de Madrid",
        "postalCode": "28290",
        "province": "Madrid",
        "streetAddress": "Calle Chile, 2"
      }
    }
  ],
  "name": [
    {
      "lang": "es",
      "value": "Hotel Attica21 Las Rozas"
    }
  ]
}