X12N schemas
This topic provides a brief description of the X12N schemas.
The schemas support X12 standard integrity checking through the defined items and groups that represent the X12 elements, composites, segments, loops and transactions contained in the supported implementation guides. In addition, Relational conditions that are defined in the standard are enforced through schema component rules on the segment or composite group components.
This covers any of the relational conditions as defined in “Relational Conditions” subsection of
the X12 Application Control Structure, Definitions and Concepts (section 3.7.3.2.3 in version 7030).
These conditions are:
- P – Paired or Multiple
- R - Required
- E – Exclusion
- C - Conditional
- L – List Conditional
For P type conditions, the ONERROR functionality is used to provide additional detail about which component of the set was missing if Data Audit is enabled during execution of a map using this schema.