observable:ContentDataFacet leaf node


URI

https://unifiedcyberontology.org/ontology/uco/observable#ContentDataFacet

Label

ContentDataFacet

Description

A content data facet is a grouping of characteristics unique to a block of digital data.

Superclasses (1)

Shape Properties

Instances of observable:ContentDataFacet can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

LOCAL TYPE
(type defined for property on this class)

GLOBAL RANGE
(type range for property globally)

observable:ContentDataFacet
observable:byteOrder owl:DatatypeProperty
0 1
vocabulary:EndiannessTypeVocab
vocabulary:EndiannessTypeVocab
observable:dataPayload owl:DatatypeProperty
0 1
xsd:string
xsd:string
observable:dataPayloadReferenceURL owl:ObjectProperty
0 1
observable:ObservableObject
observable:ObservableObject
observable:entropy owl:DatatypeProperty Shannon entropy (a measure of randomness) of the data.
0 1
xsd:double
xsd:double
observable:hash owl:ObjectProperty Hash values of the data.
0 *
types:Hash
types:Hash
observable:isEncrypted owl:DatatypeProperty
0 1
xsd:boolean
xsd:boolean
observable:magicNumber owl:DatatypeProperty
0 1
xsd:string
xsd:string
observable:mimeClass owl:DatatypeProperty
0 1
xsd:string
xsd:string
observable:mimeType owl:DatatypeProperty MIME type of the data. For example 'text/html' or 'audio/mp3'.
0 1
xsd:string
xsd:string
observable:sizeInBytes owl:DatatypeProperty The size of the data in bytes.
0 1
xsd:integer
xsd:integer

Implementation

@prefix core: <https://unifiedcyberontology.org/ontology/uco/core#> .
@prefix observable: <https://unifiedcyberontology.org/ontology/uco/observable#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix types: <https://unifiedcyberontology.org/ontology/uco/types#> .
@prefix vocabulary: <https://unifiedcyberontology.org/ontology/uco/vocabulary#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:ContentDataFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "ContentDataFacet"@en ;
    rdfs:comment "A content data facet is a grouping of characteristics unique to a block of digital data."@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path observable:dataPayloadReferenceURL ],
        [ sh:class types:Hash ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path observable:hash ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:isEncrypted ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:entropy ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:sizeInBytes ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:dataPayload ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:magicNumber ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:mimeClass ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:mimeType ],
        [ sh:datatype vocabulary:EndiannessTypeVocab ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:byteOrder ] ;
    sh:targetClass observable:ContentDataFacet .