Monetary value format
Rule Definition
The format of every monetary value is a positive decimal with 2 decimals.
Additional Information
Rule elaboration
Validity Business Rule with ID VAL011 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology properties involved:
http://data.europa.eu/a4g/ontology#hasAmountValue
http://data.europa.eu/a4g/ontology#hasEstimatedValue
http://data.europa.eu/a4g/ontology#hasAwardedValue
http://data.europa.eu/a4g/ontology#hasTotalAwardedValue
Rule source
Rule implementation
ppsh:MonetaryValue-hasAmountValue-datatype
Implementation note
Implementation in the SHACL shapes graph:
ppsh:MonetaryValue-hasAmountValue-datatype a sh:PropertyShape ;
sh:description "The amount value of the monetary must be a number with or without decimals." ;
sh:or (
[ sh:datatype xsd:integer ]
[ sh:datatype xsd:decimal ]
) ;
sh:severity sh:Warning ;
sh:message "VAL011" ;
sh:name "Amount value of monetary value datatype" ;
sh:path epo:hasAmountValue .
Related rules
Related generic rule
(If the rule is a specialisation of a generic rule registered in this Rulebook, the URL of that generic rule is provided here)
History note
(If applicable, add here a note about a previous state of the rule, before the Rulebook)