@twin.org/standards-w3c-odrl 0.0.1-next.49 → 0.0.2-next.1

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.
@@ -11,13 +11,13 @@ var dataJsonLd = require('@twin.org/data-json-ld');
11
11
  // eslint-disable-next-line @typescript-eslint/naming-convention
12
12
  const OdrlContexts = {
13
13
  /**
14
- * The context root for ODRL.
14
+ * The context root for ODRL vocabulary.
15
15
  */
16
- ContextRedirect: "https://www.w3.org/ns/odrl.jsonld",
16
+ ContextRoot: "https://www.w3.org/ns/odrl/2/",
17
17
  /**
18
- * The context root for ODRL vocabulary.
18
+ * The context root for ODRL.
19
19
  */
20
- ContextRoot: "https://www.w3.org/ns/odrl/2/"
20
+ ContextRedirect: "https://www.w3.org/ns/odrl.jsonld"
21
21
  };
22
22
 
23
23
  // Copyright 2024 IOTA Stiftung.
@@ -98,7 +98,7 @@ const OdrlTypes = {
98
98
  };
99
99
 
100
100
  var $schema$g = "https://json-schema.org/draft/2020-12/schema";
101
- var $id$g = "https://schema.twindev.org/odrl/OdrlAction";
101
+ var $id$g = "https://schema.twindev.org/w3c-odrl/OdrlAction";
102
102
  var description$g = "Interface for ODRL Actions.";
103
103
  var type$f = "object";
104
104
  var properties$f = {
@@ -185,10 +185,10 @@ var properties$f = {
185
185
  refinement: {
186
186
  anyOf: [
187
187
  {
188
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
188
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
189
189
  },
190
190
  {
191
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
191
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
192
192
  },
193
193
  {
194
194
  type: "array",
@@ -197,10 +197,10 @@ var properties$f = {
197
197
  {
198
198
  anyOf: [
199
199
  {
200
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
200
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
201
201
  },
202
202
  {
203
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
203
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
204
204
  }
205
205
  ]
206
206
  }
@@ -210,7 +210,7 @@ var properties$f = {
210
210
  description: "Refinements applied to the action."
211
211
  },
212
212
  includedIn: {
213
- $ref: "https://schema.twindev.org/odrl/ActionType",
213
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType",
214
214
  description: "Reference to the action this action is included in."
215
215
  },
216
216
  implies: {
@@ -219,7 +219,7 @@ var properties$f = {
219
219
  description: "References to actions this action implies.",
220
220
  prefixItems: [
221
221
  {
222
- $ref: "https://schema.twindev.org/odrl/ActionType"
222
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
223
223
  }
224
224
  ]
225
225
  }
@@ -259,12 +259,12 @@ var OdrlActionSchema = {
259
259
  };
260
260
 
261
261
  var $schema$f = "https://json-schema.org/draft/2020-12/schema";
262
- var $id$f = "https://schema.twindev.org/odrl/OdrlAgreement";
262
+ var $id$f = "https://schema.twindev.org/w3c-odrl/OdrlAgreement";
263
263
  var description$f = "Interface representing an ODRL Agreement. An Agreement requires both an assigner and assignee (both agreeing parties).";
264
264
  var type$e = "object";
265
265
  var properties$e = {
266
266
  "@context": {
267
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
267
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
268
268
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
269
269
  },
270
270
  "@id": {
@@ -359,7 +359,7 @@ var properties$e = {
359
359
  type: "string"
360
360
  },
361
361
  {
362
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
362
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
363
363
  }
364
364
  ],
365
365
  description: "The assigner of the agreement. Required for Agreement policies."
@@ -370,7 +370,7 @@ var properties$e = {
370
370
  type: "string"
371
371
  },
372
372
  {
373
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
373
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
374
374
  }
375
375
  ],
376
376
  description: "The assignee of the agreement. Required for Agreement policies."
@@ -381,7 +381,7 @@ var properties$e = {
381
381
  type: "string"
382
382
  },
383
383
  {
384
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
384
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
385
385
  },
386
386
  {
387
387
  type: "array",
@@ -393,7 +393,7 @@ var properties$e = {
393
393
  type: "string"
394
394
  },
395
395
  {
396
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
396
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
397
397
  }
398
398
  ]
399
399
  }
@@ -405,10 +405,10 @@ var properties$e = {
405
405
  action: {
406
406
  anyOf: [
407
407
  {
408
- $ref: "https://schema.twindev.org/odrl/ActionType"
408
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
409
409
  },
410
410
  {
411
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
411
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
412
412
  },
413
413
  {
414
414
  type: "array",
@@ -417,10 +417,10 @@ var properties$e = {
417
417
  {
418
418
  anyOf: [
419
419
  {
420
- $ref: "https://schema.twindev.org/odrl/ActionType"
420
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
421
421
  },
422
422
  {
423
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
423
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
424
424
  }
425
425
  ]
426
426
  }
@@ -447,7 +447,7 @@ var properties$e = {
447
447
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
448
448
  },
449
449
  conflict: {
450
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
450
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
451
451
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
452
452
  },
453
453
  permission: {
@@ -456,7 +456,7 @@ var properties$e = {
456
456
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
457
457
  prefixItems: [
458
458
  {
459
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
459
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
460
460
  }
461
461
  ]
462
462
  },
@@ -466,7 +466,7 @@ var properties$e = {
466
466
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
467
467
  prefixItems: [
468
468
  {
469
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
469
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
470
470
  }
471
471
  ]
472
472
  },
@@ -476,7 +476,7 @@ var properties$e = {
476
476
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
477
477
  prefixItems: [
478
478
  {
479
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
479
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
480
480
  }
481
481
  ]
482
482
  }
@@ -524,7 +524,7 @@ var OdrlAgreementSchema = {
524
524
  };
525
525
 
526
526
  var $schema$e = "https://json-schema.org/draft/2020-12/schema";
527
- var $id$e = "https://schema.twindev.org/odrl/OdrlAsset";
527
+ var $id$e = "https://schema.twindev.org/w3c-odrl/OdrlAsset";
528
528
  var description$e = "Interface for ODRL Assets.";
529
529
  var type$d = "object";
530
530
  var properties$d = {
@@ -605,7 +605,7 @@ var properties$d = {
605
605
  type: "string"
606
606
  },
607
607
  {
608
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
608
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
609
609
  }
610
610
  ],
611
611
  description: "Reference to the asset collection this asset is part of. Used to identify an AssetCollection that this Asset is a member of."
@@ -650,7 +650,7 @@ var OdrlAssetSchema = {
650
650
  };
651
651
 
652
652
  var $schema$d = "https://json-schema.org/draft/2020-12/schema";
653
- var $id$d = "https://schema.twindev.org/odrl/OdrlAssetCollection";
653
+ var $id$d = "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection";
654
654
  var description$d = "Interface for ODRL Asset Collections. An AssetCollection is a single resource representing a set of member resources, where all members of the set will be the subject of the Rule.";
655
655
  var type$c = "object";
656
656
  var properties$c = {
@@ -731,7 +731,7 @@ var properties$c = {
731
731
  type: "string"
732
732
  },
733
733
  {
734
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
734
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
735
735
  }
736
736
  ],
737
737
  description: "Reference to the asset collection this asset is part of. Used to identify an AssetCollection that this Asset is a member of."
@@ -750,7 +750,7 @@ var properties$c = {
750
750
  description: "Refinements applied to the asset collection. Used to specify the refinement context under which to identify individual Asset(s) of the complete collection. The refinement applies to the characteristics of each member of the collection (not the resource as a whole).",
751
751
  prefixItems: [
752
752
  {
753
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
753
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
754
754
  }
755
755
  ]
756
756
  }
@@ -794,7 +794,7 @@ var OdrlAssetCollectionSchema = {
794
794
  };
795
795
 
796
796
  var $schema$c = "https://json-schema.org/draft/2020-12/schema";
797
- var $id$c = "https://schema.twindev.org/odrl/OdrlConstraint";
797
+ var $id$c = "https://schema.twindev.org/w3c-odrl/OdrlConstraint";
798
798
  var description$c = "Interface for ODRL Constraints.";
799
799
  var type$b = "object";
800
800
  var properties$b = {
@@ -887,13 +887,13 @@ var properties$b = {
887
887
  type: "string"
888
888
  },
889
889
  {
890
- $ref: "https://schema.twindev.org/odrl/LeftOperandType"
890
+ $ref: "https://schema.twindev.org/w3c-odrl/LeftOperandType"
891
891
  }
892
892
  ],
893
893
  description: "The left operand of the constraint."
894
894
  },
895
895
  operator: {
896
- $ref: "https://schema.twindev.org/odrl/OperatorType",
896
+ $ref: "https://schema.twindev.org/w3c-odrl/OperatorType",
897
897
  description: "The operator of the constraint."
898
898
  },
899
899
  rightOperand: {
@@ -944,7 +944,7 @@ var properties$b = {
944
944
  description: "The unit for the right operand value."
945
945
  },
946
946
  status: {
947
- $ref: "https://schema.twindev.org/odrl/StatusType",
947
+ $ref: "https://schema.twindev.org/w3c-odrl/StatusType",
948
948
  description: "The status value for comparison."
949
949
  }
950
950
  };
@@ -988,7 +988,7 @@ var OdrlConstraintSchema = {
988
988
  };
989
989
 
990
990
  var $schema$b = "https://json-schema.org/draft/2020-12/schema";
991
- var $id$b = "https://schema.twindev.org/odrl/OdrlContextType";
991
+ var $id$b = "https://schema.twindev.org/w3c-odrl/OdrlContextType";
992
992
  var description$b = "The ODRL JSON-LD context type.";
993
993
  var anyOf = [
994
994
  {
@@ -1036,7 +1036,7 @@ var OdrlContextTypeSchema = {
1036
1036
  };
1037
1037
 
1038
1038
  var $schema$a = "https://json-schema.org/draft/2020-12/schema";
1039
- var $id$a = "https://schema.twindev.org/odrl/OdrlDuty";
1039
+ var $id$a = "https://schema.twindev.org/w3c-odrl/OdrlDuty";
1040
1040
  var description$a = "Interface for Duty Rules. A Duty is the obligation to exercise an action, with all refinements satisfied. A Duty is fulfilled if all constraints are satisfied and if its action has been exercised.";
1041
1041
  var type$a = "object";
1042
1042
  var properties$a = {
@@ -1126,10 +1126,10 @@ var properties$a = {
1126
1126
  action: {
1127
1127
  anyOf: [
1128
1128
  {
1129
- $ref: "https://schema.twindev.org/odrl/ActionType"
1129
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1130
1130
  },
1131
1131
  {
1132
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1132
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1133
1133
  },
1134
1134
  {
1135
1135
  type: "array",
@@ -1138,10 +1138,10 @@ var properties$a = {
1138
1138
  {
1139
1139
  anyOf: [
1140
1140
  {
1141
- $ref: "https://schema.twindev.org/odrl/ActionType"
1141
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1142
1142
  },
1143
1143
  {
1144
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1144
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1145
1145
  }
1146
1146
  ]
1147
1147
  }
@@ -1156,7 +1156,7 @@ var properties$a = {
1156
1156
  type: "string"
1157
1157
  },
1158
1158
  {
1159
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1159
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1160
1160
  },
1161
1161
  {
1162
1162
  type: "array",
@@ -1168,7 +1168,7 @@ var properties$a = {
1168
1168
  type: "string"
1169
1169
  },
1170
1170
  {
1171
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1171
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1172
1172
  }
1173
1173
  ]
1174
1174
  }
@@ -1183,7 +1183,7 @@ var properties$a = {
1183
1183
  type: "string"
1184
1184
  },
1185
1185
  {
1186
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1186
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1187
1187
  }
1188
1188
  ],
1189
1189
  description: "The assigner of the rule."
@@ -1194,7 +1194,7 @@ var properties$a = {
1194
1194
  type: "string"
1195
1195
  },
1196
1196
  {
1197
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1197
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1198
1198
  }
1199
1199
  ],
1200
1200
  description: "The assignee of the rule."
@@ -1205,7 +1205,7 @@ var properties$a = {
1205
1205
  description: "Constraints applied to the rule.",
1206
1206
  prefixItems: [
1207
1207
  {
1208
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
1208
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
1209
1209
  }
1210
1210
  ]
1211
1211
  },
@@ -1227,7 +1227,7 @@ var properties$a = {
1227
1227
  description: "The consequences if the duty is not fulfilled. Only applicable when the Duty is referenced by a Rule with duty or obligation properties.",
1228
1228
  prefixItems: [
1229
1229
  {
1230
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1230
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1231
1231
  }
1232
1232
  ]
1233
1233
  },
@@ -1237,7 +1237,7 @@ var properties$a = {
1237
1237
  description: "The remedies that may be fulfilled to cure the violation.",
1238
1238
  prefixItems: [
1239
1239
  {
1240
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1240
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1241
1241
  }
1242
1242
  ]
1243
1243
  },
@@ -1281,7 +1281,7 @@ var OdrlDutySchema = {
1281
1281
  };
1282
1282
 
1283
1283
  var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
1284
- var $id$9 = "https://schema.twindev.org/odrl/OdrlLogicalConstraint";
1284
+ var $id$9 = "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint";
1285
1285
  var description$9 = "Interface for ODRL Logical Constraints. A Logical Constraint compares two or more existing Constraints by one logical operator. If the comparison returns a logical match, then the Logical Constraint is satisfied.";
1286
1286
  var type$9 = "object";
1287
1287
  var properties$9 = {
@@ -1516,12 +1516,12 @@ var OdrlLogicalConstraintSchema = {
1516
1516
  };
1517
1517
 
1518
1518
  var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
1519
- var $id$8 = "https://schema.twindev.org/odrl/OdrlOffer";
1519
+ var $id$8 = "https://schema.twindev.org/w3c-odrl/OdrlOffer";
1520
1520
  var description$8 = "Interface representing an ODRL Offer. An Offer requires an assigner (the party making the offer).";
1521
1521
  var type$8 = "object";
1522
1522
  var properties$8 = {
1523
1523
  "@context": {
1524
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
1524
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
1525
1525
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
1526
1526
  },
1527
1527
  "@id": {
@@ -1616,7 +1616,7 @@ var properties$8 = {
1616
1616
  type: "string"
1617
1617
  },
1618
1618
  {
1619
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1619
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1620
1620
  }
1621
1621
  ],
1622
1622
  description: "The assigner of the offer. Required for Offer policies."
@@ -1627,7 +1627,7 @@ var properties$8 = {
1627
1627
  type: "string"
1628
1628
  },
1629
1629
  {
1630
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1630
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1631
1631
  }
1632
1632
  ],
1633
1633
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -1638,7 +1638,7 @@ var properties$8 = {
1638
1638
  type: "string"
1639
1639
  },
1640
1640
  {
1641
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1641
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1642
1642
  },
1643
1643
  {
1644
1644
  type: "array",
@@ -1650,7 +1650,7 @@ var properties$8 = {
1650
1650
  type: "string"
1651
1651
  },
1652
1652
  {
1653
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1653
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1654
1654
  }
1655
1655
  ]
1656
1656
  }
@@ -1662,10 +1662,10 @@ var properties$8 = {
1662
1662
  action: {
1663
1663
  anyOf: [
1664
1664
  {
1665
- $ref: "https://schema.twindev.org/odrl/ActionType"
1665
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1666
1666
  },
1667
1667
  {
1668
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1668
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1669
1669
  },
1670
1670
  {
1671
1671
  type: "array",
@@ -1674,10 +1674,10 @@ var properties$8 = {
1674
1674
  {
1675
1675
  anyOf: [
1676
1676
  {
1677
- $ref: "https://schema.twindev.org/odrl/ActionType"
1677
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1678
1678
  },
1679
1679
  {
1680
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1680
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1681
1681
  }
1682
1682
  ]
1683
1683
  }
@@ -1704,7 +1704,7 @@ var properties$8 = {
1704
1704
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
1705
1705
  },
1706
1706
  conflict: {
1707
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
1707
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
1708
1708
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
1709
1709
  },
1710
1710
  permission: {
@@ -1713,7 +1713,7 @@ var properties$8 = {
1713
1713
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
1714
1714
  prefixItems: [
1715
1715
  {
1716
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
1716
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
1717
1717
  }
1718
1718
  ]
1719
1719
  },
@@ -1723,7 +1723,7 @@ var properties$8 = {
1723
1723
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
1724
1724
  prefixItems: [
1725
1725
  {
1726
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
1726
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
1727
1727
  }
1728
1728
  ]
1729
1729
  },
@@ -1733,7 +1733,7 @@ var properties$8 = {
1733
1733
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
1734
1734
  prefixItems: [
1735
1735
  {
1736
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1736
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1737
1737
  }
1738
1738
  ]
1739
1739
  }
@@ -1780,7 +1780,7 @@ var OdrlOfferSchema = {
1780
1780
  };
1781
1781
 
1782
1782
  var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
1783
- var $id$7 = "https://schema.twindev.org/odrl/OdrlParty";
1783
+ var $id$7 = "https://schema.twindev.org/w3c-odrl/OdrlParty";
1784
1784
  var description$7 = "Interface for ODRL Parties.";
1785
1785
  var type$7 = "object";
1786
1786
  var properties$7 = {
@@ -1874,7 +1874,7 @@ var properties$7 = {
1874
1874
  type: "string"
1875
1875
  },
1876
1876
  {
1877
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
1877
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
1878
1878
  }
1879
1879
  ],
1880
1880
  description: "Reference to the party collection this party is part of. Used to identify a PartyCollection that a Party entity is a member of."
@@ -1923,7 +1923,7 @@ var OdrlPartySchema = {
1923
1923
  };
1924
1924
 
1925
1925
  var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
1926
- var $id$6 = "https://schema.twindev.org/odrl/OdrlPartyCollection";
1926
+ var $id$6 = "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection";
1927
1927
  var description$6 = "Interface for ODRL Party Collections. A PartyCollection identifies a collection of entities and is a subclass of Party.";
1928
1928
  var type$6 = "object";
1929
1929
  var properties$6 = {
@@ -2017,7 +2017,7 @@ var properties$6 = {
2017
2017
  type: "string"
2018
2018
  },
2019
2019
  {
2020
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
2020
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
2021
2021
  }
2022
2022
  ],
2023
2023
  description: "Reference to the party collection this party is part of. Used to identify a PartyCollection that a Party entity is a member of."
@@ -2040,7 +2040,7 @@ var properties$6 = {
2040
2040
  description: "Refinements applied to the party collection. Used to specify constraints that apply to all members of the collection.",
2041
2041
  prefixItems: [
2042
2042
  {
2043
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2043
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2044
2044
  }
2045
2045
  ]
2046
2046
  }
@@ -2084,7 +2084,7 @@ var OdrlPartyCollectionSchema = {
2084
2084
  };
2085
2085
 
2086
2086
  var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
2087
- var $id$5 = "https://schema.twindev.org/odrl/OdrlPermission";
2087
+ var $id$5 = "https://schema.twindev.org/w3c-odrl/OdrlPermission";
2088
2088
  var description$5 = "Interface for Permission Rules. A Permission allows an action to be exercised on an Asset if all constraints are satisfied and if all duties are fulfilled.";
2089
2089
  var type$5 = "object";
2090
2090
  var properties$5 = {
@@ -2174,10 +2174,10 @@ var properties$5 = {
2174
2174
  action: {
2175
2175
  anyOf: [
2176
2176
  {
2177
- $ref: "https://schema.twindev.org/odrl/ActionType"
2177
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2178
2178
  },
2179
2179
  {
2180
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2180
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2181
2181
  },
2182
2182
  {
2183
2183
  type: "array",
@@ -2186,10 +2186,10 @@ var properties$5 = {
2186
2186
  {
2187
2187
  anyOf: [
2188
2188
  {
2189
- $ref: "https://schema.twindev.org/odrl/ActionType"
2189
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2190
2190
  },
2191
2191
  {
2192
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2192
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2193
2193
  }
2194
2194
  ]
2195
2195
  }
@@ -2204,7 +2204,7 @@ var properties$5 = {
2204
2204
  type: "string"
2205
2205
  },
2206
2206
  {
2207
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2207
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2208
2208
  },
2209
2209
  {
2210
2210
  type: "array",
@@ -2216,7 +2216,7 @@ var properties$5 = {
2216
2216
  type: "string"
2217
2217
  },
2218
2218
  {
2219
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2219
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2220
2220
  }
2221
2221
  ]
2222
2222
  }
@@ -2231,7 +2231,7 @@ var properties$5 = {
2231
2231
  type: "string"
2232
2232
  },
2233
2233
  {
2234
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2234
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2235
2235
  }
2236
2236
  ],
2237
2237
  description: "The assigner of the rule."
@@ -2242,7 +2242,7 @@ var properties$5 = {
2242
2242
  type: "string"
2243
2243
  },
2244
2244
  {
2245
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2245
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2246
2246
  }
2247
2247
  ],
2248
2248
  description: "The assignee of the rule."
@@ -2253,7 +2253,7 @@ var properties$5 = {
2253
2253
  description: "Constraints applied to the rule.",
2254
2254
  prefixItems: [
2255
2255
  {
2256
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2256
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2257
2257
  }
2258
2258
  ]
2259
2259
  },
@@ -2267,7 +2267,7 @@ var properties$5 = {
2267
2267
  description: "The duties that must be fulfilled before the permission can be exercised. A Permission MAY have none, one, or more duty property values.",
2268
2268
  prefixItems: [
2269
2269
  {
2270
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2270
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2271
2271
  }
2272
2272
  ]
2273
2273
  }
@@ -2307,12 +2307,12 @@ var OdrlPermissionSchema = {
2307
2307
  };
2308
2308
 
2309
2309
  var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2310
- var $id$4 = "https://schema.twindev.org/odrl/OdrlPolicy";
2310
+ var $id$4 = "https://schema.twindev.org/w3c-odrl/OdrlPolicy";
2311
2311
  var description$4 = "Interface representing an ODRL Policy.";
2312
2312
  var type$4 = "object";
2313
2313
  var properties$4 = {
2314
2314
  "@context": {
2315
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
2315
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
2316
2316
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
2317
2317
  },
2318
2318
  "@id": {
@@ -2367,7 +2367,7 @@ var properties$4 = {
2367
2367
  ]
2368
2368
  },
2369
2369
  "@type": {
2370
- $ref: "https://schema.twindev.org/odrl/PolicyType",
2370
+ $ref: "https://schema.twindev.org/w3c-odrl/PolicyType",
2371
2371
  description: "The type of policy. Must be one of: \"Set\", \"Offer\", \"Agreement\""
2372
2372
  },
2373
2373
  "@reverse": {
@@ -2406,7 +2406,7 @@ var properties$4 = {
2406
2406
  type: "string"
2407
2407
  },
2408
2408
  {
2409
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2409
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2410
2410
  }
2411
2411
  ],
2412
2412
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -2417,7 +2417,7 @@ var properties$4 = {
2417
2417
  type: "string"
2418
2418
  },
2419
2419
  {
2420
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2420
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2421
2421
  }
2422
2422
  ],
2423
2423
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -2428,7 +2428,7 @@ var properties$4 = {
2428
2428
  type: "string"
2429
2429
  },
2430
2430
  {
2431
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2431
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2432
2432
  },
2433
2433
  {
2434
2434
  type: "array",
@@ -2440,7 +2440,7 @@ var properties$4 = {
2440
2440
  type: "string"
2441
2441
  },
2442
2442
  {
2443
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2443
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2444
2444
  }
2445
2445
  ]
2446
2446
  }
@@ -2452,10 +2452,10 @@ var properties$4 = {
2452
2452
  action: {
2453
2453
  anyOf: [
2454
2454
  {
2455
- $ref: "https://schema.twindev.org/odrl/ActionType"
2455
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2456
2456
  },
2457
2457
  {
2458
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2458
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2459
2459
  },
2460
2460
  {
2461
2461
  type: "array",
@@ -2464,10 +2464,10 @@ var properties$4 = {
2464
2464
  {
2465
2465
  anyOf: [
2466
2466
  {
2467
- $ref: "https://schema.twindev.org/odrl/ActionType"
2467
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2468
2468
  },
2469
2469
  {
2470
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2470
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2471
2471
  }
2472
2472
  ]
2473
2473
  }
@@ -2494,7 +2494,7 @@ var properties$4 = {
2494
2494
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
2495
2495
  },
2496
2496
  conflict: {
2497
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
2497
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
2498
2498
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
2499
2499
  },
2500
2500
  permission: {
@@ -2503,7 +2503,7 @@ var properties$4 = {
2503
2503
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
2504
2504
  prefixItems: [
2505
2505
  {
2506
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
2506
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
2507
2507
  }
2508
2508
  ]
2509
2509
  },
@@ -2513,7 +2513,7 @@ var properties$4 = {
2513
2513
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
2514
2514
  prefixItems: [
2515
2515
  {
2516
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
2516
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
2517
2517
  }
2518
2518
  ]
2519
2519
  },
@@ -2523,7 +2523,7 @@ var properties$4 = {
2523
2523
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
2524
2524
  prefixItems: [
2525
2525
  {
2526
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2526
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2527
2527
  }
2528
2528
  ]
2529
2529
  }
@@ -2569,7 +2569,7 @@ var OdrlPolicySchema = {
2569
2569
  };
2570
2570
 
2571
2571
  var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
2572
- var $id$3 = "https://schema.twindev.org/odrl/OdrlPolicyMetadata";
2572
+ var $id$3 = "https://schema.twindev.org/w3c-odrl/OdrlPolicyMetadata";
2573
2573
  var description$3 = "Interface for ODRL Policy Metadata using Dublin Core terms. While these aren't explicitly defined in the ODRL spec, they are valid and useful metadata properties that follow Dublin Core standards.";
2574
2574
  var type$3 = "object";
2575
2575
  var properties$3 = {
@@ -2708,7 +2708,7 @@ var OdrlPolicyMetadataSchema = {
2708
2708
  };
2709
2709
 
2710
2710
  var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
2711
- var $id$2 = "https://schema.twindev.org/odrl/OdrlProhibition";
2711
+ var $id$2 = "https://schema.twindev.org/w3c-odrl/OdrlProhibition";
2712
2712
  var description$2 = "Interface for Prohibition Rules.";
2713
2713
  var type$2 = "object";
2714
2714
  var properties$2 = {
@@ -2798,10 +2798,10 @@ var properties$2 = {
2798
2798
  action: {
2799
2799
  anyOf: [
2800
2800
  {
2801
- $ref: "https://schema.twindev.org/odrl/ActionType"
2801
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2802
2802
  },
2803
2803
  {
2804
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2804
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2805
2805
  },
2806
2806
  {
2807
2807
  type: "array",
@@ -2810,10 +2810,10 @@ var properties$2 = {
2810
2810
  {
2811
2811
  anyOf: [
2812
2812
  {
2813
- $ref: "https://schema.twindev.org/odrl/ActionType"
2813
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2814
2814
  },
2815
2815
  {
2816
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2816
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2817
2817
  }
2818
2818
  ]
2819
2819
  }
@@ -2828,7 +2828,7 @@ var properties$2 = {
2828
2828
  type: "string"
2829
2829
  },
2830
2830
  {
2831
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2831
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2832
2832
  },
2833
2833
  {
2834
2834
  type: "array",
@@ -2840,7 +2840,7 @@ var properties$2 = {
2840
2840
  type: "string"
2841
2841
  },
2842
2842
  {
2843
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2843
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2844
2844
  }
2845
2845
  ]
2846
2846
  }
@@ -2855,7 +2855,7 @@ var properties$2 = {
2855
2855
  type: "string"
2856
2856
  },
2857
2857
  {
2858
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2858
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2859
2859
  }
2860
2860
  ],
2861
2861
  description: "The assigner of the rule."
@@ -2866,7 +2866,7 @@ var properties$2 = {
2866
2866
  type: "string"
2867
2867
  },
2868
2868
  {
2869
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2869
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2870
2870
  }
2871
2871
  ],
2872
2872
  description: "The assignee of the rule."
@@ -2877,7 +2877,7 @@ var properties$2 = {
2877
2877
  description: "Constraints applied to the rule.",
2878
2878
  prefixItems: [
2879
2879
  {
2880
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2880
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2881
2881
  }
2882
2882
  ]
2883
2883
  },
@@ -2891,7 +2891,7 @@ var properties$2 = {
2891
2891
  description: "The remedies that must be fulfilled if prohibition is violated.",
2892
2892
  prefixItems: [
2893
2893
  {
2894
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2894
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2895
2895
  }
2896
2896
  ]
2897
2897
  }
@@ -2931,7 +2931,7 @@ var OdrlProhibitionSchema = {
2931
2931
  };
2932
2932
 
2933
2933
  var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
2934
- var $id$1 = "https://schema.twindev.org/odrl/OdrlRule";
2934
+ var $id$1 = "https://schema.twindev.org/w3c-odrl/OdrlRule";
2935
2935
  var description$1 = "Base interface for ODRL Rules.";
2936
2936
  var type$1 = "object";
2937
2937
  var properties$1 = {
@@ -3021,10 +3021,10 @@ var properties$1 = {
3021
3021
  action: {
3022
3022
  anyOf: [
3023
3023
  {
3024
- $ref: "https://schema.twindev.org/odrl/ActionType"
3024
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3025
3025
  },
3026
3026
  {
3027
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3027
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3028
3028
  },
3029
3029
  {
3030
3030
  type: "array",
@@ -3033,10 +3033,10 @@ var properties$1 = {
3033
3033
  {
3034
3034
  anyOf: [
3035
3035
  {
3036
- $ref: "https://schema.twindev.org/odrl/ActionType"
3036
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3037
3037
  },
3038
3038
  {
3039
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3039
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3040
3040
  }
3041
3041
  ]
3042
3042
  }
@@ -3051,7 +3051,7 @@ var properties$1 = {
3051
3051
  type: "string"
3052
3052
  },
3053
3053
  {
3054
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3054
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3055
3055
  },
3056
3056
  {
3057
3057
  type: "array",
@@ -3063,7 +3063,7 @@ var properties$1 = {
3063
3063
  type: "string"
3064
3064
  },
3065
3065
  {
3066
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3066
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3067
3067
  }
3068
3068
  ]
3069
3069
  }
@@ -3078,7 +3078,7 @@ var properties$1 = {
3078
3078
  type: "string"
3079
3079
  },
3080
3080
  {
3081
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3081
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3082
3082
  }
3083
3083
  ],
3084
3084
  description: "The assigner of the rule."
@@ -3089,7 +3089,7 @@ var properties$1 = {
3089
3089
  type: "string"
3090
3090
  },
3091
3091
  {
3092
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3092
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3093
3093
  }
3094
3094
  ],
3095
3095
  description: "The assignee of the rule."
@@ -3100,7 +3100,7 @@ var properties$1 = {
3100
3100
  description: "Constraints applied to the rule.",
3101
3101
  prefixItems: [
3102
3102
  {
3103
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
3103
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
3104
3104
  }
3105
3105
  ]
3106
3106
  },
@@ -3144,12 +3144,12 @@ var OdrlRuleSchema = {
3144
3144
  };
3145
3145
 
3146
3146
  var $schema = "https://json-schema.org/draft/2020-12/schema";
3147
- var $id = "https://schema.twindev.org/odrl/OdrlSet";
3147
+ var $id = "https://schema.twindev.org/w3c-odrl/OdrlSet";
3148
3148
  var description = "Interface representing an ODRL Set. A Set is a basic policy type with no specific party requirements.";
3149
3149
  var type = "object";
3150
3150
  var properties = {
3151
3151
  "@context": {
3152
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
3152
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
3153
3153
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
3154
3154
  },
3155
3155
  "@id": {
@@ -3244,7 +3244,7 @@ var properties = {
3244
3244
  type: "string"
3245
3245
  },
3246
3246
  {
3247
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3247
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3248
3248
  }
3249
3249
  ],
3250
3250
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -3255,7 +3255,7 @@ var properties = {
3255
3255
  type: "string"
3256
3256
  },
3257
3257
  {
3258
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3258
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3259
3259
  }
3260
3260
  ],
3261
3261
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -3266,7 +3266,7 @@ var properties = {
3266
3266
  type: "string"
3267
3267
  },
3268
3268
  {
3269
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3269
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3270
3270
  },
3271
3271
  {
3272
3272
  type: "array",
@@ -3278,7 +3278,7 @@ var properties = {
3278
3278
  type: "string"
3279
3279
  },
3280
3280
  {
3281
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3281
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3282
3282
  }
3283
3283
  ]
3284
3284
  }
@@ -3290,10 +3290,10 @@ var properties = {
3290
3290
  action: {
3291
3291
  anyOf: [
3292
3292
  {
3293
- $ref: "https://schema.twindev.org/odrl/ActionType"
3293
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3294
3294
  },
3295
3295
  {
3296
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3296
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3297
3297
  },
3298
3298
  {
3299
3299
  type: "array",
@@ -3302,10 +3302,10 @@ var properties = {
3302
3302
  {
3303
3303
  anyOf: [
3304
3304
  {
3305
- $ref: "https://schema.twindev.org/odrl/ActionType"
3305
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3306
3306
  },
3307
3307
  {
3308
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3308
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3309
3309
  }
3310
3310
  ]
3311
3311
  }
@@ -3332,7 +3332,7 @@ var properties = {
3332
3332
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
3333
3333
  },
3334
3334
  conflict: {
3335
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
3335
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
3336
3336
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
3337
3337
  },
3338
3338
  permission: {
@@ -3341,7 +3341,7 @@ var properties = {
3341
3341
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
3342
3342
  prefixItems: [
3343
3343
  {
3344
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
3344
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
3345
3345
  }
3346
3346
  ]
3347
3347
  },
@@ -3351,7 +3351,7 @@ var properties = {
3351
3351
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
3352
3352
  prefixItems: [
3353
3353
  {
3354
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
3354
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
3355
3355
  }
3356
3356
  ]
3357
3357
  },
@@ -3361,7 +3361,7 @@ var properties = {
3361
3361
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
3362
3362
  prefixItems: [
3363
3363
  {
3364
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
3364
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
3365
3365
  }
3366
3366
  ]
3367
3367
  }
@@ -3416,7 +3416,7 @@ class OdrlDataTypes {
3416
3416
  * Register the JSON-LD Redirects.
3417
3417
  */
3418
3418
  static registerRedirects() {
3419
- dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, "https://www.w3.org/ns/odrl.jsonld");
3419
+ dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, OdrlContexts.ContextRedirect);
3420
3420
  }
3421
3421
  /**
3422
3422
  * Register all the data types.