metasearch MCP

Hotel and travel feed validation, normalization and requirement comparison.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
99%
命名品質
90%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'validate_google_hotel_center_list' name length outside 3-30 range在 validate_google_hotel_center_list 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~5,879Token(工具定義)
~5.0 KB典型回應大小
顯著的注意力影響(128k 上下文的 4.59%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "metasearch-mcp": {
      "url": "https://metasearch.com.tr/mcp"
    }
  }
}

遠端端點

https://metasearch.com.tr/mcpstreamable-http

它能做什麼

工具清單

工具(12)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢detect_feed_format(content, formatHint)

Detect whether a supplied hotel or catalog feed payload is JSON, NDJSON, XML, CSV or TSV before parsing or validation.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "formatHint": {
      "description": "Optional expected format hint. Omit or use auto when the format should be detected from the payload.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    }
  },
  "required": [
    "format"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢normalize_hotel_feed(content, format, target)

Parse a hotel feed and normalize common supplier or platform aliases into a canonical hotel-record shape without changing the source payload.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    },
    "target": {
      "description": "Optional target whose parser conventions should be used while normalizing the feed. Defaults to generic hotel master data.",
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sourceIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "id": {},
          "name": {},
          "description": {},
          "address": {},
          "city": {},
          "province": {},
          "postalCode": {},
          "country": {},
          "phone": {},
          "latitude": {},
          "longitude": {},
          "link": {},
          "image": {},
          "price": {},
          "currency": {},
          "availability": {},
          "brand": {},
          "category": {},
          "starRating": {},
          "amenities": {}
        },
        "required": [
          "sourceIndex"
        ],
        "additionalProperties": false
      }
    },
    "recordCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "format",
    "records",
    "recordCount",
    "truncated"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_feed(target, content, format)

Validate a supplied static hotel or catalog feed against one selected platform rule pack or the generic hotel master-data audit.

輸入結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "target",
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_wego_hotel_feed(content, format)

Validate a static hotel feed against Wego-oriented published requirements and data-quality checks.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_google_hotel_center_list(content, format)

Validate a Google Hotel Center Hotel List static feed, including identifiers, address, country and phone or geo requirements.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_trivago_hotel_data(content, format)

Validate CSV or JSON hotel inventory against trivago FastConnect's published Hotel Data requirements.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_meta_catalog(content, format)

Check a hotel or travel catalog for Meta mapping and catalog readiness. This is not official Meta certification.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_criteo_catalog(content, format)

Check a product or travel catalog for Criteo import readiness, content coverage, IDs, URLs and images.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢validate_hotel_master_data(content, format)

Run a platform-independent hotel master-data quality audit.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "present": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "present",
          "missing"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "format",
    "records",
    "score",
    "issues",
    "coverage"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢compare_feed_readiness(content, format, targets)

Run the same static feed through multiple platform rule packs and compare readiness scores, errors, warnings and validation issues.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    },
    "targets": {
      "description": "Optional list of validation targets. Omit to use every supported target.",
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "wego",
          "google_hotel_center",
          "trivago",
          "meta_catalog",
          "criteo",
          "hotel_master_data"
        ],
        "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
      }
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "enum": [
              "wego",
              "google_hotel_center",
              "trivago",
              "meta_catalog",
              "criteo",
              "hotel_master_data"
            ],
            "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
          },
          "score": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "errors": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "warnings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "level": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning",
                    "info"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                }
              },
              "required": [
                "level",
                "code",
                "message"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "target",
          "score",
          "errors",
          "warnings",
          "issues"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "records",
    "format",
    "targets"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢compare_platform_requirements(targets)

Compare documented or readiness-oriented field requirements across supported hotel and catalog platforms before designing a feed mapping.

輸入結構描述

{
  "type": "object",
  "properties": {
    "targets": {
      "description": "Optional list of validation targets. Omit to use every supported target.",
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "wego",
          "google_hotel_center",
          "trivago",
          "meta_catalog",
          "criteo",
          "hotel_master_data"
        ],
        "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "platforms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "enum": [
              "wego",
              "google_hotel_center",
              "trivago",
              "meta_catalog",
              "criteo",
              "hotel_master_data"
            ],
            "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "type": "string"
          },
          "officialDocs": {
            "type": "string",
            "format": "uri"
          },
          "requirements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "level": {
                  "type": "string",
                  "enum": [
                    "required",
                    "recommended",
                    "informational"
                  ]
                },
                "formats": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "JSON",
                      "XML",
                      "CSV",
                      "TSV",
                      "NDJSON"
                    ]
                  }
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "field",
                "label",
                "level"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "target",
          "title",
          "description",
          "formats",
          "mode",
          "requirements"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "platforms"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢suggest_feed_fixes(target, content, format)

Validate a supplied feed for one target and turn deterministic validation issues into remediation actions for the affected records.

輸入結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    },
    "format": {
      "description": "Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.",
      "type": "string",
      "enum": [
        "auto",
        "json",
        "xml",
        "csv",
        "tsv",
        "ndjson"
      ]
    }
  },
  "required": [
    "target",
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "enum": [
        "wego",
        "google_hotel_center",
        "trivago",
        "meta_catalog",
        "criteo",
        "hotel_master_data"
      ],
      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit."
    },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "format": {
      "type": "string",
      "enum": [
        "JSON",
        "XML",
        "CSV",
        "TSV",
        "NDJSON"
      ]
    },
    "records": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "fixes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning"
            ]
          },
          "affectedRows": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "action": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "level",
          "affectedRows",
          "action"
        ],
        "additionalProperties": false
      }
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "level",
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "target",
    "score",
    "format",
    "records",
    "fixes",
    "issues"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本12 個工具