Validate a message against its XSD
askiso_validateValidates ISO 20022 XML against the XSD schema named by its namespace, checking element order, cardinality, patterns, lengths and enums; names the missing schema set to install.
Instructions
Validate an ISO 20022 message against the schema its namespace names. This is full XSD validation -- element order, cardinality, patterns, lengths, enumerations -- performed in Go, with no external tools.
Needs the ISO 20022 schemas the user downloaded from iso20022.org. If none are installed the tool says so and names the message set to download.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xml": "<xml>"
},
"name": "askiso_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The full ISO 20022 XML message. |