Ontology Version: 3.1.0

cacontology-production:ImagePostProcessingShape leaf node


URI

https://cacontology.projectvic.org/production#ImagePostProcessingShape

Label

Image Post-Processing Shape

Description

Validation shape for image post-processing instances.

Targets (1)

  • cacontology-production:ImagePostProcessing sh:targetClass

Property Constraints (2)

Focus nodes of this shape (cacontology-production:ImagePostProcessing) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-production:modificationCount
sh:message Image post-processing must specify modification count between 1 and 1000.
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 1000
cacontology-production:modificationSoftware
sh:message Modification software must be specified (2-100 characters).
1 1 xsd:string
sh:minLength 2
sh:maxLength 100

Implementation

@prefix cacontology-production: <https://cacontology.projectvic.org/production#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-production:ImagePostProcessingShape a sh:NodeShape ;
    rdfs:label "Image Post-Processing Shape"@en ;
    rdfs:comment "Validation shape for image post-processing instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000 ;
            sh:message "Image post-processing must specify modification count between 1 and 1000."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-production:modificationCount ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Modification software must be specified (2-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path cacontology-production:modificationSoftware ] ;
    sh:targetClass cacontology-production:ImagePostProcessing .