Stored Transformation

Stored transformation detail

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

Transformation Name PointOfInterest_to_event
Selected Version v8
Versions 14
Updated 2026-07-02T01:09:22.882889+00:00
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"}],"hasDescription":[{"object":{"shortDescription":[{"value":.name.value,"lang":"es"}]}}],"eventType":[{"uri":(if(first(.refSeeAlso.value[]|select(.category)|.category)=="Ferias")then"https://ontologia.segittur.es/turismo/kos/event/Fair"else"https://ontologia.segittur.es/turismo/kos/event/ExhibitionEvent"end)}],"startsAt":(first(.refSeeAlso.value[]|select(.startDate)|.startDate)),"endsAt":(first(.refSeeAlso.value[]|select(.endDate)|.endDate)),"hasContactPoint":[{"object":{"url":(first(.refSeeAlso.value[]|select(.infoUrl)|.infoUrl))}}],"hasMultimedia":{"object":{"mainImage":.filesAttachments.value[0]}},"hasAdditionalType":["Event",.subcategory.value]}
Output Transformed output
null