@twin.org/standards-w3c-vcard 0.0.3-next.6 → 0.0.3-next.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/es/models/vcardContexts.js +12 -4
- package/dist/es/models/vcardContexts.js.map +1 -1
- package/dist/types/models/vcardContexts.d.ts +12 -4
- package/docs/changelog.md +392 -1
- package/docs/examples.md +20 -1
- package/docs/reference/variables/VCardContexts.md +15 -6
- package/docs/reference/variables/VCardPropertyType.md +11 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# TWIN Standards W3C
|
|
1
|
+
# TWIN Standards W3C vCard
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This package provides data models for the [W3C vCard RDF vocabulary](https://www.w3.org/TR/vcard-rdf/), supporting interoperable exchange of profile and contact information.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -6,10 +6,18 @@
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const VCardContexts = {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
10
|
-
* Based on W3C VCard Ontology.
|
|
11
|
-
* @see http://www.w3.org/2006/vcard/ns#
|
|
9
|
+
* The canonical RDF namespace URI.
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
Namespace: "http://www.w3.org/2006/vcard/ns#",
|
|
12
|
+
/**
|
|
13
|
+
* The value to use in @context.
|
|
14
|
+
* Note: Context matches Namespace (both include trailing hash) as per vCard specification.
|
|
15
|
+
* The vCard JSON-LD context URL format includes a trailing hash.
|
|
16
|
+
*/
|
|
17
|
+
Context: "http://www.w3.org/2006/vcard/ns#",
|
|
18
|
+
/**
|
|
19
|
+
* The JSON-LD Context URL.
|
|
20
|
+
*/
|
|
21
|
+
JsonLdContext: "http://www.w3.org/2006/vcard/ns#"
|
|
14
22
|
};
|
|
15
23
|
//# sourceMappingURL=vcardContexts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vcardContexts.js","sourceRoot":"","sources":["../../../src/models/vcardContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"vcardContexts.js","sourceRoot":"","sources":["../../../src/models/vcardContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,kCAAkC;IAE7C;;;;OAIG;IACH,OAAO,EAAE,kCAAkC;IAE3C;;OAEG;IACH,aAAa,EAAE,kCAAkC;CACxC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for VCard.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const VCardContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"http://www.w3.org/2006/vcard/ns#\",\n\n\t/**\n\t * The value to use in @context.\n\t * Note: Context matches Namespace (both include trailing hash) as per vCard specification.\n\t * The vCard JSON-LD context URL format includes a trailing hash.\n\t */\n\tContext: \"http://www.w3.org/2006/vcard/ns#\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"http://www.w3.org/2006/vcard/ns#\"\n} as const;\n\n/**\n * The contexts for VCard.\n */\nexport type VCardContexts = (typeof VCardContexts)[keyof typeof VCardContexts];\n"]}
|
|
@@ -3,11 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const VCardContexts: {
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
7
|
-
* Based on W3C VCard Ontology.
|
|
8
|
-
* @see http://www.w3.org/2006/vcard/ns#
|
|
6
|
+
* The canonical RDF namespace URI.
|
|
9
7
|
*/
|
|
10
|
-
readonly
|
|
8
|
+
readonly Namespace: "http://www.w3.org/2006/vcard/ns#";
|
|
9
|
+
/**
|
|
10
|
+
* The value to use in @context.
|
|
11
|
+
* Note: Context matches Namespace (both include trailing hash) as per vCard specification.
|
|
12
|
+
* The vCard JSON-LD context URL format includes a trailing hash.
|
|
13
|
+
*/
|
|
14
|
+
readonly Context: "http://www.w3.org/2006/vcard/ns#";
|
|
15
|
+
/**
|
|
16
|
+
* The JSON-LD Context URL.
|
|
17
|
+
*/
|
|
18
|
+
readonly JsonLdContext: "http://www.w3.org/2006/vcard/ns#";
|
|
11
19
|
};
|
|
12
20
|
/**
|
|
13
21
|
* The contexts for VCard.
|
package/docs/changelog.md
CHANGED
|
@@ -1,4 +1,395 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.0.3-next.60](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.59...standards-w3c-vcard-v0.0.3-next.60) (2026-04-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.59](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.58...standards-w3c-vcard-v0.0.3-next.59) (2026-04-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.58](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.57...standards-w3c-vcard-v0.0.3-next.58) (2026-03-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [0.0.3-next.57](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.56...standards-w3c-vcard-v0.0.3-next.57) (2026-03-20)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.56](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.55...standards-w3c-vcard-v0.0.3-next.56) (2026-03-20)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
## [0.0.3-next.55](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.54...standards-w3c-vcard-v0.0.3-next.55) (2026-03-19)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* update to new ts-ts-schema and generic constructs ([4dff991](https://github.com/twinfoundation/standards/commit/4dff991fb70de4320668641ed94abf8e9b06acad))
|
|
44
|
+
|
|
45
|
+
## [0.0.3-next.54](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.53...standards-w3c-vcard-v0.0.3-next.54) (2026-03-12)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Miscellaneous Chores
|
|
49
|
+
|
|
50
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
51
|
+
|
|
52
|
+
## [0.0.3-next.53](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.52...standards-w3c-vcard-v0.0.3-next.53) (2026-03-11)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Miscellaneous Chores
|
|
56
|
+
|
|
57
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
58
|
+
|
|
59
|
+
## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.51...standards-w3c-vcard-v0.0.3-next.52) (2026-03-10)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Miscellaneous Chores
|
|
63
|
+
|
|
64
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
65
|
+
|
|
66
|
+
## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.50...standards-w3c-vcard-v0.0.3-next.51) (2026-03-10)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Miscellaneous Chores
|
|
70
|
+
|
|
71
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
72
|
+
|
|
73
|
+
## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.49...standards-w3c-vcard-v0.0.3-next.50) (2026-03-09)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Miscellaneous Chores
|
|
77
|
+
|
|
78
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
79
|
+
|
|
80
|
+
## [0.0.3-next.49](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.48...standards-w3c-vcard-v0.0.3-next.49) (2026-03-06)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Miscellaneous Chores
|
|
84
|
+
|
|
85
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
86
|
+
|
|
87
|
+
## [0.0.3-next.48](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.47...standards-w3c-vcard-v0.0.3-next.48) (2026-03-06)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Miscellaneous Chores
|
|
91
|
+
|
|
92
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
93
|
+
|
|
94
|
+
## [0.0.3-next.47](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.46...standards-w3c-vcard-v0.0.3-next.47) (2026-03-06)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Miscellaneous Chores
|
|
98
|
+
|
|
99
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
100
|
+
|
|
101
|
+
## [0.0.3-next.46](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.45...standards-w3c-vcard-v0.0.3-next.46) (2026-03-05)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Miscellaneous Chores
|
|
105
|
+
|
|
106
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
107
|
+
|
|
108
|
+
## [0.0.3-next.45](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.44...standards-w3c-vcard-v0.0.3-next.45) (2026-03-04)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Miscellaneous Chores
|
|
112
|
+
|
|
113
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
114
|
+
|
|
115
|
+
## [0.0.3-next.44](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.43...standards-w3c-vcard-v0.0.3-next.44) (2026-03-04)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Miscellaneous Chores
|
|
119
|
+
|
|
120
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
121
|
+
|
|
122
|
+
## [0.0.3-next.43](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.42...standards-w3c-vcard-v0.0.3-next.43) (2026-02-25)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Miscellaneous Chores
|
|
126
|
+
|
|
127
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
128
|
+
|
|
129
|
+
## [0.0.3-next.42](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.41...standards-w3c-vcard-v0.0.3-next.42) (2026-02-25)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Miscellaneous Chores
|
|
133
|
+
|
|
134
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
135
|
+
|
|
136
|
+
## [0.0.3-next.41](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.40...standards-w3c-vcard-v0.0.3-next.41) (2026-02-23)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Miscellaneous Chores
|
|
140
|
+
|
|
141
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
142
|
+
|
|
143
|
+
## [0.0.3-next.40](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.39...standards-w3c-vcard-v0.0.3-next.40) (2026-02-18)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Miscellaneous Chores
|
|
147
|
+
|
|
148
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
149
|
+
|
|
150
|
+
## [0.0.3-next.39](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.38...standards-w3c-vcard-v0.0.3-next.39) (2026-02-13)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Miscellaneous Chores
|
|
154
|
+
|
|
155
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
156
|
+
|
|
157
|
+
## [0.0.3-next.38](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.37...standards-w3c-vcard-v0.0.3-next.38) (2026-02-13)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### Miscellaneous Chores
|
|
161
|
+
|
|
162
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
163
|
+
|
|
164
|
+
## [0.0.3-next.37](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.36...standards-w3c-vcard-v0.0.3-next.37) (2026-02-12)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Miscellaneous Chores
|
|
168
|
+
|
|
169
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
170
|
+
|
|
171
|
+
## [0.0.3-next.36](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.35...standards-w3c-vcard-v0.0.3-next.36) (2026-02-11)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Miscellaneous Chores
|
|
175
|
+
|
|
176
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
177
|
+
|
|
178
|
+
## [0.0.3-next.35](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.34...standards-w3c-vcard-v0.0.3-next.35) (2026-02-10)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Miscellaneous Chores
|
|
182
|
+
|
|
183
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
184
|
+
|
|
185
|
+
## [0.0.3-next.34](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.33...standards-w3c-vcard-v0.0.3-next.34) (2026-02-10)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Miscellaneous Chores
|
|
189
|
+
|
|
190
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
191
|
+
|
|
192
|
+
## [0.0.3-next.33](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.32...standards-w3c-vcard-v0.0.3-next.33) (2026-02-06)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Features
|
|
196
|
+
|
|
197
|
+
* add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
|
|
198
|
+
* add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
|
|
199
|
+
* add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
|
|
200
|
+
* eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
201
|
+
* improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
202
|
+
* update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
203
|
+
* update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
|
|
204
|
+
* update ts-to-schema generation ([0905daa](https://github.com/twinfoundation/standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
|
|
205
|
+
* use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Bug Fixes
|
|
209
|
+
|
|
210
|
+
* updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
|
|
211
|
+
|
|
212
|
+
## [0.0.3-next.32](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.31...standards-w3c-vcard-v0.0.3-next.32) (2026-02-06)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### Miscellaneous Chores
|
|
216
|
+
|
|
217
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
218
|
+
|
|
219
|
+
## [0.0.3-next.31](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.30...standards-w3c-vcard-v0.0.3-next.31) (2026-02-05)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
### Miscellaneous Chores
|
|
223
|
+
|
|
224
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
225
|
+
|
|
226
|
+
## [0.0.3-next.30](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.29...standards-w3c-vcard-v0.0.3-next.30) (2026-02-04)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Miscellaneous Chores
|
|
230
|
+
|
|
231
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
232
|
+
|
|
233
|
+
## [0.0.3-next.29](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.28...standards-w3c-vcard-v0.0.3-next.29) (2026-02-03)
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### Miscellaneous Chores
|
|
237
|
+
|
|
238
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
239
|
+
|
|
240
|
+
## [0.0.3-next.28](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.27...standards-w3c-vcard-v0.0.3-next.28) (2026-02-03)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### Miscellaneous Chores
|
|
244
|
+
|
|
245
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
246
|
+
|
|
247
|
+
## [0.0.3-next.27](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.26...standards-w3c-vcard-v0.0.3-next.27) (2026-02-03)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
### Miscellaneous Chores
|
|
251
|
+
|
|
252
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
253
|
+
|
|
254
|
+
## [0.0.3-next.26](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.25...standards-w3c-vcard-v0.0.3-next.26) (2026-02-02)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Miscellaneous Chores
|
|
258
|
+
|
|
259
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
260
|
+
|
|
261
|
+
## [0.0.3-next.25](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.24...standards-w3c-vcard-v0.0.3-next.25) (2026-02-02)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
### Miscellaneous Chores
|
|
265
|
+
|
|
266
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
267
|
+
|
|
268
|
+
## [0.0.3-next.24](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.23...standards-w3c-vcard-v0.0.3-next.24) (2026-01-30)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Miscellaneous Chores
|
|
272
|
+
|
|
273
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
274
|
+
|
|
275
|
+
## [0.0.3-next.23](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.22...standards-w3c-vcard-v0.0.3-next.23) (2026-01-30)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Miscellaneous Chores
|
|
279
|
+
|
|
280
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
281
|
+
|
|
282
|
+
## [0.0.3-next.22](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.21...standards-w3c-vcard-v0.0.3-next.22) (2026-01-29)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### Miscellaneous Chores
|
|
286
|
+
|
|
287
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
288
|
+
|
|
289
|
+
## [0.0.3-next.21](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.20...standards-w3c-vcard-v0.0.3-next.21) (2026-01-23)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Miscellaneous Chores
|
|
293
|
+
|
|
294
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
295
|
+
|
|
296
|
+
## [0.0.3-next.20](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.19...standards-w3c-vcard-v0.0.3-next.20) (2026-01-21)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### Miscellaneous Chores
|
|
300
|
+
|
|
301
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
302
|
+
|
|
303
|
+
## [0.0.3-next.19](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.18...standards-w3c-vcard-v0.0.3-next.19) (2026-01-21)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### Miscellaneous Chores
|
|
307
|
+
|
|
308
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
309
|
+
|
|
310
|
+
## [0.0.3-next.18](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.17...standards-w3c-vcard-v0.0.3-next.18) (2026-01-21)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
### Miscellaneous Chores
|
|
314
|
+
|
|
315
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
316
|
+
|
|
317
|
+
## [0.0.3-next.17](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.16...standards-w3c-vcard-v0.0.3-next.17) (2026-01-21)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### Bug Fixes
|
|
321
|
+
|
|
322
|
+
* updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
|
|
323
|
+
|
|
324
|
+
## [0.0.3-next.16](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.15...standards-w3c-vcard-v0.0.3-next.16) (2026-01-19)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
### Miscellaneous Chores
|
|
328
|
+
|
|
329
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
330
|
+
|
|
331
|
+
## [0.0.3-next.15](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.14...standards-w3c-vcard-v0.0.3-next.15) (2026-01-16)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
### Miscellaneous Chores
|
|
335
|
+
|
|
336
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
337
|
+
|
|
338
|
+
## [0.0.3-next.14](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.13...standards-w3c-vcard-v0.0.3-next.14) (2026-01-15)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
### Miscellaneous Chores
|
|
342
|
+
|
|
343
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
344
|
+
|
|
345
|
+
## [0.0.3-next.13](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.12...standards-w3c-vcard-v0.0.3-next.13) (2026-01-14)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Miscellaneous Chores
|
|
349
|
+
|
|
350
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
351
|
+
|
|
352
|
+
## [0.0.3-next.12](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.11...standards-w3c-vcard-v0.0.3-next.12) (2026-01-14)
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
### Miscellaneous Chores
|
|
356
|
+
|
|
357
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
358
|
+
|
|
359
|
+
## [0.0.3-next.11](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.10...standards-w3c-vcard-v0.0.3-next.11) (2026-01-14)
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### Features
|
|
363
|
+
|
|
364
|
+
* improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
365
|
+
|
|
366
|
+
## [0.0.3-next.10](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.9...standards-w3c-vcard-v0.0.3-next.10) (2026-01-13)
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### Miscellaneous Chores
|
|
370
|
+
|
|
371
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
372
|
+
|
|
373
|
+
## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.8...standards-w3c-vcard-v0.0.3-next.9) (2026-01-09)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Miscellaneous Chores
|
|
377
|
+
|
|
378
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
379
|
+
|
|
380
|
+
## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.7...standards-w3c-vcard-v0.0.3-next.8) (2026-01-08)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
### Miscellaneous Chores
|
|
384
|
+
|
|
385
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
386
|
+
|
|
387
|
+
## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.6...standards-w3c-vcard-v0.0.3-next.7) (2026-01-06)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### Miscellaneous Chores
|
|
391
|
+
|
|
392
|
+
* **standards-w3c-vcard:** Synchronize repo versions
|
|
2
393
|
|
|
3
394
|
## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-w3c-vcard-v0.0.3-next.5...standards-w3c-vcard-v0.0.3-next.6) (2025-12-03)
|
|
4
395
|
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Standards W3C vCard Examples
|
|
2
|
+
|
|
3
|
+
These snippets use shared context constants and common property keys to build contact objects.
|
|
4
|
+
|
|
5
|
+
## VCard Contexts And Properties
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { VCardContexts, VCardPropertyType } from '@twin.org/standards-w3c-vcard';
|
|
9
|
+
|
|
10
|
+
const card = {
|
|
11
|
+
'@context': VCardContexts.Context,
|
|
12
|
+
type: VCardPropertyType.Individual,
|
|
13
|
+
[VCardPropertyType.FormattedName]: 'Alex Example',
|
|
14
|
+
[VCardPropertyType.Email]: 'mailto:alex@example.org',
|
|
15
|
+
[VCardPropertyType.Phone]: 'tel:+44-20-1234-5678'
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
console.log(card.type); // Individual
|
|
19
|
+
console.log(card[VCardPropertyType.FormattedName]); // Alex Example
|
|
20
|
+
```
|
|
@@ -6,13 +6,22 @@ The contexts for VCard.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### Namespace {#namespace}
|
|
10
10
|
|
|
11
|
-
> `readonly` **
|
|
11
|
+
> `readonly` **Namespace**: `"http://www.w3.org/2006/vcard/ns#"` = `"http://www.w3.org/2006/vcard/ns#"`
|
|
12
12
|
|
|
13
|
-
The
|
|
14
|
-
Based on W3C VCard Ontology.
|
|
13
|
+
The canonical RDF namespace URI.
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
### Context {#context}
|
|
17
16
|
|
|
18
|
-
http://www.w3.org/2006/vcard/ns#
|
|
17
|
+
> `readonly` **Context**: `"http://www.w3.org/2006/vcard/ns#"` = `"http://www.w3.org/2006/vcard/ns#"`
|
|
18
|
+
|
|
19
|
+
The value to use in @context.
|
|
20
|
+
Note: Context matches Namespace (both include trailing hash) as per vCard specification.
|
|
21
|
+
The vCard JSON-LD context URL format includes a trailing hash.
|
|
22
|
+
|
|
23
|
+
### JsonLdContext {#jsonldcontext}
|
|
24
|
+
|
|
25
|
+
> `readonly` **JsonLdContext**: `"http://www.w3.org/2006/vcard/ns#"` = `"http://www.w3.org/2006/vcard/ns#"`
|
|
26
|
+
|
|
27
|
+
The JSON-LD Context URL.
|
|
@@ -7,67 +7,67 @@ Based on http://www.w3.org/2006/vcard/ns#
|
|
|
7
7
|
|
|
8
8
|
## Type Declaration
|
|
9
9
|
|
|
10
|
-
### FormattedName
|
|
10
|
+
### FormattedName {#formattedname}
|
|
11
11
|
|
|
12
12
|
> `readonly` **FormattedName**: `"fn"` = `"fn"`
|
|
13
13
|
|
|
14
14
|
Formatted name
|
|
15
15
|
|
|
16
|
-
### Email
|
|
16
|
+
### Email {#email}
|
|
17
17
|
|
|
18
18
|
> `readonly` **Email**: `"hasEmail"` = `"hasEmail"`
|
|
19
19
|
|
|
20
20
|
Email address
|
|
21
21
|
|
|
22
|
-
### Organization
|
|
22
|
+
### Organization {#organization}
|
|
23
23
|
|
|
24
24
|
> `readonly` **Organization**: `"Organization"` = `"Organization"`
|
|
25
25
|
|
|
26
26
|
Organization type
|
|
27
27
|
|
|
28
|
-
### Group
|
|
28
|
+
### Group {#group}
|
|
29
29
|
|
|
30
30
|
> `readonly` **Group**: `"Group"` = `"Group"`
|
|
31
31
|
|
|
32
32
|
Group type
|
|
33
33
|
|
|
34
|
-
### Individual
|
|
34
|
+
### Individual {#individual}
|
|
35
35
|
|
|
36
36
|
> `readonly` **Individual**: `"Individual"` = `"Individual"`
|
|
37
37
|
|
|
38
38
|
Individual type
|
|
39
39
|
|
|
40
|
-
### Address
|
|
40
|
+
### Address {#address}
|
|
41
41
|
|
|
42
42
|
> `readonly` **Address**: `"Address"` = `"Address"`
|
|
43
43
|
|
|
44
44
|
Address
|
|
45
45
|
|
|
46
|
-
### Phone
|
|
46
|
+
### Phone {#phone}
|
|
47
47
|
|
|
48
48
|
> `readonly` **Phone**: `"hasTelephone"` = `"hasTelephone"`
|
|
49
49
|
|
|
50
50
|
Phone number
|
|
51
51
|
|
|
52
|
-
### Url
|
|
52
|
+
### Url {#url}
|
|
53
53
|
|
|
54
54
|
> `readonly` **Url**: `"hasUrl"` = `"hasUrl"`
|
|
55
55
|
|
|
56
56
|
URL
|
|
57
57
|
|
|
58
|
-
### Nickname
|
|
58
|
+
### Nickname {#nickname}
|
|
59
59
|
|
|
60
60
|
> `readonly` **Nickname**: `"nickname"` = `"nickname"`
|
|
61
61
|
|
|
62
62
|
Nickname
|
|
63
63
|
|
|
64
|
-
### Birthday
|
|
64
|
+
### Birthday {#birthday}
|
|
65
65
|
|
|
66
66
|
> `readonly` **Birthday**: `"bday"` = `"bday"`
|
|
67
67
|
|
|
68
68
|
Birthday
|
|
69
69
|
|
|
70
|
-
### Photo
|
|
70
|
+
### Photo {#photo}
|
|
71
71
|
|
|
72
72
|
> `readonly` **Photo**: `"hasPhoto"` = `"hasPhoto"`
|
|
73
73
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-w3c-vcard",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3-next.60",
|
|
4
|
+
"description": "Data models for the W3C vCard RDF vocabulary.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/twinfoundation/standards.git",
|