Ontology Version: 2.2.0

cacontology-production:TextOverlayShape leaf node


URI

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

Label

Text Overlay Shape

Description

Validation shape for text overlay instances.

Implementation

@prefix cacontology-production: <https://cacontology.projectvic.org/production#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:TextOverlayShape a sh:NodeShape ;
    rdfs:label "Text Overlay Shape"@en ;
    rdfs:comment "Validation shape for text overlay instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "victim_name" "victim_name_and_slang" "explicit_text" "identifying_text" "threatening_text" "instructional_text" ) ;
            sh:maxCount 1 ;
            sh:message "Text overlay must specify text type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-production:textType ],
        [ sh:datatype xsd:string ;
            sh:in ( "overlay_on_image" "caption_below" "watermark" "corner_placement" "center_placement" ) ;
            sh:maxCount 1 ;
            sh:message "Text overlay must specify placement from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-production:textPlacement ] ;
    sh:targetClass cacontology-production:TextOverlay .