https://cacontology.projectvic.org/physical/shapes#ComputerEquipmentShape
Enhanced validation shape for computer equipment instances.
Focus nodes of this shape (cacontology-physical:ComputerEquipment) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-physical:deviceBrand | Manufacturer or brand of the computer equipment. sh:message Computer equipment must specify device brand (2-50 characters). |
1 | 1 | xsd:string |
sh:minLength
2
sh:maxLength
50
|
| cacontology-physical:deviceModel | Model number or name of the device. sh:message Computer equipment must specify device model (2-100 characters). |
1 | 1 | xsd:string |
sh:minLength
2
sh:maxLength
100
|
| cacontology-physical:encryptionStatus | Whether the device or storage media is encrypted (encrypted, unencrypted, partially_encrypted). sh:message Computer equipment must specify encryption status from the allowed list. |
1 | 1 | xsd:string |
sh:in
unencrypted, partially_encrypted, fully_encrypted, password_protected, unknown
|
| cacontology-physical:functionalStatus | Whether the device is functional (working, non_functional, partially_functional). sh:message Computer equipment must specify functional status from the allowed list. |
1 | 1 | xsd:string |
sh:in
working, non_functional, partially_functional, unknown
|
@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-physical-shapes:ComputerEquipmentShape a sh:NodeShape ;
rdfs:label "Computer Equipment Shape"@en ;
rdfs:comment "Enhanced validation shape for computer equipment instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 50 ;
sh:message "Computer equipment must specify device brand (2-50 characters)."@en ;
sh:minCount 1 ;
sh:minLength 2 ;
sh:path cacontology-physical:deviceBrand ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 100 ;
sh:message "Computer equipment must specify device model (2-100 characters)."@en ;
sh:minCount 1 ;
sh:minLength 2 ;
sh:path cacontology-physical:deviceModel ],
[ sh:datatype xsd:string ;
sh:in ( "unencrypted" "partially_encrypted" "fully_encrypted" "password_protected" "unknown" ) ;
sh:maxCount 1 ;
sh:message "Computer equipment must specify encryption status from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-physical:encryptionStatus ],
[ sh:datatype xsd:string ;
sh:in ( "working" "non_functional" "partially_functional" "unknown" ) ;
sh:maxCount 1 ;
sh:message "Computer equipment must specify functional status from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-physical:functionalStatus ] ;
sh:targetClass cacontology-physical:ComputerEquipment .