@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
@@ -9,13 +9,13 @@ import { JsonLdProcessor } from '@twin.org/data-json-ld';
9
9
  // eslint-disable-next-line @typescript-eslint/naming-convention
10
10
  const OdrlContexts = {
11
11
  /**
12
- * The context root for ODRL.
12
+ * The context root for ODRL vocabulary.
13
13
  */
14
- ContextRedirect: "https://www.w3.org/ns/odrl.jsonld",
14
+ ContextRoot: "https://www.w3.org/ns/odrl/2/",
15
15
  /**
16
- * The context root for ODRL vocabulary.
16
+ * The context root for ODRL.
17
17
  */
18
- ContextRoot: "https://www.w3.org/ns/odrl/2/"
18
+ ContextRedirect: "https://www.w3.org/ns/odrl.jsonld"
19
19
  };
20
20
 
21
21
  // Copyright 2024 IOTA Stiftung.
@@ -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/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
  },
@@ -183,10 +179,10 @@ var properties$f = {
183
179
  refinement: {
184
180
  anyOf: [
185
181
  {
186
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
182
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
187
183
  },
188
184
  {
189
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
185
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
190
186
  },
191
187
  {
192
188
  type: "array",
@@ -195,10 +191,10 @@ var properties$f = {
195
191
  {
196
192
  anyOf: [
197
193
  {
198
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
194
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
199
195
  },
200
196
  {
201
- $ref: "https://schema.twindev.org/odrl/OdrlLogicalConstraint"
197
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
202
198
  }
203
199
  ]
204
200
  }
@@ -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/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/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,21 +258,21 @@ 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/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
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
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\""
267
277
  },
268
278
  "@id": {
@@ -357,7 +367,7 @@ var properties$e = {
357
367
  type: "string"
358
368
  },
359
369
  {
360
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
370
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
361
371
  }
362
372
  ],
363
373
  description: "The assigner of the agreement. Required for Agreement policies."
@@ -368,7 +378,7 @@ var properties$e = {
368
378
  type: "string"
369
379
  },
370
380
  {
371
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
381
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
372
382
  }
373
383
  ],
374
384
  description: "The assignee of the agreement. Required for Agreement policies."
@@ -379,7 +389,7 @@ var properties$e = {
379
389
  type: "string"
380
390
  },
381
391
  {
382
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
392
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
383
393
  },
384
394
  {
385
395
  type: "array",
@@ -391,7 +401,7 @@ var properties$e = {
391
401
  type: "string"
392
402
  },
393
403
  {
394
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
404
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
395
405
  }
396
406
  ]
397
407
  }
@@ -403,10 +413,13 @@ var properties$e = {
403
413
  action: {
404
414
  anyOf: [
405
415
  {
406
- $ref: "https://schema.twindev.org/odrl/ActionType"
416
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
417
+ },
418
+ {
419
+ type: "string"
407
420
  },
408
421
  {
409
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
422
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
410
423
  },
411
424
  {
412
425
  type: "array",
@@ -415,10 +428,13 @@ var properties$e = {
415
428
  {
416
429
  anyOf: [
417
430
  {
418
- $ref: "https://schema.twindev.org/odrl/ActionType"
431
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
432
+ },
433
+ {
434
+ type: "string"
419
435
  },
420
436
  {
421
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
437
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
422
438
  }
423
439
  ]
424
440
  }
@@ -445,7 +461,7 @@ var properties$e = {
445
461
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
446
462
  },
447
463
  conflict: {
448
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
464
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
449
465
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
450
466
  },
451
467
  permission: {
@@ -454,7 +470,7 @@ var properties$e = {
454
470
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
455
471
  prefixItems: [
456
472
  {
457
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
473
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
458
474
  }
459
475
  ]
460
476
  },
@@ -464,7 +480,7 @@ var properties$e = {
464
480
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
465
481
  prefixItems: [
466
482
  {
467
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
483
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
468
484
  }
469
485
  ]
470
486
  },
@@ -474,7 +490,7 @@ var properties$e = {
474
490
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
475
491
  prefixItems: [
476
492
  {
477
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
493
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
478
494
  }
479
495
  ]
480
496
  }
@@ -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/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
  },
@@ -603,7 +619,7 @@ var properties$d = {
603
619
  type: "string"
604
620
  },
605
621
  {
606
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
622
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
607
623
  }
608
624
  ],
609
625
  description: "Reference to the asset collection this asset is part of. Used to identify an AssetCollection that this Asset is a member of."
@@ -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/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
  },
@@ -729,7 +745,7 @@ var properties$c = {
729
745
  type: "string"
730
746
  },
731
747
  {
732
- $ref: "https://schema.twindev.org/odrl/OdrlAssetCollection"
748
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
733
749
  }
734
750
  ],
735
751
  description: "Reference to the asset collection this asset is part of. Used to identify an AssetCollection that this Asset is a member of."
@@ -748,7 +764,7 @@ var properties$c = {
748
764
  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).",
749
765
  prefixItems: [
750
766
  {
751
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
767
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
752
768
  }
753
769
  ]
754
770
  }
@@ -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/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
  },
@@ -885,13 +901,13 @@ var properties$b = {
885
901
  type: "string"
886
902
  },
887
903
  {
888
- $ref: "https://schema.twindev.org/odrl/LeftOperandType"
904
+ $ref: "https://schema.twindev.org/w3c-odrl/LeftOperandType"
889
905
  }
890
906
  ],
891
907
  description: "The left operand of the constraint."
892
908
  },
893
909
  operator: {
894
- $ref: "https://schema.twindev.org/odrl/OperatorType",
910
+ $ref: "https://schema.twindev.org/w3c-odrl/OperatorType",
895
911
  description: "The operator of the constraint."
896
912
  },
897
913
  rightOperand: {
@@ -942,7 +958,7 @@ var properties$b = {
942
958
  description: "The unit for the right operand value."
943
959
  },
944
960
  status: {
945
- $ref: "https://schema.twindev.org/odrl/StatusType",
961
+ $ref: "https://schema.twindev.org/w3c-odrl/StatusType",
946
962
  description: "The status value for comparison."
947
963
  }
948
964
  };
@@ -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/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/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
  },
@@ -1124,10 +1140,13 @@ var properties$a = {
1124
1140
  action: {
1125
1141
  anyOf: [
1126
1142
  {
1127
- $ref: "https://schema.twindev.org/odrl/ActionType"
1143
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1144
+ },
1145
+ {
1146
+ type: "string"
1128
1147
  },
1129
1148
  {
1130
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1149
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1131
1150
  },
1132
1151
  {
1133
1152
  type: "array",
@@ -1136,10 +1155,13 @@ var properties$a = {
1136
1155
  {
1137
1156
  anyOf: [
1138
1157
  {
1139
- $ref: "https://schema.twindev.org/odrl/ActionType"
1158
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1140
1159
  },
1141
1160
  {
1142
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1161
+ type: "string"
1162
+ },
1163
+ {
1164
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1143
1165
  }
1144
1166
  ]
1145
1167
  }
@@ -1154,7 +1176,7 @@ var properties$a = {
1154
1176
  type: "string"
1155
1177
  },
1156
1178
  {
1157
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1179
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1158
1180
  },
1159
1181
  {
1160
1182
  type: "array",
@@ -1166,7 +1188,7 @@ var properties$a = {
1166
1188
  type: "string"
1167
1189
  },
1168
1190
  {
1169
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1191
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1170
1192
  }
1171
1193
  ]
1172
1194
  }
@@ -1181,7 +1203,7 @@ var properties$a = {
1181
1203
  type: "string"
1182
1204
  },
1183
1205
  {
1184
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1206
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1185
1207
  }
1186
1208
  ],
1187
1209
  description: "The assigner of the rule."
@@ -1192,7 +1214,7 @@ var properties$a = {
1192
1214
  type: "string"
1193
1215
  },
1194
1216
  {
1195
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1217
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1196
1218
  }
1197
1219
  ],
1198
1220
  description: "The assignee of the rule."
@@ -1203,7 +1225,7 @@ var properties$a = {
1203
1225
  description: "Constraints applied to the rule.",
1204
1226
  prefixItems: [
1205
1227
  {
1206
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
1228
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
1207
1229
  }
1208
1230
  ]
1209
1231
  },
@@ -1225,7 +1247,7 @@ var properties$a = {
1225
1247
  description: "The consequences if the duty is not fulfilled. Only applicable when the Duty is referenced by a Rule with duty or obligation properties.",
1226
1248
  prefixItems: [
1227
1249
  {
1228
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1250
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1229
1251
  }
1230
1252
  ]
1231
1253
  },
@@ -1235,7 +1257,7 @@ var properties$a = {
1235
1257
  description: "The remedies that may be fulfilled to cure the violation.",
1236
1258
  prefixItems: [
1237
1259
  {
1238
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1260
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1239
1261
  }
1240
1262
  ]
1241
1263
  },
@@ -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/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,21 +1527,21 @@ 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/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
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
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\""
1524
1546
  },
1525
1547
  "@id": {
@@ -1614,7 +1636,7 @@ var properties$8 = {
1614
1636
  type: "string"
1615
1637
  },
1616
1638
  {
1617
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1639
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1618
1640
  }
1619
1641
  ],
1620
1642
  description: "The assigner of the offer. Required for Offer policies."
@@ -1625,7 +1647,7 @@ var properties$8 = {
1625
1647
  type: "string"
1626
1648
  },
1627
1649
  {
1628
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
1650
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
1629
1651
  }
1630
1652
  ],
1631
1653
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -1636,7 +1658,7 @@ var properties$8 = {
1636
1658
  type: "string"
1637
1659
  },
1638
1660
  {
1639
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1661
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1640
1662
  },
1641
1663
  {
1642
1664
  type: "array",
@@ -1648,7 +1670,7 @@ var properties$8 = {
1648
1670
  type: "string"
1649
1671
  },
1650
1672
  {
1651
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
1673
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
1652
1674
  }
1653
1675
  ]
1654
1676
  }
@@ -1660,10 +1682,13 @@ var properties$8 = {
1660
1682
  action: {
1661
1683
  anyOf: [
1662
1684
  {
1663
- $ref: "https://schema.twindev.org/odrl/ActionType"
1685
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1686
+ },
1687
+ {
1688
+ type: "string"
1664
1689
  },
1665
1690
  {
1666
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1691
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1667
1692
  },
1668
1693
  {
1669
1694
  type: "array",
@@ -1672,10 +1697,13 @@ var properties$8 = {
1672
1697
  {
1673
1698
  anyOf: [
1674
1699
  {
1675
- $ref: "https://schema.twindev.org/odrl/ActionType"
1700
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
1701
+ },
1702
+ {
1703
+ type: "string"
1676
1704
  },
1677
1705
  {
1678
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
1706
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
1679
1707
  }
1680
1708
  ]
1681
1709
  }
@@ -1702,7 +1730,7 @@ var properties$8 = {
1702
1730
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
1703
1731
  },
1704
1732
  conflict: {
1705
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
1733
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
1706
1734
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
1707
1735
  },
1708
1736
  permission: {
@@ -1711,7 +1739,7 @@ var properties$8 = {
1711
1739
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
1712
1740
  prefixItems: [
1713
1741
  {
1714
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
1742
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
1715
1743
  }
1716
1744
  ]
1717
1745
  },
@@ -1721,7 +1749,7 @@ var properties$8 = {
1721
1749
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
1722
1750
  prefixItems: [
1723
1751
  {
1724
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
1752
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
1725
1753
  }
1726
1754
  ]
1727
1755
  },
@@ -1731,7 +1759,7 @@ var properties$8 = {
1731
1759
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
1732
1760
  prefixItems: [
1733
1761
  {
1734
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
1762
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
1735
1763
  }
1736
1764
  ]
1737
1765
  }
@@ -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/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
  },
@@ -1872,7 +1900,7 @@ var properties$7 = {
1872
1900
  type: "string"
1873
1901
  },
1874
1902
  {
1875
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
1903
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
1876
1904
  }
1877
1905
  ],
1878
1906
  description: "Reference to the party collection this party is part of. Used to identify a PartyCollection that a Party entity is a member of."
@@ -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/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
  },
@@ -2015,7 +2043,7 @@ var properties$6 = {
2015
2043
  type: "string"
2016
2044
  },
2017
2045
  {
2018
- $ref: "https://schema.twindev.org/odrl/OdrlPartyCollection"
2046
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
2019
2047
  }
2020
2048
  ],
2021
2049
  description: "Reference to the party collection this party is part of. Used to identify a PartyCollection that a Party entity is a member of."
@@ -2038,7 +2066,7 @@ var properties$6 = {
2038
2066
  description: "Refinements applied to the party collection. Used to specify constraints that apply to all members of the collection.",
2039
2067
  prefixItems: [
2040
2068
  {
2041
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2069
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2042
2070
  }
2043
2071
  ]
2044
2072
  }
@@ -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/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
  },
@@ -2172,10 +2200,13 @@ var properties$5 = {
2172
2200
  action: {
2173
2201
  anyOf: [
2174
2202
  {
2175
- $ref: "https://schema.twindev.org/odrl/ActionType"
2203
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2204
+ },
2205
+ {
2206
+ type: "string"
2176
2207
  },
2177
2208
  {
2178
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2209
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2179
2210
  },
2180
2211
  {
2181
2212
  type: "array",
@@ -2184,10 +2215,13 @@ var properties$5 = {
2184
2215
  {
2185
2216
  anyOf: [
2186
2217
  {
2187
- $ref: "https://schema.twindev.org/odrl/ActionType"
2218
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2188
2219
  },
2189
2220
  {
2190
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2221
+ type: "string"
2222
+ },
2223
+ {
2224
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2191
2225
  }
2192
2226
  ]
2193
2227
  }
@@ -2202,7 +2236,7 @@ var properties$5 = {
2202
2236
  type: "string"
2203
2237
  },
2204
2238
  {
2205
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2239
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2206
2240
  },
2207
2241
  {
2208
2242
  type: "array",
@@ -2214,7 +2248,7 @@ var properties$5 = {
2214
2248
  type: "string"
2215
2249
  },
2216
2250
  {
2217
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2251
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2218
2252
  }
2219
2253
  ]
2220
2254
  }
@@ -2229,7 +2263,7 @@ var properties$5 = {
2229
2263
  type: "string"
2230
2264
  },
2231
2265
  {
2232
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2266
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2233
2267
  }
2234
2268
  ],
2235
2269
  description: "The assigner of the rule."
@@ -2240,7 +2274,7 @@ var properties$5 = {
2240
2274
  type: "string"
2241
2275
  },
2242
2276
  {
2243
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2277
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2244
2278
  }
2245
2279
  ],
2246
2280
  description: "The assignee of the rule."
@@ -2251,7 +2285,7 @@ var properties$5 = {
2251
2285
  description: "Constraints applied to the rule.",
2252
2286
  prefixItems: [
2253
2287
  {
2254
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2288
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2255
2289
  }
2256
2290
  ]
2257
2291
  },
@@ -2265,12 +2299,12 @@ var properties$5 = {
2265
2299
  description: "The duties that must be fulfilled before the permission can be exercised. A Permission MAY have none, one, or more duty property values.",
2266
2300
  prefixItems: [
2267
2301
  {
2268
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2302
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2269
2303
  }
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,21 +2330,21 @@ 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
- };
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
+ };
2306
2340
 
2307
- var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
2308
- var $id$4 = "https://schema.twindev.org/odrl/OdrlPolicy";
2309
- var description$4 = "Interface representing an ODRL Policy.";
2310
- var type$4 = "object";
2311
- var properties$4 = {
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
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
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\""
2315
2349
  },
2316
2350
  "@id": {
@@ -2365,7 +2399,7 @@ var properties$4 = {
2365
2399
  ]
2366
2400
  },
2367
2401
  "@type": {
2368
- $ref: "https://schema.twindev.org/odrl/PolicyType",
2402
+ $ref: "https://schema.twindev.org/w3c-odrl/PolicyType",
2369
2403
  description: "The type of policy. Must be one of: \"Set\", \"Offer\", \"Agreement\""
2370
2404
  },
2371
2405
  "@reverse": {
@@ -2404,7 +2438,7 @@ var properties$4 = {
2404
2438
  type: "string"
2405
2439
  },
2406
2440
  {
2407
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2441
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2408
2442
  }
2409
2443
  ],
2410
2444
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -2415,7 +2449,7 @@ var properties$4 = {
2415
2449
  type: "string"
2416
2450
  },
2417
2451
  {
2418
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2452
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2419
2453
  }
2420
2454
  ],
2421
2455
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -2426,7 +2460,7 @@ var properties$4 = {
2426
2460
  type: "string"
2427
2461
  },
2428
2462
  {
2429
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2463
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2430
2464
  },
2431
2465
  {
2432
2466
  type: "array",
@@ -2438,7 +2472,7 @@ var properties$4 = {
2438
2472
  type: "string"
2439
2473
  },
2440
2474
  {
2441
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2475
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2442
2476
  }
2443
2477
  ]
2444
2478
  }
@@ -2450,10 +2484,13 @@ var properties$4 = {
2450
2484
  action: {
2451
2485
  anyOf: [
2452
2486
  {
2453
- $ref: "https://schema.twindev.org/odrl/ActionType"
2487
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2488
+ },
2489
+ {
2490
+ type: "string"
2454
2491
  },
2455
2492
  {
2456
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2493
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2457
2494
  },
2458
2495
  {
2459
2496
  type: "array",
@@ -2462,10 +2499,13 @@ var properties$4 = {
2462
2499
  {
2463
2500
  anyOf: [
2464
2501
  {
2465
- $ref: "https://schema.twindev.org/odrl/ActionType"
2502
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2466
2503
  },
2467
2504
  {
2468
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2505
+ type: "string"
2506
+ },
2507
+ {
2508
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2469
2509
  }
2470
2510
  ]
2471
2511
  }
@@ -2492,7 +2532,7 @@ var properties$4 = {
2492
2532
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
2493
2533
  },
2494
2534
  conflict: {
2495
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
2535
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
2496
2536
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
2497
2537
  },
2498
2538
  permission: {
@@ -2501,7 +2541,7 @@ var properties$4 = {
2501
2541
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
2502
2542
  prefixItems: [
2503
2543
  {
2504
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
2544
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
2505
2545
  }
2506
2546
  ]
2507
2547
  },
@@ -2511,7 +2551,7 @@ var properties$4 = {
2511
2551
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
2512
2552
  prefixItems: [
2513
2553
  {
2514
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
2554
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
2515
2555
  }
2516
2556
  ]
2517
2557
  },
@@ -2521,7 +2561,7 @@ var properties$4 = {
2521
2561
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
2522
2562
  prefixItems: [
2523
2563
  {
2524
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2564
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2525
2565
  }
2526
2566
  ]
2527
2567
  }
@@ -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/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
- var $id$2 = "https://schema.twindev.org/odrl/OdrlProhibition";
2710
- var description$2 = "Interface for Prohibition Rules.";
2610
+ var $id$2 = "https://schema.twindev.org/w3c-odrl/OdrlProhibition";
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": {
@@ -2796,10 +2697,13 @@ var properties$2 = {
2796
2697
  action: {
2797
2698
  anyOf: [
2798
2699
  {
2799
- $ref: "https://schema.twindev.org/odrl/ActionType"
2700
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2800
2701
  },
2801
2702
  {
2802
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2703
+ type: "string"
2704
+ },
2705
+ {
2706
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2803
2707
  },
2804
2708
  {
2805
2709
  type: "array",
@@ -2808,10 +2712,13 @@ var properties$2 = {
2808
2712
  {
2809
2713
  anyOf: [
2810
2714
  {
2811
- $ref: "https://schema.twindev.org/odrl/ActionType"
2715
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2716
+ },
2717
+ {
2718
+ type: "string"
2812
2719
  },
2813
2720
  {
2814
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2721
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
2815
2722
  }
2816
2723
  ]
2817
2724
  }
@@ -2826,7 +2733,7 @@ var properties$2 = {
2826
2733
  type: "string"
2827
2734
  },
2828
2735
  {
2829
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2736
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2830
2737
  },
2831
2738
  {
2832
2739
  type: "array",
@@ -2838,7 +2745,7 @@ var properties$2 = {
2838
2745
  type: "string"
2839
2746
  },
2840
2747
  {
2841
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2748
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
2842
2749
  }
2843
2750
  ]
2844
2751
  }
@@ -2853,7 +2760,7 @@ var properties$2 = {
2853
2760
  type: "string"
2854
2761
  },
2855
2762
  {
2856
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2763
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2857
2764
  }
2858
2765
  ],
2859
2766
  description: "The assigner of the rule."
@@ -2864,7 +2771,7 @@ var properties$2 = {
2864
2771
  type: "string"
2865
2772
  },
2866
2773
  {
2867
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2774
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
2868
2775
  }
2869
2776
  ],
2870
2777
  description: "The assignee of the rule."
@@ -2875,7 +2782,7 @@ var properties$2 = {
2875
2782
  description: "Constraints applied to the rule.",
2876
2783
  prefixItems: [
2877
2784
  {
2878
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
2785
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
2879
2786
  }
2880
2787
  ]
2881
2788
  },
@@ -2889,7 +2796,7 @@ var properties$2 = {
2889
2796
  description: "The remedies that must be fulfilled if prohibition is violated.",
2890
2797
  prefixItems: [
2891
2798
  {
2892
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
2799
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
2893
2800
  }
2894
2801
  ]
2895
2802
  }
@@ -2929,8 +2836,8 @@ var OdrlProhibitionSchema = {
2929
2836
  };
2930
2837
 
2931
2838
  var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
2932
- var $id$1 = "https://schema.twindev.org/odrl/OdrlRule";
2933
- var description$1 = "Base interface for ODRL Rules.";
2839
+ var $id$1 = "https://schema.twindev.org/w3c-odrl/OdrlRule";
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": {
@@ -3019,10 +2926,13 @@ var properties$1 = {
3019
2926
  action: {
3020
2927
  anyOf: [
3021
2928
  {
3022
- $ref: "https://schema.twindev.org/odrl/ActionType"
2929
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3023
2930
  },
3024
2931
  {
3025
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2932
+ type: "string"
2933
+ },
2934
+ {
2935
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3026
2936
  },
3027
2937
  {
3028
2938
  type: "array",
@@ -3031,10 +2941,13 @@ var properties$1 = {
3031
2941
  {
3032
2942
  anyOf: [
3033
2943
  {
3034
- $ref: "https://schema.twindev.org/odrl/ActionType"
2944
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
2945
+ },
2946
+ {
2947
+ type: "string"
3035
2948
  },
3036
2949
  {
3037
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
2950
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3038
2951
  }
3039
2952
  ]
3040
2953
  }
@@ -3049,7 +2962,7 @@ var properties$1 = {
3049
2962
  type: "string"
3050
2963
  },
3051
2964
  {
3052
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2965
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3053
2966
  },
3054
2967
  {
3055
2968
  type: "array",
@@ -3061,7 +2974,7 @@ var properties$1 = {
3061
2974
  type: "string"
3062
2975
  },
3063
2976
  {
3064
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
2977
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3065
2978
  }
3066
2979
  ]
3067
2980
  }
@@ -3076,7 +2989,7 @@ var properties$1 = {
3076
2989
  type: "string"
3077
2990
  },
3078
2991
  {
3079
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
2992
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3080
2993
  }
3081
2994
  ],
3082
2995
  description: "The assigner of the rule."
@@ -3087,7 +3000,7 @@ var properties$1 = {
3087
3000
  type: "string"
3088
3001
  },
3089
3002
  {
3090
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3003
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3091
3004
  }
3092
3005
  ],
3093
3006
  description: "The assignee of the rule."
@@ -3098,7 +3011,7 @@ var properties$1 = {
3098
3011
  description: "Constraints applied to the rule.",
3099
3012
  prefixItems: [
3100
3013
  {
3101
- $ref: "https://schema.twindev.org/odrl/OdrlConstraint"
3014
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
3102
3015
  }
3103
3016
  ]
3104
3017
  },
@@ -3142,12 +3055,12 @@ var OdrlRuleSchema = {
3142
3055
  };
3143
3056
 
3144
3057
  var $schema = "https://json-schema.org/draft/2020-12/schema";
3145
- var $id = "https://schema.twindev.org/odrl/OdrlSet";
3146
- var description = "Interface representing an ODRL Set. A Set is a basic policy type with no specific party requirements.";
3058
+ var $id = "https://schema.twindev.org/w3c-odrl/OdrlSet";
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": {
3150
- $ref: "https://schema.twindev.org/odrl/OdrlContextType",
3063
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlContextType",
3151
3064
  description: "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
3152
3065
  },
3153
3066
  "@id": {
@@ -3242,7 +3155,7 @@ var properties = {
3242
3155
  type: "string"
3243
3156
  },
3244
3157
  {
3245
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3158
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3246
3159
  }
3247
3160
  ],
3248
3161
  description: "The assigner of the policy. Applies to all rules unless overridden at rule level."
@@ -3253,7 +3166,7 @@ var properties = {
3253
3166
  type: "string"
3254
3167
  },
3255
3168
  {
3256
- $ref: "https://schema.twindev.org/odrl/OdrlParty"
3169
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlParty"
3257
3170
  }
3258
3171
  ],
3259
3172
  description: "The assignee of the policy. Applies to all rules unless overridden at rule level."
@@ -3264,7 +3177,7 @@ var properties = {
3264
3177
  type: "string"
3265
3178
  },
3266
3179
  {
3267
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3180
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3268
3181
  },
3269
3182
  {
3270
3183
  type: "array",
@@ -3276,7 +3189,7 @@ var properties = {
3276
3189
  type: "string"
3277
3190
  },
3278
3191
  {
3279
- $ref: "https://schema.twindev.org/odrl/OdrlAsset"
3192
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAsset"
3280
3193
  }
3281
3194
  ]
3282
3195
  }
@@ -3288,10 +3201,13 @@ var properties = {
3288
3201
  action: {
3289
3202
  anyOf: [
3290
3203
  {
3291
- $ref: "https://schema.twindev.org/odrl/ActionType"
3204
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3205
+ },
3206
+ {
3207
+ type: "string"
3292
3208
  },
3293
3209
  {
3294
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3210
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3295
3211
  },
3296
3212
  {
3297
3213
  type: "array",
@@ -3300,10 +3216,13 @@ var properties = {
3300
3216
  {
3301
3217
  anyOf: [
3302
3218
  {
3303
- $ref: "https://schema.twindev.org/odrl/ActionType"
3219
+ $ref: "https://schema.twindev.org/w3c-odrl/ActionType"
3304
3220
  },
3305
3221
  {
3306
- $ref: "https://schema.twindev.org/odrl/OdrlAction"
3222
+ type: "string"
3223
+ },
3224
+ {
3225
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlAction"
3307
3226
  }
3308
3227
  ]
3309
3228
  }
@@ -3330,7 +3249,7 @@ var properties = {
3330
3249
  description: "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
3331
3250
  },
3332
3251
  conflict: {
3333
- $ref: "https://schema.twindev.org/odrl/ConflictStrategyType",
3252
+ $ref: "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
3334
3253
  description: "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
3335
3254
  },
3336
3255
  permission: {
@@ -3339,7 +3258,7 @@ var properties = {
3339
3258
  description: "The permissions in the policy. At least one of permission, prohibition, or obligation must be present.",
3340
3259
  prefixItems: [
3341
3260
  {
3342
- $ref: "https://schema.twindev.org/odrl/OdrlPermission"
3261
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlPermission"
3343
3262
  }
3344
3263
  ]
3345
3264
  },
@@ -3349,7 +3268,7 @@ var properties = {
3349
3268
  description: "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present.",
3350
3269
  prefixItems: [
3351
3270
  {
3352
- $ref: "https://schema.twindev.org/odrl/OdrlProhibition"
3271
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
3353
3272
  }
3354
3273
  ]
3355
3274
  },
@@ -3359,7 +3278,7 @@ var properties = {
3359
3278
  description: "The obligations in the policy. At least one of permission, prohibition, or obligation must be present.",
3360
3279
  prefixItems: [
3361
3280
  {
3362
- $ref: "https://schema.twindev.org/odrl/OdrlDuty"
3281
+ $ref: "https://schema.twindev.org/w3c-odrl/OdrlDuty"
3363
3282
  }
3364
3283
  ]
3365
3284
  }
@@ -3414,7 +3333,7 @@ class OdrlDataTypes {
3414
3333
  * Register the JSON-LD Redirects.
3415
3334
  */
3416
3335
  static registerRedirects() {
3417
- JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, "https://www.w3.org/ns/odrl.jsonld");
3336
+ JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/odrl\/?/, OdrlContexts.ContextRedirect);
3418
3337
  }
3419
3338
  /**
3420
3339
  * Register all the data types.
@@ -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 };