Ontology Version: 3.1.0

cacontology-us-ncmec:PlatformCooperationShape leaf node


URI

https://cacontology.projectvic.org/us/ncmec#PlatformCooperationShape

Label

Platform Cooperation Shape

Description

Validation shape for platform cooperation instances. - Platform response time must be between 0.1 and 8760 hours. - Data provided must be from the allowed list. - Cooperation level must be from the allowed list. - Platform cooperation must involve exactly one digital service.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-us-ncmec:PlatformCooperation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-us-ncmec:cooperationLevel Level of platform cooperation (full, partial, limited, none). 0 1 xsd:string
sh:in full, partial, limited, none
cacontology-us-ncmec:dataProvided Type of data provided by platform (account_info, user_data, content, metadata). 0 5 xsd:string
sh:in account_info, user_data, content, metadata, logs
cacontology-us-ncmec:involvesPlatform Links platform cooperation to the digital platform involved. 1 1 uco-observable:DigitalService
cacontology-us-ncmec:platformResponseTime Time taken by platform to respond to information request in hours. 0 1 xsd:decimal
sh:minInclusive 0.1
sh:maxInclusive 8760.0

Implementation

@prefix cacontology-us-ncmec: <https://cacontology.projectvic.org/us/ncmec#> .
@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 uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-us-ncmec:PlatformCooperationShape a sh:NodeShape ;
    rdfs:label "Platform Cooperation Shape"@en ;
    rdfs:comment "Validation shape for platform cooperation instances."@en ;
    sh:property [ rdfs:comment "Platform response time must be between 0.1 and 8760 hours."@en ;
            sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 8760.0 ;
            sh:minCount 0 ;
            sh:minInclusive 0.1 ;
            sh:path cacontology-us-ncmec:platformResponseTime ],
        [ rdfs:comment "Cooperation level must be from the allowed list."@en ;
            sh:datatype xsd:string ;
            sh:in ( "full" "partial" "limited" "none" ) ;
            sh:maxCount 1 ;
            sh:minCount 0 ;
            sh:path cacontology-us-ncmec:cooperationLevel ],
        [ rdfs:comment "Data provided must be from the allowed list."@en ;
            sh:datatype xsd:string ;
            sh:in ( "account_info" "user_data" "content" "metadata" "logs" ) ;
            sh:maxCount 5 ;
            sh:minCount 0 ;
            sh:path cacontology-us-ncmec:dataProvided ],
        [ rdfs:comment "Platform cooperation must involve exactly one digital service."@en ;
            sh:class uco-observable:DigitalService ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec:involvesPlatform ] ;
    sh:targetClass cacontology-us-ncmec:PlatformCooperation .