Commit 6f6a2e44 authored by mmarkus1's avatar mmarkus1
Browse files

add schematron rule to check if measurementValue has integer see #55

parent 1a2c8b25
Pipeline #198246 passed with stage
in 31 seconds
...@@ -121,6 +121,16 @@ ...@@ -121,6 +121,16 @@
</sch:rule> </sch:rule>
</sch:pattern> </sch:pattern>
<sch:title>[Data Quality] Use integer values for measurementValue</sch:title>
<sch:p>Check if measurementsValue contains a decimal fraction or other non numerals as the recommendation is to use integer values and appropriate measurementUnit.</sch:p>
<sch:rule abstract="true" id="sch_rule_measurementValue">
<sch:assert role="warn" test="matches(., '^[0-9]*$')">
Quality: Element should contain integer value for <sch:name/> for international interoperability.
</xs:appinfo> </xs:appinfo>
</xs:annotation> </xs:annotation>
</xs:schema> </xs:schema>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment