[GN] : add an author for a dataset

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GN] : add an author for a dataset

Pierre LAGARDE

Hi all,

 

If we want to add a party with the role of “author” (definition in 19115 : party who authored the resource ) for the data (in RespParty), you have to correct the actual schema in GN :

 

Go to [GN directory]/web/xml/schemas/iso19115 and open the schema.xsd. Search the sentence:

<xs:attributeGroup name="attlist_RoleCd">

    <xs:attribute name="value" use="required">

      <xs:simpleType>

        <xs:restriction base="xs:token">

          <xs:enumeration value="resourceProvider"/>

          <xs:enumeration value="custodian"/>

          <xs:enumeration value="owner"/>

          <xs:enumeration value="user"/>

          <xs:enumeration value="distributor"/>

          <xs:enumeration value="originator"/>

          <xs:enumeration value="pointOfContact"/>

          <xs:enumeration value="principalInvestigator"/>

          <xs:enumeration value="processor"/>

          <xs:enumeration value="publisher"/>

</xs:restriction>

      </xs:simpleType>

    </xs:attribute>

</xs:attributeGroup>

 

And add <xs:enumeration value="author"/> after publisher (and before </xs:restriction>). Don’t forget to save.

 

Restart GN and it will be good when you create/modify a metadata !

 

In the french context, it could be very important because the author(s) have specific copyrights.

 

Pierre.


--
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.
 
Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et priv├ęs.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
 
Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized.