brick:Status


URI

https://brickschema.org/schema/Brick#Status

Label

Status

Description

A Status is input point that reports the current operating mode, state, position, or condition of an item. Statuses are observations and should be considered 'read-only'

Targets (1)

Property Constraints (1)

Focus nodes of this shape (brick:Status) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
brick:lastKnownValue last known value
The last known value of the Point entity
0 1 bsh:LastKnownValueShape
sh:IRI

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix tag: <https://brickschema.org/schema/BrickTag#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

brick:Status a owl:Class,
        sh:NodeShape ;
    rdfs:label "Status"@en ;
    rdfs:subClassOf brick:Point ;
    owl:disjointWith brick:Alarm,
        brick:Command,
        brick:Parameter,
        brick:Sensor,
        brick:Setpoint ;
    skos:definition "A Status is input point that reports the current operating mode, state, position, or condition of an item. Statuses are observations and should be considered 'read-only'"@en ;
    sh:property [ a sh:PropertyShape ;
            sh:class bsh:LastKnownValueShape ;
            sh:maxCount 1 ;
            sh:name "last known value" ;
            sh:nodeKind sh:IRI ;
            sh:path brick:lastKnownValue ] ;
    sh:rule [ a sh:TripleRule ;
            sh:object tag:Point ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:Status ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ] ;
    brick:hasAssociatedTag tag:Point,
        tag:Status .