Contract conclusion date format
Rule Definition
Contract conclusion date has a proper date format.
Additional Information
Rule elaboration
Validity Business Rule with ID VAL027 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology property involved: http://data.europa.eu/a4g/ontology#hasContractConclusionDate
Rule source
Rule implementation
ppsh:Contract-hasContractConclusionDate-datatype
Implementation note
Implementation in the SHACL shapes graph:
ppsh:Contract-hasContractConclusionDate-datatype a sh:PropertyShape ;
sh:message "VAL027" ;
sh:name "Date of conclusion of the contract must have a proper date format." ;
sh:description "Date of conclusion of the contract must have a proper date format." ;
sh:severity sh:Warning ;
sh:targetClass epo:Notice ;
sh:or (
[
sh:datatype xsd:date
]
[
sh:datatype xsd:string ;
sh:pattern "^\\d{2}/(0[1-9]|1[0-2])/\\d{4}$|^\\d{4}/(0[1-9]|1[0-2])/\\d{2}$"
]
)
Related rules
Related generic rule
History note
(If applicable, add here a note about a previous state of the rule, before the Rulebook)
Edited by Enrique Jose Barcala Soto