@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.
Files changed (54) hide show
  1. package/dist/cjs/index.cjs +335 -613
  2. package/dist/esm/index.mjs +336 -613
  3. package/dist/types/index.d.ts +0 -2
  4. package/dist/types/models/IOdrlAction.d.ts +3 -2
  5. package/dist/types/models/IOdrlAgreement.d.ts +1 -0
  6. package/dist/types/models/IOdrlAsset.d.ts +1 -0
  7. package/dist/types/models/IOdrlAssetCollection.d.ts +1 -0
  8. package/dist/types/models/IOdrlConstraint.d.ts +1 -0
  9. package/dist/types/models/IOdrlDuty.d.ts +1 -0
  10. package/dist/types/models/IOdrlLogicalConstraint.d.ts +1 -0
  11. package/dist/types/models/IOdrlOffer.d.ts +1 -0
  12. package/dist/types/models/IOdrlParty.d.ts +1 -0
  13. package/dist/types/models/IOdrlPartyCollection.d.ts +1 -0
  14. package/dist/types/models/IOdrlPermission.d.ts +1 -0
  15. package/dist/types/models/IOdrlPolicy.d.ts +2 -1
  16. package/dist/types/models/IOdrlProhibition.d.ts +1 -0
  17. package/dist/types/models/IOdrlRule.d.ts +2 -1
  18. package/dist/types/models/IOdrlSet.d.ts +1 -0
  19. package/dist/types/models/types/actionType.d.ts +116 -97
  20. package/dist/types/models/types/odrlTypes.d.ts +0 -4
  21. package/docs/changelog.md +135 -0
  22. package/docs/reference/index.md +0 -3
  23. package/docs/reference/interfaces/IOdrlAction.md +4 -3
  24. package/docs/reference/interfaces/IOdrlAgreement.md +3 -2
  25. package/docs/reference/interfaces/IOdrlAsset.md +2 -1
  26. package/docs/reference/interfaces/IOdrlAssetCollection.md +2 -1
  27. package/docs/reference/interfaces/IOdrlConstraint.md +2 -1
  28. package/docs/reference/interfaces/IOdrlDuty.md +3 -2
  29. package/docs/reference/interfaces/IOdrlLogicalConstraint.md +2 -1
  30. package/docs/reference/interfaces/IOdrlOffer.md +3 -2
  31. package/docs/reference/interfaces/IOdrlParty.md +2 -1
  32. package/docs/reference/interfaces/IOdrlPartyCollection.md +2 -1
  33. package/docs/reference/interfaces/IOdrlPermission.md +3 -2
  34. package/docs/reference/interfaces/IOdrlPolicy.md +3 -2
  35. package/docs/reference/interfaces/IOdrlProhibition.md +3 -2
  36. package/docs/reference/interfaces/IOdrlRule.md +3 -2
  37. package/docs/reference/interfaces/IOdrlSet.md +3 -2
  38. package/docs/reference/variables/ActionType.md +169 -142
  39. package/docs/reference/variables/ConflictStrategyType.md +1 -1
  40. package/docs/reference/variables/LeftOperandType.md +1 -1
  41. package/docs/reference/variables/LogicalConstraintType.md +1 -1
  42. package/docs/reference/variables/OdrlContexts.md +1 -1
  43. package/docs/reference/variables/OdrlTypes.md +1 -7
  44. package/docs/reference/variables/OperatorType.md +1 -1
  45. package/docs/reference/variables/PolicyType.md +1 -1
  46. package/docs/reference/variables/RightOperandType.md +1 -1
  47. package/docs/reference/variables/RuleType.md +1 -1
  48. package/docs/reference/variables/StatusType.md +1 -1
  49. package/package.json +3 -3
  50. package/dist/types/models/IOdrlPolicyMetadata.d.ts +0 -58
  51. package/dist/types/models/types/uriActionType.d.ts +0 -215
  52. package/docs/reference/interfaces/IOdrlPolicyMetadata.md +0 -86
  53. package/docs/reference/type-aliases/UriActionType.md +0 -6
  54. package/docs/reference/variables/UriActionType.md +0 -314
@@ -88,18 +88,14 @@ const OdrlTypes = {
88
88
  /**
89
89
  * ContextType.
90
90
  */
91
- ContextType: "ContextType",
92
- /**
93
- * PolicyMetadata type.
94
- */
95
- PolicyMetadata: "PolicyMetadata"
91
+ ContextType: "ContextType"
96
92
  };
97
93
 
98
- var $schema$g = "https://json-schema.org/draft/2020-12/schema";
99
- var $id$g = "https://schema.twindev.org/w3c-odrl/OdrlAction";
100
- var description$g = "Interface for ODRL Actions.";
101
- var type$f = "object";
102
- var properties$f = {
94
+ var $schema$f = "https://json-schema.org/draft/2020-12/schema";
95
+ var $id$f = "https://schema.twindev.org/w3c-odrl/OdrlAction";
96
+ var description$f = "Interface for ODRL Actions. https://www.w3.org/TR/odrl-model/#action";
97
+ var type$e = "object";
98
+ var properties$e = {
103
99
  "@context": {
104
100
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
105
101
  },
@@ -208,7 +204,14 @@ var properties$f = {
208
204
  description: "Refinements applied to the action."
209
205
  },
210
206
  includedIn: {
211
- $ref: "https://schema.twindev.org/w3c-odrl/ActionType",
207
+ anyOf: [
208
+ {
209
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
210
+ },
211
+ {
212
+ type: "string"
213
+ }
214
+ ],
212
215
  description: "Reference to the action this action is included in."
213
216
  },
214
217
  implies: {
@@ -217,12 +220,19 @@ var properties$f = {
217
220
  description: "References to actions this action implies.",
218
221
  prefixItems: [
219
222
  {
220
- $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
223
+ anyOf: [
224
+ {
225
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
226
+ },
227
+ {
228
+ type: "string"
229
+ }
230
+ ]
221
231
  }
222
232
  ]
223
233
  }
224
234
  };
225
- var additionalProperties$f = {
235
+ var additionalProperties$e = {
226
236
  anyOf: [
227
237
  {
228
238
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -248,19 +258,19 @@ var additionalProperties$f = {
248
258
  ]
249
259
  };
250
260
  var OdrlActionSchema = {
251
- $schema: $schema$g,
252
- $id: $id$g,
253
- description: description$g,
254
- type: type$f,
255
- properties: properties$f,
256
- additionalProperties: additionalProperties$f
261
+ $schema: $schema$f,
262
+ $id: $id$f,
263
+ description: description$f,
264
+ type: type$e,
265
+ properties: properties$e,
266
+ additionalProperties: additionalProperties$e
257
267
  };
258
268
 
259
- var $schema$f = "https://json-schema.org/draft/2020-12/schema";
260
- var $id$f = "https://schema.twindev.org/w3c-odrl/OdrlAgreement";
261
- var description$f = "Interface representing an ODRL Agreement. An Agreement requires both an assigner and assignee (both agreeing parties).";
262
- var type$e = "object";
263
- var properties$e = {
269
+ var $schema$e = "https://json-schema.org/draft/2020-12/schema";
270
+ var $id$e = "https://schema.twindev.org/w3c-odrl/OdrlAgreement";
271
+ var description$e = "Interface representing an ODRL Agreement. An Agreement requires both an assigner and assignee (both agreeing parties). https://www.w3.org/TR/odrl-model/#policy-agreement";
272
+ var type$d = "object";
273
+ var properties$d = {
264
274
  "@context": {
265
275
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
266
276
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
@@ -405,6 +415,9 @@ var properties$e = {
405
415
  {
406
416
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
407
417
  },
418
+ {
419
+ type: "string"
420
+ },
408
421
  {
409
422
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
410
423
  },
@@ -417,6 +430,9 @@ var properties$e = {
417
430
  {
418
431
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
419
432
  },
433
+ {
434
+ type: "string"
435
+ },
420
436
  {
421
437
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
422
438
  }
@@ -486,7 +502,7 @@ var required$6 = [
486
502
  "assigner",
487
503
  "uid"
488
504
  ];
489
- var additionalProperties$e = {
505
+ var additionalProperties$d = {
490
506
  anyOf: [
491
507
  {
492
508
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -512,20 +528,20 @@ var additionalProperties$e = {
512
528
  ]
513
529
  };
514
530
  var OdrlAgreementSchema = {
515
- $schema: $schema$f,
516
- $id: $id$f,
517
- description: description$f,
518
- type: type$e,
519
- properties: properties$e,
531
+ $schema: $schema$e,
532
+ $id: $id$e,
533
+ description: description$e,
534
+ type: type$d,
535
+ properties: properties$d,
520
536
  required: required$6,
521
- additionalProperties: additionalProperties$e
537
+ additionalProperties: additionalProperties$d
522
538
  };
523
539
 
524
- var $schema$e = "https://json-schema.org/draft/2020-12/schema";
525
- var $id$e = "https://schema.twindev.org/w3c-odrl/OdrlAsset";
526
- var description$e = "Interface for ODRL Assets.";
527
- var type$d = "object";
528
- var properties$d = {
540
+ var $schema$d = "https://json-schema.org/draft/2020-12/schema";
541
+ var $id$d = "https://schema.twindev.org/w3c-odrl/OdrlAsset";
542
+ var description$d = "Interface for ODRL Assets. https://www.w3.org/TR/odrl-model/#asset";
543
+ var type$c = "object";
544
+ var properties$c = {
529
545
  "@context": {
530
546
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
531
547
  },
@@ -613,7 +629,7 @@ var properties$d = {
613
629
  description: "Reference to the policy that governs this asset. Used to identify the Policy that governs this Asset."
614
630
  }
615
631
  };
616
- var additionalProperties$d = {
632
+ var additionalProperties$c = {
617
633
  anyOf: [
618
634
  {
619
635
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -639,19 +655,19 @@ var additionalProperties$d = {
639
655
  ]
640
656
  };
641
657
  var OdrlAssetSchema = {
642
- $schema: $schema$e,
643
- $id: $id$e,
644
- description: description$e,
645
- type: type$d,
646
- properties: properties$d,
647
- additionalProperties: additionalProperties$d
658
+ $schema: $schema$d,
659
+ $id: $id$d,
660
+ description: description$d,
661
+ type: type$c,
662
+ properties: properties$c,
663
+ additionalProperties: additionalProperties$c
648
664
  };
649
665
 
650
- var $schema$d = "https://json-schema.org/draft/2020-12/schema";
651
- var $id$d = "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection";
652
- 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.";
653
- var type$c = "object";
654
- var properties$c = {
666
+ var $schema$c = "https://json-schema.org/draft/2020-12/schema";
667
+ var $id$c = "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection";
668
+ var description$c = "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. https://www.w3.org/TR/odrl-model/#asset";
669
+ var type$b = "object";
670
+ var properties$b = {
655
671
  "@context": {
656
672
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
657
673
  },
@@ -756,7 +772,7 @@ var properties$c = {
756
772
  var required$5 = [
757
773
  "source"
758
774
  ];
759
- var additionalProperties$c = {
775
+ var additionalProperties$b = {
760
776
  anyOf: [
761
777
  {
762
778
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -782,20 +798,20 @@ var additionalProperties$c = {
782
798
  ]
783
799
  };
784
800
  var OdrlAssetCollectionSchema = {
785
- $schema: $schema$d,
786
- $id: $id$d,
787
- description: description$d,
788
- type: type$c,
789
- properties: properties$c,
801
+ $schema: $schema$c,
802
+ $id: $id$c,
803
+ description: description$c,
804
+ type: type$b,
805
+ properties: properties$b,
790
806
  required: required$5,
791
- additionalProperties: additionalProperties$c
807
+ additionalProperties: additionalProperties$b
792
808
  };
793
809
 
794
- var $schema$c = "https://json-schema.org/draft/2020-12/schema";
795
- var $id$c = "https://schema.twindev.org/w3c-odrl/OdrlConstraint";
796
- var description$c = "Interface for ODRL Constraints.";
797
- var type$b = "object";
798
- var properties$b = {
810
+ var $schema$b = "https://json-schema.org/draft/2020-12/schema";
811
+ var $id$b = "https://schema.twindev.org/w3c-odrl/OdrlConstraint";
812
+ var description$b = "Interface for ODRL Constraints. https://www.w3.org/TR/odrl-model/#constraint";
813
+ var type$a = "object";
814
+ var properties$a = {
799
815
  "@context": {
800
816
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
801
817
  },
@@ -950,7 +966,7 @@ var required$4 = [
950
966
  "leftOperand",
951
967
  "operator"
952
968
  ];
953
- var additionalProperties$b = {
969
+ var additionalProperties$a = {
954
970
  anyOf: [
955
971
  {
956
972
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -976,18 +992,18 @@ var additionalProperties$b = {
976
992
  ]
977
993
  };
978
994
  var OdrlConstraintSchema = {
979
- $schema: $schema$c,
980
- $id: $id$c,
981
- description: description$c,
982
- type: type$b,
983
- properties: properties$b,
995
+ $schema: $schema$b,
996
+ $id: $id$b,
997
+ description: description$b,
998
+ type: type$a,
999
+ properties: properties$a,
984
1000
  required: required$4,
985
- additionalProperties: additionalProperties$b
1001
+ additionalProperties: additionalProperties$a
986
1002
  };
987
1003
 
988
- var $schema$b = "https://json-schema.org/draft/2020-12/schema";
989
- var $id$b = "https://schema.twindev.org/w3c-odrl/OdrlContextType";
990
- var description$b = "The ODRL JSON-LD context type.";
1004
+ var $schema$a = "https://json-schema.org/draft/2020-12/schema";
1005
+ var $id$a = "https://schema.twindev.org/w3c-odrl/OdrlContextType";
1006
+ var description$a = "The ODRL JSON-LD context type.";
991
1007
  var anyOf = [
992
1008
  {
993
1009
  type: "string",
@@ -1027,17 +1043,17 @@ var anyOf = [
1027
1043
  }
1028
1044
  ];
1029
1045
  var OdrlContextTypeSchema = {
1030
- $schema: $schema$b,
1031
- $id: $id$b,
1032
- description: description$b,
1046
+ $schema: $schema$a,
1047
+ $id: $id$a,
1048
+ description: description$a,
1033
1049
  anyOf: anyOf
1034
1050
  };
1035
1051
 
1036
- var $schema$a = "https://json-schema.org/draft/2020-12/schema";
1037
- var $id$a = "https://schema.twindev.org/w3c-odrl/OdrlDuty";
1038
- 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.";
1039
- var type$a = "object";
1040
- var properties$a = {
1052
+ var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
1053
+ var $id$9 = "https://schema.twindev.org/w3c-odrl/OdrlDuty";
1054
+ var description$9 = "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. https://www.w3.org/TR/odrl-model/#duty";
1055
+ var type$9 = "object";
1056
+ var properties$9 = {
1041
1057
  "@context": {
1042
1058
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1043
1059
  },
@@ -1126,6 +1142,9 @@ var properties$a = {
1126
1142
  {
1127
1143
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1128
1144
  },
1145
+ {
1146
+ type: "string"
1147
+ },
1129
1148
  {
1130
1149
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1131
1150
  },
@@ -1138,6 +1157,9 @@ var properties$a = {
1138
1157
  {
1139
1158
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1140
1159
  },
1160
+ {
1161
+ type: "string"
1162
+ },
1141
1163
  {
1142
1164
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1143
1165
  }
@@ -1244,7 +1266,7 @@ var properties$a = {
1244
1266
  description: "The party to be compensated Used when the duty involves compensation"
1245
1267
  }
1246
1268
  };
1247
- var additionalProperties$a = {
1269
+ var additionalProperties$9 = {
1248
1270
  anyOf: [
1249
1271
  {
1250
1272
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1270,19 +1292,19 @@ var additionalProperties$a = {
1270
1292
  ]
1271
1293
  };
1272
1294
  var OdrlDutySchema = {
1273
- $schema: $schema$a,
1274
- $id: $id$a,
1275
- description: description$a,
1276
- type: type$a,
1277
- properties: properties$a,
1278
- additionalProperties: additionalProperties$a
1295
+ $schema: $schema$9,
1296
+ $id: $id$9,
1297
+ description: description$9,
1298
+ type: type$9,
1299
+ properties: properties$9,
1300
+ additionalProperties: additionalProperties$9
1279
1301
  };
1280
1302
 
1281
- var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
1282
- var $id$9 = "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint";
1283
- 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.";
1284
- var type$9 = "object";
1285
- var properties$9 = {
1303
+ var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
1304
+ var $id$8 = "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint";
1305
+ var description$8 = "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. https://www.w3.org/TR/odrl-model/#constraint-logical";
1306
+ var type$8 = "object";
1307
+ var properties$8 = {
1286
1308
  "@context": {
1287
1309
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1288
1310
  },
@@ -1479,7 +1501,7 @@ var properties$9 = {
1479
1501
  description: "AND Sequence operator - all constraints must be satisfied in order."
1480
1502
  }
1481
1503
  };
1482
- var additionalProperties$9 = {
1504
+ var additionalProperties$8 = {
1483
1505
  anyOf: [
1484
1506
  {
1485
1507
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1505,19 +1527,19 @@ var additionalProperties$9 = {
1505
1527
  ]
1506
1528
  };
1507
1529
  var OdrlLogicalConstraintSchema = {
1508
- $schema: $schema$9,
1509
- $id: $id$9,
1510
- description: description$9,
1511
- type: type$9,
1512
- properties: properties$9,
1513
- additionalProperties: additionalProperties$9
1530
+ $schema: $schema$8,
1531
+ $id: $id$8,
1532
+ description: description$8,
1533
+ type: type$8,
1534
+ properties: properties$8,
1535
+ additionalProperties: additionalProperties$8
1514
1536
  };
1515
1537
 
1516
- var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
1517
- var $id$8 = "https://schema.twindev.org/w3c-odrl/OdrlOffer";
1518
- var description$8 = "Interface representing an ODRL Offer. An Offer requires an assigner (the party making the offer).";
1519
- var type$8 = "object";
1520
- var properties$8 = {
1538
+ var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
1539
+ var $id$7 = "https://schema.twindev.org/w3c-odrl/OdrlOffer";
1540
+ var description$7 = "Interface representing an ODRL Offer. An Offer requires an assigner (the party making the offer). https://www.w3.org/TR/odrl-model/#policy-offer";
1541
+ var type$7 = "object";
1542
+ var properties$7 = {
1521
1543
  "@context": {
1522
1544
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
1523
1545
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
@@ -1662,6 +1684,9 @@ var properties$8 = {
1662
1684
  {
1663
1685
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1664
1686
  },
1687
+ {
1688
+ type: "string"
1689
+ },
1665
1690
  {
1666
1691
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1667
1692
  },
@@ -1674,6 +1699,9 @@ var properties$8 = {
1674
1699
  {
1675
1700
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1676
1701
  },
1702
+ {
1703
+ type: "string"
1704
+ },
1677
1705
  {
1678
1706
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1679
1707
  }
@@ -1742,7 +1770,7 @@ var required$3 = [
1742
1770
  "assigner",
1743
1771
  "uid"
1744
1772
  ];
1745
- var additionalProperties$8 = {
1773
+ var additionalProperties$7 = {
1746
1774
  anyOf: [
1747
1775
  {
1748
1776
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1768,20 +1796,20 @@ var additionalProperties$8 = {
1768
1796
  ]
1769
1797
  };
1770
1798
  var OdrlOfferSchema = {
1771
- $schema: $schema$8,
1772
- $id: $id$8,
1773
- description: description$8,
1774
- type: type$8,
1775
- properties: properties$8,
1799
+ $schema: $schema$7,
1800
+ $id: $id$7,
1801
+ description: description$7,
1802
+ type: type$7,
1803
+ properties: properties$7,
1776
1804
  required: required$3,
1777
- additionalProperties: additionalProperties$8
1805
+ additionalProperties: additionalProperties$7
1778
1806
  };
1779
1807
 
1780
- var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
1781
- var $id$7 = "https://schema.twindev.org/w3c-odrl/OdrlParty";
1782
- var description$7 = "Interface for ODRL Parties.";
1783
- var type$7 = "object";
1784
- var properties$7 = {
1808
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
1809
+ var $id$6 = "https://schema.twindev.org/w3c-odrl/OdrlParty";
1810
+ var description$6 = "Interface for ODRL Parties. https://www.w3.org/TR/odrl-model/#party";
1811
+ var type$6 = "object";
1812
+ var properties$6 = {
1785
1813
  "@context": {
1786
1814
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1787
1815
  },
@@ -1886,7 +1914,7 @@ var properties$7 = {
1886
1914
  description: "Reference to a policy where this party is an assigner. When assignerOf is asserted, the Party MUST be inferred to undertake the assigner functional role of all the Rules of that Policy."
1887
1915
  }
1888
1916
  };
1889
- var additionalProperties$7 = {
1917
+ var additionalProperties$6 = {
1890
1918
  anyOf: [
1891
1919
  {
1892
1920
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1912,19 +1940,19 @@ var additionalProperties$7 = {
1912
1940
  ]
1913
1941
  };
1914
1942
  var OdrlPartySchema = {
1915
- $schema: $schema$7,
1916
- $id: $id$7,
1917
- description: description$7,
1918
- type: type$7,
1919
- properties: properties$7,
1920
- additionalProperties: additionalProperties$7
1943
+ $schema: $schema$6,
1944
+ $id: $id$6,
1945
+ description: description$6,
1946
+ type: type$6,
1947
+ properties: properties$6,
1948
+ additionalProperties: additionalProperties$6
1921
1949
  };
1922
1950
 
1923
- var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
1924
- var $id$6 = "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection";
1925
- var description$6 = "Interface for ODRL Party Collections. A PartyCollection identifies a collection of entities and is a subclass of Party.";
1926
- var type$6 = "object";
1927
- var properties$6 = {
1951
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
1952
+ var $id$5 = "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection";
1953
+ var description$5 = "Interface for ODRL Party Collections. A PartyCollection identifies a collection of entities and is a subclass of Party. https://www.w3.org/TR/odrl-model/#party";
1954
+ var type$5 = "object";
1955
+ var properties$5 = {
1928
1956
  "@context": {
1929
1957
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1930
1958
  },
@@ -2046,7 +2074,7 @@ var properties$6 = {
2046
2074
  var required$2 = [
2047
2075
  "source"
2048
2076
  ];
2049
- var additionalProperties$6 = {
2077
+ var additionalProperties$5 = {
2050
2078
  anyOf: [
2051
2079
  {
2052
2080
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2072,20 +2100,20 @@ var additionalProperties$6 = {
2072
2100
  ]
2073
2101
  };
2074
2102
  var OdrlPartyCollectionSchema = {
2075
- $schema: $schema$6,
2076
- $id: $id$6,
2077
- description: description$6,
2078
- type: type$6,
2079
- properties: properties$6,
2103
+ $schema: $schema$5,
2104
+ $id: $id$5,
2105
+ description: description$5,
2106
+ type: type$5,
2107
+ properties: properties$5,
2080
2108
  required: required$2,
2081
- additionalProperties: additionalProperties$6
2109
+ additionalProperties: additionalProperties$5
2082
2110
  };
2083
2111
 
2084
- var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
2085
- var $id$5 = "https://schema.twindev.org/w3c-odrl/OdrlPermission";
2086
- 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.";
2087
- var type$5 = "object";
2088
- var properties$5 = {
2112
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2113
+ var $id$4 = "https://schema.twindev.org/w3c-odrl/OdrlPermission";
2114
+ var description$4 = "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. https://www.w3.org/TR/odrl-model/#permission";
2115
+ var type$4 = "object";
2116
+ var properties$4 = {
2089
2117
  "@context": {
2090
2118
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
2091
2119
  },
@@ -2174,6 +2202,9 @@ var properties$5 = {
2174
2202
  {
2175
2203
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2176
2204
  },
2205
+ {
2206
+ type: "string"
2207
+ },
2177
2208
  {
2178
2209
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2179
2210
  },
@@ -2186,6 +2217,9 @@ var properties$5 = {
2186
2217
  {
2187
2218
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2188
2219
  },
2220
+ {
2221
+ type: "string"
2222
+ },
2189
2223
  {
2190
2224
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2191
2225
  }
@@ -2270,7 +2304,7 @@ var properties$5 = {
2270
2304
  ]
2271
2305
  }
2272
2306
  };
2273
- var additionalProperties$5 = {
2307
+ var additionalProperties$4 = {
2274
2308
  anyOf: [
2275
2309
  {
2276
2310
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2296,19 +2330,19 @@ var additionalProperties$5 = {
2296
2330
  ]
2297
2331
  };
2298
2332
  var OdrlPermissionSchema = {
2299
- $schema: $schema$5,
2300
- $id: $id$5,
2301
- description: description$5,
2302
- type: type$5,
2303
- properties: properties$5,
2304
- additionalProperties: additionalProperties$5
2305
- };
2306
-
2307
- var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2308
- var $id$4 = "https://schema.twindev.org/w3c-odrl/OdrlPolicy";
2309
- var description$4 = "Interface representing an ODRL Policy.";
2310
- var type$4 = "object";
2311
- var properties$4 = {
2333
+ $schema: $schema$4,
2334
+ $id: $id$4,
2335
+ description: description$4,
2336
+ type: type$4,
2337
+ properties: properties$4,
2338
+ additionalProperties: additionalProperties$4
2339
+ };
2340
+
2341
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
2342
+ var $id$3 = "https://schema.twindev.org/w3c-odrl/OdrlPolicy";
2343
+ var description$3 = "Interface representing an ODRL Policy. https://www.w3.org/TR/odrl-model/#policy";
2344
+ var type$3 = "object";
2345
+ var properties$3 = {
2312
2346
  "@context": {
2313
2347
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
2314
2348
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
@@ -2452,6 +2486,9 @@ var properties$4 = {
2452
2486
  {
2453
2487
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2454
2488
  },
2489
+ {
2490
+ type: "string"
2491
+ },
2455
2492
  {
2456
2493
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2457
2494
  },
@@ -2464,6 +2501,9 @@ var properties$4 = {
2464
2501
  {
2465
2502
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2466
2503
  },
2504
+ {
2505
+ type: "string"
2506
+ },
2467
2507
  {
2468
2508
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2469
2509
  }
@@ -2531,7 +2571,7 @@ var required$1 = [
2531
2571
  "@type",
2532
2572
  "uid"
2533
2573
  ];
2534
- var additionalProperties$4 = {
2574
+ var additionalProperties$3 = {
2535
2575
  anyOf: [
2536
2576
  {
2537
2577
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2557,157 +2597,18 @@ var additionalProperties$4 = {
2557
2597
  ]
2558
2598
  };
2559
2599
  var OdrlPolicySchema = {
2560
- $schema: $schema$4,
2561
- $id: $id$4,
2562
- description: description$4,
2563
- type: type$4,
2564
- properties: properties$4,
2565
- required: required$1,
2566
- additionalProperties: additionalProperties$4
2567
- };
2568
-
2569
- var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
2570
- var $id$3 = "https://schema.twindev.org/w3c-odrl/OdrlPolicyMetadata";
2571
- 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.";
2572
- var type$3 = "object";
2573
- var properties$3 = {
2574
- "dc:creator": {
2575
- anyOf: [
2576
- {
2577
- type: "string"
2578
- },
2579
- {
2580
- type: "array",
2581
- items: false,
2582
- prefixItems: [
2583
- {
2584
- type: "string"
2585
- }
2586
- ]
2587
- }
2588
- ],
2589
- description: "The individual, agent, or organisation that authored the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2590
- },
2591
- "dc:description": {
2592
- anyOf: [
2593
- {
2594
- type: "string"
2595
- },
2596
- {
2597
- type: "array",
2598
- items: false,
2599
- prefixItems: [
2600
- {
2601
- type: "string"
2602
- }
2603
- ]
2604
- }
2605
- ],
2606
- description: "A human-readable representation or summary of the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2607
- },
2608
- "dc:issued": {
2609
- type: "string",
2610
- description: "The date (and time) the Policy was first issued. Note: String values may not be normalized and should not be used for direct comparison."
2611
- },
2612
- "dc:modified": {
2613
- type: "string",
2614
- description: "The date (and time) the Policy was updated. Note: String values may not be normalized and should not be used for direct comparison."
2615
- },
2616
- "dc:publisher": {
2617
- type: "string",
2618
- description: "The publisher of the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2619
- },
2620
- "dc:subject": {
2621
- anyOf: [
2622
- {
2623
- type: "string"
2624
- },
2625
- {
2626
- type: "array",
2627
- items: false,
2628
- prefixItems: [
2629
- {
2630
- type: "string"
2631
- }
2632
- ]
2633
- }
2634
- ],
2635
- description: "The subject of the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2636
- },
2637
- "dc:coverage": {
2638
- anyOf: [
2639
- {
2640
- type: "string"
2641
- },
2642
- {
2643
- type: "object",
2644
- properties: {
2645
- "@id": {
2646
- type: "string"
2647
- }
2648
- },
2649
- required: [
2650
- "@id"
2651
- ],
2652
- additionalProperties: false
2653
- }
2654
- ],
2655
- description: "The jurisdiction under which the Policy is relevant. Note: When using string values, they may not be normalized and should not be used for direct comparison. Using \"@id\" references is preferred for comparison purposes."
2656
- },
2657
- "dc:replaces": {
2658
- anyOf: [
2659
- {
2660
- type: "string"
2661
- },
2662
- {
2663
- type: "object",
2664
- properties: {
2665
- "@id": {
2666
- type: "string"
2667
- }
2668
- },
2669
- required: [
2670
- "@id"
2671
- ],
2672
- additionalProperties: false
2673
- }
2674
- ],
2675
- description: "The identifier of a Policy that this Policy supersedes. Using \"@id\" references is preferred for comparison purposes."
2676
- },
2677
- "dc:isReplacedBy": {
2678
- anyOf: [
2679
- {
2680
- type: "string"
2681
- },
2682
- {
2683
- type: "object",
2684
- properties: {
2685
- "@id": {
2686
- type: "string"
2687
- }
2688
- },
2689
- required: [
2690
- "@id"
2691
- ],
2692
- additionalProperties: false
2693
- }
2694
- ],
2695
- description: "The identifier of a Policy that supersedes this Policy. Using \"@id\" references is preferred for comparison purposes."
2696
- }
2697
- };
2698
- var additionalProperties$3 = false;
2699
- var OdrlPolicyMetadataSchema = {
2700
2600
  $schema: $schema$3,
2701
2601
  $id: $id$3,
2702
2602
  description: description$3,
2703
2603
  type: type$3,
2704
2604
  properties: properties$3,
2605
+ required: required$1,
2705
2606
  additionalProperties: additionalProperties$3
2706
2607
  };
2707
2608
 
2708
2609
  var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
2709
2610
  var $id$2 = "https://schema.twindev.org/w3c-odrl/OdrlProhibition";
2710
- var description$2 = "Interface for Prohibition Rules.";
2611
+ var description$2 = "Interface for Prohibition Rules. https://www.w3.org/TR/odrl-model/#prohibition";
2711
2612
  var type$2 = "object";
2712
2613
  var properties$2 = {
2713
2614
  "@context": {
@@ -2798,6 +2699,9 @@ var properties$2 = {
2798
2699
  {
2799
2700
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2800
2701
  },
2702
+ {
2703
+ type: "string"
2704
+ },
2801
2705
  {
2802
2706
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2803
2707
  },
@@ -2810,6 +2714,9 @@ var properties$2 = {
2810
2714
  {
2811
2715
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2812
2716
  },
2717
+ {
2718
+ type: "string"
2719
+ },
2813
2720
  {
2814
2721
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2815
2722
  }
@@ -2930,7 +2837,7 @@ var OdrlProhibitionSchema = {
2930
2837
 
2931
2838
  var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
2932
2839
  var $id$1 = "https://schema.twindev.org/w3c-odrl/OdrlRule";
2933
- var description$1 = "Base interface for ODRL Rules.";
2840
+ var description$1 = "Base interface for ODRL Rules. https://www.w3.org/TR/odrl-model/#rule";
2934
2841
  var type$1 = "object";
2935
2842
  var properties$1 = {
2936
2843
  "@context": {
@@ -3021,6 +2928,9 @@ var properties$1 = {
3021
2928
  {
3022
2929
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3023
2930
  },
2931
+ {
2932
+ type: "string"
2933
+ },
3024
2934
  {
3025
2935
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3026
2936
  },
@@ -3033,6 +2943,9 @@ var properties$1 = {
3033
2943
  {
3034
2944
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3035
2945
  },
2946
+ {
2947
+ type: "string"
2948
+ },
3036
2949
  {
3037
2950
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3038
2951
  }
@@ -3143,7 +3056,7 @@ var OdrlRuleSchema = {
3143
3056
 
3144
3057
  var $schema = "https://json-schema.org/draft/2020-12/schema";
3145
3058
  var $id = "https://schema.twindev.org/w3c-odrl/OdrlSet";
3146
- var description = "Interface representing an ODRL Set. A Set is a basic policy type with no specific party requirements.";
3059
+ var description = "Interface representing an ODRL Set. A Set is a basic policy type with no specific party requirements. https://www.w3.org/TR/odrl-model/#policy-set";
3147
3060
  var type = "object";
3148
3061
  var properties = {
3149
3062
  "@context": {
@@ -3290,6 +3203,9 @@ var properties = {
3290
3203
  {
3291
3204
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3292
3205
  },
3206
+ {
3207
+ type: "string"
3208
+ },
3293
3209
  {
3294
3210
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3295
3211
  },
@@ -3302,6 +3218,9 @@ var properties = {
3302
3218
  {
3303
3219
  $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3304
3220
  },
3221
+ {
3222
+ type: "string"
3223
+ },
3305
3224
  {
3306
3225
  $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3307
3226
  }
@@ -3475,11 +3394,6 @@ class OdrlDataTypes {
3475
3394
  type: OdrlTypes.LogicalConstraint,
3476
3395
  jsonSchema: async () => OdrlLogicalConstraintSchema
3477
3396
  }));
3478
- DataTypeHandlerFactory.register(`${OdrlContexts.ContextRoot}${OdrlTypes.PolicyMetadata}`, () => ({
3479
- context: OdrlContexts.ContextRoot,
3480
- type: OdrlTypes.PolicyMetadata,
3481
- jsonSchema: async () => OdrlPolicyMetadataSchema
3482
- }));
3483
3397
  DataTypeHandlerFactory.register(`${OdrlContexts.ContextRoot}${OdrlTypes.Set}`, () => ({
3484
3398
  context: OdrlContexts.ContextRoot,
3485
3399
  type: OdrlTypes.Set,
@@ -3516,210 +3430,233 @@ class OdrlDataTypes {
3516
3430
  */
3517
3431
  // eslint-disable-next-line @typescript-eslint/naming-convention
3518
3432
  const ActionType = {
3433
+ // Core actions
3519
3434
  /**
3520
- * To use the Asset - actions that involve general usage by parties.
3435
+ * The act of using an asset, covering any general usage where ownership does not change.
3436
+ * This is the parent term for most permissions and prohibitions.
3521
3437
  */
3522
3438
  Use: "use",
3523
3439
  /**
3524
- * To transfer the ownership to third parties.
3440
+ * The act of transferring the ownership of an asset in perpetuity to a third party.
3525
3441
  */
3526
3442
  Transfer: "transfer",
3443
+ // Sub-actions of 'use'
3527
3444
  /**
3528
- * To accept that the use of the Asset may be tracked.
3529
- */
3530
- AcceptTracking: "acceptTracking",
3531
- /**
3532
- * To use the Asset or parts of it as part of a composite collection.
3445
+ * The act of using an asset (or parts of it) as part of a composite collection.
3533
3446
  */
3534
3447
  Aggregate: "aggregate",
3535
3448
  /**
3536
- * To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
3449
+ * The act of adding explanatory notations/commentaries to the asset.
3537
3450
  */
3538
3451
  Annotate: "annotate",
3539
3452
  /**
3540
- * To anonymize all or parts of the Asset.
3453
+ * The act of anonymising all or parts of the asset, for example, to remove identifying particulars.
3541
3454
  */
3542
3455
  Anonymize: "anonymize",
3543
3456
  /**
3544
- * To store the Asset (in a non-transient form).
3457
+ * The act of persistently storing the asset in a non-transient form.
3545
3458
  */
3546
3459
  Archive: "archive",
3547
3460
  /**
3548
- * To attribute the use of the Asset.
3461
+ * The act of multiple concurrent use of the asset.
3549
3462
  */
3550
- Attribute: "attribute",
3463
+ ConcurrentUse: "concurrentUse",
3551
3464
  /**
3552
- * Credit be given to copyright holder and/or author.
3465
+ * The act of using the asset in a business environment where it may be traded for profit.
3553
3466
  */
3554
- Attribution: "attribution",
3467
+ Commercialize: "commercialize",
3555
3468
  /**
3556
- * Exercising rights for commercial purposes.
3469
+ * The act of making an exact reproduction of the asset. Also identified as `reproduce`.
3557
3470
  */
3558
- CommercialUse: "commercialUse",
3471
+ Copy: "copy",
3559
3472
  /**
3560
- * To compensate by transfer of some amount of value for using or selling the Asset.
3473
+ * The act of creating a new derivative asset from the original and editing or modifying it.
3561
3474
  */
3562
- Compensate: "compensate",
3475
+ Derive: "derive",
3563
3476
  /**
3564
- * To create multiple copies of the Asset that are being concurrently used.
3477
+ * The act of producing a digital copy of an asset from its analogue form.
3565
3478
  */
3566
- ConcurrentUse: "concurrentUse",
3479
+ Digitize: "digitize",
3567
3480
  /**
3568
- * To permanently remove all copies of the Asset after it has been used.
3481
+ * The act of making a transient visible rendering of the asset, such as displaying an image on a screen.
3482
+ * Also identified as `present` in earlier versions.
3569
3483
  */
3570
- Delete: "delete",
3484
+ Display: "display",
3571
3485
  /**
3572
- * To create a new derivative Asset from this Asset and to edit or modify the derivative.
3486
+ * The act of publicly distributing, displaying, or performing the asset.
3573
3487
  */
3574
- Derive: "derive",
3488
+ Distribute: "distribute",
3575
3489
  /**
3576
- * Distribution of derivative works.
3490
+ * The act of executing the asset, such as running a program or application.
3577
3491
  */
3578
- DerivativeWorks: "derivativeWorks",
3492
+ Execute: "execute",
3579
3493
  /**
3580
- * To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
3494
+ * The act of extracting (replicating) unchanged parts of the asset for reuse.
3581
3495
  */
3582
- Digitize: "digitize",
3496
+ Extract: "extract",
3583
3497
  /**
3584
- * To create a static and transient rendition of an Asset.
3498
+ * The act of extracting unchanged character(s) from the asset.
3585
3499
  */
3586
- Display: "display",
3500
+ ExtractChar: "extractChar",
3587
3501
  /**
3588
- * To supply the Asset to third-parties.
3502
+ * The act of extracting unchanged word(s) from the asset.
3589
3503
  */
3590
- Distribute: "distribute",
3504
+ ExtractWord: "extractWord",
3591
3505
  /**
3592
- * Distribution, public display, and publicly performance.
3506
+ * The act of extracting unchanged page(s) from the asset.
3593
3507
  */
3594
- Distribution: "distribution",
3508
+ ExtractPage: "extractPage",
3595
3509
  /**
3596
- * To ensure that the Rule on the Asset is exclusive.
3510
+ * The act of recording the asset in an index, for example, a search engine database.
3597
3511
  */
3598
- EnsureExclusivity: "ensureExclusivity",
3512
+ Index: "index",
3599
3513
  /**
3600
- * To run the computer program Asset.
3514
+ * The act of loading the asset onto a storage device ready for operation.
3601
3515
  */
3602
- Execute: "execute",
3516
+ Install: "install",
3603
3517
  /**
3604
- * To extract parts of the Asset and to use it as a new Asset.
3518
+ * The act of granting the use of the asset to third parties. Also identified as `sublicense` in earlier versions.
3605
3519
  */
3606
- Extract: "extract",
3520
+ License: "license",
3607
3521
  /**
3608
- * To transfer the ownership without compensation and while deleting the original asset.
3522
+ * The act of making the asset available to a third-party for a fixed period with exchange of value.
3609
3523
  */
3610
- Give: "give",
3524
+ Lease: "lease",
3611
3525
  /**
3612
- * To grant the use of the Asset to third parties.
3526
+ * The act of making the asset available to a third-party for a fixed period without exchange of value.
3613
3527
  */
3614
- GrantUse: "grantUse",
3528
+ Lend: "lend",
3615
3529
  /**
3616
- * To include other related assets in the Asset.
3530
+ * The act of updating existing content of the asset without creating a new one.
3617
3531
  */
3618
- Include: "include",
3532
+ Modify: "modify",
3619
3533
  /**
3620
- * To record the Asset in an index.
3534
+ * The act of moving the asset from one digital location to another and deleting the original.
3621
3535
  */
3622
- Index: "index",
3536
+ Move: "move",
3623
3537
  /**
3624
- * To inform that an action has been performed on or in relation to the Asset.
3538
+ * The act of rendering the asset into audio and/or video form.
3625
3539
  */
3626
- Inform: "inform",
3540
+ Play: "play",
3627
3541
  /**
3628
- * To load the computer program Asset onto a storage device.
3542
+ * The act of providing a short preview of the asset.
3629
3543
  */
3630
- Install: "install",
3544
+ Preview: "preview",
3631
3545
  /**
3632
- * To change existing content of the Asset without creating a new asset.
3546
+ * The act of rendering the asset onto paper or hard copy form.
3633
3547
  */
3634
- Modify: "modify",
3548
+ Print: "print",
3635
3549
  /**
3636
- * To move the Asset from one digital location to another including deleting the original copy.
3550
+ * The act of obtaining data from the asset, such as a database record.
3637
3551
  */
3638
- Move: "move",
3552
+ Read: "read",
3639
3553
  /**
3640
- * To grant the specified Policy to a third party for their use of the Asset.
3554
+ * The act of using the asset for a purpose other than its intended purpose.
3641
3555
  */
3642
- NextPolicy: "nextPolicy",
3556
+ SecondaryUse: "secondaryUse",
3643
3557
  /**
3644
- * Copyright and license notices be kept intact.
3558
+ * The act of non-commercial reproduction and distribution of the asset to third-parties.
3645
3559
  */
3646
- Notice: "notice",
3560
+ Share: "share",
3647
3561
  /**
3648
- * To obtain verifiable consent to perform the requested action.
3562
+ * The act of sharing the asset to parties in close proximity to the owner.
3649
3563
  */
3650
- ObtainConsent: "obtainConsent",
3564
+ AdhocShare: "adhocShare",
3651
3565
  /**
3652
- * To create a sequential and transient rendition of an Asset.
3566
+ * The act of distributing any derivative asset under the same terms as the original.
3653
3567
  */
3654
- Play: "play",
3568
+ ShareAlike: "shareAlike",
3655
3569
  /**
3656
- * To publicly perform the Asset.
3570
+ * The act of a system reading the text of the asset out loud.
3657
3571
  */
3658
- Present: "present",
3572
+ TextToSpeech: "textToSpeech",
3659
3573
  /**
3660
- * To create a tangible and permanent rendition of an Asset.
3574
+ * The act of translating the asset's original language into another, creating a new derivative asset.
3661
3575
  */
3662
- Print: "print",
3576
+ Translate: "translate",
3663
3577
  /**
3664
- * To obtain data from the Asset.
3578
+ * The act of transforming the asset into a different digital format.
3665
3579
  */
3666
- Read: "read",
3580
+ Transform: "transform",
3667
3581
  /**
3668
- * To make duplicate copies of the Asset in any material form.
3582
+ * The act of unloading the asset from a storage device, making it no longer accessible.
3669
3583
  */
3670
- Reproduce: "reproduce",
3584
+ Uninstall: "uninstall",
3585
+ /**
3586
+ * The act of applying a watermark to the asset.
3587
+ */
3588
+ Watermark: "watermark",
3589
+ /**
3590
+ * The act of writing to or modifying the asset.
3591
+ */
3592
+ Write: "write",
3671
3593
  /**
3672
- * Making multiple copies.
3594
+ * The act of adding to the end of an asset, for example, a database record.
3595
+ * Also identified as `appendTo`.
3673
3596
  */
3674
- Reproduction: "reproduction",
3597
+ Append: "append",
3598
+ // Sub-actions of 'transfer'
3675
3599
  /**
3676
- * To review the Policy applicable to the Asset.
3600
+ * The act of giving away the asset in perpetuity without exchange of value, requiring the original to be deleted.
3677
3601
  */
3678
- ReviewPolicy: "reviewPolicy",
3602
+ Give: "give",
3679
3603
  /**
3680
- * To transfer the ownership with compensation and while deleting the original asset.
3604
+ * The act of trading the asset in exchange for compensation, requiring the original to be deleted.
3681
3605
  */
3682
3606
  Sell: "sell",
3607
+ // Actions typically used in Duties
3683
3608
  /**
3684
- * Derivative works be licensed under the same terms or compatible terms.
3609
+ * The act of accepting that the use of the asset may be tracked by a specified party.
3685
3610
  */
3686
- ShareAlike: "shareAlike",
3611
+ AcceptTracking: "acceptTracking",
3687
3612
  /**
3688
- * Permits commercial derivatives, but only non-commercial distribution.
3613
+ * The act of keeping a policy notice attached to the asset.
3689
3614
  */
3690
- Sharing: "sharing",
3615
+ AttachPolicy: "attachPolicy",
3691
3616
  /**
3692
- * Source code must be provided when exercising some rights.
3617
+ * The act of attaching the source of the asset and its derivatives.
3693
3618
  */
3694
- SourceCode: "sourceCode",
3619
+ AttachSource: "attachSource",
3695
3620
  /**
3696
- * To deliver the Asset in real-time.
3621
+ * The act of attributing the asset to a specified party.
3697
3622
  */
3698
- Stream: "stream",
3623
+ Attribute: "attribute",
3699
3624
  /**
3700
- * To use the Asset in timed relations with media elements of another Asset.
3625
+ * The act of compensating a specified party by some amount for use of the asset.
3701
3626
  */
3702
- Synchronize: "synchronize",
3627
+ Compensate: "compensate",
3703
3628
  /**
3704
- * To have a text Asset read out loud.
3629
+ * The act of permanently removing all copies of the asset.
3705
3630
  */
3706
- TextToSpeech: "textToSpeech",
3631
+ Delete: "delete",
3707
3632
  /**
3708
- * To convert the Asset into a different format.
3633
+ * The act of requiring the assigner to ensure a permission is exclusive to the assignee.
3709
3634
  */
3710
- Transform: "transform",
3635
+ EnsureExclusivity: "ensureExclusivity",
3711
3636
  /**
3712
- * To translate the Asset into another natural language.
3637
+ * The act of including other related assets to fulfil the function.
3713
3638
  */
3714
- Translate: "translate",
3639
+ Include: "include",
3715
3640
  /**
3716
- * To unload and delete the computer program Asset.
3641
+ * The act of informing a party that an action has been performed on the asset.
3717
3642
  */
3718
- Uninstall: "uninstall",
3643
+ Inform: "inform",
3644
+ /**
3645
+ * The act of specifying a policy for third-party use of the asset.
3646
+ */
3647
+ NextPolicy: "nextPolicy",
3719
3648
  /**
3720
- * To apply a watermark to the Asset.
3649
+ * The act of requiring explicit consent from a party to perform an action.
3721
3650
  */
3722
- Watermark: "watermark"
3651
+ ObtainConsent: "obtainConsent",
3652
+ /**
3653
+ * The act of paying a financial amount to a party for use of the asset.
3654
+ */
3655
+ Pay: "pay",
3656
+ /**
3657
+ * The act of performing a manual review of the terms associated with the asset.
3658
+ */
3659
+ ReviewPolicy: "reviewPolicy"
3723
3660
  };
3724
3661
 
3725
3662
  // Copyright 2024 IOTA Stiftung.
@@ -4055,218 +3992,4 @@ const StatusType = {
4055
3992
  Revoked: "revoked"
4056
3993
  };
4057
3994
 
4058
- // Copyright 2024 IOTA Stiftung.
4059
- // SPDX-License-Identifier: Apache-2.0.
4060
- /**
4061
- * The types for ODRL Actions.
4062
- * URI action types (for use with rdf:value/@id)
4063
- */
4064
- // eslint-disable-next-line @typescript-eslint/naming-convention
4065
- const UriActionType = {
4066
- /**
4067
- * To use the Asset - actions that involve general usage by parties.
4068
- */
4069
- OdrlUse: "odrl:use",
4070
- /**
4071
- * To transfer the ownership to third parties.
4072
- */
4073
- OdrlTransfer: "odrl:transfer",
4074
- /**
4075
- * To accept that the use of the Asset may be tracked.
4076
- */
4077
- OdrlAcceptTracking: "odrl:acceptTracking",
4078
- /**
4079
- * To use the Asset or parts of it as part of a composite collection.
4080
- */
4081
- OdrlAggregate: "odrl:aggregate",
4082
- /**
4083
- * To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
4084
- */
4085
- OdrlAnnotate: "odrl:annotate",
4086
- /**
4087
- * To anonymize all or parts of the Asset.
4088
- */
4089
- OdrlAnonymize: "odrl:anonymize",
4090
- /**
4091
- * To store the Asset (in a non-transient form).
4092
- */
4093
- OdrlArchive: "odrl:archive",
4094
- /**
4095
- * To attribute the use of the Asset.
4096
- */
4097
- OdrlAttribute: "odrl:attribute",
4098
- /**
4099
- * Credit be given to copyright holder and/or author.
4100
- */
4101
- OdrlAttribution: "odrl:attribution",
4102
- /**
4103
- * Exercising rights for commercial purposes.
4104
- */
4105
- OdrlCommercialUse: "odrl:commercialUse",
4106
- /**
4107
- * To compensate by transfer of some amount of value for using or selling the Asset.
4108
- */
4109
- OdrlCompensate: "odrl:compensate",
4110
- /**
4111
- * To create multiple copies of the Asset that are being concurrently used.
4112
- */
4113
- OdrlConcurrentUse: "odrl:concurrentUse",
4114
- /**
4115
- * To permanently remove all copies of the Asset after it has been used.
4116
- */
4117
- OdrlDelete: "odrl:delete",
4118
- /**
4119
- * To create a new derivative Asset from this Asset and to edit or modify the derivative.
4120
- */
4121
- OdrlDerive: "odrl:derive",
4122
- /**
4123
- * Distribution of derivative works.
4124
- */
4125
- OdrlDerivativeWorks: "odrl:derivativeWorks",
4126
- /**
4127
- * To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
4128
- */
4129
- OdrlDigitize: "odrl:digitize",
4130
- /**
4131
- * To create a static and transient rendition of an Asset.
4132
- */
4133
- OdrlDisplay: "odrl:display",
4134
- /**
4135
- * To supply the Asset to third-parties.
4136
- */
4137
- OdrlDistribute: "odrl:distribute",
4138
- /**
4139
- * Distribution, public display, and publicly performance.
4140
- */
4141
- OdrlDistribution: "odrl:distribution",
4142
- /**
4143
- * To ensure that the Rule on the Asset is exclusive.
4144
- */
4145
- OdrlEnsureExclusivity: "odrl:ensureExclusivity",
4146
- /**
4147
- * To run the computer program Asset.
4148
- */
4149
- OdrlExecute: "odrl:execute",
4150
- /**
4151
- * To extract parts of the Asset and to use it as a new Asset.
4152
- */
4153
- OdrlExtract: "odrl:extract",
4154
- /**
4155
- * To transfer the ownership without compensation and while deleting the original asset.
4156
- */
4157
- OdrlGive: "odrl:give",
4158
- /**
4159
- * To grant the use of the Asset to third parties.
4160
- */
4161
- OdrlGrantUse: "odrl:grantUse",
4162
- /**
4163
- * To include other related assets in the Asset.
4164
- */
4165
- OdrlInclude: "odrl:include",
4166
- /**
4167
- * To record the Asset in an index.
4168
- */
4169
- OdrlIndex: "odrl:index",
4170
- /**
4171
- * To inform that an action has been performed on or in relation to the Asset.
4172
- */
4173
- OdrlInform: "odrl:inform",
4174
- /**
4175
- * To load the computer program Asset onto a storage device.
4176
- */
4177
- OdrlInstall: "odrl:install",
4178
- /**
4179
- * To change existing content of the Asset without creating a new asset.
4180
- */
4181
- OdrlModify: "odrl:modify",
4182
- /**
4183
- * To move the Asset from one digital location to another including deleting the original copy.
4184
- */
4185
- OdrlMove: "odrl:move",
4186
- /**
4187
- * To grant the specified Policy to a third party for their use of the Asset.
4188
- */
4189
- OdrlNextPolicy: "odrl:nextPolicy",
4190
- /**
4191
- * Copyright and license notices be kept intact.
4192
- */
4193
- OdrlNotice: "odrl:notice",
4194
- /**
4195
- * To obtain verifiable consent to perform the requested action.
4196
- */
4197
- OdrlObtainConsent: "odrl:obtainConsent",
4198
- /**
4199
- * To create a sequential and transient rendition of an Asset.
4200
- */
4201
- OdrlPlay: "odrl:play",
4202
- /**
4203
- * To publicly perform the Asset.
4204
- */
4205
- OdrlPresent: "odrl:present",
4206
- /**
4207
- * To create a tangible and permanent rendition of an Asset.
4208
- */
4209
- OdrlPrint: "odrl:print",
4210
- /**
4211
- * To obtain data from the Asset.
4212
- */
4213
- OdrlRead: "odrl:read",
4214
- /**
4215
- * To make duplicate copies of the Asset in any material form.
4216
- */
4217
- OdrlReproduce: "odrl:reproduce",
4218
- /**
4219
- * Making multiple copies.
4220
- */
4221
- OdrlReproduction: "odrl:reproduction",
4222
- /**
4223
- * To review the Policy applicable to the Asset.
4224
- */
4225
- OdrlReviewPolicy: "odrl:reviewPolicy",
4226
- /**
4227
- * To transfer the ownership with compensation and while deleting the original asset.
4228
- */
4229
- OdrlSell: "odrl:sell",
4230
- /**
4231
- * Derivative works be licensed under the same terms or compatible terms.
4232
- */
4233
- OdrlShareAlike: "odrl:shareAlike",
4234
- /**
4235
- * Permits commercial derivatives, but only non-commercial distribution.
4236
- */
4237
- OdrlSharing: "odrl:sharing",
4238
- /**
4239
- * Source code must be provided when exercising some rights.
4240
- */
4241
- OdrlSourceCode: "odrl:sourceCode",
4242
- /**
4243
- * To deliver the Asset in real-time.
4244
- */
4245
- OdrlStream: "odrl:stream",
4246
- /**
4247
- * To use the Asset in timed relations with media elements of another Asset.
4248
- */
4249
- OdrlSynchronize: "odrl:synchronize",
4250
- /**
4251
- * To have a text Asset read out loud.
4252
- */
4253
- OdrlTextToSpeech: "odrl:textToSpeech",
4254
- /**
4255
- * To convert the Asset into a different format.
4256
- */
4257
- OdrlTransform: "odrl:transform",
4258
- /**
4259
- * To translate the Asset into another natural language.
4260
- */
4261
- OdrlTranslate: "odrl:translate",
4262
- /**
4263
- * To unload and delete the computer program Asset.
4264
- */
4265
- OdrlUninstall: "odrl:uninstall",
4266
- /**
4267
- * To apply a watermark to the Asset.
4268
- */
4269
- OdrlWatermark: "odrl:watermark"
4270
- };
4271
-
4272
- export { ActionType, ConflictStrategyType, LeftOperandType, LogicalConstraintType, OdrlContexts, OdrlDataTypes, OdrlTypes, OperatorType, PolicyType, RightOperandType, RuleType, StatusType, UriActionType };
3995
+ export { ActionType, ConflictStrategyType, LeftOperandType, LogicalConstraintType, OdrlContexts, OdrlDataTypes, OdrlTypes, OperatorType, PolicyType, RightOperandType, RuleType, StatusType };