Skip to content

Commit bbb836f

Browse files
committed
Update the RESOURCE.md to include validation configuration option
1 parent 6332461 commit bbb836f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

RESOURCE.md

+17
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,20 @@ schemaModels:
3939
4040
The `.rdfres` file can then be loaded and used by any EMF-compatible tool as usual.
4141
Note that the elements in `dataModels` and `schemaModels` can be arbitrary URIs understood by the [RIOT](https://jena.apache.org/documentation/io/) system in Jena, and not just relative paths from the folder of the `.rdfres` file.
42+
43+
### Model validation
44+
45+
RDF model validation can be enabled by adding a line in the `.rdfres`, e.g. `validationMode: jena-clean`. The following validation modes are available :
46+
47+
- none
48+
- jena-valid: validation passes if the model has no internal inconsistencies, even though there may be some warnings.
49+
- jena-clean: validation passes if the model has no internal inconsistencies and there are no warnings.
50+
51+
```yaml
52+
validationMode: jena-clean
53+
dataModels:
54+
- model.ttl
55+
schemaModels:
56+
- schema.ttl
57+
```
58+

0 commit comments

Comments
 (0)