OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-psc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: CertificateType has too many mandatory information items.


Hello PSC,
I noted that CertificateTypeCode and CertificateType BIEs under the CertificateType complexType are both mandatory and this seems to me too restrictive.

The CertificateTypeCode and CertificateType BIEs are often alternative information, respectively the coded and textual representation of the certificate type.
I believe such information items are better constrained into an implementation profile and not directly in the UBL schema.  I never seen this in UBL before, if I am not wrong.

Another error appears in the cbc:CertificateType ccts definition that seems to be a copy of the cbc:CertificateTypeCode:

<ccts:Definition>The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc.</ccts:Definition>

Should be:

<ccts:Definition>The type of this certificate, expressed as a text. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc.</ccts:Definition>



This is the initial part of the CertificateType complexType definition for your reference:

   <xsd:complexType name="CertificateType">
      <xsd:annotation>
         <xsd:documentation>
            <ccts:Component>
               <ccts:ComponentType>ABIE</ccts:ComponentType>
               <ccts:DictionaryEntryName>Certificate. Details</ccts:DictionaryEntryName>
               <ccts:Definition>A class to define a certificate applied to the item. Certificated can be a requirement to sell goods or services in a jurisdiction.</ccts:Definition>
               <ccts:ObjectClass>Certificate</ccts:ObjectClass>
            </ccts:Component>
         </xsd:documentation>
      </xsd:annotation>
      <xsd:sequence>
         <xsd:element ref="cbc:ID" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
               <xsd:documentation>
                  <ccts:Component>
                     <ccts:ComponentType>BBIE</ccts:ComponentType>
                     <ccts:DictionaryEntryName>Certificate. Identifier</ccts:DictionaryEntryName>
                     <ccts:Definition>An identifier for this certificate.</ccts:Definition>
                     <ccts:Cardinality>1</ccts:Cardinality>
                     <ccts:ObjectClass>Certificate</ccts:ObjectClass>
                     <ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
                     <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
                     <ccts:DataType>Identifier. Type</ccts:DataType>
                  </ccts:Component>
               </xsd:documentation>
            </xsd:annotation>
         </xsd:element>
         <xsd:element ref="cbc:CertificateTypeCode" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
               <xsd:documentation>
                  <ccts:Component>
                     <ccts:ComponentType>BBIE</ccts:ComponentType>
                     <ccts:DictionaryEntryName>Certificate. Certificate Type Code. Code</ccts:DictionaryEntryName>
                     <ccts:Definition>The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc.</ccts:Definition>
                     <ccts:Cardinality>1</ccts:Cardinality>
                     <ccts:ObjectClass>Certificate</ccts:ObjectClass>
                     <ccts:PropertyTerm>Certificate Type Code</ccts:PropertyTerm>
                     <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
                     <ccts:DataType>Code. Type</ccts:DataType>
                  </ccts:Component>
               </xsd:documentation>
            </xsd:annotation>
         </xsd:element>
         <xsd:element ref="cbc:CertificateType" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
               <xsd:documentation>
                  <ccts:Component>
                     <ccts:ComponentType>BBIE</ccts:ComponentType>
                     <ccts:DictionaryEntryName>Certificate. Certificate Type. Text</ccts:DictionaryEntryName>
                     <ccts:Definition>The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc.</ccts:Definition>
                     <ccts:Cardinality>1</ccts:Cardinality>
                     <ccts:ObjectClass>Certificate</ccts:ObjectClass>
                     <ccts:PropertyTerm>Certificate Type</ccts:PropertyTerm>
                     <ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
                     <ccts:DataType>Text. Type</ccts:DataType>
                  </ccts:Component>
               </xsd:documentation>
            </xsd:annotation>
         </xsd:element>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]