ETPartners / b2mmlv7beta

b2mmlv7beta for review
2 stars 3 forks source link

Add ExtensionType and Extension1Type to Common.xsd for defined values of Extension element in "OperationsEventClassType" #71

Open CharlieG021163 opened 5 years ago

CharlieG021163 commented 5 years ago

https://github.com/MESAInternational/B2MML-BatchML/issues/54

To align with Updated 95002, Operations Event Model Solution complexType name="OperationsEventClassType" element name="Extension" CHANGE: type="IdentifierType" minOccurs="0" maxOccurs="unbounded"/> TO: type="ExtensionType" minOccurs="0"/>

ADD ExtensionType and Extension1Type to Common.xsd for defined values of Extension element in "OperationsEventClassType" to align with Updated 950002, Operations Event Model

 <xsd:complexType name="Extension1Type">

        <xsd:simpleContent>

            <xsd:restriction base="CodeType">

                <xsd:enumeration value="Sealed"/>

                <xsd:enumeration value="NA"/>

                <xsd:enumeration value="Other"/>

            </xsd:restriction>

        </xsd:simpleContent>

    </xsd:complexType>

    <!--     -->    

    <xsd:complexType name="ExtensionType">

        <xsd:annotation> 

            <xsd:documentation>

Defines constraints on the inclusion of the respective operations event class in a hierarchy. 

Defined value are 

-sealed: no entry can use this entry as its parent;

-(No entry): no entry allows any entry to represent this entry as its parent /ancestor.

Extension can contain a set of entries of other operations event classes who represent this entry in their parent.

            </xsd:documentation>

        </xsd:annotation> 

         <xsd:simpleContent>

            <xsd:extension base="Extension1Type">

                <xsd:attribute name="OtherValue" type="xsd:string"/>

            </xsd:extension>

        </xsd:simpleContent>

    </xsd:complexType>  

Supporting Document ISA-950002 JWG5 CDV01 version (2019 12) Clause 5.11.2 Operations event class, Table 126 – Operations event class attributes

Impacted types B2MML-OperatrionsEvent.xsd: OperationsEventClasssType New B2MML-Common.xsd: ExtensionType New B2MML-Common.xsd: Extension1Type

racheliurui commented 5 years ago

Agreed

gerardmoloneyetpartners commented 4 years ago

Accepted by Dennis with following comments: Renamed to codetype to OperationsEventExtensionType and put it into the OperationsEvent.xsd file. To be fixed in January 2020 Sprint.

Dennis-Brandl commented 4 years ago

I agree with the change