@twin.org/standards-w3c-odrl 0.0.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 (55) hide show
  1. package/dist/cjs/index.cjs +448 -726
  2. package/dist/esm/index.mjs +449 -726
  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/odrlContexts.d.ts +4 -4
  20. package/dist/types/models/types/actionType.d.ts +116 -97
  21. package/dist/types/models/types/odrlTypes.d.ts +0 -4
  22. package/docs/changelog.md +160 -0
  23. package/docs/reference/index.md +0 -3
  24. package/docs/reference/interfaces/IOdrlAction.md +4 -3
  25. package/docs/reference/interfaces/IOdrlAgreement.md +3 -2
  26. package/docs/reference/interfaces/IOdrlAsset.md +2 -1
  27. package/docs/reference/interfaces/IOdrlAssetCollection.md +2 -1
  28. package/docs/reference/interfaces/IOdrlConstraint.md +2 -1
  29. package/docs/reference/interfaces/IOdrlDuty.md +3 -2
  30. package/docs/reference/interfaces/IOdrlLogicalConstraint.md +2 -1
  31. package/docs/reference/interfaces/IOdrlOffer.md +3 -2
  32. package/docs/reference/interfaces/IOdrlParty.md +2 -1
  33. package/docs/reference/interfaces/IOdrlPartyCollection.md +2 -1
  34. package/docs/reference/interfaces/IOdrlPermission.md +3 -2
  35. package/docs/reference/interfaces/IOdrlPolicy.md +3 -2
  36. package/docs/reference/interfaces/IOdrlProhibition.md +3 -2
  37. package/docs/reference/interfaces/IOdrlRule.md +3 -2
  38. package/docs/reference/interfaces/IOdrlSet.md +3 -2
  39. package/docs/reference/variables/ActionType.md +169 -142
  40. package/docs/reference/variables/ConflictStrategyType.md +1 -1
  41. package/docs/reference/variables/LeftOperandType.md +1 -1
  42. package/docs/reference/variables/LogicalConstraintType.md +1 -1
  43. package/docs/reference/variables/OdrlContexts.md +7 -7
  44. package/docs/reference/variables/OdrlTypes.md +1 -7
  45. package/docs/reference/variables/OperatorType.md +1 -1
  46. package/docs/reference/variables/PolicyType.md +1 -1
  47. package/docs/reference/variables/RightOperandType.md +1 -1
  48. package/docs/reference/variables/RuleType.md +1 -1
  49. package/docs/reference/variables/StatusType.md +1 -1
  50. package/package.json +7 -7
  51. package/dist/types/models/IOdrlPolicyMetadata.d.ts +0 -58
  52. package/dist/types/models/types/uriActionType.d.ts +0 -215
  53. package/docs/reference/interfaces/IOdrlPolicyMetadata.md +0 -86
  54. package/docs/reference/type-aliases/UriActionType.md +0 -6
  55. package/docs/reference/variables/UriActionType.md +0 -314
@@ -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.
@@ -90,18 +90,14 @@ const OdrlTypes = {
90
90
  /**
91
91
  * ContextType.
92
92
  */
93
- ContextType: "ContextType",
94
- /**
95
- * PolicyMetadata type.
96
- */
97
- PolicyMetadata: "PolicyMetadata"
93
+ ContextType: "ContextType"
98
94
  };
99
95
 
100
- var $schema$g = "https://json-schema.org/draft/2020-12/schema";
101
- var $id$g = "https://schema.twindev.org/odrl/OdrlAction";
102
- var description$g = "Interface for ODRL Actions.";
103
- var type$f = "object";
104
- var properties$f = {
96
+ var $schema$f = "https://json-schema.org/draft/2020-12/schema";
97
+ var $id$f = "https://schema.twindev.org/w3c-odrl/OdrlAction";
98
+ var description$f = "Interface for ODRL Actions. https://www.w3.org/TR/odrl-model/#action";
99
+ var type$e = "object";
100
+ var properties$e = {
105
101
  "@context": {
106
102
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
107
103
  },
@@ -185,10 +181,10 @@ var properties$f = {
185
181
  refinement: {
186
182
  anyOf: [
187
183
  {
188
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
184
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
189
185
  },
190
186
  {
191
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
187
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
192
188
  },
193
189
  {
194
190
  type: "array",
@@ -197,10 +193,10 @@ var properties$f = {
197
193
  {
198
194
  anyOf: [
199
195
  {
200
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
196
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
201
197
  },
202
198
  {
203
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
199
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
204
200
  }
205
201
  ]
206
202
  }
@@ -210,7 +206,14 @@ var properties$f = {
210
206
  description: "Refinements applied to the action."
211
207
  },
212
208
  includedIn: {
213
- $ref: "https://schema.twindev.org/odrl/ActionType",
209
+ anyOf: [
210
+ {
211
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
212
+ },
213
+ {
214
+ type: "string"
215
+ }
216
+ ],
214
217
  description: "Reference to the action this action is included in."
215
218
  },
216
219
  implies: {
@@ -219,12 +222,19 @@ var properties$f = {
219
222
  description: "References to actions this action implies.",
220
223
  prefixItems: [
221
224
  {
222
- $ref: "https://schema.twindev.org/odrl/ActionType"
225
+ anyOf: [
226
+ {
227
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
228
+ },
229
+ {
230
+ type: "string"
231
+ }
232
+ ]
223
233
  }
224
234
  ]
225
235
  }
226
236
  };
227
- var additionalProperties$f = {
237
+ var additionalProperties$e = {
228
238
  anyOf: [
229
239
  {
230
240
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -250,21 +260,21 @@ var additionalProperties$f = {
250
260
  ]
251
261
  };
252
262
  var OdrlActionSchema = {
253
- $schema: $schema$g,
254
- $id: $id$g,
255
- description: description$g,
256
- type: type$f,
257
- properties: properties$f,
258
- additionalProperties: additionalProperties$f
263
+ $schema: $schema$f,
264
+ $id: $id$f,
265
+ description: description$f,
266
+ type: type$e,
267
+ properties: properties$e,
268
+ additionalProperties: additionalProperties$e
259
269
  };
260
270
 
261
- var $schema$f = "https://json-schema.org/draft/2020-12/schema";
262
- var $id$f = "https://schema.twindev.org/odrl/OdrlAgreement";
263
- var description$f = "Interface representing an ODRL Agreement. An Agreement requires both an assigner and assignee (both agreeing parties).";
264
- var type$e = "object";
265
- var properties$e = {
271
+ var $schema$e = "https://json-schema.org/draft/2020-12/schema";
272
+ var $id$e = "https://schema.twindev.org/w3c-odrl/OdrlAgreement";
273
+ 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";
274
+ var type$d = "object";
275
+ var properties$d = {
266
276
  "@context": {
267
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
277
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
268
278
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
269
279
  },
270
280
  "@id": {
@@ -359,7 +369,7 @@ var properties$e = {
359
369
  type: "string"
360
370
  },
361
371
  {
362
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
372
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
363
373
  }
364
374
  ],
365
375
  description: "The assigner of the agreement. Required for Agreement policies."
@@ -370,7 +380,7 @@ var properties$e = {
370
380
  type: "string"
371
381
  },
372
382
  {
373
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
383
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
374
384
  }
375
385
  ],
376
386
  description: "The assignee of the agreement. Required for Agreement policies."
@@ -381,7 +391,7 @@ var properties$e = {
381
391
  type: "string"
382
392
  },
383
393
  {
384
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
394
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
385
395
  },
386
396
  {
387
397
  type: "array",
@@ -393,7 +403,7 @@ var properties$e = {
393
403
  type: "string"
394
404
  },
395
405
  {
396
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
406
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
397
407
  }
398
408
  ]
399
409
  }
@@ -405,10 +415,13 @@ var properties$e = {
405
415
  action: {
406
416
  anyOf: [
407
417
  {
408
- $ref: "https://schema.twindev.org/odrl/ActionType"
418
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
419
+ },
420
+ {
421
+ type: "string"
409
422
  },
410
423
  {
411
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
424
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
412
425
  },
413
426
  {
414
427
  type: "array",
@@ -417,10 +430,13 @@ var properties$e = {
417
430
  {
418
431
  anyOf: [
419
432
  {
420
- $ref: "https://schema.twindev.org/odrl/ActionType"
433
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
434
+ },
435
+ {
436
+ type: "string"
421
437
  },
422
438
  {
423
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
439
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
424
440
  }
425
441
  ]
426
442
  }
@@ -447,7 +463,7 @@ var properties$e = {
447
463
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
448
464
  },
449
465
  conflict: {
450
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
466
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
451
467
  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
468
  },
453
469
  permission: {
@@ -456,7 +472,7 @@ var properties$e = {
456
472
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
457
473
  prefixItems: [
458
474
  {
459
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
475
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
460
476
  }
461
477
  ]
462
478
  },
@@ -466,7 +482,7 @@ var properties$e = {
466
482
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
467
483
  prefixItems: [
468
484
  {
469
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
485
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
470
486
  }
471
487
  ]
472
488
  },
@@ -476,7 +492,7 @@ var properties$e = {
476
492
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
477
493
  prefixItems: [
478
494
  {
479
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
495
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
480
496
  }
481
497
  ]
482
498
  }
@@ -488,7 +504,7 @@ var required$6 = [
488
504
  "assigner",
489
505
  "uid"
490
506
  ];
491
- var additionalProperties$e = {
507
+ var additionalProperties$d = {
492
508
  anyOf: [
493
509
  {
494
510
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -514,20 +530,20 @@ var additionalProperties$e = {
514
530
  ]
515
531
  };
516
532
  var OdrlAgreementSchema = {
517
- $schema: $schema$f,
518
- $id: $id$f,
519
- description: description$f,
520
- type: type$e,
521
- properties: properties$e,
533
+ $schema: $schema$e,
534
+ $id: $id$e,
535
+ description: description$e,
536
+ type: type$d,
537
+ properties: properties$d,
522
538
  required: required$6,
523
- additionalProperties: additionalProperties$e
539
+ additionalProperties: additionalProperties$d
524
540
  };
525
541
 
526
- var $schema$e = "https://json-schema.org/draft/2020-12/schema";
527
- var $id$e = "https://schema.twindev.org/odrl/OdrlAsset";
528
- var description$e = "Interface for ODRL Assets.";
529
- var type$d = "object";
530
- var properties$d = {
542
+ var $schema$d = "https://json-schema.org/draft/2020-12/schema";
543
+ var $id$d = "https://schema.twindev.org/w3c-odrl/OdrlAsset";
544
+ var description$d = "Interface for ODRL Assets. https://www.w3.org/TR/odrl-model/#asset";
545
+ var type$c = "object";
546
+ var properties$c = {
531
547
  "@context": {
532
548
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
533
549
  },
@@ -605,7 +621,7 @@ var properties$d = {
605
621
  type: "string"
606
622
  },
607
623
  {
608
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
624
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
609
625
  }
610
626
  ],
611
627
  description: "Reference to the asset collection this asset is part of. Used to identify an AssetCollection that this Asset is a member of."
@@ -615,7 +631,7 @@ var properties$d = {
615
631
  description: "Reference to the policy that governs this asset. Used to identify the Policy that governs this Asset."
616
632
  }
617
633
  };
618
- var additionalProperties$d = {
634
+ var additionalProperties$c = {
619
635
  anyOf: [
620
636
  {
621
637
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -641,19 +657,19 @@ var additionalProperties$d = {
641
657
  ]
642
658
  };
643
659
  var OdrlAssetSchema = {
644
- $schema: $schema$e,
645
- $id: $id$e,
646
- description: description$e,
647
- type: type$d,
648
- properties: properties$d,
649
- additionalProperties: additionalProperties$d
660
+ $schema: $schema$d,
661
+ $id: $id$d,
662
+ description: description$d,
663
+ type: type$c,
664
+ properties: properties$c,
665
+ additionalProperties: additionalProperties$c
650
666
  };
651
667
 
652
- var $schema$d = "https://json-schema.org/draft/2020-12/schema";
653
- var $id$d = "https://schema.twindev.org/odrl/OdrlAssetCollection";
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
- var type$c = "object";
656
- var properties$c = {
668
+ var $schema$c = "https://json-schema.org/draft/2020-12/schema";
669
+ var $id$c = "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection";
670
+ 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";
671
+ var type$b = "object";
672
+ var properties$b = {
657
673
  "@context": {
658
674
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
659
675
  },
@@ -731,7 +747,7 @@ var properties$c = {
731
747
  type: "string"
732
748
  },
733
749
  {
734
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
750
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
735
751
  }
736
752
  ],
737
753
  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 +766,7 @@ var properties$c = {
750
766
  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
767
  prefixItems: [
752
768
  {
753
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
769
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
754
770
  }
755
771
  ]
756
772
  }
@@ -758,7 +774,7 @@ var properties$c = {
758
774
  var required$5 = [
759
775
  "source"
760
776
  ];
761
- var additionalProperties$c = {
777
+ var additionalProperties$b = {
762
778
  anyOf: [
763
779
  {
764
780
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -784,20 +800,20 @@ var additionalProperties$c = {
784
800
  ]
785
801
  };
786
802
  var OdrlAssetCollectionSchema = {
787
- $schema: $schema$d,
788
- $id: $id$d,
789
- description: description$d,
790
- type: type$c,
791
- properties: properties$c,
803
+ $schema: $schema$c,
804
+ $id: $id$c,
805
+ description: description$c,
806
+ type: type$b,
807
+ properties: properties$b,
792
808
  required: required$5,
793
- additionalProperties: additionalProperties$c
809
+ additionalProperties: additionalProperties$b
794
810
  };
795
811
 
796
- var $schema$c = "https://json-schema.org/draft/2020-12/schema";
797
- var $id$c = "https://schema.twindev.org/odrl/OdrlConstraint";
798
- var description$c = "Interface for ODRL Constraints.";
799
- var type$b = "object";
800
- var properties$b = {
812
+ var $schema$b = "https://json-schema.org/draft/2020-12/schema";
813
+ var $id$b = "https://schema.twindev.org/w3c-odrl/OdrlConstraint";
814
+ var description$b = "Interface for ODRL Constraints. https://www.w3.org/TR/odrl-model/#constraint";
815
+ var type$a = "object";
816
+ var properties$a = {
801
817
  "@context": {
802
818
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
803
819
  },
@@ -887,13 +903,13 @@ var properties$b = {
887
903
  type: "string"
888
904
  },
889
905
  {
890
- $ref: "https://schema.twindev.org/odrl/LeftOperandType"
906
+ $ref: "https://schema.twindev.org/w3c-odrl/LeftOperandType"
891
907
  }
892
908
  ],
893
909
  description: "The left operand of the constraint."
894
910
  },
895
911
  operator: {
896
- $ref: "https://schema.twindev.org/odrl/OperatorType",
912
+ $ref: "https://schema.twindev.org/w3c-odrl/OperatorType",
897
913
  description: "The operator of the constraint."
898
914
  },
899
915
  rightOperand: {
@@ -944,7 +960,7 @@ var properties$b = {
944
960
  description: "The unit for the right operand value."
945
961
  },
946
962
  status: {
947
- $ref: "https://schema.twindev.org/odrl/StatusType",
963
+ $ref: "https://schema.twindev.org/w3c-odrl/StatusType",
948
964
  description: "The status value for comparison."
949
965
  }
950
966
  };
@@ -952,7 +968,7 @@ var required$4 = [
952
968
  "leftOperand",
953
969
  "operator"
954
970
  ];
955
- var additionalProperties$b = {
971
+ var additionalProperties$a = {
956
972
  anyOf: [
957
973
  {
958
974
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -978,18 +994,18 @@ var additionalProperties$b = {
978
994
  ]
979
995
  };
980
996
  var OdrlConstraintSchema = {
981
- $schema: $schema$c,
982
- $id: $id$c,
983
- description: description$c,
984
- type: type$b,
985
- properties: properties$b,
997
+ $schema: $schema$b,
998
+ $id: $id$b,
999
+ description: description$b,
1000
+ type: type$a,
1001
+ properties: properties$a,
986
1002
  required: required$4,
987
- additionalProperties: additionalProperties$b
1003
+ additionalProperties: additionalProperties$a
988
1004
  };
989
1005
 
990
- var $schema$b = "https://json-schema.org/draft/2020-12/schema";
991
- var $id$b = "https://schema.twindev.org/odrl/OdrlContextType";
992
- var description$b = "The ODRL JSON-LD context type.";
1006
+ var $schema$a = "https://json-schema.org/draft/2020-12/schema";
1007
+ var $id$a = "https://schema.twindev.org/w3c-odrl/OdrlContextType";
1008
+ var description$a = "The ODRL JSON-LD context type.";
993
1009
  var anyOf = [
994
1010
  {
995
1011
  type: "string",
@@ -1029,17 +1045,17 @@ var anyOf = [
1029
1045
  }
1030
1046
  ];
1031
1047
  var OdrlContextTypeSchema = {
1032
- $schema: $schema$b,
1033
- $id: $id$b,
1034
- description: description$b,
1048
+ $schema: $schema$a,
1049
+ $id: $id$a,
1050
+ description: description$a,
1035
1051
  anyOf: anyOf
1036
1052
  };
1037
1053
 
1038
- var $schema$a = "https://json-schema.org/draft/2020-12/schema";
1039
- var $id$a = "https://schema.twindev.org/odrl/OdrlDuty";
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
- var type$a = "object";
1042
- var properties$a = {
1054
+ var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
1055
+ var $id$9 = "https://schema.twindev.org/w3c-odrl/OdrlDuty";
1056
+ 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";
1057
+ var type$9 = "object";
1058
+ var properties$9 = {
1043
1059
  "@context": {
1044
1060
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1045
1061
  },
@@ -1126,10 +1142,13 @@ var properties$a = {
1126
1142
  action: {
1127
1143
  anyOf: [
1128
1144
  {
1129
- $ref: "https://schema.twindev.org/odrl/ActionType"
1145
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1146
+ },
1147
+ {
1148
+ type: "string"
1130
1149
  },
1131
1150
  {
1132
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1151
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1133
1152
  },
1134
1153
  {
1135
1154
  type: "array",
@@ -1138,10 +1157,13 @@ var properties$a = {
1138
1157
  {
1139
1158
  anyOf: [
1140
1159
  {
1141
- $ref: "https://schema.twindev.org/odrl/ActionType"
1160
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1142
1161
  },
1143
1162
  {
1144
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1163
+ type: "string"
1164
+ },
1165
+ {
1166
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1145
1167
  }
1146
1168
  ]
1147
1169
  }
@@ -1156,7 +1178,7 @@ var properties$a = {
1156
1178
  type: "string"
1157
1179
  },
1158
1180
  {
1159
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1181
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1160
1182
  },
1161
1183
  {
1162
1184
  type: "array",
@@ -1168,7 +1190,7 @@ var properties$a = {
1168
1190
  type: "string"
1169
1191
  },
1170
1192
  {
1171
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1193
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1172
1194
  }
1173
1195
  ]
1174
1196
  }
@@ -1183,7 +1205,7 @@ var properties$a = {
1183
1205
  type: "string"
1184
1206
  },
1185
1207
  {
1186
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1208
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1187
1209
  }
1188
1210
  ],
1189
1211
  description: "The assigner of the rule."
@@ -1194,7 +1216,7 @@ var properties$a = {
1194
1216
  type: "string"
1195
1217
  },
1196
1218
  {
1197
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1219
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1198
1220
  }
1199
1221
  ],
1200
1222
  description: "The assignee of the rule."
@@ -1205,7 +1227,7 @@ var properties$a = {
1205
1227
  description: "Constraints applied to the rule.",
1206
1228
  prefixItems: [
1207
1229
  {
1208
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
1230
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
1209
1231
  }
1210
1232
  ]
1211
1233
  },
@@ -1227,7 +1249,7 @@ var properties$a = {
1227
1249
  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
1250
  prefixItems: [
1229
1251
  {
1230
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1252
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1231
1253
  }
1232
1254
  ]
1233
1255
  },
@@ -1237,7 +1259,7 @@ var properties$a = {
1237
1259
  description: "The remedies that may be fulfilled to cure the violation.",
1238
1260
  prefixItems: [
1239
1261
  {
1240
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1262
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1241
1263
  }
1242
1264
  ]
1243
1265
  },
@@ -1246,7 +1268,7 @@ var properties$a = {
1246
1268
  description: "The party to be compensated Used when the duty involves compensation"
1247
1269
  }
1248
1270
  };
1249
- var additionalProperties$a = {
1271
+ var additionalProperties$9 = {
1250
1272
  anyOf: [
1251
1273
  {
1252
1274
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1272,19 +1294,19 @@ var additionalProperties$a = {
1272
1294
  ]
1273
1295
  };
1274
1296
  var OdrlDutySchema = {
1275
- $schema: $schema$a,
1276
- $id: $id$a,
1277
- description: description$a,
1278
- type: type$a,
1279
- properties: properties$a,
1280
- additionalProperties: additionalProperties$a
1297
+ $schema: $schema$9,
1298
+ $id: $id$9,
1299
+ description: description$9,
1300
+ type: type$9,
1301
+ properties: properties$9,
1302
+ additionalProperties: additionalProperties$9
1281
1303
  };
1282
1304
 
1283
- var $schema$9 = "https://json-schema.org/draft/2020-12/schema";
1284
- var $id$9 = "https://schema.twindev.org/odrl/OdrlLogicalConstraint";
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
- var type$9 = "object";
1287
- var properties$9 = {
1305
+ var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
1306
+ var $id$8 = "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint";
1307
+ 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";
1308
+ var type$8 = "object";
1309
+ var properties$8 = {
1288
1310
  "@context": {
1289
1311
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1290
1312
  },
@@ -1481,7 +1503,7 @@ var properties$9 = {
1481
1503
  description: "AND Sequence operator - all constraints must be satisfied in order."
1482
1504
  }
1483
1505
  };
1484
- var additionalProperties$9 = {
1506
+ var additionalProperties$8 = {
1485
1507
  anyOf: [
1486
1508
  {
1487
1509
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1507,21 +1529,21 @@ var additionalProperties$9 = {
1507
1529
  ]
1508
1530
  };
1509
1531
  var OdrlLogicalConstraintSchema = {
1510
- $schema: $schema$9,
1511
- $id: $id$9,
1512
- description: description$9,
1513
- type: type$9,
1514
- properties: properties$9,
1515
- additionalProperties: additionalProperties$9
1532
+ $schema: $schema$8,
1533
+ $id: $id$8,
1534
+ description: description$8,
1535
+ type: type$8,
1536
+ properties: properties$8,
1537
+ additionalProperties: additionalProperties$8
1516
1538
  };
1517
1539
 
1518
- var $schema$8 = "https://json-schema.org/draft/2020-12/schema";
1519
- var $id$8 = "https://schema.twindev.org/odrl/OdrlOffer";
1520
- var description$8 = "Interface representing an ODRL Offer. An Offer requires an assigner (the party making the offer).";
1521
- var type$8 = "object";
1522
- var properties$8 = {
1540
+ var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
1541
+ var $id$7 = "https://schema.twindev.org/w3c-odrl/OdrlOffer";
1542
+ 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";
1543
+ var type$7 = "object";
1544
+ var properties$7 = {
1523
1545
  "@context": {
1524
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
1546
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
1525
1547
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
1526
1548
  },
1527
1549
  "@id": {
@@ -1616,7 +1638,7 @@ var properties$8 = {
1616
1638
  type: "string"
1617
1639
  },
1618
1640
  {
1619
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1641
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1620
1642
  }
1621
1643
  ],
1622
1644
  description: "The assigner of the offer. Required for Offer policies."
@@ -1627,7 +1649,7 @@ var properties$8 = {
1627
1649
  type: "string"
1628
1650
  },
1629
1651
  {
1630
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1652
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1631
1653
  }
1632
1654
  ],
1633
1655
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -1638,7 +1660,7 @@ var properties$8 = {
1638
1660
  type: "string"
1639
1661
  },
1640
1662
  {
1641
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1663
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1642
1664
  },
1643
1665
  {
1644
1666
  type: "array",
@@ -1650,7 +1672,7 @@ var properties$8 = {
1650
1672
  type: "string"
1651
1673
  },
1652
1674
  {
1653
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1675
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1654
1676
  }
1655
1677
  ]
1656
1678
  }
@@ -1662,10 +1684,13 @@ var properties$8 = {
1662
1684
  action: {
1663
1685
  anyOf: [
1664
1686
  {
1665
- $ref: "https://schema.twindev.org/odrl/ActionType"
1687
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1688
+ },
1689
+ {
1690
+ type: "string"
1666
1691
  },
1667
1692
  {
1668
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1693
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1669
1694
  },
1670
1695
  {
1671
1696
  type: "array",
@@ -1674,10 +1699,13 @@ var properties$8 = {
1674
1699
  {
1675
1700
  anyOf: [
1676
1701
  {
1677
- $ref: "https://schema.twindev.org/odrl/ActionType"
1702
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1703
+ },
1704
+ {
1705
+ type: "string"
1678
1706
  },
1679
1707
  {
1680
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1708
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1681
1709
  }
1682
1710
  ]
1683
1711
  }
@@ -1704,7 +1732,7 @@ var properties$8 = {
1704
1732
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
1705
1733
  },
1706
1734
  conflict: {
1707
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
1735
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
1708
1736
  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
1737
  },
1710
1738
  permission: {
@@ -1713,7 +1741,7 @@ var properties$8 = {
1713
1741
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
1714
1742
  prefixItems: [
1715
1743
  {
1716
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
1744
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
1717
1745
  }
1718
1746
  ]
1719
1747
  },
@@ -1723,7 +1751,7 @@ var properties$8 = {
1723
1751
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
1724
1752
  prefixItems: [
1725
1753
  {
1726
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
1754
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
1727
1755
  }
1728
1756
  ]
1729
1757
  },
@@ -1733,7 +1761,7 @@ var properties$8 = {
1733
1761
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
1734
1762
  prefixItems: [
1735
1763
  {
1736
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1764
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1737
1765
  }
1738
1766
  ]
1739
1767
  }
@@ -1744,7 +1772,7 @@ var required$3 = [
1744
1772
  "assigner",
1745
1773
  "uid"
1746
1774
  ];
1747
- var additionalProperties$8 = {
1775
+ var additionalProperties$7 = {
1748
1776
  anyOf: [
1749
1777
  {
1750
1778
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1770,20 +1798,20 @@ var additionalProperties$8 = {
1770
1798
  ]
1771
1799
  };
1772
1800
  var OdrlOfferSchema = {
1773
- $schema: $schema$8,
1774
- $id: $id$8,
1775
- description: description$8,
1776
- type: type$8,
1777
- properties: properties$8,
1801
+ $schema: $schema$7,
1802
+ $id: $id$7,
1803
+ description: description$7,
1804
+ type: type$7,
1805
+ properties: properties$7,
1778
1806
  required: required$3,
1779
- additionalProperties: additionalProperties$8
1807
+ additionalProperties: additionalProperties$7
1780
1808
  };
1781
1809
 
1782
- var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
1783
- var $id$7 = "https://schema.twindev.org/odrl/OdrlParty";
1784
- var description$7 = "Interface for ODRL Parties.";
1785
- var type$7 = "object";
1786
- var properties$7 = {
1810
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
1811
+ var $id$6 = "https://schema.twindev.org/w3c-odrl/OdrlParty";
1812
+ var description$6 = "Interface for ODRL Parties. https://www.w3.org/TR/odrl-model/#party";
1813
+ var type$6 = "object";
1814
+ var properties$6 = {
1787
1815
  "@context": {
1788
1816
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1789
1817
  },
@@ -1874,7 +1902,7 @@ var properties$7 = {
1874
1902
  type: "string"
1875
1903
  },
1876
1904
  {
1877
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
1905
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
1878
1906
  }
1879
1907
  ],
1880
1908
  description: "Reference to the party collection this party is part of. Used to identify a PartyCollection that a Party entity is a member of."
@@ -1888,7 +1916,7 @@ var properties$7 = {
1888
1916
  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."
1889
1917
  }
1890
1918
  };
1891
- var additionalProperties$7 = {
1919
+ var additionalProperties$6 = {
1892
1920
  anyOf: [
1893
1921
  {
1894
1922
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -1914,19 +1942,19 @@ var additionalProperties$7 = {
1914
1942
  ]
1915
1943
  };
1916
1944
  var OdrlPartySchema = {
1917
- $schema: $schema$7,
1918
- $id: $id$7,
1919
- description: description$7,
1920
- type: type$7,
1921
- properties: properties$7,
1922
- additionalProperties: additionalProperties$7
1945
+ $schema: $schema$6,
1946
+ $id: $id$6,
1947
+ description: description$6,
1948
+ type: type$6,
1949
+ properties: properties$6,
1950
+ additionalProperties: additionalProperties$6
1923
1951
  };
1924
1952
 
1925
- var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
1926
- var $id$6 = "https://schema.twindev.org/odrl/OdrlPartyCollection";
1927
- var description$6 = "Interface for ODRL Party Collections. A PartyCollection identifies a collection of entities and is a subclass of Party.";
1928
- var type$6 = "object";
1929
- var properties$6 = {
1953
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
1954
+ var $id$5 = "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection";
1955
+ 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";
1956
+ var type$5 = "object";
1957
+ var properties$5 = {
1930
1958
  "@context": {
1931
1959
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
1932
1960
  },
@@ -2017,7 +2045,7 @@ var properties$6 = {
2017
2045
  type: "string"
2018
2046
  },
2019
2047
  {
2020
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
2048
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
2021
2049
  }
2022
2050
  ],
2023
2051
  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 +2068,7 @@ var properties$6 = {
2040
2068
  description: "Refinements applied to the party collection. Used to specify constraints that apply to all members of the collection.",
2041
2069
  prefixItems: [
2042
2070
  {
2043
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2071
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2044
2072
  }
2045
2073
  ]
2046
2074
  }
@@ -2048,7 +2076,7 @@ var properties$6 = {
2048
2076
  var required$2 = [
2049
2077
  "source"
2050
2078
  ];
2051
- var additionalProperties$6 = {
2079
+ var additionalProperties$5 = {
2052
2080
  anyOf: [
2053
2081
  {
2054
2082
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2074,20 +2102,20 @@ var additionalProperties$6 = {
2074
2102
  ]
2075
2103
  };
2076
2104
  var OdrlPartyCollectionSchema = {
2077
- $schema: $schema$6,
2078
- $id: $id$6,
2079
- description: description$6,
2080
- type: type$6,
2081
- properties: properties$6,
2105
+ $schema: $schema$5,
2106
+ $id: $id$5,
2107
+ description: description$5,
2108
+ type: type$5,
2109
+ properties: properties$5,
2082
2110
  required: required$2,
2083
- additionalProperties: additionalProperties$6
2111
+ additionalProperties: additionalProperties$5
2084
2112
  };
2085
2113
 
2086
- var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
2087
- var $id$5 = "https://schema.twindev.org/odrl/OdrlPermission";
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
- var type$5 = "object";
2090
- var properties$5 = {
2114
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2115
+ var $id$4 = "https://schema.twindev.org/w3c-odrl/OdrlPermission";
2116
+ 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";
2117
+ var type$4 = "object";
2118
+ var properties$4 = {
2091
2119
  "@context": {
2092
2120
  $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
2093
2121
  },
@@ -2174,10 +2202,13 @@ var properties$5 = {
2174
2202
  action: {
2175
2203
  anyOf: [
2176
2204
  {
2177
- $ref: "https://schema.twindev.org/odrl/ActionType"
2205
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2206
+ },
2207
+ {
2208
+ type: "string"
2178
2209
  },
2179
2210
  {
2180
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2211
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2181
2212
  },
2182
2213
  {
2183
2214
  type: "array",
@@ -2186,10 +2217,13 @@ var properties$5 = {
2186
2217
  {
2187
2218
  anyOf: [
2188
2219
  {
2189
- $ref: "https://schema.twindev.org/odrl/ActionType"
2220
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2190
2221
  },
2191
2222
  {
2192
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2223
+ type: "string"
2224
+ },
2225
+ {
2226
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2193
2227
  }
2194
2228
  ]
2195
2229
  }
@@ -2204,7 +2238,7 @@ var properties$5 = {
2204
2238
  type: "string"
2205
2239
  },
2206
2240
  {
2207
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2241
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2208
2242
  },
2209
2243
  {
2210
2244
  type: "array",
@@ -2216,7 +2250,7 @@ var properties$5 = {
2216
2250
  type: "string"
2217
2251
  },
2218
2252
  {
2219
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2253
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2220
2254
  }
2221
2255
  ]
2222
2256
  }
@@ -2231,7 +2265,7 @@ var properties$5 = {
2231
2265
  type: "string"
2232
2266
  },
2233
2267
  {
2234
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2268
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2235
2269
  }
2236
2270
  ],
2237
2271
  description: "The assigner of the rule."
@@ -2242,7 +2276,7 @@ var properties$5 = {
2242
2276
  type: "string"
2243
2277
  },
2244
2278
  {
2245
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2279
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2246
2280
  }
2247
2281
  ],
2248
2282
  description: "The assignee of the rule."
@@ -2253,7 +2287,7 @@ var properties$5 = {
2253
2287
  description: "Constraints applied to the rule.",
2254
2288
  prefixItems: [
2255
2289
  {
2256
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2290
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2257
2291
  }
2258
2292
  ]
2259
2293
  },
@@ -2267,12 +2301,12 @@ var properties$5 = {
2267
2301
  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
2302
  prefixItems: [
2269
2303
  {
2270
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2304
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2271
2305
  }
2272
2306
  ]
2273
2307
  }
2274
2308
  };
2275
- var additionalProperties$5 = {
2309
+ var additionalProperties$4 = {
2276
2310
  anyOf: [
2277
2311
  {
2278
2312
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2298,21 +2332,21 @@ var additionalProperties$5 = {
2298
2332
  ]
2299
2333
  };
2300
2334
  var OdrlPermissionSchema = {
2301
- $schema: $schema$5,
2302
- $id: $id$5,
2303
- description: description$5,
2304
- type: type$5,
2305
- properties: properties$5,
2306
- additionalProperties: additionalProperties$5
2307
- };
2335
+ $schema: $schema$4,
2336
+ $id: $id$4,
2337
+ description: description$4,
2338
+ type: type$4,
2339
+ properties: properties$4,
2340
+ additionalProperties: additionalProperties$4
2341
+ };
2308
2342
 
2309
- var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2310
- var $id$4 = "https://schema.twindev.org/odrl/OdrlPolicy";
2311
- var description$4 = "Interface representing an ODRL Policy.";
2312
- var type$4 = "object";
2313
- var properties$4 = {
2343
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
2344
+ var $id$3 = "https://schema.twindev.org/w3c-odrl/OdrlPolicy";
2345
+ var description$3 = "Interface representing an ODRL Policy. https://www.w3.org/TR/odrl-model/#policy";
2346
+ var type$3 = "object";
2347
+ var properties$3 = {
2314
2348
  "@context": {
2315
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
2349
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
2316
2350
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
2317
2351
  },
2318
2352
  "@id": {
@@ -2367,7 +2401,7 @@ var properties$4 = {
2367
2401
  ]
2368
2402
  },
2369
2403
  "@type": {
2370
- $ref: "https://schema.twindev.org/odrl/PolicyType",
2404
+ $ref: "https://schema.twindev.org/w3c-odrl/PolicyType",
2371
2405
  description: "The type of policy. Must be one of: \"Set\", \"Offer\", \"Agreement\""
2372
2406
  },
2373
2407
  "@reverse": {
@@ -2406,7 +2440,7 @@ var properties$4 = {
2406
2440
  type: "string"
2407
2441
  },
2408
2442
  {
2409
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2443
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2410
2444
  }
2411
2445
  ],
2412
2446
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -2417,7 +2451,7 @@ var properties$4 = {
2417
2451
  type: "string"
2418
2452
  },
2419
2453
  {
2420
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2454
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2421
2455
  }
2422
2456
  ],
2423
2457
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -2428,7 +2462,7 @@ var properties$4 = {
2428
2462
  type: "string"
2429
2463
  },
2430
2464
  {
2431
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2465
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2432
2466
  },
2433
2467
  {
2434
2468
  type: "array",
@@ -2440,7 +2474,7 @@ var properties$4 = {
2440
2474
  type: "string"
2441
2475
  },
2442
2476
  {
2443
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2477
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2444
2478
  }
2445
2479
  ]
2446
2480
  }
@@ -2452,10 +2486,13 @@ var properties$4 = {
2452
2486
  action: {
2453
2487
  anyOf: [
2454
2488
  {
2455
- $ref: "https://schema.twindev.org/odrl/ActionType"
2489
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2490
+ },
2491
+ {
2492
+ type: "string"
2456
2493
  },
2457
2494
  {
2458
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2495
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2459
2496
  },
2460
2497
  {
2461
2498
  type: "array",
@@ -2464,10 +2501,13 @@ var properties$4 = {
2464
2501
  {
2465
2502
  anyOf: [
2466
2503
  {
2467
- $ref: "https://schema.twindev.org/odrl/ActionType"
2504
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2468
2505
  },
2469
2506
  {
2470
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2507
+ type: "string"
2508
+ },
2509
+ {
2510
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2471
2511
  }
2472
2512
  ]
2473
2513
  }
@@ -2494,7 +2534,7 @@ var properties$4 = {
2494
2534
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
2495
2535
  },
2496
2536
  conflict: {
2497
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
2537
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
2498
2538
  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
2539
  },
2500
2540
  permission: {
@@ -2503,7 +2543,7 @@ var properties$4 = {
2503
2543
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
2504
2544
  prefixItems: [
2505
2545
  {
2506
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
2546
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
2507
2547
  }
2508
2548
  ]
2509
2549
  },
@@ -2513,7 +2553,7 @@ var properties$4 = {
2513
2553
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
2514
2554
  prefixItems: [
2515
2555
  {
2516
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
2556
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
2517
2557
  }
2518
2558
  ]
2519
2559
  },
@@ -2523,7 +2563,7 @@ var properties$4 = {
2523
2563
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
2524
2564
  prefixItems: [
2525
2565
  {
2526
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2566
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2527
2567
  }
2528
2568
  ]
2529
2569
  }
@@ -2533,7 +2573,7 @@ var required$1 = [
2533
2573
  "@type",
2534
2574
  "uid"
2535
2575
  ];
2536
- var additionalProperties$4 = {
2576
+ var additionalProperties$3 = {
2537
2577
  anyOf: [
2538
2578
  {
2539
2579
  $ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
@@ -2559,157 +2599,18 @@ var additionalProperties$4 = {
2559
2599
  ]
2560
2600
  };
2561
2601
  var OdrlPolicySchema = {
2562
- $schema: $schema$4,
2563
- $id: $id$4,
2564
- description: description$4,
2565
- type: type$4,
2566
- properties: properties$4,
2567
- required: required$1,
2568
- additionalProperties: additionalProperties$4
2569
- };
2570
-
2571
- var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
2572
- var $id$3 = "https://schema.twindev.org/odrl/OdrlPolicyMetadata";
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
- var type$3 = "object";
2575
- var properties$3 = {
2576
- "dc:creator": {
2577
- anyOf: [
2578
- {
2579
- type: "string"
2580
- },
2581
- {
2582
- type: "array",
2583
- items: false,
2584
- prefixItems: [
2585
- {
2586
- type: "string"
2587
- }
2588
- ]
2589
- }
2590
- ],
2591
- 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."
2592
- },
2593
- "dc:description": {
2594
- anyOf: [
2595
- {
2596
- type: "string"
2597
- },
2598
- {
2599
- type: "array",
2600
- items: false,
2601
- prefixItems: [
2602
- {
2603
- type: "string"
2604
- }
2605
- ]
2606
- }
2607
- ],
2608
- 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."
2609
- },
2610
- "dc:issued": {
2611
- type: "string",
2612
- 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."
2613
- },
2614
- "dc:modified": {
2615
- type: "string",
2616
- description: "The date (and time) the Policy was updated. Note: String values may not be normalized and should not be used for direct comparison."
2617
- },
2618
- "dc:publisher": {
2619
- type: "string",
2620
- description: "The publisher of the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2621
- },
2622
- "dc:subject": {
2623
- anyOf: [
2624
- {
2625
- type: "string"
2626
- },
2627
- {
2628
- type: "array",
2629
- items: false,
2630
- prefixItems: [
2631
- {
2632
- type: "string"
2633
- }
2634
- ]
2635
- }
2636
- ],
2637
- description: "The subject of the Policy. Note: String values may not be normalized and should not be used for direct comparison."
2638
- },
2639
- "dc:coverage": {
2640
- anyOf: [
2641
- {
2642
- type: "string"
2643
- },
2644
- {
2645
- type: "object",
2646
- properties: {
2647
- "@id": {
2648
- type: "string"
2649
- }
2650
- },
2651
- required: [
2652
- "@id"
2653
- ],
2654
- additionalProperties: false
2655
- }
2656
- ],
2657
- 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."
2658
- },
2659
- "dc:replaces": {
2660
- anyOf: [
2661
- {
2662
- type: "string"
2663
- },
2664
- {
2665
- type: "object",
2666
- properties: {
2667
- "@id": {
2668
- type: "string"
2669
- }
2670
- },
2671
- required: [
2672
- "@id"
2673
- ],
2674
- additionalProperties: false
2675
- }
2676
- ],
2677
- description: "The identifier of a Policy that this Policy supersedes. Using \"@id\" references is preferred for comparison purposes."
2678
- },
2679
- "dc:isReplacedBy": {
2680
- anyOf: [
2681
- {
2682
- type: "string"
2683
- },
2684
- {
2685
- type: "object",
2686
- properties: {
2687
- "@id": {
2688
- type: "string"
2689
- }
2690
- },
2691
- required: [
2692
- "@id"
2693
- ],
2694
- additionalProperties: false
2695
- }
2696
- ],
2697
- description: "The identifier of a Policy that supersedes this Policy. Using \"@id\" references is preferred for comparison purposes."
2698
- }
2699
- };
2700
- var additionalProperties$3 = false;
2701
- var OdrlPolicyMetadataSchema = {
2702
2602
  $schema: $schema$3,
2703
2603
  $id: $id$3,
2704
2604
  description: description$3,
2705
2605
  type: type$3,
2706
2606
  properties: properties$3,
2607
+ required: required$1,
2707
2608
  additionalProperties: additionalProperties$3
2708
2609
  };
2709
2610
 
2710
2611
  var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
2711
- var $id$2 = "https://schema.twindev.org/odrl/OdrlProhibition";
2712
- var description$2 = "Interface for Prohibition Rules.";
2612
+ var $id$2 = "https://schema.twindev.org/w3c-odrl/OdrlProhibition";
2613
+ var description$2 = "Interface for Prohibition Rules. https://www.w3.org/TR/odrl-model/#prohibition";
2713
2614
  var type$2 = "object";
2714
2615
  var properties$2 = {
2715
2616
  "@context": {
@@ -2798,10 +2699,13 @@ var properties$2 = {
2798
2699
  action: {
2799
2700
  anyOf: [
2800
2701
  {
2801
- $ref: "https://schema.twindev.org/odrl/ActionType"
2702
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2802
2703
  },
2803
2704
  {
2804
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2705
+ type: "string"
2706
+ },
2707
+ {
2708
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2805
2709
  },
2806
2710
  {
2807
2711
  type: "array",
@@ -2810,10 +2714,13 @@ var properties$2 = {
2810
2714
  {
2811
2715
  anyOf: [
2812
2716
  {
2813
- $ref: "https://schema.twindev.org/odrl/ActionType"
2717
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2718
+ },
2719
+ {
2720
+ type: "string"
2814
2721
  },
2815
2722
  {
2816
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2723
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2817
2724
  }
2818
2725
  ]
2819
2726
  }
@@ -2828,7 +2735,7 @@ var properties$2 = {
2828
2735
  type: "string"
2829
2736
  },
2830
2737
  {
2831
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2738
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2832
2739
  },
2833
2740
  {
2834
2741
  type: "array",
@@ -2840,7 +2747,7 @@ var properties$2 = {
2840
2747
  type: "string"
2841
2748
  },
2842
2749
  {
2843
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2750
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2844
2751
  }
2845
2752
  ]
2846
2753
  }
@@ -2855,7 +2762,7 @@ var properties$2 = {
2855
2762
  type: "string"
2856
2763
  },
2857
2764
  {
2858
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2765
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2859
2766
  }
2860
2767
  ],
2861
2768
  description: "The assigner of the rule."
@@ -2866,7 +2773,7 @@ var properties$2 = {
2866
2773
  type: "string"
2867
2774
  },
2868
2775
  {
2869
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2776
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2870
2777
  }
2871
2778
  ],
2872
2779
  description: "The assignee of the rule."
@@ -2877,7 +2784,7 @@ var properties$2 = {
2877
2784
  description: "Constraints applied to the rule.",
2878
2785
  prefixItems: [
2879
2786
  {
2880
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2787
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2881
2788
  }
2882
2789
  ]
2883
2790
  },
@@ -2891,7 +2798,7 @@ var properties$2 = {
2891
2798
  description: "The remedies that must be fulfilled if prohibition is violated.",
2892
2799
  prefixItems: [
2893
2800
  {
2894
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2801
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2895
2802
  }
2896
2803
  ]
2897
2804
  }
@@ -2931,8 +2838,8 @@ var OdrlProhibitionSchema = {
2931
2838
  };
2932
2839
 
2933
2840
  var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
2934
- var $id$1 = "https://schema.twindev.org/odrl/OdrlRule";
2935
- var description$1 = "Base interface for ODRL Rules.";
2841
+ var $id$1 = "https://schema.twindev.org/w3c-odrl/OdrlRule";
2842
+ var description$1 = "Base interface for ODRL Rules. https://www.w3.org/TR/odrl-model/#rule";
2936
2843
  var type$1 = "object";
2937
2844
  var properties$1 = {
2938
2845
  "@context": {
@@ -3021,10 +2928,13 @@ var properties$1 = {
3021
2928
  action: {
3022
2929
  anyOf: [
3023
2930
  {
3024
- $ref: "https://schema.twindev.org/odrl/ActionType"
2931
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3025
2932
  },
3026
2933
  {
3027
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2934
+ type: "string"
2935
+ },
2936
+ {
2937
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3028
2938
  },
3029
2939
  {
3030
2940
  type: "array",
@@ -3033,10 +2943,13 @@ var properties$1 = {
3033
2943
  {
3034
2944
  anyOf: [
3035
2945
  {
3036
- $ref: "https://schema.twindev.org/odrl/ActionType"
2946
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2947
+ },
2948
+ {
2949
+ type: "string"
3037
2950
  },
3038
2951
  {
3039
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2952
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3040
2953
  }
3041
2954
  ]
3042
2955
  }
@@ -3051,7 +2964,7 @@ var properties$1 = {
3051
2964
  type: "string"
3052
2965
  },
3053
2966
  {
3054
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2967
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3055
2968
  },
3056
2969
  {
3057
2970
  type: "array",
@@ -3063,7 +2976,7 @@ var properties$1 = {
3063
2976
  type: "string"
3064
2977
  },
3065
2978
  {
3066
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2979
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3067
2980
  }
3068
2981
  ]
3069
2982
  }
@@ -3078,7 +2991,7 @@ var properties$1 = {
3078
2991
  type: "string"
3079
2992
  },
3080
2993
  {
3081
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2994
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3082
2995
  }
3083
2996
  ],
3084
2997
  description: "The assigner of the rule."
@@ -3089,7 +3002,7 @@ var properties$1 = {
3089
3002
  type: "string"
3090
3003
  },
3091
3004
  {
3092
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3005
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3093
3006
  }
3094
3007
  ],
3095
3008
  description: "The assignee of the rule."
@@ -3100,7 +3013,7 @@ var properties$1 = {
3100
3013
  description: "Constraints applied to the rule.",
3101
3014
  prefixItems: [
3102
3015
  {
3103
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
3016
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
3104
3017
  }
3105
3018
  ]
3106
3019
  },
@@ -3144,12 +3057,12 @@ var OdrlRuleSchema = {
3144
3057
  };
3145
3058
 
3146
3059
  var $schema = "https://json-schema.org/draft/2020-12/schema";
3147
- var $id = "https://schema.twindev.org/odrl/OdrlSet";
3148
- var description = "Interface representing an ODRL Set. A Set is a basic policy type with no specific party requirements.";
3060
+ var $id = "https://schema.twindev.org/w3c-odrl/OdrlSet";
3061
+ 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";
3149
3062
  var type = "object";
3150
3063
  var properties = {
3151
3064
  "@context": {
3152
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
3065
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
3153
3066
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
3154
3067
  },
3155
3068
  "@id": {
@@ -3244,7 +3157,7 @@ var properties = {
3244
3157
  type: "string"
3245
3158
  },
3246
3159
  {
3247
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3160
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3248
3161
  }
3249
3162
  ],
3250
3163
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -3255,7 +3168,7 @@ var properties = {
3255
3168
  type: "string"
3256
3169
  },
3257
3170
  {
3258
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3171
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3259
3172
  }
3260
3173
  ],
3261
3174
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -3266,7 +3179,7 @@ var properties = {
3266
3179
  type: "string"
3267
3180
  },
3268
3181
  {
3269
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3182
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3270
3183
  },
3271
3184
  {
3272
3185
  type: "array",
@@ -3278,7 +3191,7 @@ var properties = {
3278
3191
  type: "string"
3279
3192
  },
3280
3193
  {
3281
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3194
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3282
3195
  }
3283
3196
  ]
3284
3197
  }
@@ -3290,10 +3203,13 @@ var properties = {
3290
3203
  action: {
3291
3204
  anyOf: [
3292
3205
  {
3293
- $ref: "https://schema.twindev.org/odrl/ActionType"
3206
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3207
+ },
3208
+ {
3209
+ type: "string"
3294
3210
  },
3295
3211
  {
3296
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3212
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3297
3213
  },
3298
3214
  {
3299
3215
  type: "array",
@@ -3302,10 +3218,13 @@ var properties = {
3302
3218
  {
3303
3219
  anyOf: [
3304
3220
  {
3305
- $ref: "https://schema.twindev.org/odrl/ActionType"
3221
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3306
3222
  },
3307
3223
  {
3308
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3224
+ type: "string"
3225
+ },
3226
+ {
3227
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3309
3228
  }
3310
3229
  ]
3311
3230
  }
@@ -3332,7 +3251,7 @@ var properties = {
3332
3251
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
3333
3252
  },
3334
3253
  conflict: {
3335
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
3254
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
3336
3255
  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
3256
  },
3338
3257
  permission: {
@@ -3341,7 +3260,7 @@ var properties = {
3341
3260
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
3342
3261
  prefixItems: [
3343
3262
  {
3344
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
3263
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
3345
3264
  }
3346
3265
  ]
3347
3266
  },
@@ -3351,7 +3270,7 @@ var properties = {
3351
3270
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
3352
3271
  prefixItems: [
3353
3272
  {
3354
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
3273
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
3355
3274
  }
3356
3275
  ]
3357
3276
  },
@@ -3361,7 +3280,7 @@ var properties = {
3361
3280
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
3362
3281
  prefixItems: [
3363
3282
  {
3364
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
3283
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
3365
3284
  }
3366
3285
  ]
3367
3286
  }
@@ -3416,7 +3335,7 @@ class OdrlDataTypes {
3416
3335
  * Register the JSON-LD Redirects.
3417
3336
  */
3418
3337
  static registerRedirects() {
3419
- dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, "https://www.w3.org/ns/odrl.jsonld");
3338
+ dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, OdrlContexts.ContextRedirect);
3420
3339
  }
3421
3340
  /**
3422
3341
  * Register all the data types.
@@ -3477,11 +3396,6 @@ class OdrlDataTypes {
3477
3396
  type: OdrlTypes.LogicalConstraint,
3478
3397
  jsonSchema: async () => OdrlLogicalConstraintSchema
3479
3398
  }));
3480
- dataCore.DataTypeHandlerFactory.register(`${OdrlContexts.ContextRoot}${OdrlTypes.PolicyMetadata}`, () => ({
3481
- context: OdrlContexts.ContextRoot,
3482
- type: OdrlTypes.PolicyMetadata,
3483
- jsonSchema: async () => OdrlPolicyMetadataSchema
3484
- }));
3485
3399
  dataCore.DataTypeHandlerFactory.register(`${OdrlContexts.ContextRoot}${OdrlTypes.Set}`, () => ({
3486
3400
  context: OdrlContexts.ContextRoot,
3487
3401
  type: OdrlTypes.Set,
@@ -3518,210 +3432,233 @@ class OdrlDataTypes {
3518
3432
  */
3519
3433
  // eslint-disable-next-line @typescript-eslint/naming-convention
3520
3434
  const ActionType = {
3435
+ // Core actions
3521
3436
  /**
3522
- * To use the Asset - actions that involve general usage by parties.
3437
+ * The act of using an asset, covering any general usage where ownership does not change.
3438
+ * This is the parent term for most permissions and prohibitions.
3523
3439
  */
3524
3440
  Use: "use",
3525
3441
  /**
3526
- * To transfer the ownership to third parties.
3442
+ * The act of transferring the ownership of an asset in perpetuity to a third party.
3527
3443
  */
3528
3444
  Transfer: "transfer",
3445
+ // Sub-actions of 'use'
3529
3446
  /**
3530
- * To accept that the use of the Asset may be tracked.
3531
- */
3532
- AcceptTracking: "acceptTracking",
3533
- /**
3534
- * To use the Asset or parts of it as part of a composite collection.
3447
+ * The act of using an asset (or parts of it) as part of a composite collection.
3535
3448
  */
3536
3449
  Aggregate: "aggregate",
3537
3450
  /**
3538
- * To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
3451
+ * The act of adding explanatory notations/commentaries to the asset.
3539
3452
  */
3540
3453
  Annotate: "annotate",
3541
3454
  /**
3542
- * To anonymize all or parts of the Asset.
3455
+ * The act of anonymising all or parts of the asset, for example, to remove identifying particulars.
3543
3456
  */
3544
3457
  Anonymize: "anonymize",
3545
3458
  /**
3546
- * To store the Asset (in a non-transient form).
3459
+ * The act of persistently storing the asset in a non-transient form.
3547
3460
  */
3548
3461
  Archive: "archive",
3549
3462
  /**
3550
- * To attribute the use of the Asset.
3463
+ * The act of multiple concurrent use of the asset.
3551
3464
  */
3552
- Attribute: "attribute",
3465
+ ConcurrentUse: "concurrentUse",
3553
3466
  /**
3554
- * Credit be given to copyright holder and/or author.
3467
+ * The act of using the asset in a business environment where it may be traded for profit.
3555
3468
  */
3556
- Attribution: "attribution",
3469
+ Commercialize: "commercialize",
3557
3470
  /**
3558
- * Exercising rights for commercial purposes.
3471
+ * The act of making an exact reproduction of the asset. Also identified as `reproduce`.
3559
3472
  */
3560
- CommercialUse: "commercialUse",
3473
+ Copy: "copy",
3561
3474
  /**
3562
- * To compensate by transfer of some amount of value for using or selling the Asset.
3475
+ * The act of creating a new derivative asset from the original and editing or modifying it.
3563
3476
  */
3564
- Compensate: "compensate",
3477
+ Derive: "derive",
3565
3478
  /**
3566
- * To create multiple copies of the Asset that are being concurrently used.
3479
+ * The act of producing a digital copy of an asset from its analogue form.
3567
3480
  */
3568
- ConcurrentUse: "concurrentUse",
3481
+ Digitize: "digitize",
3569
3482
  /**
3570
- * To permanently remove all copies of the Asset after it has been used.
3483
+ * The act of making a transient visible rendering of the asset, such as displaying an image on a screen.
3484
+ * Also identified as `present` in earlier versions.
3571
3485
  */
3572
- Delete: "delete",
3486
+ Display: "display",
3573
3487
  /**
3574
- * To create a new derivative Asset from this Asset and to edit or modify the derivative.
3488
+ * The act of publicly distributing, displaying, or performing the asset.
3575
3489
  */
3576
- Derive: "derive",
3490
+ Distribute: "distribute",
3577
3491
  /**
3578
- * Distribution of derivative works.
3492
+ * The act of executing the asset, such as running a program or application.
3579
3493
  */
3580
- DerivativeWorks: "derivativeWorks",
3494
+ Execute: "execute",
3581
3495
  /**
3582
- * To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
3496
+ * The act of extracting (replicating) unchanged parts of the asset for reuse.
3583
3497
  */
3584
- Digitize: "digitize",
3498
+ Extract: "extract",
3585
3499
  /**
3586
- * To create a static and transient rendition of an Asset.
3500
+ * The act of extracting unchanged character(s) from the asset.
3587
3501
  */
3588
- Display: "display",
3502
+ ExtractChar: "extractChar",
3589
3503
  /**
3590
- * To supply the Asset to third-parties.
3504
+ * The act of extracting unchanged word(s) from the asset.
3591
3505
  */
3592
- Distribute: "distribute",
3506
+ ExtractWord: "extractWord",
3593
3507
  /**
3594
- * Distribution, public display, and publicly performance.
3508
+ * The act of extracting unchanged page(s) from the asset.
3595
3509
  */
3596
- Distribution: "distribution",
3510
+ ExtractPage: "extractPage",
3597
3511
  /**
3598
- * To ensure that the Rule on the Asset is exclusive.
3512
+ * The act of recording the asset in an index, for example, a search engine database.
3599
3513
  */
3600
- EnsureExclusivity: "ensureExclusivity",
3514
+ Index: "index",
3601
3515
  /**
3602
- * To run the computer program Asset.
3516
+ * The act of loading the asset onto a storage device ready for operation.
3603
3517
  */
3604
- Execute: "execute",
3518
+ Install: "install",
3605
3519
  /**
3606
- * To extract parts of the Asset and to use it as a new Asset.
3520
+ * The act of granting the use of the asset to third parties. Also identified as `sublicense` in earlier versions.
3607
3521
  */
3608
- Extract: "extract",
3522
+ License: "license",
3609
3523
  /**
3610
- * To transfer the ownership without compensation and while deleting the original asset.
3524
+ * The act of making the asset available to a third-party for a fixed period with exchange of value.
3611
3525
  */
3612
- Give: "give",
3526
+ Lease: "lease",
3613
3527
  /**
3614
- * To grant the use of the Asset to third parties.
3528
+ * The act of making the asset available to a third-party for a fixed period without exchange of value.
3615
3529
  */
3616
- GrantUse: "grantUse",
3530
+ Lend: "lend",
3617
3531
  /**
3618
- * To include other related assets in the Asset.
3532
+ * The act of updating existing content of the asset without creating a new one.
3619
3533
  */
3620
- Include: "include",
3534
+ Modify: "modify",
3621
3535
  /**
3622
- * To record the Asset in an index.
3536
+ * The act of moving the asset from one digital location to another and deleting the original.
3623
3537
  */
3624
- Index: "index",
3538
+ Move: "move",
3625
3539
  /**
3626
- * To inform that an action has been performed on or in relation to the Asset.
3540
+ * The act of rendering the asset into audio and/or video form.
3627
3541
  */
3628
- Inform: "inform",
3542
+ Play: "play",
3629
3543
  /**
3630
- * To load the computer program Asset onto a storage device.
3544
+ * The act of providing a short preview of the asset.
3631
3545
  */
3632
- Install: "install",
3546
+ Preview: "preview",
3633
3547
  /**
3634
- * To change existing content of the Asset without creating a new asset.
3548
+ * The act of rendering the asset onto paper or hard copy form.
3635
3549
  */
3636
- Modify: "modify",
3550
+ Print: "print",
3637
3551
  /**
3638
- * To move the Asset from one digital location to another including deleting the original copy.
3552
+ * The act of obtaining data from the asset, such as a database record.
3639
3553
  */
3640
- Move: "move",
3554
+ Read: "read",
3641
3555
  /**
3642
- * To grant the specified Policy to a third party for their use of the Asset.
3556
+ * The act of using the asset for a purpose other than its intended purpose.
3643
3557
  */
3644
- NextPolicy: "nextPolicy",
3558
+ SecondaryUse: "secondaryUse",
3645
3559
  /**
3646
- * Copyright and license notices be kept intact.
3560
+ * The act of non-commercial reproduction and distribution of the asset to third-parties.
3647
3561
  */
3648
- Notice: "notice",
3562
+ Share: "share",
3649
3563
  /**
3650
- * To obtain verifiable consent to perform the requested action.
3564
+ * The act of sharing the asset to parties in close proximity to the owner.
3651
3565
  */
3652
- ObtainConsent: "obtainConsent",
3566
+ AdhocShare: "adhocShare",
3653
3567
  /**
3654
- * To create a sequential and transient rendition of an Asset.
3568
+ * The act of distributing any derivative asset under the same terms as the original.
3655
3569
  */
3656
- Play: "play",
3570
+ ShareAlike: "shareAlike",
3657
3571
  /**
3658
- * To publicly perform the Asset.
3572
+ * The act of a system reading the text of the asset out loud.
3659
3573
  */
3660
- Present: "present",
3574
+ TextToSpeech: "textToSpeech",
3661
3575
  /**
3662
- * To create a tangible and permanent rendition of an Asset.
3576
+ * The act of translating the asset's original language into another, creating a new derivative asset.
3663
3577
  */
3664
- Print: "print",
3578
+ Translate: "translate",
3665
3579
  /**
3666
- * To obtain data from the Asset.
3580
+ * The act of transforming the asset into a different digital format.
3667
3581
  */
3668
- Read: "read",
3582
+ Transform: "transform",
3669
3583
  /**
3670
- * To make duplicate copies of the Asset in any material form.
3584
+ * The act of unloading the asset from a storage device, making it no longer accessible.
3671
3585
  */
3672
- Reproduce: "reproduce",
3586
+ Uninstall: "uninstall",
3587
+ /**
3588
+ * The act of applying a watermark to the asset.
3589
+ */
3590
+ Watermark: "watermark",
3591
+ /**
3592
+ * The act of writing to or modifying the asset.
3593
+ */
3594
+ Write: "write",
3673
3595
  /**
3674
- * Making multiple copies.
3596
+ * The act of adding to the end of an asset, for example, a database record.
3597
+ * Also identified as `appendTo`.
3675
3598
  */
3676
- Reproduction: "reproduction",
3599
+ Append: "append",
3600
+ // Sub-actions of 'transfer'
3677
3601
  /**
3678
- * To review the Policy applicable to the Asset.
3602
+ * The act of giving away the asset in perpetuity without exchange of value, requiring the original to be deleted.
3679
3603
  */
3680
- ReviewPolicy: "reviewPolicy",
3604
+ Give: "give",
3681
3605
  /**
3682
- * To transfer the ownership with compensation and while deleting the original asset.
3606
+ * The act of trading the asset in exchange for compensation, requiring the original to be deleted.
3683
3607
  */
3684
3608
  Sell: "sell",
3609
+ // Actions typically used in Duties
3685
3610
  /**
3686
- * Derivative works be licensed under the same terms or compatible terms.
3611
+ * The act of accepting that the use of the asset may be tracked by a specified party.
3687
3612
  */
3688
- ShareAlike: "shareAlike",
3613
+ AcceptTracking: "acceptTracking",
3689
3614
  /**
3690
- * Permits commercial derivatives, but only non-commercial distribution.
3615
+ * The act of keeping a policy notice attached to the asset.
3691
3616
  */
3692
- Sharing: "sharing",
3617
+ AttachPolicy: "attachPolicy",
3693
3618
  /**
3694
- * Source code must be provided when exercising some rights.
3619
+ * The act of attaching the source of the asset and its derivatives.
3695
3620
  */
3696
- SourceCode: "sourceCode",
3621
+ AttachSource: "attachSource",
3697
3622
  /**
3698
- * To deliver the Asset in real-time.
3623
+ * The act of attributing the asset to a specified party.
3699
3624
  */
3700
- Stream: "stream",
3625
+ Attribute: "attribute",
3701
3626
  /**
3702
- * To use the Asset in timed relations with media elements of another Asset.
3627
+ * The act of compensating a specified party by some amount for use of the asset.
3703
3628
  */
3704
- Synchronize: "synchronize",
3629
+ Compensate: "compensate",
3705
3630
  /**
3706
- * To have a text Asset read out loud.
3631
+ * The act of permanently removing all copies of the asset.
3707
3632
  */
3708
- TextToSpeech: "textToSpeech",
3633
+ Delete: "delete",
3709
3634
  /**
3710
- * To convert the Asset into a different format.
3635
+ * The act of requiring the assigner to ensure a permission is exclusive to the assignee.
3711
3636
  */
3712
- Transform: "transform",
3637
+ EnsureExclusivity: "ensureExclusivity",
3713
3638
  /**
3714
- * To translate the Asset into another natural language.
3639
+ * The act of including other related assets to fulfil the function.
3715
3640
  */
3716
- Translate: "translate",
3641
+ Include: "include",
3717
3642
  /**
3718
- * To unload and delete the computer program Asset.
3643
+ * The act of informing a party that an action has been performed on the asset.
3719
3644
  */
3720
- Uninstall: "uninstall",
3645
+ Inform: "inform",
3646
+ /**
3647
+ * The act of specifying a policy for third-party use of the asset.
3648
+ */
3649
+ NextPolicy: "nextPolicy",
3721
3650
  /**
3722
- * To apply a watermark to the Asset.
3651
+ * The act of requiring explicit consent from a party to perform an action.
3723
3652
  */
3724
- Watermark: "watermark"
3653
+ ObtainConsent: "obtainConsent",
3654
+ /**
3655
+ * The act of paying a financial amount to a party for use of the asset.
3656
+ */
3657
+ Pay: "pay",
3658
+ /**
3659
+ * The act of performing a manual review of the terms associated with the asset.
3660
+ */
3661
+ ReviewPolicy: "reviewPolicy"
3725
3662
  };
3726
3663
 
3727
3664
  // Copyright 2024 IOTA Stiftung.
@@ -4057,220 +3994,6 @@ const StatusType = {
4057
3994
  Revoked: "revoked"
4058
3995
  };
4059
3996
 
4060
- // Copyright 2024 IOTA Stiftung.
4061
- // SPDX-License-Identifier: Apache-2.0.
4062
- /**
4063
- * The types for ODRL Actions.
4064
- * URI action types (for use with rdf:value/@id)
4065
- */
4066
- // eslint-disable-next-line @typescript-eslint/naming-convention
4067
- const UriActionType = {
4068
- /**
4069
- * To use the Asset - actions that involve general usage by parties.
4070
- */
4071
- OdrlUse: "odrl:use",
4072
- /**
4073
- * To transfer the ownership to third parties.
4074
- */
4075
- OdrlTransfer: "odrl:transfer",
4076
- /**
4077
- * To accept that the use of the Asset may be tracked.
4078
- */
4079
- OdrlAcceptTracking: "odrl:acceptTracking",
4080
- /**
4081
- * To use the Asset or parts of it as part of a composite collection.
4082
- */
4083
- OdrlAggregate: "odrl:aggregate",
4084
- /**
4085
- * To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
4086
- */
4087
- OdrlAnnotate: "odrl:annotate",
4088
- /**
4089
- * To anonymize all or parts of the Asset.
4090
- */
4091
- OdrlAnonymize: "odrl:anonymize",
4092
- /**
4093
- * To store the Asset (in a non-transient form).
4094
- */
4095
- OdrlArchive: "odrl:archive",
4096
- /**
4097
- * To attribute the use of the Asset.
4098
- */
4099
- OdrlAttribute: "odrl:attribute",
4100
- /**
4101
- * Credit be given to copyright holder and/or author.
4102
- */
4103
- OdrlAttribution: "odrl:attribution",
4104
- /**
4105
- * Exercising rights for commercial purposes.
4106
- */
4107
- OdrlCommercialUse: "odrl:commercialUse",
4108
- /**
4109
- * To compensate by transfer of some amount of value for using or selling the Asset.
4110
- */
4111
- OdrlCompensate: "odrl:compensate",
4112
- /**
4113
- * To create multiple copies of the Asset that are being concurrently used.
4114
- */
4115
- OdrlConcurrentUse: "odrl:concurrentUse",
4116
- /**
4117
- * To permanently remove all copies of the Asset after it has been used.
4118
- */
4119
- OdrlDelete: "odrl:delete",
4120
- /**
4121
- * To create a new derivative Asset from this Asset and to edit or modify the derivative.
4122
- */
4123
- OdrlDerive: "odrl:derive",
4124
- /**
4125
- * Distribution of derivative works.
4126
- */
4127
- OdrlDerivativeWorks: "odrl:derivativeWorks",
4128
- /**
4129
- * To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
4130
- */
4131
- OdrlDigitize: "odrl:digitize",
4132
- /**
4133
- * To create a static and transient rendition of an Asset.
4134
- */
4135
- OdrlDisplay: "odrl:display",
4136
- /**
4137
- * To supply the Asset to third-parties.
4138
- */
4139
- OdrlDistribute: "odrl:distribute",
4140
- /**
4141
- * Distribution, public display, and publicly performance.
4142
- */
4143
- OdrlDistribution: "odrl:distribution",
4144
- /**
4145
- * To ensure that the Rule on the Asset is exclusive.
4146
- */
4147
- OdrlEnsureExclusivity: "odrl:ensureExclusivity",
4148
- /**
4149
- * To run the computer program Asset.
4150
- */
4151
- OdrlExecute: "odrl:execute",
4152
- /**
4153
- * To extract parts of the Asset and to use it as a new Asset.
4154
- */
4155
- OdrlExtract: "odrl:extract",
4156
- /**
4157
- * To transfer the ownership without compensation and while deleting the original asset.
4158
- */
4159
- OdrlGive: "odrl:give",
4160
- /**
4161
- * To grant the use of the Asset to third parties.
4162
- */
4163
- OdrlGrantUse: "odrl:grantUse",
4164
- /**
4165
- * To include other related assets in the Asset.
4166
- */
4167
- OdrlInclude: "odrl:include",
4168
- /**
4169
- * To record the Asset in an index.
4170
- */
4171
- OdrlIndex: "odrl:index",
4172
- /**
4173
- * To inform that an action has been performed on or in relation to the Asset.
4174
- */
4175
- OdrlInform: "odrl:inform",
4176
- /**
4177
- * To load the computer program Asset onto a storage device.
4178
- */
4179
- OdrlInstall: "odrl:install",
4180
- /**
4181
- * To change existing content of the Asset without creating a new asset.
4182
- */
4183
- OdrlModify: "odrl:modify",
4184
- /**
4185
- * To move the Asset from one digital location to another including deleting the original copy.
4186
- */
4187
- OdrlMove: "odrl:move",
4188
- /**
4189
- * To grant the specified Policy to a third party for their use of the Asset.
4190
- */
4191
- OdrlNextPolicy: "odrl:nextPolicy",
4192
- /**
4193
- * Copyright and license notices be kept intact.
4194
- */
4195
- OdrlNotice: "odrl:notice",
4196
- /**
4197
- * To obtain verifiable consent to perform the requested action.
4198
- */
4199
- OdrlObtainConsent: "odrl:obtainConsent",
4200
- /**
4201
- * To create a sequential and transient rendition of an Asset.
4202
- */
4203
- OdrlPlay: "odrl:play",
4204
- /**
4205
- * To publicly perform the Asset.
4206
- */
4207
- OdrlPresent: "odrl:present",
4208
- /**
4209
- * To create a tangible and permanent rendition of an Asset.
4210
- */
4211
- OdrlPrint: "odrl:print",
4212
- /**
4213
- * To obtain data from the Asset.
4214
- */
4215
- OdrlRead: "odrl:read",
4216
- /**
4217
- * To make duplicate copies of the Asset in any material form.
4218
- */
4219
- OdrlReproduce: "odrl:reproduce",
4220
- /**
4221
- * Making multiple copies.
4222
- */
4223
- OdrlReproduction: "odrl:reproduction",
4224
- /**
4225
- * To review the Policy applicable to the Asset.
4226
- */
4227
- OdrlReviewPolicy: "odrl:reviewPolicy",
4228
- /**
4229
- * To transfer the ownership with compensation and while deleting the original asset.
4230
- */
4231
- OdrlSell: "odrl:sell",
4232
- /**
4233
- * Derivative works be licensed under the same terms or compatible terms.
4234
- */
4235
- OdrlShareAlike: "odrl:shareAlike",
4236
- /**
4237
- * Permits commercial derivatives, but only non-commercial distribution.
4238
- */
4239
- OdrlSharing: "odrl:sharing",
4240
- /**
4241
- * Source code must be provided when exercising some rights.
4242
- */
4243
- OdrlSourceCode: "odrl:sourceCode",
4244
- /**
4245
- * To deliver the Asset in real-time.
4246
- */
4247
- OdrlStream: "odrl:stream",
4248
- /**
4249
- * To use the Asset in timed relations with media elements of another Asset.
4250
- */
4251
- OdrlSynchronize: "odrl:synchronize",
4252
- /**
4253
- * To have a text Asset read out loud.
4254
- */
4255
- OdrlTextToSpeech: "odrl:textToSpeech",
4256
- /**
4257
- * To convert the Asset into a different format.
4258
- */
4259
- OdrlTransform: "odrl:transform",
4260
- /**
4261
- * To translate the Asset into another natural language.
4262
- */
4263
- OdrlTranslate: "odrl:translate",
4264
- /**
4265
- * To unload and delete the computer program Asset.
4266
- */
4267
- OdrlUninstall: "odrl:uninstall",
4268
- /**
4269
- * To apply a watermark to the Asset.
4270
- */
4271
- OdrlWatermark: "odrl:watermark"
4272
- };
4273
-
4274
3997
  exports.ActionType = ActionType;
4275
3998
  exports.ConflictStrategyType = ConflictStrategyType;
4276
3999
  exports.LeftOperandType = LeftOperandType;
@@ -4283,4 +4006,3 @@ exports.PolicyType = PolicyType;
4283
4006
  exports.RightOperandType = RightOperandType;
4284
4007
  exports.RuleType = RuleType;
4285
4008
  exports.StatusType = StatusType;
4286
- exports.UriActionType = UriActionType;