@twin.org/standards-w3c-odrl 0.9.1-next.2 → 0.9.1-next.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOdrlPartyCollection.js","sourceRoot":"","sources":["../../../src/models/IOdrlPartyCollection.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IOdrlConstraint } from \"./IOdrlConstraint.js\";\nimport type { IOdrlLogicalConstraint } from \"./IOdrlLogicalConstraint.js\";\nimport type { IOdrlParty } from \"./IOdrlParty.js\";\n\n/**\n * Interface for ODRL Party Collections.\n * A PartyCollection identifies a collection of entities and is a subclass of Party.\n * https://www.w3.org/TR/odrl-model/#party\n */\nexport interface IOdrlPartyCollection extends IOdrlParty {\n\t/**\n\t * Reference to the source of the party collection.\n\t * Used to identify the origin or location of the collection.\n\t */\n\tsource
|
|
1
|
+
{"version":3,"file":"IOdrlPartyCollection.js","sourceRoot":"","sources":["../../../src/models/IOdrlPartyCollection.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IOdrlConstraint } from \"./IOdrlConstraint.js\";\nimport type { IOdrlLogicalConstraint } from \"./IOdrlLogicalConstraint.js\";\nimport type { IOdrlParty } from \"./IOdrlParty.js\";\n\n/**\n * Interface for ODRL Party Collections.\n * A PartyCollection identifies a collection of entities and is a subclass of Party.\n * https://www.w3.org/TR/odrl-model/#party\n */\nexport interface IOdrlPartyCollection extends IOdrlParty {\n\t/**\n\t * Reference to the source of the party collection.\n\t * Used to identify the origin or location of the collection.\n\t * Omit to scope the collection entirely by its refinement instead.\n\t */\n\tsource?: string;\n\n\t/**\n\t * Refinements applied to the party collection.\n\t * Used to specify constraints that apply to all members of the collection.\n\t */\n\trefinement?: ObjectOrArray<IOdrlConstraint | IOdrlLogicalConstraint>;\n}\n"]}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"properties": {
|
|
8
8
|
"source": {
|
|
9
9
|
"type": "string",
|
|
10
|
-
"description": "Reference to the source of the party collection.\nUsed to identify the origin or location of the collection."
|
|
10
|
+
"description": "Reference to the source of the party collection.\nUsed to identify the origin or location of the collection.\nOmit to scope the collection entirely by its refinement instead."
|
|
11
11
|
},
|
|
12
12
|
"refinement": {
|
|
13
13
|
"anyOf": [
|
|
@@ -34,9 +34,6 @@
|
|
|
34
34
|
"description": "Refinements applied to the party collection.\nUsed to specify constraints that apply to all members of the collection."
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
"required": [
|
|
38
|
-
"source"
|
|
39
|
-
],
|
|
40
37
|
"allOf": [
|
|
41
38
|
{
|
|
42
39
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
@@ -11,8 +11,9 @@ export interface IOdrlPartyCollection extends IOdrlParty {
|
|
|
11
11
|
/**
|
|
12
12
|
* Reference to the source of the party collection.
|
|
13
13
|
* Used to identify the origin or location of the collection.
|
|
14
|
+
* Omit to scope the collection entirely by its refinement instead.
|
|
14
15
|
*/
|
|
15
|
-
source
|
|
16
|
+
source?: string;
|
|
16
17
|
/**
|
|
17
18
|
* Refinements applied to the party collection.
|
|
18
19
|
* Used to specify constraints that apply to all members of the collection.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1-next.4](https://github.com/iotaledger/twin-standards/compare/standards-w3c-odrl-v0.9.1-next.3...standards-w3c-odrl-v0.9.1-next.4) (2026-07-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-w3c-vcard bumped from 0.9.1-next.3 to 0.9.1-next.4
|
|
16
|
+
* @twin.org/standards-dublin-core bumped from 0.9.1-next.3 to 0.9.1-next.4
|
|
17
|
+
|
|
18
|
+
## [0.9.1-next.3](https://github.com/iotaledger/twin-standards/compare/standards-w3c-odrl-v0.9.1-next.2...standards-w3c-odrl-v0.9.1-next.3) (2026-07-16)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* make IOdrlPartyCollection.source optional to match supported usage ([#256](https://github.com/iotaledger/twin-standards/issues/256)) ([866111b](https://github.com/iotaledger/twin-standards/commit/866111b6870533b414a83ef2b285ab81a9447065))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/standards-w3c-vcard bumped from 0.9.1-next.2 to 0.9.1-next.3
|
|
31
|
+
* @twin.org/standards-dublin-core bumped from 0.9.1-next.2 to 0.9.1-next.3
|
|
32
|
+
|
|
3
33
|
## [0.9.1-next.2](https://github.com/iotaledger/twin-standards/compare/standards-w3c-odrl-v0.9.1-next.1...standards-w3c-odrl-v0.9.1-next.2) (2026-06-26)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -78,12 +78,13 @@ the assigner functional role of all the Rules of that Policy.
|
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
81
|
-
### source {#source}
|
|
81
|
+
### source? {#source}
|
|
82
82
|
|
|
83
|
-
> **source
|
|
83
|
+
> `optional` **source?**: `string`
|
|
84
84
|
|
|
85
85
|
Reference to the source of the party collection.
|
|
86
86
|
Used to identify the origin or location of the collection.
|
|
87
|
+
Omit to scope the collection entirely by its refinement instead.
|
|
87
88
|
|
|
88
89
|
***
|
|
89
90
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-w3c-odrl",
|
|
3
|
-
"version": "0.9.1-next.
|
|
3
|
+
"version": "0.9.1-next.4",
|
|
4
4
|
"description": "Data models for the W3C ODRL information model.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -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-dublin-core": "0.9.1-next.
|
|
21
|
-
"@twin.org/standards-w3c-vcard": "0.9.1-next.
|
|
20
|
+
"@twin.org/standards-dublin-core": "0.9.1-next.4",
|
|
21
|
+
"@twin.org/standards-w3c-vcard": "0.9.1-next.4",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|