Version: 1
Purpose: Verify whether all attributes whose value type is a code list take the values set out therein
Prerequisites
Test method
When an attribute has a code list as its type, verify that the values comply with the definitions and include the values set out in Annex II of the regulation. To pass this tests that any instance of an attribute
- takes only values explicitly specified in the INSPIRE code list register when the code list‘s extensibility is 'none'.
Otherwise report disallowedCodeListValue.
In the Addresses application schema, the following properties have to be tested:
- FormOfRailwayNodeValue (v3). Valid values:
- junction
- levelCrossing
- pseudoNode
- railwayEnd
- railwayStop
- FormOfRailwayNodeValue (v4). Valid values:
- http://inspire.ec.europa.eu/codelist/FormOfRailwayNodeValue/junction
- http://inspire.ec.europa.eu/codelist/FormOfRailwayNodeValue/levelCrossing
- http://inspire.ec.europa.eu/codelist/FormOfRailwayNodeValue/pseudoNode
- http://inspire.ec.europa.eu/codelist/FormOfRailwayNodeValue/railwayEnd
- http://inspire.ec.europa.eu/codelist/FormOfRailwayNodeValue/railwayStop
- RailwayTypeValue (v3). Valid values:
- cogRailway
- funicular
- magneticLevitation
- metro
- monorail
- suspendedRail
- train
- tramway
- RailwayTypeValue (v4). Valid values:
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/cogRailway
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/funicular
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/magneticLevitation
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/metro
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/monorail
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/suspendedRail
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/train
- http://inspire.ec.europa.eu/codelist/RailwayTypeValue/tramway
- RailwayUseValue (v3). Valid values:
- cargo
- carShuttle
- mixed
- passengers
- RailwayUseValue (v4). Valid values:
The following is not applicable for this application schema as no extensions are allowed. It is still included here as a reminder in case extensions will be allowed in the future:
Inspect the code list valued property elements. If a value is not one of the values listed above, review the code list definition to check that any extensions do not overlap with the code lists that are defined in Annexes II, III and IV of the Implementing Rule and that all extensions conform to the requirements. This is a manual test.
Reference(s):
- TG DS Template IR requirement Article 4 (1)
- TG DS Template IR requirement Article 4 (3)
- TG DS Template IR requirement Article 6 (1)
- TG DS Template IR requirement Article 6 (2)
- TG DS Template IR requirement Article 6 (3)
- TG DS Template IR requirement Article 6 (4)
Test type: Automated
Notes
The namespace prefixes used as described in README.md.