bsh:DeprecationShape leaf node


URI

https://brickschema.org/schema/BrickShape#DeprecationShape

Label

DeprecationShape

Description

A SHACL rule which will mitigate the deprecation - The version in which the entity was deprecated - A message describing how to mitigate or address the deprecation

Superclasses (1)

Usage

Instances of bsh:DeprecationShape can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of bsh:DeprecationShape can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
bsh:DeprecationShape
brick:deprecatedInVersion owl:DatatypeProperty 1 * xsd:string --
brick:deprecationMitigationMessage owl:DatatypeProperty 1 * xsd:string --
brick:deprecationMitigationRule owl:ObjectProperty 0 * sh:NodeShape --

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

bsh:DeprecationShape a owl:Class,
        sh:NodeShape,
        brick:EntityPropertyValue ;
    rdfs:subClassOf bsh:ValueShape ;
    sh:property [ a sh:PropertyShape ;
            skos:definition "The version in which the entity was deprecated" ;
            sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path brick:deprecatedInVersion ],
        [ a sh:PropertyShape ;
            skos:definition "A SHACL rule which will mitigate the deprecation" ;
            sh:class sh:NodeShape ;
            sh:path brick:deprecationMitigationRule ],
        [ a sh:PropertyShape ;
            skos:definition "A message describing how to mitigate or address the deprecation" ;
            sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:path brick:deprecationMitigationMessage ] .