https://cacontology.projectvic.org/platforms#DataQualityShape
Validates data quality for platform entities.
Focus nodes of this shape (cacontology-platforms:ElectronicServiceProvider, cacontology-platforms:FileHostingService, cacontology-platforms:GamePlatform, cacontology-platforms:MessagingService, cacontology-platforms:SocialMediaPlatform, cacontology-platforms:VideoStreamingPlatform) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
uco-core:description |
sh:message Description should be between 10 and 1000 characters when provided. |
0 | 1 | xsd:string |
sh:minLength
10
sh:maxLength
1000
|
uco-core:name |
sh:message Name must be between 2 and 200 characters. |
1 | 1 | xsd:string |
sh:minLength
2
sh:maxLength
200
|
@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:DataQualityShape a sh:NodeShape ;
rdfs:label "Data Quality Shape"@en ;
rdfs:comment "Validates data quality for platform entities."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 200 ;
sh:message "Name must be between 2 and 200 characters."@en ;
sh:minCount 1 ;
sh:minLength 2 ;
sh:path uco-core:name ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 1000 ;
sh:message "Description should be between 10 and 1000 characters when provided."@en ;
sh:minCount 0 ;
sh:minLength 10 ;
sh:path uco-core:description ] ;
sh:targetClass cacontology-platforms:ElectronicServiceProvider,
cacontology-platforms:FileHostingService,
cacontology-platforms:GamePlatform,
cacontology-platforms:MessagingService,
cacontology-platforms:SocialMediaPlatform,
cacontology-platforms:VideoStreamingPlatform .