Ontology Version: 3.1.0

cacontology-partnerships-shapes:ObjectIdentificationRequestShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#ObjectIdentificationRequestShape

Label

Object Identification Request Shape

Description

Validation shape for object identification request instances.

Property Constraints (2)

Focus nodes of this shape (cacontology-partnerships:ObjectIdentificationRequest) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-partnerships:identificationSuccessRate
sh:message Identification success rate must be between 0.0 and 1.0.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-partnerships:objectsToIdentify
sh:message Objects to identify must be between 1 and 1,000.
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 1000

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@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-partnerships-shapes:ObjectIdentificationRequestShape a sh:NodeShape ;
    rdfs:label "Object Identification Request Shape"@en ;
    rdfs:comment "Validation shape for object identification request instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000 ;
            sh:message "Objects to identify must be between 1 and 1,000."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-partnerships:objectsToIdentify ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Identification success rate must be between 0.0 and 1.0."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:identificationSuccessRate ] ;
    sh:targetClass cacontology-partnerships:ObjectIdentificationRequest .