Stored Transformation

Stored transformation detail

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

Transformation Name test-3301
Selected Version v2
Versions 2
Updated 2026-05-20T09:50:12.212094+00:00
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, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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, "offersAdditionalTourismResourceService": {"name": .name.value, "hasDescription": {"shortDescription": .shortDescription.value, "longDescription": .description.value, "keyword": .extraInfo.value}, "hasAdditionalType": .category.value, "hasAdditionalInformation": {"remarks": .id}, "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"}} }
Output Transformed output
{
  "hasAdditionalType": "TrailRoute",
  "hasDescription": {
    "hasAdditionalInformation": {
      "remarks": "trailroute_lr-01"
    },
    "hasLocation": {
      "autonomousCommunity": "Comunidad de Madrid",
      "country": "Espa\u00f1a",
      "lat": 40.4845294,
      "long": -3.8565638,
      "municipality": "Las Rozas de Madrid",
      "postalCode": "28290",
      "province": "Madrid"
    },
    "keyword": "Encinar",
    "longDescription": "Comenzamos",
    "name": "Majalacabra",
    "shortDescription": "Dificultad: baja"
  },
  "name": "Majalacabra",
  "offersAdditionalTourismResourceService": {
    "hasAdditionalInformation": {
      "remarks": "trailroute_lr-01"
    },
    "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, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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\"}}",
      "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": ".name.value",
      "schema_valid": true,
      "stage": "field",
      "target_field": "name",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "offersAdditionalTourismResourceService",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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, \"offersAdditionalTourismResourceService\": {\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}} }",
      "schema_valid": true,
      "stage": "global",
      "target_field": null,
      "used_hints": true
    }
  ],
  "events": [
    {
      "payload": {
        "field_name": "capacity",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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-20T09:48:15.398845+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalInformation",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source path matches the object structure of hasAdditionalInformation"
        },
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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 path matches the object structure of hasAdditionalInformation\",\"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-20T09:48:22.293405+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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-20T09:48:25.466811+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": "description.value",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "The source field \u0027description.value\u0027 semantically matches the target \u0027hasDescription.longDescription\u0027 as it provides the main descriptive text."
        },
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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\":\"description.value\",\"reasoning\":\"The source field \u0027description.value\u0027 semantically matches the target \u0027hasDescription.longDescription\u0027 as it provides the main descriptive text.\",\"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-20T09:48:33.798672+00:00"
    },
    {
      "payload": {
        "field_name": "hasLocation",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "Source JSON lacks address fields matching hasLocation properties; only coordinates are provided."
        },
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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\":\"Source JSON lacks address fields matching hasLocation properties; only coordinates are provided.\",\"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-20T09:48:40.194633+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": "name.value",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "source field name.value matches target name"
        },
        "prompt_payload": {
          "field_name": "name",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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.value\",\"reasoning\":\"source field name.value matches target name\",\"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-20T09:48:43.048428+00:00"
    },
    {
      "payload": {
        "field_name": "offersAdditionalTourismResourceService",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": "offersAdditionalTourismResourceService",
          "confidence": 0.99,
          "identified": true,
          "reasoning": "Direct match of field name"
        },
        "prompt_payload": {
          "field_name": "offersAdditionalTourismResourceService",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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\":\"offersAdditionalTourismResourceService\",\"reasoning\":\"Direct match of field name\",\"confidence\":0.99}",
        "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-20T09:48:46.949790+00:00"
    },
    {
      "payload": {
        "field_name": "paymentMethod",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field semantically matches paymentMethod"
        },
        "prompt_payload": {
          "field_name": "paymentMethod",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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 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-20T09:48:53.442679+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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-20T09:48:56.580917+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "jq_expression": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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\"}}",
        "prompt_payload": {
          "candidate_source_path": "description.value",
          "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\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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": "Comenzamos",
          "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, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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\\\"}}\"}",
        "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-20T09:49:29.596597+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "jq_expression": ".name.value",
        "prompt_payload": {
          "candidate_source_path": "name.value",
          "field_name": "name",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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": "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-20T09:49:33.053699+00:00"
    },
    {
      "payload": {
        "field_name": "offersAdditionalTourismResourceService",
        "hint_hash": "fc2f7523fd1504dda41ae4a981abfaa8aec1873a4b25d164a5904ea0e01ec163",
        "jq_expression": "{\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}}",
        "prompt_payload": {
          "candidate_source_path": "offersAdditionalTourismResourceService",
          "field_name": "offersAdditionalTourismResourceService",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\nUse name.value as name (string)\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 id as hasAdditionalInformation.remarks (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\":\"{\\\"name\\\": .name.value, \\\"hasDescription\\\": {\\\"shortDescription\\\": .shortDescription.value, \\\"longDescription\\\": .description.value, \\\"keyword\\\": .extraInfo.value}, \\\"hasAdditionalType\\\": .category.value, \\\"hasAdditionalInformation\\\": {\\\"remarks\\\": .id}, \\\"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\\\"}}\"}",
        "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-20T09:49:48.433053+00:00"
    },
    {
      "payload": {
        "field_expressions": {
          "hasAdditionalType": ".category.value",
          "hasDescription": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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",
          "offersAdditionalTourismResourceService": "{\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}}"
        },
        "jq_filter": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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, \"offersAdditionalTourismResourceService\": {\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}} }",
        "validation_passed": true
      },
      "stage": "generation_complete",
      "timestamp": "2026-05-20T09:49:48.441359+00:00"
    },
    {
      "payload": {
        "jq_filter": "{ \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value, name: .name.value, hasAdditionalInformation: {remarks: .id}, 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, \"offersAdditionalTourismResourceService\": {\"name\": .name.value, \"hasDescription\": {\"shortDescription\": .shortDescription.value, \"longDescription\": .description.value, \"keyword\": .extraInfo.value}, \"hasAdditionalType\": .category.value, \"hasAdditionalInformation\": {\"remarks\": .id}, \"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\"}} }",
        "output_json": {
          "hasAdditionalType": "TrailRoute",
          "hasDescription": {
            "hasAdditionalInformation": {
              "remarks": "trailroute_lr-01"
            },
            "hasLocation": {
              "autonomousCommunity": "Comunidad de Madrid",
              "country": "Espa\u00f1a",
              "lat": 40.4845294,
              "long": -3.8565638,
              "municipality": "Las Rozas de Madrid",
              "postalCode": "28290",
              "province": "Madrid"
            },
            "keyword": "Encinar",
            "longDescription": "Comenzamos",
            "name": "Majalacabra",
            "shortDescription": "Dificultad: baja"
          },
          "name": "Majalacabra",
          "offersAdditionalTourismResourceService": {
            "hasAdditionalInformation": {
              "remarks": "trailroute_lr-01"
            },
            "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-20T09:49:48.444152+00:00"
    }
  ],
  "run_id": "49ce2efc-9b84-4dd6-ab11-fcd002c1b5b1"
}