https://w3id.org/rec#ServiceObject
Focus nodes of this shape (rec:ServiceObject) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| rec:acknowledgedBy | acknowledged by |
0 | 1 | rec:Agent sh:IRI |
|
| rec:acknowledgedTime | acknowledged time |
0 | 1 | xsd:dateTime | |
| rec:closedBy | closed by |
0 | 1 | rec:Agent sh:IRI |
|
| rec:closedTime | closed time |
0 | 1 | xsd:dateTime | |
| rec:createdBy | created by |
0 | 1 | rec:Agent sh:IRI |
|
| rec:createdTime | created time |
0 | 1 | xsd:dateTime | |
| rec:producedBy | produced by |
0 | * | brick:Point sh:IRI |
|
| rec:relatedTo | related to |
1 | * | sh:IRI | |
| rec:severity | severity |
1 | 1 | xsd:string |
sh:in
Severe, Major, Minor
|
| rec:status | status |
1 | 1 | xsd:string |
sh:in
Unacknowledged, Acknowledged, Closed
|
@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
rec:ServiceObject a rdfs:Class,
sh:NodeShape ;
rdfs:label "Service object"^^xsd:string ;
rdfs:subClassOf rec:Information ;
sh:property [ a sh:PropertyShape ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:name "acknowledged time"^^xsd:string ;
sh:path rec:acknowledgedTime ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:in ( "Severe"^^xsd:string "Major"^^xsd:string "Minor"^^xsd:string ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "severity"^^xsd:string ;
sh:path rec:severity ],
[ a sh:PropertyShape ;
sh:class rec:Agent ;
sh:maxCount 1 ;
sh:name "acknowledged by"^^xsd:string ;
sh:nodeKind sh:IRI ;
sh:path rec:acknowledgedBy ],
[ a sh:PropertyShape ;
sh:class rec:Agent ;
sh:maxCount 1 ;
sh:name "closed by"^^xsd:string ;
sh:nodeKind sh:IRI ;
sh:path rec:closedBy ],
[ a sh:PropertyShape ;
sh:class rec:Agent ;
sh:maxCount 1 ;
sh:name "created by"^^xsd:string ;
sh:nodeKind sh:IRI ;
sh:path rec:createdBy ],
[ a sh:PropertyShape ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:name "created time"^^xsd:string ;
sh:path rec:createdTime ],
[ a sh:PropertyShape ;
sh:minCount 1 ;
sh:name "related to"^^xsd:string ;
sh:nodeKind sh:IRI ;
sh:path rec:relatedTo ],
[ a sh:PropertyShape ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:name "closed time"^^xsd:string ;
sh:path rec:closedTime ],
[ a sh:PropertyShape ;
sh:class brick:Point ;
sh:name "produced by"^^xsd:string ;
sh:nodeKind sh:IRI ;
sh:path rec:producedBy ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:in ( "Unacknowledged"^^xsd:string "Acknowledged"^^xsd:string "Closed"^^xsd:string ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "status"^^xsd:string ;
sh:path rec:status ] .