metasearch MCP
Hotel and travel feed validation, normalization and requirement comparison.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin validate_google_hotel_center_list
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"metasearch-mcp": {
"url": "https://metasearch.com.tr/mcp"
}
}
}Remote-Endpunkte
https://metasearch.com.tr/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-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."
},
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-Schema
{
"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"
}Ausgabe-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.
Eingabe-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."
},
"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"
}Ausgabe-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
}Community
Nachweis