Stored Transformation
Stored transformation detail
Inspect version history, edit inputs, and save a new version without overwriting prior records.
{"externalId":.id,"name":[{"value":(.name.value|gsub("\"";"\\\"")),"lang":"es"}],"hasAdditionalType":[.category.value],"hasDescription":[{"object":{"shortDescription":[{"value":(.shortDescription.value|gsub("\"";"\\\"")),"lang":"es"}]}}],"hasLocation":[{"object":{"autonomousCommunity":"Comunidad de Madrid","country":"España","municipality":"Las Rozas de Madrid","postalCode":"28290","province":"Madrid","streetAddress":(first(.refSeeAlso.value[]|select(has("address"))|.address))}}],"hasMultimedia":{"object":{"mainImage":.filesAttachments.value[0]}}}+if(any(.refSeeAlso.value[]?;has("telephone") or has("infoUrl")))then{"hasContactPoint":[{"object":(({}+(if any(.refSeeAlso.value[]?;has("telephone"))then{"telephone":(first(.refSeeAlso.value[]|select(has("telephone"))|.telephone))}else{}end)+(if any(.refSeeAlso.value[]?;has("infoUrl"))then{"url":(first(.refSeeAlso.value[]|select(has("infoUrl"))|.infoUrl))}else{}end))) }]}else{}end
null