|
2 | 2 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
3 | 3 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
4 | 4 | @prefix sh: <http://www.w3.org/ns/shacl#> . |
5 | | -@prefix types: <https://ontology.unifiedcyberontology.org/uco/types/> . |
6 | 5 | @prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> . |
7 | | -@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> . |
8 | 6 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
9 | 7 |
|
10 | 8 | [] |
11 | 9 | a sh:ValidationReport ; |
12 | | - sh:conforms "false"^^xsd:boolean ; |
13 | | - sh:result |
14 | | - [ |
15 | | - a sh:ValidationResult ; |
16 | | - sh:focusNode <http://example.org/kb/account-facet-31df5a8a-fb9f-4fa6-85f9-cea13f4b9f03> ; |
17 | | - sh:resultMessage "Value is not member of the vocabulary AccountTypeVocab." ; |
18 | | - sh:resultPath uco-observable:accountType ; |
19 | | - sh:resultSeverity sh:Info ; |
20 | | - sh:sourceConstraintComponent sh:InConstraintComponent ; |
21 | | - sh:sourceShape uco-observable:AccountFacet-accountType-in-shape ; |
22 | | - sh:value "Phone" ; |
23 | | - ] , |
24 | | - [ |
25 | | - a sh:ValidationResult ; |
26 | | - sh:focusNode <http://example.org/kb/hash-bfa02feb-6184-5ca5-9ba3-272bf4367c5d> ; |
27 | | - sh:resultMessage "As of UCO 1.4.0, the datatype to use for types:hashMethod should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ; |
28 | | - sh:resultPath types:hashMethod ; |
29 | | - sh:resultSeverity sh:Warning ; |
30 | | - sh:sourceConstraintComponent sh:DatatypeConstraintComponent ; |
31 | | - sh:sourceShape [ |
32 | | - sh:datatype xsd:string ; |
33 | | - sh:message "As of UCO 1.4.0, the datatype to use for types:hashMethod should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ; |
34 | | - sh:path types:hashMethod ; |
35 | | - sh:severity sh:Warning ; |
36 | | - ] ; |
37 | | - sh:value "SHA256"^^vocabulary:HashNameVocab ; |
38 | | - ] , |
39 | | - [ |
40 | | - a sh:ValidationResult ; |
41 | | - sh:focusNode <http://example.org/kb/hash-bfa02feb-6184-5ca5-9ba3-272bf4367c5d> ; |
42 | | - sh:resultMessage "Value is not member of the vocabulary HashNameVocab." ; |
43 | | - sh:resultPath types:hashMethod ; |
44 | | - sh:resultSeverity sh:Info ; |
45 | | - sh:sourceConstraintComponent sh:InConstraintComponent ; |
46 | | - sh:sourceShape types:Hash-hashMethod-in-shape ; |
47 | | - sh:value "SHA256"^^vocabulary:HashNameVocab ; |
48 | | - ] , |
49 | | - [ |
50 | | - a sh:ValidationResult ; |
51 | | - sh:focusNode <http://example.org/kb/hash-c6cc7dd6-1bf9-5454-9653-37caff09411d> ; |
52 | | - sh:resultMessage "As of UCO 1.4.0, the datatype to use for types:hashMethod should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ; |
53 | | - sh:resultPath types:hashMethod ; |
54 | | - sh:resultSeverity sh:Warning ; |
55 | | - sh:sourceConstraintComponent sh:DatatypeConstraintComponent ; |
56 | | - sh:sourceShape [ |
57 | | - sh:datatype xsd:string ; |
58 | | - sh:message "As of UCO 1.4.0, the datatype to use for types:hashMethod should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ; |
59 | | - sh:path types:hashMethod ; |
60 | | - sh:severity sh:Warning ; |
61 | | - ] ; |
62 | | - sh:value "SHA256"^^vocabulary:HashNameVocab ; |
63 | | - ] , |
64 | | - [ |
65 | | - a sh:ValidationResult ; |
66 | | - sh:focusNode <http://example.org/kb/hash-c6cc7dd6-1bf9-5454-9653-37caff09411d> ; |
67 | | - sh:resultMessage "Value is not member of the vocabulary HashNameVocab." ; |
68 | | - sh:resultPath types:hashMethod ; |
69 | | - sh:resultSeverity sh:Info ; |
70 | | - sh:sourceConstraintComponent sh:InConstraintComponent ; |
71 | | - sh:sourceShape types:Hash-hashMethod-in-shape ; |
72 | | - sh:value "SHA256"^^vocabulary:HashNameVocab ; |
73 | | - ] |
74 | | - ; |
| 10 | + sh:conforms "true"^^xsd:boolean ; |
| 11 | + sh:result [ |
| 12 | + a sh:ValidationResult ; |
| 13 | + sh:focusNode <http://example.org/kb/account-facet-31df5a8a-fb9f-4fa6-85f9-cea13f4b9f03> ; |
| 14 | + sh:resultMessage "Value is not member of the vocabulary AccountTypeVocab." ; |
| 15 | + sh:resultPath uco-observable:accountType ; |
| 16 | + sh:resultSeverity sh:Info ; |
| 17 | + sh:sourceConstraintComponent sh:InConstraintComponent ; |
| 18 | + sh:sourceShape uco-observable:AccountFacet-accountType-in-shape ; |
| 19 | + sh:value "Phone" ; |
| 20 | + ] ; |
75 | 21 | . |
76 | 22 |
|
0 commit comments