-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserprofiles.shex
More file actions
68 lines (63 loc) · 2.58 KB
/
userprofiles.shex
File metadata and controls
68 lines (63 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://janeirodigital.com/ns#layout>
START=@<#UserProfile>
<#UserProfile> {
vcard:fn xsd:string MINLENGTH 1 MAXLENGTH 64 {1}
// rdfs:label "Name"@en
// rdfs:label "Nombre"@es ;
vcard:role xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Role"@en
// rdfs:label "Rol"@es ;
vcard:organization-name xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Company"@en
// rdfs:label "CompañÃa"@es ;
vcard:hasAddress @<#UserProfileAddress> *
// rdfs:label "Address"@en
// rdfs:label "Dirección"@es ;
vcard:hasEmail @<#UserProfileEmail> *
// rdfs:label "Email"@en
// rdfs:label "Correo"@es ;
vcard:hasTelephone @<#UserProfileTelephone> *
// rdfs:label "Phone"@en
// rdfs:label "Teléfono"@es ;
vcard:note xsd:string MINLENGTH 0 MAXLENGTH 10000 {1}
// rdfs:label "General Notes"@en
// rdfs:label "Notas generales"@es ;
}
<#UserProfileEmail> CLOSED {
a [vcard:Dom vcard:Home vcard:ISDN vcard:Internet vcard:Intl vcard:Label vcard:Parcel vcard:Postal vcard:Pref vcard:Work vcard:X400] {1}
// rdfs:label "Type"@en
// rdfs:label "Tipo"@es ;
vcard:value xsd:string /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/ {1}
// rdfs:label "Email"@en
// rdfs:label "Correo"@es
// :prefix "mailto:";
}
<#UserProfileAddress> CLOSED {
vcard:street-address xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Street Address"@en
// rdfs:label "Dirección"@es ;
vcard:locality xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Locality"@en
// rdfs:label "Localidad"@es ;
vcard:postal-code xsd:string MINLENGTH 0 MAXLENGTH 16 {1}
// rdfs:label "Postal Code"@en
// rdfs:label "Código Postal"@es ;
vcard:region xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Region"@en
// rdfs:label "Región"@es ;
vcard:country-name xsd:string MINLENGTH 0 MAXLENGTH 64 {1}
// rdfs:label "Country"@en
// rdfs:label "Pais"@es ;
}
<#UserProfileTelephone> CLOSED {
a [vcard:Dom vcard:Home vcard:ISDN vcard:Internet vcard:Intl vcard:Label vcard:Parcel vcard:Postal vcard:Pref vcard:Work vcard:X400] {1}
// rdfs:label "Type"@en
// rdfs:label "Tipo"@es ;
vcard:value xsd:string /^\+?[0-9]+[0-9-]*[0-9]$/ {1}
// rdfs:label "Phone"@en
// rdfs:label "Teléfono"@es
// :prefix "tel:" ;
}