NIEM / NIEM-NDR

The NIEM Naming and Design Rules
https://niem.github.io/NIEM-NDR/
6 stars 6 forks source link

Adapter types #115

Closed TomCarlson-NTAC closed 1 year ago

TomCarlson-NTAC commented 3 years ago

Create a structures:AdapterType for adapter types to extend, rather than including the one-off attribute appinfo:externalAdapterTypeIndicator in type definitions.

This would be consistent with the way association, augmentation, and metadata types are defined:

Current

<xs:complexType name="GeometryType" appinfo:externalAdapterTypeIndicator="true">
  <xs:complexContent>
    <xs:extension base="structures:ObjectType">
      <xs:sequence>
        <xs:element ref="gml:AbstractGeometry" minOccurs="1" maxOccurs="1"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Proposed

<xs:complexType name="GeometryType">
  <xs:complexContent>
    <xs:extension base="structures:AdapterType">
      <xs:sequence>
        <xs:element ref="gml:AbstractGeometry" minOccurs="1" maxOccurs="1"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

resolved Folks are fine with this.

cdmgtri commented 2 years ago

NDR adjustments:

cdmgtri commented 1 year ago

Migrated to niemopen/niem-naming-design-rules#4