ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
27 stars 21 forks source link

Codelist iso19135 format missing the <status> element for each entry #250

Closed arantzaetxebarria closed 1 year ago

arantzaetxebarria commented 1 year ago

This issue comes from INSPIRE Registry helpdesk #45 From: OTWillems

An FME application I developed for Dutch local government checks in a codelist if an entry is still valid. My logic can't determine if an entry is valid because the status node is missing in the ISO 19135 format.

INSPIRE Registry Codelist that has the issue: https://inspire.ec.europa.eu/codelist/EnvironmentalDomain

INSPIRE codelist as ISO 19135 https://inspire.ec.europa.eu/codelist/EnvironmentalDomain/EnvironmentalDomain.en.iso19135xml

The ISO 19135 XSD it's referring to: https://standards.iso.org/iso/19135/-2/reg/1.0/registration.xsd#:~:text=%3CcomplexType%20name%3D%22RE_RegisterItem_Type,%3C/complexType%3E

The part of the XSD stating that status is mandatory:

<complexType` name="RE_RegisterItem_Type">
<complexContent>
<extension base="pre:Abstract_RegisterItem_Type">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="predecessor" type="reg:RE_RegisterItem_PropertyType"/>
<element name="itemIdentifier" type="gco:Integer_PropertyType"/>
<element name="name" type="gco:CharacterString_PropertyType"/>
<element name="status" type="reg:RE_ItemStatus_PropertyType"/>              <<<<=========
<element minOccurs="0" name="dateAccepted" type="gco:Date_PropertyType"/>
<element minOccurs="0" name="dateAmended" type="gco:Date_PropertyType"/>
...
</sequence>
</extension>
</complexContent>
</complexType>
OTWillems commented 1 year ago

Hello, I see this item is marked as closed, but I don't see any changes in the ISO19135 codelist, could you provide some feedback on the status? (pun intended)