OntologyValidationIssue
¶
Source code in docs_src/capo_context/types/ontology_validation_issue.py
code
instance-attribute
¶
code: OntologyIssueCode
A code that identifies the issue, such as RDF_PARSE_ERROR or UNMAPPABLE_CLASS. New codes can be added, so handle a code that you don't recognize.
line
instance-attribute
¶
line: NotRequired[int]
1-based line in the uploaded source, when the failure is attributable to a specific triple.
message
instance-attribute
¶
message: OntologyValidationIssueMessage
A human-readable description of the issue.
subject
instance-attribute
¶
subject: NotRequired[OntologyValidationIssueSubject]
What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.