Stored Transformation

Stored transformation detail

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

Transformation Name PointOfInterest_to_trail
Selected Version v2
Versions 6
Updated 2026-05-21T10:01:06.250574+00:00
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
{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: "Comunidad de Madrid", country: "España", municipality: "Las Rozas de Madrid", postalCode: "28290", province: "Madrid" }, name: .name.value }
Output Transformed output
{
  "hasAdditionalType": "TrailRoute",
  "hasDescription": {
    "keyword": "Encinar",
    "longDescription": "Comenzamos",
    "shortDescription": "Dificultad: baja"
  },
  "hasLocation": {
    "autonomousCommunity": "Comunidad de Madrid",
    "country": "Espa\u00f1a",
    "lat": 40.4845294,
    "long": -3.8565638,
    "municipality": "Las Rozas de Madrid",
    "postalCode": "28290",
    "province": "Madrid"
  },
  "name": "Majalacabra"
}
Trace Details
{
  "attempts": [
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": ".category.value",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasAdditionalType",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasDescription",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": ".location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasLocation",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": ".name.value",
      "schema_valid": true,
      "stage": "field",
      "target_field": "name",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": false,
      "error_message": "jq: error: syntax error, unexpected as, expecting \u0027}\u0027 at \u003ctop-level\u003e, line 1, column 211:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                      ^^\njq: error: May need parentheses around object key expression at \u003ctop-level\u003e, line 1, column 3:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\njq: error: syntax error, unexpected \u0027:\u0027, expecting end of file at \u003ctop-level\u003e, line 1, column 405:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                                                                                                                                                                                                                        ^\njq: 3 compile errors",
      "execution_ok": false,
      "jq_expression": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }",
      "schema_valid": false,
      "stage": "global",
      "target_field": null,
      "used_hints": true
    },
    {
      "attempt_number": 2,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", municipality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\" }, name: .name.value }",
      "schema_valid": true,
      "stage": "global",
      "target_field": null,
      "used_hints": true
    }
  ],
  "events": [
    {
      "payload": {
        "field_name": "capacity",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field semantically matches target capacity"
        },
        "prompt_payload": {
          "field_name": "capacity",
          "field_schema": {
            "type": "integer"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":false,\"candidate_source_path\":null,\"reasoning\":\"No source field semantically matches target capacity\",\"confidence\":0.0}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:05:40.174555+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalInformation",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field matches the complex hasAdditionalInformation structure."
        },
        "prompt_payload": {
          "field_name": "hasAdditionalInformation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
            "properties": {
              "accessTip": {
                "type": "string"
              },
              "conditions": {
                "type": "string"
              },
              "curiosities": {
                "type": "string"
              },
              "frequentlyAskedQuestion": {
                "additionalProperties": true,
                "description": "This class allows representing frequently asked questions and their corresponding answers",
                "properties": {
                  "answer": {
                    "type": "string"
                  },
                  "question": {
                    "type": "string"
                  }
                },
                "title": "Frequently Asked Question",
                "type": "object"
              },
              "remarks": {
                "type": "string"
              }
            },
            "title": "Additional information",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":false,\"candidate_source_path\":null,\"reasoning\":\"No source field matches the complex hasAdditionalInformation structure.\",\"confidence\":0.0}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:05:43.975970+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": "category.value",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "category.value semantically matches hasAdditionalType"
        },
        "prompt_payload": {
          "field_name": "hasAdditionalType",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":true,\"candidate_source_path\":\"category.value\",\"reasoning\":\"category.value semantically matches hasAdditionalType\",\"confidence\":0.95}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:05:46.719462+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": "hasDescription",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "Direct match of field name and structure"
        },
        "prompt_payload": {
          "field_name": "hasDescription",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
            "properties": {
              "keyword": {
                "type": "string"
              },
              "longDescription": {
                "type": "string"
              },
              "relatedTourismDestination": {
                "additionalProperties": true,
                "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                "properties": {
                  "destinationType": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasAcknowledgement": {
                    "additionalProperties": true,
                    "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Acknowledgement",
                    "type": "object"
                  },
                  "hasAdditionalInformation": {
                    "additionalProperties": true,
                    "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                    "properties": {
                      "accessTip": {
                        "type": "string"
                      },
                      "conditions": {
                        "type": "string"
                      },
                      "curiosities": {
                        "type": "string"
                      },
                      "frequentlyAskedQuestion": {
                        "additionalProperties": true,
                        "description": "This class allows representing frequently asked questions and their corresponding answers",
                        "properties": {
                          "answer": {
                            "type": "string"
                          },
                          "question": {
                            "type": "string"
                          }
                        },
                        "title": "Frequently Asked Question",
                        "type": "object"
                      },
                      "remarks": {
                        "type": "string"
                      }
                    },
                    "title": "Additional information",
                    "type": "object"
                  },
                  "hasContactPoint": {
                    "additionalProperties": true,
                    "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                    "properties": {
                      "app": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "instantMessagingService": {
                        "type": "string"
                      },
                      "telephone": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Contact point",
                    "type": "object"
                  },
                  "hasDescription": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasLocation": {
                    "additionalProperties": true,
                    "description": "Provides information about the physical location of a business, establishment or organization.",
                    "properties": {
                      "autonomousCommunity": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      },
                      "county": {
                        "type": "string"
                      },
                      "locality": {
                        "type": "string"
                      },
                      "postalCode": {
                        "type": "string"
                      },
                      "province": {
                        "type": "string"
                      },
                      "streetAddress": {
                        "type": "string"
                      }
                    },
                    "title": "Location",
                    "type": "object"
                  },
                  "hasMultimedia": {
                    "additionalProperties": true,
                    "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                    "properties": {
                      "audio": {
                        "type": "string"
                      },
                      "logo": {
                        "type": "string"
                      },
                      "mainImage": {
                        "type": "string"
                      },
                      "secondaryImage": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "video": {
                        "type": "string"
                      }
                    },
                    "title": "Multimedia",
                    "type": "object"
                  },
                  "hasOpeningHours": {
                    "additionalProperties": true,
                    "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                    "properties": {
                      "closesAt": {
                        "type": "string"
                      },
                      "dayOfTheWeek": {
                        "additionalProperties": true,
                        "properties": {},
                        "title": "Day of the week",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "open24Hours": {
                        "type": "boolean"
                      },
                      "opensAt": {
                        "type": "string"
                      },
                      "temporaryClosure": {
                        "type": "boolean"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Opening Hours",
                    "type": "object"
                  },
                  "hasRulesAndTips": {
                    "additionalProperties": true,
                    "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                    "properties": {
                      "adversity": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Rules and Tips",
                    "type": "object"
                  },
                  "hasSocialMediaProfile": {
                    "additionalProperties": true,
                    "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                    "properties": {
                      "socialMediaPlatform": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "socialMediaUser": {
                        "type": "string"
                      }
                    },
                    "title": "Social media profile",
                    "type": "object"
                  },
                  "name": {
                    "type": "string"
                  },
                  "offers": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "offersTourismDestinationService": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "relatedTo": {
                    "additionalProperties": true,
                    "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                    "properties": {
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism Entity",
                    "type": "object"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "touristType": {
                    "additionalProperties": true,
                    "type": "object"
                  }
                },
                "title": "Tourism destination",
                "type": "object"
              },
              "shortDescription": {
                "type": "string"
              }
            },
            "title": "Description",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":true,\"candidate_source_path\":\"hasDescription\",\"reasoning\":\"Direct match of field name and structure\",\"confidence\":0.95}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:05:54.967806+00:00"
    },
    {
      "payload": {
        "field_name": "hasLocation",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": "location",
          "confidence": 0.9,
          "identified": true,
          "reasoning": "Source location field contains coordinates that map to target hasLocation."
        },
        "prompt_payload": {
          "field_name": "hasLocation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides information about the physical location of a business, establishment or organization.",
            "properties": {
              "autonomousCommunity": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "county": {
                "type": "string"
              },
              "locality": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "province": {
                "type": "string"
              },
              "streetAddress": {
                "type": "string"
              }
            },
            "title": "Location",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":true,\"candidate_source_path\":\"location\",\"reasoning\":\"Source location field contains coordinates that map to target hasLocation.\",\"confidence\":0.9}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:06:00.123332+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": "name",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "Direct string match for the name field."
        },
        "prompt_payload": {
          "field_name": "name",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":true,\"candidate_source_path\":\"name\",\"reasoning\":\"Direct string match for the name field.\",\"confidence\":0.95}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:06:03.594198+00:00"
    },
    {
      "payload": {
        "field_name": "offersAdditionalTourismResourceService",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field matches offersAdditionalTourismResourceService"
        },
        "prompt_payload": {
          "field_name": "offersAdditionalTourismResourceService",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":false,\"candidate_source_path\":null,\"reasoning\":\"No source field matches offersAdditionalTourismResourceService\",\"confidence\":0.0}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:06:09.106139+00:00"
    },
    {
      "payload": {
        "field_name": "paymentMethod",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field matches paymentMethod"
        },
        "prompt_payload": {
          "field_name": "paymentMethod",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "input_summary": {
            "path_count": 42,
            "paths": [
              "alternateName",
              "alternateName.metadata",
              "alternateName.type",
              "alternateName.value",
              "category",
              "category.metadata",
              "category.type",
              "category.value",
              "dataProvider",
              "dataProvider.metadata",
              "dataProvider.type",
              "dataProvider.value",
              "description",
              "description.metadata",
              "description.type",
              "description.value",
              "extraInfo",
              "extraInfo.metadata",
              "extraInfo.type",
              "extraInfo.value",
              "id",
              "location",
              "location.metadata",
              "location.type",
              "location.value",
              "location.value.coordinates",
              "location.value.coordinates[0]",
              "location.value.coordinates[1]",
              "location.value.type",
              "name",
              "name.metadata",
              "name.type",
              "name.value",
              "shortDescription",
              "shortDescription.metadata",
              "shortDescription.type",
              "shortDescription.value",
              "source",
              "source.metadata",
              "source.type",
              "source.value",
              "type"
            ],
            "root_type": "dict"
          },
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "required": false,
          "task": "match"
        },
        "response": "{\"identified\":false,\"candidate_source_path\":null,\"reasoning\":\"No source field matches paymentMethod\",\"confidence\":0.0}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-21T08:06:12.767798+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "jq_expression": ".category.value",
        "prompt_payload": {
          "candidate_source_path": "category.value",
          "field_name": "hasAdditionalType",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "source_fragment": "TrailRoute",
          "source_json": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "task": "synthesize"
        },
        "response": "{\"jq_expression\":\".category.value\"}",
        "system_prompt": "You generate a jq expression for one target field. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"jq_expression\": string}. \"jq_expression\" must be a JSON string containing only the jq expression for the target field. Use candidate_source_path as the primary source location, verify it against source_json, and use source_fragment as the focused local value. Do not return explanations or extra keys. Example valid output: {\"jq_expression\":\".datetime\"}",
        "used_hints": true
      },
      "stage": "jq_synthesis",
      "timestamp": "2026-05-21T08:06:15.369059+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "jq_expression": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
        "prompt_payload": {
          "candidate_source_path": "hasDescription",
          "field_name": "hasDescription",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
            "properties": {
              "keyword": {
                "type": "string"
              },
              "longDescription": {
                "type": "string"
              },
              "relatedTourismDestination": {
                "additionalProperties": true,
                "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                "properties": {
                  "destinationType": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasAcknowledgement": {
                    "additionalProperties": true,
                    "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Acknowledgement",
                    "type": "object"
                  },
                  "hasAdditionalInformation": {
                    "additionalProperties": true,
                    "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                    "properties": {
                      "accessTip": {
                        "type": "string"
                      },
                      "conditions": {
                        "type": "string"
                      },
                      "curiosities": {
                        "type": "string"
                      },
                      "frequentlyAskedQuestion": {
                        "additionalProperties": true,
                        "description": "This class allows representing frequently asked questions and their corresponding answers",
                        "properties": {
                          "answer": {
                            "type": "string"
                          },
                          "question": {
                            "type": "string"
                          }
                        },
                        "title": "Frequently Asked Question",
                        "type": "object"
                      },
                      "remarks": {
                        "type": "string"
                      }
                    },
                    "title": "Additional information",
                    "type": "object"
                  },
                  "hasContactPoint": {
                    "additionalProperties": true,
                    "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                    "properties": {
                      "app": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "instantMessagingService": {
                        "type": "string"
                      },
                      "telephone": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Contact point",
                    "type": "object"
                  },
                  "hasDescription": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasLocation": {
                    "additionalProperties": true,
                    "description": "Provides information about the physical location of a business, establishment or organization.",
                    "properties": {
                      "autonomousCommunity": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      },
                      "county": {
                        "type": "string"
                      },
                      "locality": {
                        "type": "string"
                      },
                      "postalCode": {
                        "type": "string"
                      },
                      "province": {
                        "type": "string"
                      },
                      "streetAddress": {
                        "type": "string"
                      }
                    },
                    "title": "Location",
                    "type": "object"
                  },
                  "hasMultimedia": {
                    "additionalProperties": true,
                    "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                    "properties": {
                      "audio": {
                        "type": "string"
                      },
                      "logo": {
                        "type": "string"
                      },
                      "mainImage": {
                        "type": "string"
                      },
                      "secondaryImage": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "video": {
                        "type": "string"
                      }
                    },
                    "title": "Multimedia",
                    "type": "object"
                  },
                  "hasOpeningHours": {
                    "additionalProperties": true,
                    "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                    "properties": {
                      "closesAt": {
                        "type": "string"
                      },
                      "dayOfTheWeek": {
                        "additionalProperties": true,
                        "properties": {},
                        "title": "Day of the week",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "open24Hours": {
                        "type": "boolean"
                      },
                      "opensAt": {
                        "type": "string"
                      },
                      "temporaryClosure": {
                        "type": "boolean"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Opening Hours",
                    "type": "object"
                  },
                  "hasRulesAndTips": {
                    "additionalProperties": true,
                    "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                    "properties": {
                      "adversity": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Rules and Tips",
                    "type": "object"
                  },
                  "hasSocialMediaProfile": {
                    "additionalProperties": true,
                    "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                    "properties": {
                      "socialMediaPlatform": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "socialMediaUser": {
                        "type": "string"
                      }
                    },
                    "title": "Social media profile",
                    "type": "object"
                  },
                  "name": {
                    "type": "string"
                  },
                  "offers": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "offersTourismDestinationService": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "relatedTo": {
                    "additionalProperties": true,
                    "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                    "properties": {
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism Entity",
                    "type": "object"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "touristType": {
                    "additionalProperties": true,
                    "type": "object"
                  }
                },
                "title": "Tourism destination",
                "type": "object"
              },
              "shortDescription": {
                "type": "string"
              }
            },
            "title": "Description",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "source_fragment": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "source_json": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "task": "synthesize"
        },
        "response": "{\"jq_expression\":\"{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}\"}",
        "system_prompt": "You generate a jq expression for one target field. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"jq_expression\": string}. \"jq_expression\" must be a JSON string containing only the jq expression for the target field. Use candidate_source_path as the primary source location, verify it against source_json, and use source_fragment as the focused local value. Do not return explanations or extra keys. Example valid output: {\"jq_expression\":\".datetime\"}",
        "used_hints": true
      },
      "stage": "jq_synthesis",
      "timestamp": "2026-05-21T08:06:21.622527+00:00"
    },
    {
      "payload": {
        "field_name": "hasLocation",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "jq_expression": ".location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}",
        "prompt_payload": {
          "candidate_source_path": "location",
          "field_name": "hasLocation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides information about the physical location of a business, establishment or organization.",
            "properties": {
              "autonomousCommunity": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "county": {
                "type": "string"
              },
              "locality": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "province": {
                "type": "string"
              },
              "streetAddress": {
                "type": "string"
              }
            },
            "title": "Location",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "source_fragment": {
            "metadata": {},
            "type": "geo:json",
            "value": {
              "coordinates": [
                -3.8565638,
                40.4845294
              ],
              "type": "Point"
            }
          },
          "source_json": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "task": "synthesize"
        },
        "response": "{\"jq_expression\":\".location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \\\"Comunidad de Madrid\\\", country: \\\"Espa\u00f1a\\\", locality: \\\"Las Rozas de Madrid\\\", postalCode: \\\"28290\\\", province: \\\"Madrid\\\"}\"}",
        "system_prompt": "You generate a jq expression for one target field. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"jq_expression\": string}. \"jq_expression\" must be a JSON string containing only the jq expression for the target field. Use candidate_source_path as the primary source location, verify it against source_json, and use source_fragment as the focused local value. Do not return explanations or extra keys. Example valid output: {\"jq_expression\":\".datetime\"}",
        "used_hints": true
      },
      "stage": "jq_synthesis",
      "timestamp": "2026-05-21T08:06:31.355375+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "jq_expression": ".name.value",
        "prompt_payload": {
          "candidate_source_path": "name",
          "field_name": "name",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "source_fragment": {
            "metadata": {},
            "type": "string",
            "value": "Majalacabra"
          },
          "source_json": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "task": "synthesize"
        },
        "response": "{\"jq_expression\":\".name.value\"}",
        "system_prompt": "You generate a jq expression for one target field. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"jq_expression\": string}. \"jq_expression\" must be a JSON string containing only the jq expression for the target field. Use candidate_source_path as the primary source location, verify it against source_json, and use source_fragment as the focused local value. Do not return explanations or extra keys. Example valid output: {\"jq_expression\":\".datetime\"}",
        "used_hints": true
      },
      "stage": "jq_synthesis",
      "timestamp": "2026-05-21T08:06:34.917376+00:00"
    },
    {
      "payload": {
        "field_name": null,
        "hint_hash": "6836c0ae5a75fbfb56b56f8dcf97af169558e430b81924c2e334bd662501a698",
        "prompt_payload": {
          "attempt_history": [
            {
              "attempt_number": 1,
              "compile_ok": false,
              "error_message": "jq: error: syntax error, unexpected as, expecting \u0027}\u0027 at \u003ctop-level\u003e, line 1, column 211:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                      ^^\njq: error: May need parentheses around object key expression at \u003ctop-level\u003e, line 1, column 3:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\njq: error: syntax error, unexpected \u0027:\u0027, expecting end of file at \u003ctop-level\u003e, line 1, column 405:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                                                                                                                                                                                                                        ^\njq: 3 compile errors",
              "execution_ok": false,
              "jq_expression": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }",
              "schema_valid": false,
              "stage": "global",
              "target_field": null,
              "used_hints": true
            }
          ],
          "candidate_source_path": null,
          "error_message": "jq: error: syntax error, unexpected as, expecting \u0027}\u0027 at \u003ctop-level\u003e, line 1, column 211:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                      ^^\njq: error: May need parentheses around object key expression at \u003ctop-level\u003e, line 1, column 3:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\njq: error: syntax error, unexpected \u0027:\u0027, expecting end of file at \u003ctop-level\u003e, line 1, column 405:\n    { \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }\n                                                                                                                                                                                                                                                                                                                                                                                                                        ^\njq: 3 compile errors",
          "field_name": null,
          "field_schema": null,
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse location.value.coordinates[1] as hasLocation.lat (number)\r\nUse location.value.coordinates[0] as hasLocation.long (number)\r\nUse \"Comunidad de Madrid\" as hasLocation.autonomousCommunity (hardcoded string)\r\nUse \"Espa\u00f1a\" as hasLocation.country (hardcoded string)\r\nUse \"Las Rozas de Madrid\" as hasLocation.municipality (hardcoded string)\r\nUse \"28290\" as hasLocation.postalCode (hardcoded string)\r\nUse \"Madrid\" as hasLocation.province (hardcoded string)",
          "output_schema": {
            "$id": "https://ontologia.segittur.es/turismo/schema/Trail.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": true,
            "description": "Road, path or path that is characterized by being very small and narrow and that is generally found in rural areas",
            "properties": {
              "capacity": {
                "type": "integer"
              },
              "hasAdditionalInformation": {
                "additionalProperties": true,
                "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                "properties": {
                  "accessTip": {
                    "type": "string"
                  },
                  "conditions": {
                    "type": "string"
                  },
                  "curiosities": {
                    "type": "string"
                  },
                  "frequentlyAskedQuestion": {
                    "additionalProperties": true,
                    "description": "This class allows representing frequently asked questions and their corresponding answers",
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      }
                    },
                    "title": "Frequently Asked Question",
                    "type": "object"
                  },
                  "remarks": {
                    "type": "string"
                  }
                },
                "title": "Additional information",
                "type": "object"
              },
              "hasAdditionalType": {
                "type": "string"
              },
              "hasDescription": {
                "additionalProperties": true,
                "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "longDescription": {
                    "type": "string"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                    "properties": {
                      "destinationType": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasAcknowledgement": {
                        "additionalProperties": true,
                        "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Acknowledgement",
                        "type": "object"
                      },
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasContactPoint": {
                        "additionalProperties": true,
                        "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                        "properties": {
                          "app": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "instantMessagingService": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "title": "Contact point",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasLocation": {
                        "additionalProperties": true,
                        "description": "Provides information about the physical location of a business, establishment or organization.",
                        "properties": {
                          "autonomousCommunity": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "county": {
                            "type": "string"
                          },
                          "locality": {
                            "type": "string"
                          },
                          "postalCode": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "streetAddress": {
                            "type": "string"
                          }
                        },
                        "title": "Location",
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "hasOpeningHours": {
                        "additionalProperties": true,
                        "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                        "properties": {
                          "closesAt": {
                            "type": "string"
                          },
                          "dayOfTheWeek": {
                            "additionalProperties": true,
                            "properties": {},
                            "title": "Day of the week",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "open24Hours": {
                            "type": "boolean"
                          },
                          "opensAt": {
                            "type": "string"
                          },
                          "temporaryClosure": {
                            "type": "boolean"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Opening Hours",
                        "type": "object"
                      },
                      "hasRulesAndTips": {
                        "additionalProperties": true,
                        "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                        "properties": {
                          "adversity": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "validFrom": {
                            "type": "string"
                          },
                          "validTo": {
                            "type": "string"
                          }
                        },
                        "title": "Rules and Tips",
                        "type": "object"
                      },
                      "hasSocialMediaProfile": {
                        "additionalProperties": true,
                        "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                        "properties": {
                          "socialMediaPlatform": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "socialMediaUser": {
                            "type": "string"
                          }
                        },
                        "title": "Social media profile",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "offers": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "offersTourismDestinationService": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "relatedTo": {
                        "additionalProperties": true,
                        "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                        "properties": {
                          "hasAdditionalInformation": {
                            "additionalProperties": true,
                            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                            "properties": {
                              "accessTip": {
                                "type": "string"
                              },
                              "conditions": {
                                "type": "string"
                              },
                              "curiosities": {
                                "type": "string"
                              },
                              "frequentlyAskedQuestion": {
                                "additionalProperties": true,
                                "description": "This class allows representing frequently asked questions and their corresponding answers",
                                "properties": {
                                  "answer": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  }
                                },
                                "title": "Frequently Asked Question",
                                "type": "object"
                              },
                              "remarks": {
                                "type": "string"
                              }
                            },
                            "title": "Additional information",
                            "type": "object"
                          },
                          "hasDescription": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "hasMultimedia": {
                            "additionalProperties": true,
                            "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                            "properties": {
                              "audio": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string"
                              },
                              "mainImage": {
                                "type": "string"
                              },
                              "secondaryImage": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "video": {
                                "type": "string"
                              }
                            },
                            "title": "Multimedia",
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "relatedTourismDestination": {
                            "additionalProperties": true,
                            "type": "object"
                          }
                        },
                        "title": "Tourism Entity",
                        "type": "object"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "touristType": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism destination",
                    "type": "object"
                  },
                  "shortDescription": {
                    "type": "string"
                  }
                },
                "title": "Description",
                "type": "object"
              },
              "hasLocation": {
                "additionalProperties": true,
                "description": "Provides information about the physical location of a business, establishment or organization.",
                "properties": {
                  "autonomousCommunity": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "locality": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "province": {
                    "type": "string"
                  },
                  "streetAddress": {
                    "type": "string"
                  }
                },
                "title": "Location",
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "offersAdditionalTourismResourceService": {
                "additionalProperties": true,
                "type": "object"
              },
              "paymentMethod": {
                "additionalProperties": true,
                "type": "object"
              }
            },
            "title": "Trail",
            "type": "object"
          },
          "previous_expression": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": .location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}, \"name\": .name.value }",
          "source_fragment": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "stage": "global",
          "task": "repair"
        },
        "repaired_jq_expression": "{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", municipality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\" }, name: .name.value }",
        "response": "{\"repaired_jq_expression\":\"{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: \\\"Comunidad de Madrid\\\", country: \\\"Espa\u00f1a\\\", municipality: \\\"Las Rozas de Madrid\\\", postalCode: \\\"28290\\\", province: \\\"Madrid\\\" }, name: .name.value }\"}",
        "stage_name": "global",
        "system_prompt": "You repair a jq expression after a compile, execution, or validation error. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"repaired_jq_expression\": string}. \"repaired_jq_expression\" must be a JSON string containing only the repaired jq expression. Do not return explanations or extra keys. Example valid output: {\"repaired_jq_expression\":\".payload.customer.name\"}",
        "used_hints": true
      },
      "stage": "jq_repair",
      "timestamp": "2026-05-21T08:06:50.374146+00:00"
    },
    {
      "payload": {
        "field_expressions": {
          "hasAdditionalType": ".category.value",
          "hasDescription": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
          "hasLocation": ".location.value.coordinates as $coords | {lat: $coords[1], long: $coords[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", locality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\"}",
          "name": ".name.value"
        },
        "jq_filter": "{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", municipality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\" }, name: .name.value }",
        "validation_passed": true
      },
      "stage": "generation_complete",
      "timestamp": "2026-05-21T08:06:50.381730+00:00"
    },
    {
      "payload": {
        "jq_filter": "{ hasAdditionalType: .category.value, hasDescription: { shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value }, hasLocation: { lat: .location.value.coordinates[1], long: .location.value.coordinates[0], autonomousCommunity: \"Comunidad de Madrid\", country: \"Espa\u00f1a\", municipality: \"Las Rozas de Madrid\", postalCode: \"28290\", province: \"Madrid\" }, name: .name.value }",
        "output_json": {
          "hasAdditionalType": "TrailRoute",
          "hasDescription": {
            "keyword": "Encinar",
            "longDescription": "Comenzamos",
            "shortDescription": "Dificultad: baja"
          },
          "hasLocation": {
            "autonomousCommunity": "Comunidad de Madrid",
            "country": "Espa\u00f1a",
            "lat": 40.4845294,
            "long": -3.8565638,
            "municipality": "Las Rozas de Madrid",
            "postalCode": "28290",
            "province": "Madrid"
          },
          "name": "Majalacabra"
        },
        "schema_valid": true,
        "validation_errors": []
      },
      "stage": "transform_complete",
      "timestamp": "2026-05-21T08:06:50.386089+00:00"
    }
  ],
  "run_id": "78de4716-d5e9-4054-b646-b45297cee006"
}