Skip to content

Commit 6d39a8f

Browse files
committed
add node shape for vcard:Individual
1 parent 8ca9a40 commit 6d39a8f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

shapes/vcard.ttl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
55
@prefix dct: <http://purl.org/dc/terms/> .
66
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
7+
@prefix prov: <http://www.w3.org/ns/prov#> .
78

89
@prefix vcard_shape: <https://solidproject.org/shapes/vcard#> .
910

@@ -209,4 +210,27 @@ vcard_shape:AddressShape
209210
sh:description "Country Name";
210211
sh:codeIdentifier "countryName";
211212
] ;
213+
.
214+
215+
#################################################################
216+
# Individual Shape
217+
#################################################################
218+
219+
vcard_shape:VCardIndividualShape
220+
a sh:NodeShape ;
221+
sh:targetClass vcard:Individual ;
222+
sh:name "vCard Individual Shape" ;
223+
sh:description "An object representing a single person or entity" ;
224+
dct:created "2026-04-13"^^xsd:date ;
225+
vs:term_status "testing" ;
226+
dct:references <https://www.w3.org/2006/vcard/ns> ;
227+
prov:wasDerivedFrom <https://www.w3.org/2006/vcard/ns> ;
228+
sh:description "This shape validates vCard Individual data" ;
229+
sh:codeIdentifier "Individual";
230+
231+
sh:and (
232+
vcard_shape:VCardShape
233+
)
234+
235+
212236
.

0 commit comments

Comments
 (0)