Stored Transformation

Stored transformation detail

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

Transformation Name PointOfInterest_to_touristattractionsite
Selected Version v2
Versions 15
Updated 2026-07-02T01:09:25.237931+00:00
Version 15 Version 14 Version 13 Version 12 Version 11 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,"TouristAttractionSite"],"hasDescription":[{"object":({"shortDescription":[{"value":.shortDescription.value,"lang":"es"}]}+if(.description.value?!=null and .description.value!="")then{"longDescription":[{"value":.description.value,"lang":"es"}]}else{}end)}],"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)}}],"hasMultimedia":{"object":({"mainImage":.filesAttachments.value[0]}+if(.filesAttachments.value|length)>1 then{"secondaryImage":.filesAttachments.value[1:]}else{}end)}}+if((.refSeeAlso.value[]?|has("telephone"))or(.refSeeAlso.value[]?|has("infoUrl")))then{"hasContactPoint":[{"object":({}+ (if(.refSeeAlso.value[]?|has("telephone"))then{"telephone":(.refSeeAlso.value[]|select(has("telephone"))|.telephone)}else{}end)+ (if(.refSeeAlso.value[]?|has("infoUrl"))then{"url":(.refSeeAlso.value[]|select(has("infoUrl"))|.infoUrl)}else{}end))}]}else{}end
Output Transformed output
null