Stored Transformation

Stored transformation detail

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

Transformation Name PointOfInterest_to_trail
Selected Version v1
Versions 6
Updated 2026-05-21T10:01:06.250574+00:00
Version 6 Version 5 Version 4 Version 3 Version 2 Version 1
Target Stored target schema Switch between manual editing, a persisted schema, and an internal schema, then validate or translate with the selected target schema.
Result Generated jq filter
{ "hasAdditionalInformation": {"remarks": .id}, "hasAdditionalType": .category.value, "hasDescription": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, "hasLocation": {"autonomousCommunity":"Comunidad de Madrid","country":"España","locality":"Las Rozas de Madrid","postalCode":"28290","province":"Madrid","lat":.location.value.coordinates[1],"long":.location.value.coordinates[0]}, "name": .name.value }
Output Transformed output
{
  "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,
    "locality": "Las Rozas de Madrid",
    "long": -3.8565638,
    "postalCode": "28290",
    "province": "Madrid"
  },
  "name": "Majalacabra"
}
Trace Details
{
  "attempts": [
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{\"remarks\": .id}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasAdditionalInformation",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": ".category.value",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasAdditionalType",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasDescription",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}",
      "schema_valid": true,
      "stage": "field",
      "target_field": "hasLocation",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": ".name.value",
      "schema_valid": true,
      "stage": "field",
      "target_field": "name",
      "used_hints": true
    },
    {
      "attempt_number": 1,
      "compile_ok": true,
      "error_message": null,
      "execution_ok": true,
      "jq_expression": "{ \"hasAdditionalInformation\": {\"remarks\": .id}, \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": {\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}, \"name\": .name.value }",
      "schema_valid": true,
      "stage": "global",
      "target_field": null,
      "used_hints": true
    }
  ],
  "events": [
    {
      "payload": {
        "field_name": "capacity",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source path semantically matches an integer capacity field."
        },
        "prompt_payload": {
          "field_name": "capacity",
          "field_schema": {
            "type": "integer"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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 semantically matches an integer capacity field.\",\"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-20T11:33:49.922107+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalInformation",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": "id",
          "confidence": 0.85,
          "identified": true,
          "reasoning": "The source field \u0027id\u0027 maps to the \u0027remarks\u0027 subfield 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\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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\":\"id\",\"reasoning\":\"The source field \u0027id\u0027 maps to the \u0027remarks\u0027 subfield of hasAdditionalInformation.\",\"confidence\":0.85}",
        "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-20T11:33:58.967493+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": "category.value",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "category.value semantically matches hasAdditionalType"
        },
        "prompt_payload": {
          "field_name": "hasAdditionalType",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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-20T11:34:02.132948+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": "hasDescription",
          "confidence": 0.8,
          "identified": true,
          "reasoning": "Source has a field named hasDescription that matches the target field."
        },
        "prompt_payload": {
          "field_name": "hasDescription",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
            "properties": {
              "keyword": {
                "type": "string"
              },
              "longDescription": {
                "type": "string"
              },
              "relatedTourismDestination": {
                "additionalProperties": true,
                "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                "properties": {
                  "destinationType": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasAcknowledgement": {
                    "additionalProperties": true,
                    "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Acknowledgement",
                    "type": "object"
                  },
                  "hasAdditionalInformation": {
                    "additionalProperties": true,
                    "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                    "properties": {
                      "accessTip": {
                        "type": "string"
                      },
                      "conditions": {
                        "type": "string"
                      },
                      "curiosities": {
                        "type": "string"
                      },
                      "frequentlyAskedQuestion": {
                        "additionalProperties": true,
                        "description": "This class allows representing frequently asked questions and their corresponding answers",
                        "properties": {
                          "answer": {
                            "type": "string"
                          },
                          "question": {
                            "type": "string"
                          }
                        },
                        "title": "Frequently Asked Question",
                        "type": "object"
                      },
                      "remarks": {
                        "type": "string"
                      }
                    },
                    "title": "Additional information",
                    "type": "object"
                  },
                  "hasContactPoint": {
                    "additionalProperties": true,
                    "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                    "properties": {
                      "app": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "instantMessagingService": {
                        "type": "string"
                      },
                      "telephone": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Contact point",
                    "type": "object"
                  },
                  "hasDescription": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasLocation": {
                    "additionalProperties": true,
                    "description": "Provides information about the physical location of a business, establishment or organization.",
                    "properties": {
                      "autonomousCommunity": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      },
                      "county": {
                        "type": "string"
                      },
                      "locality": {
                        "type": "string"
                      },
                      "postalCode": {
                        "type": "string"
                      },
                      "province": {
                        "type": "string"
                      },
                      "streetAddress": {
                        "type": "string"
                      }
                    },
                    "title": "Location",
                    "type": "object"
                  },
                  "hasMultimedia": {
                    "additionalProperties": true,
                    "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                    "properties": {
                      "audio": {
                        "type": "string"
                      },
                      "logo": {
                        "type": "string"
                      },
                      "mainImage": {
                        "type": "string"
                      },
                      "secondaryImage": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "video": {
                        "type": "string"
                      }
                    },
                    "title": "Multimedia",
                    "type": "object"
                  },
                  "hasOpeningHours": {
                    "additionalProperties": true,
                    "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                    "properties": {
                      "closesAt": {
                        "type": "string"
                      },
                      "dayOfTheWeek": {
                        "additionalProperties": true,
                        "properties": {},
                        "title": "Day of the week",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "open24Hours": {
                        "type": "boolean"
                      },
                      "opensAt": {
                        "type": "string"
                      },
                      "temporaryClosure": {
                        "type": "boolean"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Opening Hours",
                    "type": "object"
                  },
                  "hasRulesAndTips": {
                    "additionalProperties": true,
                    "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                    "properties": {
                      "adversity": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Rules and Tips",
                    "type": "object"
                  },
                  "hasSocialMediaProfile": {
                    "additionalProperties": true,
                    "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                    "properties": {
                      "socialMediaPlatform": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "socialMediaUser": {
                        "type": "string"
                      }
                    },
                    "title": "Social media profile",
                    "type": "object"
                  },
                  "name": {
                    "type": "string"
                  },
                  "offers": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "offersTourismDestinationService": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "relatedTo": {
                    "additionalProperties": true,
                    "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                    "properties": {
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism Entity",
                    "type": "object"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "touristType": {
                    "additionalProperties": true,
                    "type": "object"
                  }
                },
                "title": "Tourism destination",
                "type": "object"
              },
              "shortDescription": {
                "type": "string"
              }
            },
            "title": "Description",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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\":\"hasDescription\",\"reasoning\":\"Source has a field named hasDescription that matches the target field.\",\"confidence\":0.8}",
        "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-20T11:34:12.907579+00:00"
    },
    {
      "payload": {
        "field_name": "hasLocation",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": "location",
          "confidence": 0.92,
          "identified": true,
          "reasoning": "The source \u0027location\u0027 object contains address and coordinate information that semantically matches the target hasLocation structure."
        },
        "prompt_payload": {
          "field_name": "hasLocation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides information about the physical location of a business, establishment or organization.",
            "properties": {
              "autonomousCommunity": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "county": {
                "type": "string"
              },
              "locality": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "province": {
                "type": "string"
              },
              "streetAddress": {
                "type": "string"
              }
            },
            "title": "Location",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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\":\"location\",\"reasoning\":\"The source \u0027location\u0027 object contains address and coordinate information that semantically matches the target hasLocation structure.\",\"confidence\":0.92}",
        "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-20T11:34:17.439195+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": "name.value",
          "confidence": 0.95,
          "identified": true,
          "reasoning": "Source field name.value is a string matching target name"
        },
        "prompt_payload": {
          "field_name": "name",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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 is a string matching 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-20T11:34:20.699974+00:00"
    },
    {
      "payload": {
        "field_name": "offersAdditionalTourismResourceService",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "match_result": {
          "candidate_source_path": null,
          "confidence": 0.0,
          "identified": false,
          "reasoning": "No source field matches offersAdditionalTourismResourceService"
        },
        "prompt_payload": {
          "field_name": "offersAdditionalTourismResourceService",
          "field_schema": {
            "additionalProperties": true,
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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 matches offersAdditionalTourismResourceService\",\"confidence\":0.0}",
        "system_prompt": "You perform semantic field matching between a target schema field and source JSON paths. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like match, result, mapping, output, or data. Use exactly these keys: \"identified\", \"candidate_source_path\", \"reasoning\", \"confidence\". \"identified\" must be a JSON boolean. \"candidate_source_path\" must be a string path or null. \"reasoning\" must be a short string. \"confidence\" must be a JSON number between 0.0 and 1.0. If no reliable match exists, return identified=false, candidate_source_path=null, a brief reasoning string, and confidence=0.0. Example valid output: {\"identified\":true,\"candidate_source_path\":\"datetime\",\"reasoning\":\"The source field semantically matches the target date.\",\"confidence\":0.92}",
        "used_hints": true
      },
      "stage": "semantic_match",
      "timestamp": "2026-05-20T11:34:25.586710+00:00"
    },
    {
      "payload": {
        "field_name": "paymentMethod",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "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\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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-20T11:34:29.942999+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalInformation",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "jq_expression": "{\"remarks\": .id}",
        "prompt_payload": {
          "candidate_source_path": "id",
          "field_name": "hasAdditionalInformation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
            "properties": {
              "accessTip": {
                "type": "string"
              },
              "conditions": {
                "type": "string"
              },
              "curiosities": {
                "type": "string"
              },
              "frequentlyAskedQuestion": {
                "additionalProperties": true,
                "description": "This class allows representing frequently asked questions and their corresponding answers",
                "properties": {
                  "answer": {
                    "type": "string"
                  },
                  "question": {
                    "type": "string"
                  }
                },
                "title": "Frequently Asked Question",
                "type": "object"
              },
              "remarks": {
                "type": "string"
              }
            },
            "title": "Additional information",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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_lr-01",
          "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\":\"{\\\"remarks\\\": .id}\"}",
        "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-20T11:34:36.974240+00:00"
    },
    {
      "payload": {
        "field_name": "hasAdditionalType",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "jq_expression": ".category.value",
        "prompt_payload": {
          "candidate_source_path": "category.value",
          "field_name": "hasAdditionalType",
          "field_schema": {
            "type": "string"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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-20T11:34:40.397092+00:00"
    },
    {
      "payload": {
        "field_name": "hasDescription",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "jq_expression": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
        "prompt_payload": {
          "candidate_source_path": "hasDescription",
          "field_name": "hasDescription",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides concise, summarized information about a specific item, such as a product, service, or entity. This block usually contains key details and highlights that describe the main features, functions, benefits or highlights of the item in question.",
            "properties": {
              "keyword": {
                "type": "string"
              },
              "longDescription": {
                "type": "string"
              },
              "relatedTourismDestination": {
                "additionalProperties": true,
                "description": "Physical space, with or without an administrative or analytical delimitation, in which a visitor can spend the night.",
                "properties": {
                  "destinationType": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasAcknowledgement": {
                    "additionalProperties": true,
                    "description": "Achievements or distinctions awarded to people, companies or products for meeting certain standards or specific criteria. These recognitions may include certifications, ratings, awards, or other types of honors that recognize quality, outstanding performance, compliance, or excellence in a particular field.",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Acknowledgement",
                    "type": "object"
                  },
                  "hasAdditionalInformation": {
                    "additionalProperties": true,
                    "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                    "properties": {
                      "accessTip": {
                        "type": "string"
                      },
                      "conditions": {
                        "type": "string"
                      },
                      "curiosities": {
                        "type": "string"
                      },
                      "frequentlyAskedQuestion": {
                        "additionalProperties": true,
                        "description": "This class allows representing frequently asked questions and their corresponding answers",
                        "properties": {
                          "answer": {
                            "type": "string"
                          },
                          "question": {
                            "type": "string"
                          }
                        },
                        "title": "Frequently Asked Question",
                        "type": "object"
                      },
                      "remarks": {
                        "type": "string"
                      }
                    },
                    "title": "Additional information",
                    "type": "object"
                  },
                  "hasContactPoint": {
                    "additionalProperties": true,
                    "description": "Data necessary to establish communication with a person or entity. This information allows other individuals or companies to directly and effectively contact the person or entity in question.",
                    "properties": {
                      "app": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "instantMessagingService": {
                        "type": "string"
                      },
                      "telephone": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "title": "Contact point",
                    "type": "object"
                  },
                  "hasDescription": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "hasLocation": {
                    "additionalProperties": true,
                    "description": "Provides information about the physical location of a business, establishment or organization.",
                    "properties": {
                      "autonomousCommunity": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      },
                      "county": {
                        "type": "string"
                      },
                      "locality": {
                        "type": "string"
                      },
                      "postalCode": {
                        "type": "string"
                      },
                      "province": {
                        "type": "string"
                      },
                      "streetAddress": {
                        "type": "string"
                      }
                    },
                    "title": "Location",
                    "type": "object"
                  },
                  "hasMultimedia": {
                    "additionalProperties": true,
                    "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                    "properties": {
                      "audio": {
                        "type": "string"
                      },
                      "logo": {
                        "type": "string"
                      },
                      "mainImage": {
                        "type": "string"
                      },
                      "secondaryImage": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "video": {
                        "type": "string"
                      }
                    },
                    "title": "Multimedia",
                    "type": "object"
                  },
                  "hasOpeningHours": {
                    "additionalProperties": true,
                    "description": "Period of time during which a business, establishment or service is available to serve customers or carry out commercial activities.",
                    "properties": {
                      "closesAt": {
                        "type": "string"
                      },
                      "dayOfTheWeek": {
                        "additionalProperties": true,
                        "properties": {},
                        "title": "Day of the week",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "open24Hours": {
                        "type": "boolean"
                      },
                      "opensAt": {
                        "type": "string"
                      },
                      "temporaryClosure": {
                        "type": "boolean"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Opening Hours",
                    "type": "object"
                  },
                  "hasRulesAndTips": {
                    "additionalProperties": true,
                    "description": "Set of principles, standards and recommendations established by a tourist destination with the aim of guaranteeing a safe, respectful and satisfactory experience for both tourists and the local community and the environment.",
                    "properties": {
                      "adversity": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "validFrom": {
                        "type": "string"
                      },
                      "validTo": {
                        "type": "string"
                      }
                    },
                    "title": "Rules and Tips",
                    "type": "object"
                  },
                  "hasSocialMediaProfile": {
                    "additionalProperties": true,
                    "description": "Individual or company accounts created on digital platforms designed for social interaction. They allow people and organizations to share information, publish content, interact with other users and build an online presence.",
                    "properties": {
                      "socialMediaPlatform": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "socialMediaUser": {
                        "type": "string"
                      }
                    },
                    "title": "Social media profile",
                    "type": "object"
                  },
                  "name": {
                    "type": "string"
                  },
                  "offers": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "offersTourismDestinationService": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "relatedTo": {
                    "additionalProperties": true,
                    "description": "Concepto general que agrupa los servicios tur\u00edsticos, recursos tur\u00edsticos, destinos tur\u00edsticos y organizaciones tur\u00edsticas",
                    "properties": {
                      "hasAdditionalInformation": {
                        "additionalProperties": true,
                        "description": "Additional details, data or explanations that complement or expand the main information provided. It is extra information that can provide clarification, context, or specific details on a given topic.",
                        "properties": {
                          "accessTip": {
                            "type": "string"
                          },
                          "conditions": {
                            "type": "string"
                          },
                          "curiosities": {
                            "type": "string"
                          },
                          "frequentlyAskedQuestion": {
                            "additionalProperties": true,
                            "description": "This class allows representing frequently asked questions and their corresponding answers",
                            "properties": {
                              "answer": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "title": "Frequently Asked Question",
                            "type": "object"
                          },
                          "remarks": {
                            "type": "string"
                          }
                        },
                        "title": "Additional information",
                        "type": "object"
                      },
                      "hasDescription": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "hasMultimedia": {
                        "additionalProperties": true,
                        "description": "Visual or interactive content used to capture the user\u0027s attention, convey information in a more visual and attractive way, and provide an interactive experience.",
                        "properties": {
                          "audio": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "mainImage": {
                            "type": "string"
                          },
                          "secondaryImage": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "video": {
                            "type": "string"
                          }
                        },
                        "title": "Multimedia",
                        "type": "object"
                      },
                      "name": {
                        "type": "string"
                      },
                      "relatedTourismDestination": {
                        "additionalProperties": true,
                        "type": "object"
                      }
                    },
                    "title": "Tourism Entity",
                    "type": "object"
                  },
                  "relatedTourismDestination": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "touristType": {
                    "additionalProperties": true,
                    "type": "object"
                  }
                },
                "title": "Tourism destination",
                "type": "object"
              },
              "shortDescription": {
                "type": "string"
              }
            },
            "title": "Description",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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\":\"{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}\"}",
        "system_prompt": "You generate a jq expression for one target field. Return exactly one flat JSON object and nothing else. Do not wrap the result in markdown. Do not nest the result under keys like result, output, data, or expression. Use exactly this output schema: {\"jq_expression\": string}. \"jq_expression\" must be a JSON string containing only the jq expression for the target field. Use candidate_source_path as the primary source location, verify it against source_json, and use source_fragment as the focused local value. Do not return explanations or extra keys. Example valid output: {\"jq_expression\":\".datetime\"}",
        "used_hints": true
      },
      "stage": "jq_synthesis",
      "timestamp": "2026-05-20T11:34:46.612326+00:00"
    },
    {
      "payload": {
        "field_name": "hasLocation",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "jq_expression": "{\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}",
        "prompt_payload": {
          "candidate_source_path": "location",
          "field_name": "hasLocation",
          "field_schema": {
            "additionalProperties": true,
            "description": "Provides information about the physical location of a business, establishment or organization.",
            "properties": {
              "autonomousCommunity": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "county": {
                "type": "string"
              },
              "locality": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "province": {
                "type": "string"
              },
              "streetAddress": {
                "type": "string"
              }
            },
            "title": "Location",
            "type": "object"
          },
          "hints": "Map source fields to target as follows:\r\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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": {
            "metadata": {},
            "type": "geo:json",
            "value": {
              "coordinates": [
                -3.8565638,
                40.4845294
              ],
              "type": "Point"
            }
          },
          "source_json": {
            "alternateName": {
              "metadata": {},
              "type": "string",
              "value": "LR-01"
            },
            "category": {
              "metadata": {},
              "type": "string",
              "value": "TrailRoute"
            },
            "dataProvider": {
              "metadata": {},
              "type": "string",
              "value": "nec-ccoc"
            },
            "description": {
              "metadata": {},
              "type": "string",
              "value": "Comenzamos"
            },
            "extraInfo": {
              "metadata": {},
              "type": "string",
              "value": "Encinar"
            },
            "id": "trailroute_lr-01",
            "location": {
              "metadata": {},
              "type": "geo:json",
              "value": {
                "coordinates": [
                  -3.8565638,
                  40.4845294
                ],
                "type": "Point"
              }
            },
            "name": {
              "metadata": {},
              "type": "string",
              "value": "Majalacabra"
            },
            "shortDescription": {
              "metadata": {},
              "type": "string",
              "value": "Dificultad: baja"
            },
            "source": {
              "metadata": {},
              "type": "string",
              "value": "portal-randev6"
            },
            "type": "PointOfInterest"
          },
          "task": "synthesize"
        },
        "response": "{\"jq_expression\":\"{\\\"autonomousCommunity\\\":\\\"Comunidad de Madrid\\\",\\\"country\\\":\\\"Espa\u00f1a\\\",\\\"locality\\\":\\\"Las Rozas de Madrid\\\",\\\"postalCode\\\":\\\"28290\\\",\\\"province\\\":\\\"Madrid\\\",\\\"lat\\\":.location.value.coordinates[1],\\\"long\\\":.location.value.coordinates[0]}\"}",
        "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-20T11:35:01.367302+00:00"
    },
    {
      "payload": {
        "field_name": "name",
        "hint_hash": "c649b970627ccaf7ea77e6fe3a84d53eef1c0365ed009abc3c72153e4e4eeb71",
        "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\n\r\nUse shortDescription.value as hasDescription.shortDescription (string)\r\nUse description.value as hasDescription.longDescription (string)\r\nUse extraInfo.value as hasDescription.keyword (string)\r\nUse category.value as hasAdditionalType (string)\r\nUse 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-20T11:35:04.194695+00:00"
    },
    {
      "payload": {
        "field_expressions": {
          "hasAdditionalInformation": "{\"remarks\": .id}",
          "hasAdditionalType": ".category.value",
          "hasDescription": "{shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}",
          "hasLocation": "{\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}",
          "name": ".name.value"
        },
        "jq_filter": "{ \"hasAdditionalInformation\": {\"remarks\": .id}, \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": {\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}, \"name\": .name.value }",
        "validation_passed": true
      },
      "stage": "generation_complete",
      "timestamp": "2026-05-20T11:35:04.202356+00:00"
    },
    {
      "payload": {
        "jq_filter": "{ \"hasAdditionalInformation\": {\"remarks\": .id}, \"hasAdditionalType\": .category.value, \"hasDescription\": {shortDescription: .shortDescription.value, longDescription: .description.value, keyword: .extraInfo.value}, \"hasLocation\": {\"autonomousCommunity\":\"Comunidad de Madrid\",\"country\":\"Espa\u00f1a\",\"locality\":\"Las Rozas de Madrid\",\"postalCode\":\"28290\",\"province\":\"Madrid\",\"lat\":.location.value.coordinates[1],\"long\":.location.value.coordinates[0]}, \"name\": .name.value }",
        "output_json": {
          "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,
            "locality": "Las Rozas de Madrid",
            "long": -3.8565638,
            "postalCode": "28290",
            "province": "Madrid"
          },
          "name": "Majalacabra"
        },
        "schema_valid": true,
        "validation_errors": []
      },
      "stage": "transform_complete",
      "timestamp": "2026-05-20T11:35:04.206334+00:00"
    }
  ],
  "run_id": "c0efa919-df23-4430-b986-0e6e4c75c579"
}