@twin.org/standards-w3c-odrl 0.0.1-next.21

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.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -0
  3. package/dist/cjs/index.cjs +911 -0
  4. package/dist/esm/index.mjs +897 -0
  5. package/dist/types/index.d.ts +26 -0
  6. package/dist/types/models/IOdrlAction.d.ts +33 -0
  7. package/dist/types/models/IOdrlAsset.d.ts +27 -0
  8. package/dist/types/models/IOdrlAssetCollection.d.ts +21 -0
  9. package/dist/types/models/IOdrlConstraint.d.ts +49 -0
  10. package/dist/types/models/IOdrlDuty.d.ts +33 -0
  11. package/dist/types/models/IOdrlLogicalConstraint.d.ts +45 -0
  12. package/dist/types/models/IOdrlParty.d.ts +35 -0
  13. package/dist/types/models/IOdrlPartyCollection.d.ts +18 -0
  14. package/dist/types/models/IOdrlPermission.d.ts +14 -0
  15. package/dist/types/models/IOdrlPolicy.d.ts +81 -0
  16. package/dist/types/models/IOdrlPolicyMetadata.d.ts +58 -0
  17. package/dist/types/models/IOdrlProhibition.d.ts +11 -0
  18. package/dist/types/models/IOdrlRule.d.ts +41 -0
  19. package/dist/types/models/odrlContexts.d.ts +29 -0
  20. package/dist/types/models/types/actionTypes.d.ts +214 -0
  21. package/dist/types/models/types/conflictStrategyTypes.d.ts +21 -0
  22. package/dist/types/models/types/dataTypes.d.ts +37 -0
  23. package/dist/types/models/types/leftOperandTypes.d.ts +137 -0
  24. package/dist/types/models/types/logicalConstraintType.d.ts +25 -0
  25. package/dist/types/models/types/odrlTypes.d.ts +69 -0
  26. package/dist/types/models/types/operatorTypes.d.ts +65 -0
  27. package/dist/types/models/types/policyTypes.d.ts +25 -0
  28. package/dist/types/models/types/rightOperandTypes.d.ts +13 -0
  29. package/dist/types/models/types/ruleTypes.d.ts +21 -0
  30. package/dist/types/models/types/statusTypes.d.ts +25 -0
  31. package/dist/types/models/types/uriActionTypes.d.ts +215 -0
  32. package/docs/changelog.md +5 -0
  33. package/docs/examples.md +1 -0
  34. package/docs/reference/index.md +49 -0
  35. package/docs/reference/interfaces/IOdrlAction.md +61 -0
  36. package/docs/reference/interfaces/IOdrlAsset.md +55 -0
  37. package/docs/reference/interfaces/IOdrlAssetCollection.md +85 -0
  38. package/docs/reference/interfaces/IOdrlConstraint.md +76 -0
  39. package/docs/reference/interfaces/IOdrlDuty.md +144 -0
  40. package/docs/reference/interfaces/IOdrlLogicalConstraint.md +70 -0
  41. package/docs/reference/interfaces/IOdrlParty.md +67 -0
  42. package/docs/reference/interfaces/IOdrlPartyCollection.md +98 -0
  43. package/docs/reference/interfaces/IOdrlPermission.md +108 -0
  44. package/docs/reference/interfaces/IOdrlPolicy.md +136 -0
  45. package/docs/reference/interfaces/IOdrlPolicyMetadata.md +86 -0
  46. package/docs/reference/interfaces/IOdrlProhibition.md +105 -0
  47. package/docs/reference/interfaces/IOdrlRule.md +75 -0
  48. package/docs/reference/type-aliases/ActionType.md +5 -0
  49. package/docs/reference/type-aliases/ConflictStrategyType.md +5 -0
  50. package/docs/reference/type-aliases/DataType.md +5 -0
  51. package/docs/reference/type-aliases/LeftOperandType.md +5 -0
  52. package/docs/reference/type-aliases/LogicalConstraintType.md +5 -0
  53. package/docs/reference/type-aliases/OdrlContexts.md +5 -0
  54. package/docs/reference/type-aliases/OdrlTypes.md +5 -0
  55. package/docs/reference/type-aliases/OperatorType.md +5 -0
  56. package/docs/reference/type-aliases/PolicyType.md +5 -0
  57. package/docs/reference/type-aliases/RightOperandType.md +5 -0
  58. package/docs/reference/type-aliases/RuleType.md +5 -0
  59. package/docs/reference/type-aliases/StatusType.md +5 -0
  60. package/docs/reference/type-aliases/UriActionType.md +6 -0
  61. package/docs/reference/variables/ActionTypes.md +314 -0
  62. package/docs/reference/variables/ConflictStrategyTypes.md +25 -0
  63. package/docs/reference/variables/DataType.md +49 -0
  64. package/docs/reference/variables/LeftOperandType.md +199 -0
  65. package/docs/reference/variables/LogicalConstraintType.md +31 -0
  66. package/docs/reference/variables/OdrlContexts.md +37 -0
  67. package/docs/reference/variables/OdrlTypes.md +97 -0
  68. package/docs/reference/variables/OperatorType.md +91 -0
  69. package/docs/reference/variables/PolicyType.md +31 -0
  70. package/docs/reference/variables/RightOperandTypes.md +13 -0
  71. package/docs/reference/variables/RuleType.md +25 -0
  72. package/docs/reference/variables/StatusType.md +31 -0
  73. package/docs/reference/variables/UriActionTypes.md +314 -0
  74. package/locales/en.json +1 -0
  75. package/package.json +40 -0
@@ -0,0 +1,214 @@
1
+ /**
2
+ * The types for ODRL Actions.
3
+ * Simple action types (for direct string usage)
4
+ */
5
+ export declare const ActionTypes: {
6
+ /**
7
+ * To use the Asset - actions that involve general usage by parties.
8
+ */
9
+ readonly Use: "use";
10
+ /**
11
+ * To transfer the ownership to third parties.
12
+ */
13
+ readonly Transfer: "transfer";
14
+ /**
15
+ * To accept that the use of the Asset may be tracked.
16
+ */
17
+ readonly AcceptTracking: "acceptTracking";
18
+ /**
19
+ * To use the Asset or parts of it as part of a composite collection.
20
+ */
21
+ readonly Aggregate: "aggregate";
22
+ /**
23
+ * To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
24
+ */
25
+ readonly Annotate: "annotate";
26
+ /**
27
+ * To anonymize all or parts of the Asset.
28
+ */
29
+ readonly Anonymize: "anonymize";
30
+ /**
31
+ * To store the Asset (in a non-transient form).
32
+ */
33
+ readonly Archive: "archive";
34
+ /**
35
+ * To attribute the use of the Asset.
36
+ */
37
+ readonly Attribute: "attribute";
38
+ /**
39
+ * Credit be given to copyright holder and/or author.
40
+ */
41
+ readonly Attribution: "attribution";
42
+ /**
43
+ * Exercising rights for commercial purposes.
44
+ */
45
+ readonly CommercialUse: "commercialUse";
46
+ /**
47
+ * To compensate by transfer of some amount of value for using or selling the Asset.
48
+ */
49
+ readonly Compensate: "compensate";
50
+ /**
51
+ * To create multiple copies of the Asset that are being concurrently used.
52
+ */
53
+ readonly ConcurrentUse: "concurrentUse";
54
+ /**
55
+ * To permanently remove all copies of the Asset after it has been used.
56
+ */
57
+ readonly Delete: "delete";
58
+ /**
59
+ * To create a new derivative Asset from this Asset and to edit or modify the derivative.
60
+ */
61
+ readonly Derive: "derive";
62
+ /**
63
+ * Distribution of derivative works.
64
+ */
65
+ readonly DerivativeWorks: "derivativeWorks";
66
+ /**
67
+ * To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
68
+ */
69
+ readonly Digitize: "digitize";
70
+ /**
71
+ * To create a static and transient rendition of an Asset.
72
+ */
73
+ readonly Display: "display";
74
+ /**
75
+ * To supply the Asset to third-parties.
76
+ */
77
+ readonly Distribute: "distribute";
78
+ /**
79
+ * Distribution, public display, and publicly performance.
80
+ */
81
+ readonly Distribution: "distribution";
82
+ /**
83
+ * To ensure that the Rule on the Asset is exclusive.
84
+ */
85
+ readonly EnsureExclusivity: "ensureExclusivity";
86
+ /**
87
+ * To run the computer program Asset.
88
+ */
89
+ readonly Execute: "execute";
90
+ /**
91
+ * To extract parts of the Asset and to use it as a new Asset.
92
+ */
93
+ readonly Extract: "extract";
94
+ /**
95
+ * To transfer the ownership without compensation and while deleting the original asset.
96
+ */
97
+ readonly Give: "give";
98
+ /**
99
+ * To grant the use of the Asset to third parties.
100
+ */
101
+ readonly GrantUse: "grantUse";
102
+ /**
103
+ * To include other related assets in the Asset.
104
+ */
105
+ readonly Include: "include";
106
+ /**
107
+ * To record the Asset in an index.
108
+ */
109
+ readonly Index: "index";
110
+ /**
111
+ * To inform that an action has been performed on or in relation to the Asset.
112
+ */
113
+ readonly Inform: "inform";
114
+ /**
115
+ * To load the computer program Asset onto a storage device.
116
+ */
117
+ readonly Install: "install";
118
+ /**
119
+ * To change existing content of the Asset without creating a new asset.
120
+ */
121
+ readonly Modify: "modify";
122
+ /**
123
+ * To move the Asset from one digital location to another including deleting the original copy.
124
+ */
125
+ readonly Move: "move";
126
+ /**
127
+ * To grant the specified Policy to a third party for their use of the Asset.
128
+ */
129
+ readonly NextPolicy: "nextPolicy";
130
+ /**
131
+ * Copyright and license notices be kept intact.
132
+ */
133
+ readonly Notice: "notice";
134
+ /**
135
+ * To obtain verifiable consent to perform the requested action.
136
+ */
137
+ readonly ObtainConsent: "obtainConsent";
138
+ /**
139
+ * To create a sequential and transient rendition of an Asset.
140
+ */
141
+ readonly Play: "play";
142
+ /**
143
+ * To publicly perform the Asset.
144
+ */
145
+ readonly Present: "present";
146
+ /**
147
+ * To create a tangible and permanent rendition of an Asset.
148
+ */
149
+ readonly Print: "print";
150
+ /**
151
+ * To obtain data from the Asset.
152
+ */
153
+ readonly Read: "read";
154
+ /**
155
+ * To make duplicate copies of the Asset in any material form.
156
+ */
157
+ readonly Reproduce: "reproduce";
158
+ /**
159
+ * Making multiple copies.
160
+ */
161
+ readonly Reproduction: "reproduction";
162
+ /**
163
+ * To review the Policy applicable to the Asset.
164
+ */
165
+ readonly ReviewPolicy: "reviewPolicy";
166
+ /**
167
+ * To transfer the ownership with compensation and while deleting the original asset.
168
+ */
169
+ readonly Sell: "sell";
170
+ /**
171
+ * Derivative works be licensed under the same terms or compatible terms.
172
+ */
173
+ readonly ShareAlike: "shareAlike";
174
+ /**
175
+ * Permits commercial derivatives, but only non-commercial distribution.
176
+ */
177
+ readonly Sharing: "sharing";
178
+ /**
179
+ * Source code must be provided when exercising some rights.
180
+ */
181
+ readonly SourceCode: "sourceCode";
182
+ /**
183
+ * To deliver the Asset in real-time.
184
+ */
185
+ readonly Stream: "stream";
186
+ /**
187
+ * To use the Asset in timed relations with media elements of another Asset.
188
+ */
189
+ readonly Synchronize: "synchronize";
190
+ /**
191
+ * To have a text Asset read out loud.
192
+ */
193
+ readonly TextToSpeech: "textToSpeech";
194
+ /**
195
+ * To convert the Asset into a different format.
196
+ */
197
+ readonly Transform: "transform";
198
+ /**
199
+ * To translate the Asset into another natural language.
200
+ */
201
+ readonly Translate: "translate";
202
+ /**
203
+ * To unload and delete the computer program Asset.
204
+ */
205
+ readonly Uninstall: "uninstall";
206
+ /**
207
+ * To apply a watermark to the Asset.
208
+ */
209
+ readonly Watermark: "watermark";
210
+ };
211
+ /**
212
+ * The types for ODRL Actions.
213
+ */
214
+ export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The types for ODRL Conflict Resolution Strategies.
3
+ */
4
+ export declare const ConflictStrategyTypes: {
5
+ /**
6
+ * Permission type.
7
+ */
8
+ readonly Perm: "perm";
9
+ /**
10
+ * Prohibition type.
11
+ */
12
+ readonly Prohibit: "prohibit";
13
+ /**
14
+ * Invalid type.
15
+ */
16
+ readonly Invalid: "invalid";
17
+ };
18
+ /**
19
+ * The types for ODRL Conflict Resolution Strategies.
20
+ */
21
+ export type ConflictStrategyType = (typeof ConflictStrategyTypes)[keyof typeof ConflictStrategyTypes];
@@ -0,0 +1,37 @@
1
+ /**
2
+ * The types for ODRL Data Types.
3
+ */
4
+ export declare const DataType: {
5
+ /**
6
+ * String type.
7
+ */
8
+ readonly String: "xsd:string";
9
+ /**
10
+ * Boolean type.
11
+ */
12
+ readonly Boolean: "xsd:boolean";
13
+ /**
14
+ * Integer type.
15
+ */
16
+ readonly Integer: "xsd:integer";
17
+ /**
18
+ * Decimal type.
19
+ */
20
+ readonly Decimal: "xsd:decimal";
21
+ /**
22
+ * Double type.
23
+ */
24
+ readonly Double: "xsd:double";
25
+ /**
26
+ * Date type.
27
+ */
28
+ readonly Date: "xsd:date";
29
+ /**
30
+ * DateTime type.
31
+ */
32
+ readonly DateTime: "xsd:dateTime";
33
+ };
34
+ /**
35
+ * The types for ODRL Data Types.
36
+ */
37
+ export type DataType = (typeof DataType)[keyof typeof DataType];
@@ -0,0 +1,137 @@
1
+ /**
2
+ * The types for ODRL Data Types.
3
+ */
4
+ export declare const LeftOperandType: {
5
+ /**
6
+ * Absolute Position type.
7
+ */
8
+ readonly AbsolutePosition: "absolutePosition";
9
+ /**
10
+ * Absolute Spatial Position type.
11
+ */
12
+ readonly AbsoluteSpatialPosition: "absoluteSpatialPosition";
13
+ /**
14
+ * Absolute Temporal Position type.
15
+ */
16
+ readonly AbsoluteTemporalPosition: "absoluteTemporalPosition";
17
+ /**
18
+ * Absolute Size type.
19
+ */
20
+ readonly AbsoluteSize: "absoluteSize";
21
+ /**
22
+ * Count type.
23
+ */
24
+ readonly Count: "count";
25
+ /**
26
+ * DateTime type.
27
+ */
28
+ readonly DateTime: "dateTime";
29
+ /**
30
+ * Delay Period type.
31
+ */
32
+ readonly DelayPeriod: "delayPeriod";
33
+ /**
34
+ * Delivery Channel type.
35
+ */
36
+ readonly DeliveryChannel: "deliveryChannel";
37
+ /**
38
+ * Elapsed Time type.
39
+ */
40
+ readonly ElapsedTime: "elapsedTime";
41
+ /**
42
+ * Event type.
43
+ */
44
+ readonly Event: "event";
45
+ /**
46
+ * File Format type.
47
+ */
48
+ readonly FileFormat: "fileFormat";
49
+ /**
50
+ * Industry type.
51
+ */
52
+ readonly Industry: "industry";
53
+ /**
54
+ * Language type.
55
+ */
56
+ readonly Language: "language";
57
+ /**
58
+ * Media type.
59
+ */
60
+ readonly Media: "media";
61
+ /**
62
+ * Metered Time type.
63
+ */
64
+ readonly MeteredTime: "meteredTime";
65
+ /**
66
+ * Pay Amount type.
67
+ */
68
+ readonly PayAmount: "payAmount";
69
+ /**
70
+ * Percentage type.
71
+ */
72
+ readonly Percentage: "percentage";
73
+ /**
74
+ * Product type.
75
+ */
76
+ readonly Product: "product";
77
+ /**
78
+ * Purpose type.
79
+ */
80
+ readonly Purpose: "purpose";
81
+ /**
82
+ * Recipient type.
83
+ */
84
+ readonly Recipient: "recipient";
85
+ /**
86
+ * Relative Position type.
87
+ */
88
+ readonly RelativePosition: "relativePosition";
89
+ /**
90
+ * Relative Spatial Position type.
91
+ */
92
+ readonly RelativeSpatialPosition: "relativeSpatialPosition";
93
+ /**
94
+ * Relative Temporal Position type.
95
+ */
96
+ readonly RelativeTemporalPosition: "relativeTemporalPosition";
97
+ /**
98
+ * Relative Size type.
99
+ */
100
+ readonly RelativeSize: "relativeSize";
101
+ /**
102
+ * Resolution type.
103
+ */
104
+ readonly Resolution: "resolution";
105
+ /**
106
+ * Spatial type.
107
+ */
108
+ readonly Spatial: "spatial";
109
+ /**
110
+ * Spatial Coordinates type.
111
+ */
112
+ readonly SpatialCoordinates: "spatialCoordinates";
113
+ /**
114
+ * System Device type.
115
+ */
116
+ readonly SystemDevice: "systemDevice";
117
+ /**
118
+ * Time Interval type.
119
+ */
120
+ readonly TimeInterval: "timeInterval";
121
+ /**
122
+ * Unit of Count type.
123
+ */
124
+ readonly UnitOfCount: "unitOfCount";
125
+ /**
126
+ * Version type.
127
+ */
128
+ readonly Version: "version";
129
+ /**
130
+ * Virtual Location type.
131
+ */
132
+ readonly VirtualLocation: "virtualLocation";
133
+ };
134
+ /**
135
+ * The types for ODRL Data Types.
136
+ */
137
+ export type LeftOperandType = (typeof LeftOperandType)[keyof typeof LeftOperandType];
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The types for ODRL Logical Constraints.
3
+ */
4
+ export declare const LogicalConstraintType: {
5
+ /**
6
+ * And type.
7
+ */
8
+ readonly And: "and";
9
+ /**
10
+ * Or type.
11
+ */
12
+ readonly Or: "or";
13
+ /**
14
+ * Xone type.
15
+ */
16
+ readonly Xone: "xone";
17
+ /**
18
+ * And sequence type.
19
+ */
20
+ readonly AndSequence: "andSequence";
21
+ };
22
+ /**
23
+ * The types for ODRL Logical Constraints.
24
+ */
25
+ export type LogicalConstraintType = (typeof LogicalConstraintType)[keyof typeof LogicalConstraintType];
@@ -0,0 +1,69 @@
1
+ /**
2
+ * The types for ODRL.
3
+ */
4
+ export declare const OdrlTypes: {
5
+ /**
6
+ * Policy type.
7
+ */
8
+ readonly Policy: "Policy";
9
+ /**
10
+ * Set type (subclass of Policy).
11
+ */
12
+ readonly Set: "Set";
13
+ /**
14
+ * Offer type (subclass of Policy).
15
+ */
16
+ readonly Offer: "Offer";
17
+ /**
18
+ * Agreement type (subclass of Policy).
19
+ */
20
+ readonly Agreement: "Agreement";
21
+ /**
22
+ * Asset type.
23
+ */
24
+ readonly Asset: "Asset";
25
+ /**
26
+ * AssetCollection type.
27
+ */
28
+ readonly AssetCollection: "AssetCollection";
29
+ /**
30
+ * Party type.
31
+ */
32
+ readonly Party: "Party";
33
+ /**
34
+ * PartyCollection type.
35
+ */
36
+ readonly PartyCollection: "PartyCollection";
37
+ /**
38
+ * Action type.
39
+ */
40
+ readonly Action: "Action";
41
+ /**
42
+ * Rule type.
43
+ */
44
+ readonly Rule: "Rule";
45
+ /**
46
+ * Permission type (subclass of Rule).
47
+ */
48
+ readonly Permission: "Permission";
49
+ /**
50
+ * Prohibition type (subclass of Rule).
51
+ */
52
+ readonly Prohibition: "Prohibition";
53
+ /**
54
+ * Duty type (subclass of Rule).
55
+ */
56
+ readonly Duty: "Duty";
57
+ /**
58
+ * Constraint type.
59
+ */
60
+ readonly Constraint: "Constraint";
61
+ /**
62
+ * LogicalConstraint type.
63
+ */
64
+ readonly LogicalConstraint: "LogicalConstraint";
65
+ };
66
+ /**
67
+ * The types for ODRL.
68
+ */
69
+ export type OdrlTypes = (typeof OdrlTypes)[keyof typeof OdrlTypes];
@@ -0,0 +1,65 @@
1
+ /**
2
+ * The types for ODRL Operators.
3
+ */
4
+ export declare const OperatorType: {
5
+ /**
6
+ * Equal type.
7
+ */
8
+ readonly Eq: "eq";
9
+ /**
10
+ * Greater than type.
11
+ */
12
+ readonly Gt: "gt";
13
+ /**
14
+ * Greater than or equal to type.
15
+ */
16
+ readonly Gteq: "gteq";
17
+ /**
18
+ * Less than type.
19
+ */
20
+ readonly Lt: "lt";
21
+ /**
22
+ * Less than or equal to type.
23
+ */
24
+ readonly Lteq: "lteq";
25
+ /**
26
+ * Not equal to type.
27
+ */
28
+ readonly Neq: "neq";
29
+ /**
30
+ * Is a type.
31
+ */
32
+ readonly IsA: "isA";
33
+ /**
34
+ * Has part type.
35
+ */
36
+ readonly HasPart: "hasPart";
37
+ /**
38
+ * Is part of type.
39
+ */
40
+ readonly IsPartOf: "isPartOf";
41
+ /**
42
+ * Is all of type.
43
+ */
44
+ readonly IsAllOf: "isAllOf";
45
+ /**
46
+ * Is any of type.
47
+ */
48
+ readonly IsAnyOf: "isAnyOf";
49
+ /**
50
+ * Is none of type.
51
+ */
52
+ readonly IsNoneOf: "isNoneOf";
53
+ /**
54
+ * Location time equal to type.
55
+ */
56
+ readonly LocTimeEq: "locTimeEq";
57
+ /**
58
+ * Location time greater than or equal to type.
59
+ */
60
+ readonly LocTimeGteq: "locTimeGteq";
61
+ };
62
+ /**
63
+ * The types for ODRL Operators.
64
+ */
65
+ export type OperatorType = (typeof OperatorType)[keyof typeof OperatorType];
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The types for ODRL Policies.
3
+ */
4
+ export declare const PolicyType: {
5
+ /**
6
+ * Policy type.
7
+ */
8
+ readonly Policy: "Policy";
9
+ /**
10
+ * Set type.
11
+ */
12
+ readonly Set: "Set";
13
+ /**
14
+ * Offer type.
15
+ */
16
+ readonly Offer: "Offer";
17
+ /**
18
+ * Agreement type.
19
+ */
20
+ readonly Agreement: "Agreement";
21
+ };
22
+ /**
23
+ * The types for ODRL Policies.
24
+ */
25
+ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Right operand types for ODRL constraints
3
+ */
4
+ export declare const RightOperandTypes: {
5
+ /**
6
+ * Reference to policy usage events
7
+ */
8
+ readonly PolicyUsage: "odrl:policyUsage";
9
+ };
10
+ /**
11
+ * The types for ODRL Right Operand Types.
12
+ */
13
+ export type RightOperandType = (typeof RightOperandTypes)[keyof typeof RightOperandTypes];
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The types for ODRL Rules.
3
+ */
4
+ export declare const RuleType: {
5
+ /**
6
+ * Permission type.
7
+ */
8
+ readonly Permission: "Permission";
9
+ /**
10
+ * Prohibition type.
11
+ */
12
+ readonly Prohibition: "Prohibition";
13
+ /**
14
+ * Duty type.
15
+ */
16
+ readonly Duty: "Duty";
17
+ };
18
+ /**
19
+ * The types for ODRL Rules.
20
+ */
21
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The types for ODRL Status.
3
+ */
4
+ export declare const StatusType: {
5
+ /**
6
+ * Active type.
7
+ */
8
+ readonly Active: "active";
9
+ /**
10
+ * Inactive type.
11
+ */
12
+ readonly Inactive: "inactive";
13
+ /**
14
+ * Pending type.
15
+ */
16
+ readonly Pending: "pending";
17
+ /**
18
+ * Revoked type.
19
+ */
20
+ readonly Revoked: "revoked";
21
+ };
22
+ /**
23
+ * The types for ODRL Status.
24
+ */
25
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];