EpiDoc customization to ensure EAGLE rules on EpiDoc files
This is a customization of the EpiDoc TEI ODD schema version 8.21 to check the validity of EpiDoc XML files created for the EAGLE project. The checking is made by several Schematron rules contained on a section marked as EAGLE EpiDoc customizations. As a result we have in this repository the ODD file tei-epidoc-eagle.xml containing the customization itself and the RelaxNG schema generated by using this file as input for the ROMA tool. The steps to generate a new customization are presented here. Finally, the resulting RelaxNG schema tei-epidoc-eagle.rng can be use for checking that:
- provider of metadata is not empty
- data licence to one of Europeana's available rights statements
- content provider id for the resource is not empty
- content provider URI for the resource is not empty
- trismegistos number, if provided, is not empty
- object title is not empty
- there is no more than one type of inscription
- type of inscription is not empty
- the url for type of inscription, if provided, is pointing to the EAGLE vocabulary for type of inscription
- There is no more than one transcription text
- transcription text is not empty
- engraving technique, if provided, is not empty
- the url for engraving technique, if provided, is pointing to the EAGLE vocabulary for Engraving technique
- There is at least one monument type
- There is at least one material
- monument type is not empty
- the url for monument type, if provided, is pointing to the EAGLE vocabulary for monument type
- material is not empty
- the url for material, if provided, is pointing to the EAGLE vocabulary for material
- cm is the unit for object dimensions
- the url for decoration, if provided, is pointing to the EAGLE vocabulary for decoration
- the url for state of preservation, if provided, is pointing to the EAGLE vocabulary for State of preservation
- state of preservation and decoration are not empty
- ids for graphic resources are provided
- urls for graphic resources are provided
- licences for graphic resources are selected from Europeanas available rights statements