UKGovernmentBEIS / orpml

Contains the schemas and example usage of ORPML (TO BE TRANSFERED TO DBaT WHEN READY)
MIT License
2 stars 1 forks source link

Improve xml schema with inclusion of annotations #18

Open rishson opened 1 year ago

rishson commented 1 year ago

We should expand the xml schema with <annotations>, e.g.

<xs:complexType name="dublinCoreMetadataType">
    <xs:all>
      <element name="contributor" type="dcterms:contributor"  minOccurs="1" maxOccurs="1"/>

would be enriched to become:

<xs:complexType name="dublinCoreMetadataType">
    <xs:all>
      <element name="contributor" type="dcterms:contributor"  minOccurs="1" maxOccurs="1">
       <annotation><documentation>This element refers to 'An entity responsible for making contributions to the resource.' For regulation, this can be the author of the regulation (as in a person).</documentation></annotation>
      </element>