1.2 Version and Release
2 Purpose and Scope
4.1 Generic X12 Metadata
4.2 TR3 Metadata
5.1 Processing Instructions
This document is a Technical Report Type 2 (TR2), commonly referred to as a Reference Model. It was developed by ASC X12C, the Communications and Controls subcommittee.
This technical report was prepared under the guidance of the Accredited Standards Committee (ASC) on Electronic Data Interchange, X12. Organized under the procedures of the American National Standards Institute, ASC X12 was charged with the development of transactions and structures for use in an Electronic Data Interchange (EDI) environment.
ASC X12 has the following subcommittees:
In developing TR2s, it is the aim of the ASC X12 subcommittees to facilitate the use and understanding of the standards and, in this case, certain aspects of X12 type 3 technical reports (TR3).
This Reference Model is not based on or dependent on any particular version of the X12 Standards referenced; information is useful for applications "...regardless of which version/release of the standards or the defining documents for the X12 syntax (X12.5 and X12.6) is being used."
Comments, questions, and suggestions for improvement of this document may be submitted at email@example.com.
This technical report describes a methodology to construct Extensible Markup Language (XML) element names from ASC X12 Technical Report Type 3 (TR3) metadata for use in creating a processing instruction for envelope data schemas written in World Wide Web Consortium (W3C) XML Schema Definition Language (W3C XSD).
This TR2 is intended to serve these major purposes:
Related X12 Standards and Technical Reports
The use of ASC X12 standards is voluntary, although government agencies may mandate their use. Further defining the standards and restricting options within the standards through implementation practices provides additional metadata that is useful in constructing meaningful XML processing instructions. The additional metadata is defined by X12, but not the aggregation of that metadata in a different syntax.
This specification uses the following X12 metadata defined in X12.5:
This specification uses the following TR3 metadata:
The following specify metadata used to construct XML Processing Instructions. Referenced from 2.6 of the XML specification (refer to world wide web consortium (W3C) www.w3.org/TR/REC-xml for the complete spec):
|asc-x12 format||GS08/ST01||AN||12||asc-x12 format="XML404"|
|<?asc-x12 format="XML404" sender-qualifier="ZZ" sender="CONPAP" receiver-qualifier= "ZZ" receiver="NS" controlnumber="000004162" version= "00701" date="20170129" time="1220"?>|
Processing instructions (PIs) allow documents to contain instructions for applications. PIs are not part of the document's character data, but must be passed through to the application. The meaning of processing instructions are defined within trading partner agreements.
Implementers will define the usage of the XML processing instruction values. Not all values are required to be used.
The ASC X12 Data Elements, Data types and Min/Max Length have been included as reference only.
XML payloads are not required to conform to the ASC X12 data structures, XML may carry data that is not permitted in the EDI data stream. For example:
Date ="20170129" does not conform to ISA09, DT 6/6, in EDI the date must be "170129".
 Within this technical report, "ASC X12" refers to Accredited Standards Committee X12 and its subcommittees. "X12" labels the standards and other work products of ASC X12.