MESAInternational / B2MML-BatchML

B2MML is an XML implementation of the ANSI/ISA-95, Enterprise-Control System Integration, family of standards (ISA-95), known internationally as IEC/ISO 62264. B2MML consists of a set of XML schemas written using the World Wide Web Consortium's XML Schema language (XSD) that implement the data models in the ISA-95 standard.
Other
93 stars 45 forks source link

Add "OperationsRecordSpecTemplateID" and "OperationsRecordEntryTemplateID" elements to "OperationsRecordTemplateType" in Common.xsd to align with updated 950002 Operations Record Model #53

Closed vitalJP closed 4 years ago

vitalJP commented 5 years ago

Add "OperationsRecordSpecTemplateID" and "OperationsRecordEntryTemplateID" elements to "OperationsRecordTemplateType" in Common.xsd to align with updated 950002 Operations Record Model

Solution "OperationsRecordTemplateType"
ADD element name="OperationsRecordEntryID" type="IdentifierType" minOccurs="1" maxOccurs="unbounded"/> ADD element name="OperationsRecordSpecTemplateID"

Support Documents 950002 Clause 5.10.3 Operations record template, Table 120 – Operations record template relationship roles

Impacted Types B2MML- Common.xsd, complexType name="OperationsRecordTemplateType"

Dennis-Brandl commented 4 years ago

The relationship is a composite, so instead of adding an ID, I added the following element under the OperationsRecordTemplateType: <xsd:element name="RecordEntry' type="OperationsRecordEntryTemplateType" minOccurs="0" maxOccurs="unbounded"/>

Also found that the OperationsEvent/OperationsEventRecord was the wrong type. It was OperationsRecordEntryTemplateType, and should have been OperationsRecordTemplateType.

JoeDo commented 4 years ago

Confirmed that both changes have been made in the January-2020-Sprint branch. I'll circle back and Close this issue after the changes have been merged into Master.

Dennis-Brandl commented 4 years ago

Changed as marked above. Issue closed.