@twin.org/standards-dataspace-protocol 0.0.3-next.63 → 0.0.3-next.65

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.
@@ -121,7 +121,110 @@
121
121
  "dcterms:publisher": {
122
122
  "anyOf": [
123
123
  {
124
- "$ref": "https://schema.twindev.org/dataspace-protocol/FoafAgentWithAliases"
124
+ "description": "A FOAF Agent.",
125
+ "type": "object",
126
+ "properties": {
127
+ "@context": {
128
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
129
+ "description": "The LD Context.",
130
+ "$comment": "Inherited from FoafAgent"
131
+ },
132
+ "@id": {
133
+ "type": "string",
134
+ "description": "The unique identifier for the FOAF object.",
135
+ "$comment": "Inherited from FoafBaseObject"
136
+ },
137
+ "foaf:name": {
138
+ "type": "string",
139
+ "description": "A name for some thing.",
140
+ "$comment": "Inherited from FoafBaseObject"
141
+ },
142
+ "foaf:title": {
143
+ "type": "string",
144
+ "description": "Title (Mr, Mrs, Ms, Dr. etc)",
145
+ "$comment": "Inherited from FoafBaseObject"
146
+ },
147
+ "foaf:mbox": {
148
+ "type": "string",
149
+ "description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
150
+ "$comment": "Inherited from FoafBaseObject"
151
+ },
152
+ "foaf:homepage": {
153
+ "type": "string",
154
+ "description": "A homepage for some thing.",
155
+ "$comment": "Inherited from FoafBaseObject"
156
+ },
157
+ "foaf:depiction": {
158
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
159
+ "description": "A depiction of some thing.",
160
+ "$comment": "Inherited from FoafBaseObject"
161
+ },
162
+ "@type": {
163
+ "anyOf": [
164
+ {
165
+ "const": "Agent"
166
+ },
167
+ {
168
+ "const": "Person"
169
+ },
170
+ {
171
+ "const": "Organization"
172
+ },
173
+ {
174
+ "const": "Group"
175
+ },
176
+ {
177
+ "type": "string"
178
+ }
179
+ ],
180
+ "description": "Type.",
181
+ "$comment": "Inherited from FoafAgent"
182
+ },
183
+ "foaf:age": {
184
+ "type": "number",
185
+ "description": "The age in years of some agent.",
186
+ "$comment": "Inherited from FoafAgent"
187
+ },
188
+ "foaf:made": {
189
+ "anyOf": [
190
+ {
191
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
192
+ },
193
+ {
194
+ "type": "array",
195
+ "items": {
196
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
197
+ }
198
+ }
199
+ ],
200
+ "description": "Something that was made by this agent.",
201
+ "$comment": "Inherited from FoafAgent"
202
+ },
203
+ "foaf:weblog": {
204
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
205
+ "description": "A weblog of some thing (whether person, group, company etc.).",
206
+ "$comment": "Inherited from FoafAgent"
207
+ },
208
+ "foaf:openid": {
209
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
210
+ "description": "An OpenID for an agent.",
211
+ "$comment": "Inherited from FoafAgent"
212
+ },
213
+ "foaf:interest": {
214
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
215
+ "description": "A page about a topic of interest to this person.",
216
+ "$comment": "Inherited from FoafAgent"
217
+ },
218
+ "foaf:topic_interest": {
219
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
220
+ "description": "A thing of interest to this person.",
221
+ "$comment": "Inherited from FoafAgent"
222
+ }
223
+ },
224
+ "required": [
225
+ "@type"
226
+ ],
227
+ "$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
125
228
  },
126
229
  {
127
230
  "type": "string"
@@ -133,7 +236,110 @@
133
236
  "dcterms:creator": {
134
237
  "anyOf": [
135
238
  {
136
- "$ref": "https://schema.twindev.org/dataspace-protocol/FoafAgentWithAliases"
239
+ "description": "A FOAF Agent.",
240
+ "type": "object",
241
+ "properties": {
242
+ "@context": {
243
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
244
+ "description": "The LD Context.",
245
+ "$comment": "Inherited from FoafAgent"
246
+ },
247
+ "@id": {
248
+ "type": "string",
249
+ "description": "The unique identifier for the FOAF object.",
250
+ "$comment": "Inherited from FoafBaseObject"
251
+ },
252
+ "foaf:name": {
253
+ "type": "string",
254
+ "description": "A name for some thing.",
255
+ "$comment": "Inherited from FoafBaseObject"
256
+ },
257
+ "foaf:title": {
258
+ "type": "string",
259
+ "description": "Title (Mr, Mrs, Ms, Dr. etc)",
260
+ "$comment": "Inherited from FoafBaseObject"
261
+ },
262
+ "foaf:mbox": {
263
+ "type": "string",
264
+ "description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
265
+ "$comment": "Inherited from FoafBaseObject"
266
+ },
267
+ "foaf:homepage": {
268
+ "type": "string",
269
+ "description": "A homepage for some thing.",
270
+ "$comment": "Inherited from FoafBaseObject"
271
+ },
272
+ "foaf:depiction": {
273
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
274
+ "description": "A depiction of some thing.",
275
+ "$comment": "Inherited from FoafBaseObject"
276
+ },
277
+ "@type": {
278
+ "anyOf": [
279
+ {
280
+ "const": "Agent"
281
+ },
282
+ {
283
+ "const": "Person"
284
+ },
285
+ {
286
+ "const": "Organization"
287
+ },
288
+ {
289
+ "const": "Group"
290
+ },
291
+ {
292
+ "type": "string"
293
+ }
294
+ ],
295
+ "description": "Type.",
296
+ "$comment": "Inherited from FoafAgent"
297
+ },
298
+ "foaf:age": {
299
+ "type": "number",
300
+ "description": "The age in years of some agent.",
301
+ "$comment": "Inherited from FoafAgent"
302
+ },
303
+ "foaf:made": {
304
+ "anyOf": [
305
+ {
306
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
307
+ },
308
+ {
309
+ "type": "array",
310
+ "items": {
311
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
312
+ }
313
+ }
314
+ ],
315
+ "description": "Something that was made by this agent.",
316
+ "$comment": "Inherited from FoafAgent"
317
+ },
318
+ "foaf:weblog": {
319
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
320
+ "description": "A weblog of some thing (whether person, group, company etc.).",
321
+ "$comment": "Inherited from FoafAgent"
322
+ },
323
+ "foaf:openid": {
324
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
325
+ "description": "An OpenID for an agent.",
326
+ "$comment": "Inherited from FoafAgent"
327
+ },
328
+ "foaf:interest": {
329
+ "$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
330
+ "description": "A page about a topic of interest to this person.",
331
+ "$comment": "Inherited from FoafAgent"
332
+ },
333
+ "foaf:topic_interest": {
334
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
335
+ "description": "A thing of interest to this person.",
336
+ "$comment": "Inherited from FoafAgent"
337
+ }
338
+ },
339
+ "required": [
340
+ "@type"
341
+ ],
342
+ "$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
137
343
  },
138
344
  {
139
345
  "type": "string"
package/docs/changelog.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.65](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.64...standards-dataspace-protocol-v0.0.3-next.65) (2026-06-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * dcat resource optional context for policy ([#231](https://github.com/iotaledger/twin-standards/issues/231)) ([2dd5a55](https://github.com/iotaledger/twin-standards/commit/2dd5a553ec43f811bb9c4f65f0fff976d7074101))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/standards-w3c-dcat bumped from 0.0.3-next.64 to 0.0.3-next.65
16
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.64 to 0.0.3-next.65
17
+ * devDependencies
18
+ * @twin.org/standards-ld-contexts bumped from 0.0.3-next.64 to 0.0.3-next.65
19
+
20
+ ## [0.0.3-next.64](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.63...standards-dataspace-protocol-v0.0.3-next.64) (2026-06-01)
21
+
22
+
23
+ ### Miscellaneous Chores
24
+
25
+ * **standards-dataspace-protocol:** Synchronize repo versions
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * The following workspace dependencies were updated
31
+ * dependencies
32
+ * @twin.org/standards-w3c-dcat bumped from 0.0.3-next.63 to 0.0.3-next.64
33
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.63 to 0.0.3-next.64
34
+ * devDependencies
35
+ * @twin.org/standards-ld-contexts bumped from 0.0.3-next.63 to 0.0.3-next.64
36
+
3
37
  ## [0.0.3-next.63](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.62...standards-dataspace-protocol-v0.0.3-next.63) (2026-05-19)
4
38
 
5
39
 
@@ -393,7 +393,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
393
393
 
394
394
  ### dcterms:publisher? {#dctermspublisher}
395
395
 
396
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
396
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
397
397
 
398
398
  An entity responsible for making the resource available.
399
399
 
@@ -409,7 +409,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
409
409
 
410
410
  ### dcterms:creator? {#dctermscreator}
411
411
 
412
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
412
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
413
413
 
414
414
  An entity responsible for producing the resource.
415
415
 
@@ -585,7 +585,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
585
585
 
586
586
  ### odrl:hasPolicy? {#odrlhaspolicy}
587
587
 
588
- > `optional` **odrl:hasPolicy?**: `IOdrlPolicy`
588
+ > `optional` **odrl:hasPolicy?**: `JsonLdObjectWithOptionalContext`\<`IOdrlPolicy`\>
589
589
 
590
590
  An ODRL conformant policy expressing the rights associated with the resource.
591
591
 
@@ -365,7 +365,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
365
365
 
366
366
  ### dcterms:publisher? {#dctermspublisher}
367
367
 
368
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
368
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
369
369
 
370
370
  An entity responsible for making the resource available.
371
371
 
@@ -381,7 +381,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
381
381
 
382
382
  ### dcterms:creator? {#dctermscreator}
383
383
 
384
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
384
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
385
385
 
386
386
  An entity responsible for producing the resource.
387
387
 
@@ -557,7 +557,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
557
557
 
558
558
  ### odrl:hasPolicy? {#odrlhaspolicy}
559
559
 
560
- > `optional` **odrl:hasPolicy?**: `IOdrlPolicy`
560
+ > `optional` **odrl:hasPolicy?**: `JsonLdObjectWithOptionalContext`\<`IOdrlPolicy`\>
561
561
 
562
562
  An ODRL conformant policy expressing the rights associated with the resource.
563
563
 
@@ -198,7 +198,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
198
198
 
199
199
  ### dcterms:publisher? {#dctermspublisher}
200
200
 
201
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
201
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
202
202
 
203
203
  An entity responsible for making the resource available.
204
204
 
@@ -214,7 +214,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
214
214
 
215
215
  ### dcterms:creator? {#dctermscreator}
216
216
 
217
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
217
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
218
218
 
219
219
  An entity responsible for producing the resource.
220
220
 
@@ -390,7 +390,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
390
390
 
391
391
  ### odrl:hasPolicy? {#odrlhaspolicy}
392
392
 
393
- > `optional` **odrl:hasPolicy?**: `IOdrlPolicy`
393
+ > `optional` **odrl:hasPolicy?**: `JsonLdObjectWithOptionalContext`\<`IOdrlPolicy`\>
394
394
 
395
395
  An ODRL conformant policy expressing the rights associated with the resource.
396
396
 
@@ -182,7 +182,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
182
182
 
183
183
  ### dcterms:publisher? {#dctermspublisher}
184
184
 
185
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
185
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
186
186
 
187
187
  An entity responsible for making the resource available.
188
188
 
@@ -198,7 +198,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
198
198
 
199
199
  ### dcterms:creator? {#dctermscreator}
200
200
 
201
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
201
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
202
202
 
203
203
  An entity responsible for producing the resource.
204
204
 
@@ -374,7 +374,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
374
374
 
375
375
  ### odrl:hasPolicy? {#odrlhaspolicy}
376
376
 
377
- > `optional` **odrl:hasPolicy?**: `IOdrlPolicy`
377
+ > `optional` **odrl:hasPolicy?**: `JsonLdObjectWithOptionalContext`\<`IOdrlPolicy`\>
378
378
 
379
379
  An ODRL conformant policy expressing the rights associated with the resource.
380
380
 
@@ -311,7 +311,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
311
311
 
312
312
  ### dcterms:publisher? {#dctermspublisher}
313
313
 
314
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
314
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
315
315
 
316
316
  An entity responsible for making the resource available.
317
317
 
@@ -327,7 +327,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
327
327
 
328
328
  ### dcterms:creator? {#dctermscreator}
329
329
 
330
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
330
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
331
331
 
332
332
  An entity responsible for producing the resource.
333
333
 
@@ -295,7 +295,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
295
295
 
296
296
  ### dcterms:publisher? {#dctermspublisher}
297
297
 
298
- > `optional` **dcterms:publisher?**: `string` \| `IFoafAgentWithAliases`
298
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
299
299
 
300
300
  An entity responsible for making the resource available.
301
301
 
@@ -311,7 +311,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
311
311
 
312
312
  ### dcterms:creator? {#dctermscreator}
313
313
 
314
- > `optional` **dcterms:creator?**: `string` \| `IFoafAgentWithAliases`
314
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
315
315
 
316
316
  An entity responsible for producing the resource.
317
317
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dataspace-protocol",
3
- "version": "0.0.3-next.63",
3
+ "version": "0.0.3-next.65",
4
4
  "description": "Data models for the Dataspace Protocol specification.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/iotaledger/standards.git",
7
+ "url": "git+https://github.com/iotaledger/twin-standards.git",
8
8
  "directory": "packages/standards-dataspace-protocol"
9
9
  },
10
10
  "author": "martyn.janes@iota.org",
@@ -17,8 +17,8 @@
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/data-core": "next",
19
19
  "@twin.org/data-json-ld": "next",
20
- "@twin.org/standards-w3c-dcat": "0.0.3-next.63",
21
- "@twin.org/standards-w3c-odrl": "0.0.3-next.63",
20
+ "@twin.org/standards-w3c-dcat": "0.0.3-next.65",
21
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.65",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",
@@ -48,7 +48,7 @@
48
48
  "specification"
49
49
  ],
50
50
  "bugs": {
51
- "url": "git+https://github.com/iotaledger/standards/issues"
51
+ "url": "git+https://github.com/iotaledger/twin-standards/issues"
52
52
  },
53
53
  "homepage": "https://twindev.org"
54
54
  }