verify_data_module
Checks a single S1000D data module for XML well-formedness, XSD schema validity against your S1000D schemas, BREX violations, and unresolved references, returning verification status and details.
Instructions
Verify one S1000D data module: well-formedness, XML schema (XSD) validation against the user's own S1000D schemas (S1000D_SPEC_DIR), BREX checks along the brexDmRef chain, and reference resolution (dmRef, pmRef, ICN entities, internalRef, applicRefId). Returns a "verification" status (the same VerificationStatus that s1000d-reader-mcp embeds) plus the details of each step. Does NOT decide S1000D conformance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_data_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The document as an XML string (alternative to path; max 5 MB). | |
| path | No | File path of the data module (or PM) to check. | |
| skip | No | Steps to skip. Skipped steps are reported with state "not-run". | |
| csdbDirs | No | Extra CSDB folders to search for referenced data modules, publication modules, ICN files and BREX (in addition to S1000D_CSDB_DIR; BREX also under S1000D_SPEC_DIR). | |
| maxSchemaErrors | No | Cap on XSD errors returned (default 100). The total count is always reported. | |
| maxUnresolvedRefs | No | Cap on unresolved references returned (default 200). | |
| maxViolationsPerLayer | No | Cap on BREX violations returned per layer (default 200). |