smart:AnnotationShape leaf node


URI

https://w3id.org/standards/smart/ontologies/core/AnnotationShape

Label

AnnotationShape

Target Classes (1)

Shape Properties

Instances of oa:Annotation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

oa:Annotation
oa:hasBody smart:Provision
oa:hasTarget oa:SpecificResource

Implementation

@prefix oa: <http://www.w3.org/ns/oa#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix smart: <https://w3id.org/standards/smart/ontologies/core/> .

smart:AnnotationShape a sh:NodeShape ;
    sh:property [ sh:class oa:SpecificResource ;
            sh:nodeKind sh:IRI ;
            sh:path oa:hasTarget ],
        [ sh:class smart:Provision ;
            sh:nodeKind sh:IRI ;
            sh:path oa:hasBody ] ;
    sh:targetClass oa:Annotation .