@twin.org/standards-w3c-odrl 0.0.2-next.1 → 0.0.2-next.10
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/dist/cjs/index.cjs +335 -613
- package/dist/esm/index.mjs +336 -613
- package/dist/types/index.d.ts +0 -2
- package/dist/types/models/IOdrlAction.d.ts +3 -2
- package/dist/types/models/IOdrlAgreement.d.ts +1 -0
- package/dist/types/models/IOdrlAsset.d.ts +1 -0
- package/dist/types/models/IOdrlAssetCollection.d.ts +1 -0
- package/dist/types/models/IOdrlConstraint.d.ts +1 -0
- package/dist/types/models/IOdrlDuty.d.ts +1 -0
- package/dist/types/models/IOdrlLogicalConstraint.d.ts +1 -0
- package/dist/types/models/IOdrlOffer.d.ts +1 -0
- package/dist/types/models/IOdrlParty.d.ts +1 -0
- package/dist/types/models/IOdrlPartyCollection.d.ts +1 -0
- package/dist/types/models/IOdrlPermission.d.ts +1 -0
- package/dist/types/models/IOdrlPolicy.d.ts +2 -1
- package/dist/types/models/IOdrlProhibition.d.ts +1 -0
- package/dist/types/models/IOdrlRule.d.ts +2 -1
- package/dist/types/models/IOdrlSet.d.ts +1 -0
- package/dist/types/models/types/actionType.d.ts +116 -97
- package/dist/types/models/types/odrlTypes.d.ts +0 -4
- package/docs/changelog.md +135 -0
- package/docs/reference/index.md +0 -3
- package/docs/reference/interfaces/IOdrlAction.md +4 -3
- package/docs/reference/interfaces/IOdrlAgreement.md +3 -2
- package/docs/reference/interfaces/IOdrlAsset.md +2 -1
- package/docs/reference/interfaces/IOdrlAssetCollection.md +2 -1
- package/docs/reference/interfaces/IOdrlConstraint.md +2 -1
- package/docs/reference/interfaces/IOdrlDuty.md +3 -2
- package/docs/reference/interfaces/IOdrlLogicalConstraint.md +2 -1
- package/docs/reference/interfaces/IOdrlOffer.md +3 -2
- package/docs/reference/interfaces/IOdrlParty.md +2 -1
- package/docs/reference/interfaces/IOdrlPartyCollection.md +2 -1
- package/docs/reference/interfaces/IOdrlPermission.md +3 -2
- package/docs/reference/interfaces/IOdrlPolicy.md +3 -2
- package/docs/reference/interfaces/IOdrlProhibition.md +3 -2
- package/docs/reference/interfaces/IOdrlRule.md +3 -2
- package/docs/reference/interfaces/IOdrlSet.md +3 -2
- package/docs/reference/variables/ActionType.md +169 -142
- package/docs/reference/variables/ConflictStrategyType.md +1 -1
- package/docs/reference/variables/LeftOperandType.md +1 -1
- package/docs/reference/variables/LogicalConstraintType.md +1 -1
- package/docs/reference/variables/OdrlContexts.md +1 -1
- package/docs/reference/variables/OdrlTypes.md +1 -7
- package/docs/reference/variables/OperatorType.md +1 -1
- package/docs/reference/variables/PolicyType.md +1 -1
- package/docs/reference/variables/RightOperandType.md +1 -1
- package/docs/reference/variables/RuleType.md +1 -1
- package/docs/reference/variables/StatusType.md +1 -1
- package/package.json +3 -3
- package/dist/types/models/IOdrlPolicyMetadata.d.ts +0 -58
- package/dist/types/models/types/uriActionType.d.ts +0 -215
- package/docs/reference/interfaces/IOdrlPolicyMetadata.md +0 -86
- package/docs/reference/type-aliases/UriActionType.md +0 -6
- package/docs/reference/variables/UriActionType.md +0 -314
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,140 @@
|
|
|
1
1
|
# @twin.org/standards-w3c-odrl - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.9...standards-w3c-odrl-v0.0.2-next.10) (2025-09-16)
|
|
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.0.2-next.9 to 0.0.2-next.10
|
|
16
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
17
|
+
|
|
18
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.8...standards-w3c-odrl-v0.0.2-next.9) (2025-09-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
31
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
32
|
+
|
|
33
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.7...standards-w3c-odrl-v0.0.2-next.8) (2025-09-15)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Miscellaneous Chores
|
|
37
|
+
|
|
38
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Dependencies
|
|
42
|
+
|
|
43
|
+
* The following workspace dependencies were updated
|
|
44
|
+
* dependencies
|
|
45
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
46
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
47
|
+
|
|
48
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.6...standards-w3c-odrl-v0.0.2-next.7) (2025-09-15)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Miscellaneous Chores
|
|
52
|
+
|
|
53
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Dependencies
|
|
57
|
+
|
|
58
|
+
* The following workspace dependencies were updated
|
|
59
|
+
* dependencies
|
|
60
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
61
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
62
|
+
|
|
63
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.5...standards-w3c-odrl-v0.0.2-next.6) (2025-09-12)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* update ODRL actions and allow custom actions ([c517dad](https://github.com/twinfoundation/standards/commit/c517dad09d68f5dee9117c6cb142f75caad098c4))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Dependencies
|
|
72
|
+
|
|
73
|
+
* The following workspace dependencies were updated
|
|
74
|
+
* dependencies
|
|
75
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
76
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
77
|
+
|
|
78
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.4...standards-w3c-odrl-v0.0.2-next.5) (2025-09-12)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Miscellaneous Chores
|
|
82
|
+
|
|
83
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Dependencies
|
|
87
|
+
|
|
88
|
+
* The following workspace dependencies were updated
|
|
89
|
+
* dependencies
|
|
90
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
91
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
92
|
+
|
|
93
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.3...standards-w3c-odrl-v0.0.2-next.4) (2025-09-12)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Miscellaneous Chores
|
|
97
|
+
|
|
98
|
+
* **standards-w3c-odrl:** Synchronize repo versions
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Dependencies
|
|
102
|
+
|
|
103
|
+
* The following workspace dependencies were updated
|
|
104
|
+
* dependencies
|
|
105
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
106
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
107
|
+
|
|
108
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.2...standards-w3c-odrl-v0.0.2-next.3) (2025-08-29)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
* eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Dependencies
|
|
117
|
+
|
|
118
|
+
* The following workspace dependencies were updated
|
|
119
|
+
* dependencies
|
|
120
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
121
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
122
|
+
|
|
123
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.1...standards-w3c-odrl-v0.0.2-next.2) (2025-08-19)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Features
|
|
127
|
+
|
|
128
|
+
* update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Dependencies
|
|
132
|
+
|
|
133
|
+
* The following workspace dependencies were updated
|
|
134
|
+
* dependencies
|
|
135
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
136
|
+
* @twin.org/standards-dublin-core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
137
|
+
|
|
3
138
|
## [0.0.2-next.1](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.2-next.0...standards-w3c-odrl-v0.0.2-next.1) (2025-07-14)
|
|
4
139
|
|
|
5
140
|
|
package/docs/reference/index.md
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
- [IOdrlPartyCollection](interfaces/IOdrlPartyCollection.md)
|
|
19
19
|
- [IOdrlPermission](interfaces/IOdrlPermission.md)
|
|
20
20
|
- [IOdrlPolicy](interfaces/IOdrlPolicy.md)
|
|
21
|
-
- [IOdrlPolicyMetadata](interfaces/IOdrlPolicyMetadata.md)
|
|
22
21
|
- [IOdrlProhibition](interfaces/IOdrlProhibition.md)
|
|
23
22
|
- [IOdrlRule](interfaces/IOdrlRule.md)
|
|
24
23
|
- [IOdrlSet](interfaces/IOdrlSet.md)
|
|
@@ -37,7 +36,6 @@
|
|
|
37
36
|
- [RightOperandType](type-aliases/RightOperandType.md)
|
|
38
37
|
- [RuleType](type-aliases/RuleType.md)
|
|
39
38
|
- [StatusType](type-aliases/StatusType.md)
|
|
40
|
-
- [UriActionType](type-aliases/UriActionType.md)
|
|
41
39
|
|
|
42
40
|
## Variables
|
|
43
41
|
|
|
@@ -52,4 +50,3 @@
|
|
|
52
50
|
- [RightOperandType](variables/RightOperandType.md)
|
|
53
51
|
- [RuleType](variables/RuleType.md)
|
|
54
52
|
- [StatusType](variables/StatusType.md)
|
|
55
|
-
- [UriActionType](variables/UriActionType.md)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlAction
|
|
2
2
|
|
|
3
3
|
Interface for ODRL Actions.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#action
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -8,7 +9,7 @@ Interface for ODRL Actions.
|
|
|
8
9
|
|
|
9
10
|
## Indexable
|
|
10
11
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
13
|
|
|
13
14
|
## Properties
|
|
14
15
|
|
|
@@ -48,7 +49,7 @@ Refinements applied to the action.
|
|
|
48
49
|
|
|
49
50
|
### includedIn?
|
|
50
51
|
|
|
51
|
-
> `optional` **includedIn**:
|
|
52
|
+
> `optional` **includedIn**: `string`
|
|
52
53
|
|
|
53
54
|
Reference to the action this action is included in.
|
|
54
55
|
|
|
@@ -56,6 +57,6 @@ Reference to the action this action is included in.
|
|
|
56
57
|
|
|
57
58
|
### implies?
|
|
58
59
|
|
|
59
|
-
> `optional` **implies**:
|
|
60
|
+
> `optional` **implies**: `string`[]
|
|
60
61
|
|
|
61
62
|
References to actions this action implies.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Interface representing an ODRL Agreement.
|
|
4
4
|
An Agreement requires both an assigner and assignee (both agreeing parties).
|
|
5
|
+
https://www.w3.org/TR/odrl-model/#policy-agreement
|
|
5
6
|
|
|
6
7
|
## Extends
|
|
7
8
|
|
|
@@ -9,7 +10,7 @@ An Agreement requires both an assigner and assignee (both agreeing parties).
|
|
|
9
10
|
|
|
10
11
|
## Indexable
|
|
11
12
|
|
|
12
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
13
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
13
14
|
|
|
14
15
|
## Properties
|
|
15
16
|
|
|
@@ -104,7 +105,7 @@ The target asset for the rule.
|
|
|
104
105
|
|
|
105
106
|
### action?
|
|
106
107
|
|
|
107
|
-
> `optional` **action**:
|
|
108
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
108
109
|
|
|
109
110
|
The action associated with the rule.
|
|
110
111
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlAsset
|
|
2
2
|
|
|
3
3
|
Interface for ODRL Assets.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#asset
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -12,7 +13,7 @@ Interface for ODRL Assets.
|
|
|
12
13
|
|
|
13
14
|
## Indexable
|
|
14
15
|
|
|
15
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
16
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
16
17
|
|
|
17
18
|
## Properties
|
|
18
19
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Interface for ODRL Asset Collections.
|
|
4
4
|
An AssetCollection is a single resource representing a set of member resources,
|
|
5
5
|
where all members of the set will be the subject of the Rule.
|
|
6
|
+
https://www.w3.org/TR/odrl-model/#asset
|
|
6
7
|
|
|
7
8
|
## Extends
|
|
8
9
|
|
|
@@ -10,7 +11,7 @@ where all members of the set will be the subject of the Rule.
|
|
|
10
11
|
|
|
11
12
|
## Indexable
|
|
12
13
|
|
|
13
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
14
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
14
15
|
|
|
15
16
|
## Properties
|
|
16
17
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlConstraint
|
|
2
2
|
|
|
3
3
|
Interface for ODRL Constraints.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#constraint
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -8,7 +9,7 @@ Interface for ODRL Constraints.
|
|
|
8
9
|
|
|
9
10
|
## Indexable
|
|
10
11
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
13
|
|
|
13
14
|
## Properties
|
|
14
15
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Interface for Duty Rules.
|
|
4
4
|
A Duty is the obligation to exercise an action, with all refinements satisfied.
|
|
5
5
|
A Duty is fulfilled if all constraints are satisfied and if its action has been exercised.
|
|
6
|
+
https://www.w3.org/TR/odrl-model/#duty
|
|
6
7
|
|
|
7
8
|
## Extends
|
|
8
9
|
|
|
@@ -10,7 +11,7 @@ A Duty is fulfilled if all constraints are satisfied and if its action has been
|
|
|
10
11
|
|
|
11
12
|
## Indexable
|
|
12
13
|
|
|
13
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
14
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
14
15
|
|
|
15
16
|
## Properties
|
|
16
17
|
|
|
@@ -73,7 +74,7 @@ Optional unique identifier for the rule.
|
|
|
73
74
|
|
|
74
75
|
### action?
|
|
75
76
|
|
|
76
|
-
> `optional` **action**:
|
|
77
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
77
78
|
|
|
78
79
|
The action associated with the rule.
|
|
79
80
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Interface for ODRL Logical Constraints.
|
|
4
4
|
A Logical Constraint compares two or more existing Constraints by one logical operator.
|
|
5
5
|
If the comparison returns a logical match, then the Logical Constraint is satisfied.
|
|
6
|
+
https://www.w3.org/TR/odrl-model/#constraint-logical
|
|
6
7
|
|
|
7
8
|
## Extends
|
|
8
9
|
|
|
@@ -10,7 +11,7 @@ If the comparison returns a logical match, then the Logical Constraint is satisf
|
|
|
10
11
|
|
|
11
12
|
## Indexable
|
|
12
13
|
|
|
13
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
14
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
14
15
|
|
|
15
16
|
## Properties
|
|
16
17
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Interface representing an ODRL Offer.
|
|
4
4
|
An Offer requires an assigner (the party making the offer).
|
|
5
|
+
https://www.w3.org/TR/odrl-model/#policy-offer
|
|
5
6
|
|
|
6
7
|
## Extends
|
|
7
8
|
|
|
@@ -9,7 +10,7 @@ An Offer requires an assigner (the party making the offer).
|
|
|
9
10
|
|
|
10
11
|
## Indexable
|
|
11
12
|
|
|
12
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
13
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
13
14
|
|
|
14
15
|
## Properties
|
|
15
16
|
|
|
@@ -104,7 +105,7 @@ The target asset for the rule.
|
|
|
104
105
|
|
|
105
106
|
### action?
|
|
106
107
|
|
|
107
|
-
> `optional` **action**:
|
|
108
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
108
109
|
|
|
109
110
|
The action associated with the rule.
|
|
110
111
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlParty
|
|
2
2
|
|
|
3
3
|
Interface for ODRL Parties.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#party
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -12,7 +13,7 @@ Interface for ODRL Parties.
|
|
|
12
13
|
|
|
13
14
|
## Indexable
|
|
14
15
|
|
|
15
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
16
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
16
17
|
|
|
17
18
|
## Properties
|
|
18
19
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Interface for ODRL Party Collections.
|
|
4
4
|
A PartyCollection identifies a collection of entities and is a subclass of Party.
|
|
5
|
+
https://www.w3.org/TR/odrl-model/#party
|
|
5
6
|
|
|
6
7
|
## Extends
|
|
7
8
|
|
|
@@ -9,7 +10,7 @@ A PartyCollection identifies a collection of entities and is a subclass of Party
|
|
|
9
10
|
|
|
10
11
|
## Indexable
|
|
11
12
|
|
|
12
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
13
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
13
14
|
|
|
14
15
|
## Properties
|
|
15
16
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Interface for Permission Rules.
|
|
4
4
|
A Permission allows an action to be exercised on an Asset
|
|
5
5
|
if all constraints are satisfied and if all duties are fulfilled.
|
|
6
|
+
https://www.w3.org/TR/odrl-model/#permission
|
|
6
7
|
|
|
7
8
|
## Extends
|
|
8
9
|
|
|
@@ -10,7 +11,7 @@ if all constraints are satisfied and if all duties are fulfilled.
|
|
|
10
11
|
|
|
11
12
|
## Indexable
|
|
12
13
|
|
|
13
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
14
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
14
15
|
|
|
15
16
|
## Properties
|
|
16
17
|
|
|
@@ -37,7 +38,7 @@ Optional unique identifier for the rule.
|
|
|
37
38
|
|
|
38
39
|
### action?
|
|
39
40
|
|
|
40
|
-
> `optional` **action**:
|
|
41
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
41
42
|
|
|
42
43
|
The action associated with the rule.
|
|
43
44
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlPolicy
|
|
2
2
|
|
|
3
3
|
Interface representing an ODRL Policy.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#policy
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -14,7 +15,7 @@ Interface representing an ODRL Policy.
|
|
|
14
15
|
|
|
15
16
|
## Indexable
|
|
16
17
|
|
|
17
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
18
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
18
19
|
|
|
19
20
|
## Properties
|
|
20
21
|
|
|
@@ -90,7 +91,7 @@ The target asset for the rule.
|
|
|
90
91
|
|
|
91
92
|
### action?
|
|
92
93
|
|
|
93
|
-
> `optional` **action**:
|
|
94
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
94
95
|
|
|
95
96
|
The action associated with the rule.
|
|
96
97
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlProhibition
|
|
2
2
|
|
|
3
3
|
Interface for Prohibition Rules.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#prohibition
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -8,7 +9,7 @@ Interface for Prohibition Rules.
|
|
|
8
9
|
|
|
9
10
|
## Indexable
|
|
10
11
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
13
|
|
|
13
14
|
## Properties
|
|
14
15
|
|
|
@@ -34,7 +35,7 @@ Optional unique identifier for the rule.
|
|
|
34
35
|
|
|
35
36
|
### action?
|
|
36
37
|
|
|
37
|
-
> `optional` **action**:
|
|
38
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
38
39
|
|
|
39
40
|
The action associated with the rule.
|
|
40
41
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Interface: IOdrlRule
|
|
2
2
|
|
|
3
3
|
Base interface for ODRL Rules.
|
|
4
|
+
https://www.w3.org/TR/odrl-model/#rule
|
|
4
5
|
|
|
5
6
|
## Extends
|
|
6
7
|
|
|
@@ -14,7 +15,7 @@ Base interface for ODRL Rules.
|
|
|
14
15
|
|
|
15
16
|
## Indexable
|
|
16
17
|
|
|
17
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
18
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
18
19
|
|
|
19
20
|
## Properties
|
|
20
21
|
|
|
@@ -28,7 +29,7 @@ Optional unique identifier for the rule.
|
|
|
28
29
|
|
|
29
30
|
### action?
|
|
30
31
|
|
|
31
|
-
> `optional` **action**:
|
|
32
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
32
33
|
|
|
33
34
|
The action associated with the rule.
|
|
34
35
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Interface representing an ODRL Set.
|
|
4
4
|
A Set is a basic policy type with no specific party requirements.
|
|
5
|
+
https://www.w3.org/TR/odrl-model/#policy-set
|
|
5
6
|
|
|
6
7
|
## Extends
|
|
7
8
|
|
|
@@ -9,7 +10,7 @@ A Set is a basic policy type with no specific party requirements.
|
|
|
9
10
|
|
|
10
11
|
## Indexable
|
|
11
12
|
|
|
12
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
13
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
13
14
|
|
|
14
15
|
## Properties
|
|
15
16
|
|
|
@@ -92,7 +93,7 @@ The target asset for the rule.
|
|
|
92
93
|
|
|
93
94
|
### action?
|
|
94
95
|
|
|
95
|
-
> `optional` **action**:
|
|
96
|
+
> `optional` **action**: `string` \| [`IOdrlAction`](IOdrlAction.md) \| (`string` \| [`IOdrlAction`](IOdrlAction.md))[]
|
|
96
97
|
|
|
97
98
|
The action associated with the rule.
|
|
98
99
|
|