@twin.org/standards-w3c-odrl 0.0.3-next.1 → 0.0.3-next.3
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.
- package/dist/es/models/odrlContexts.js +1 -1
- package/dist/es/models/odrlContexts.js.map +1 -1
- package/dist/es/schemas/OdrlAgreement.json +19 -23
- package/dist/es/schemas/OdrlOffer.json +19 -23
- package/dist/es/schemas/OdrlPolicy.json +19 -23
- package/dist/es/schemas/OdrlSet.json +19 -23
- package/dist/types/models/odrlContexts.d.ts +1 -1
- package/docs/changelog.md +30 -0
- package/docs/reference/variables/OdrlContexts.md +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odrlContexts.js","sourceRoot":"","sources":["../../../src/models/odrlContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"odrlContexts.js","sourceRoot":"","sources":["../../../src/models/odrlContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,WAAW,EAAE,8BAA8B;IAE3C;;OAEG;IACH,eAAe,EAAE,mCAAmC;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for ODRL.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const OdrlContexts = {\n\t/**\n\t * The context root for ODRL vocabulary.\n\t */\n\tContextRoot: \"http://www.w3.org/ns/odrl/2/\",\n\n\t/**\n\t * The context root for ODRL.\n\t */\n\tContextRedirect: \"https://www.w3.org/ns/odrl.jsonld\"\n} as const;\n\n/**\n * The contexts for ODRL.\n */\nexport type OdrlContexts = (typeof OdrlContexts)[keyof typeof OdrlContexts];\n"]}
|
|
@@ -9,41 +9,37 @@
|
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "
|
|
12
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "array",
|
|
16
16
|
"minItems": 2,
|
|
17
|
+
"prefixItems": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
17
26
|
"items": {
|
|
18
|
-
"anyOf": [
|
|
19
|
-
{
|
|
20
|
-
"type": "string",
|
|
21
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"additionalItems": {
|
|
29
27
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
{
|
|
33
31
|
"type": "array",
|
|
34
32
|
"minItems": 2,
|
|
33
|
+
"prefixItems": [
|
|
34
|
+
{
|
|
35
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
35
42
|
"items": {
|
|
36
|
-
"anyOf": [
|
|
37
|
-
{
|
|
38
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "string",
|
|
42
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"additionalItems": {
|
|
47
43
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
48
44
|
}
|
|
49
45
|
}
|
|
@@ -9,41 +9,37 @@
|
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "
|
|
12
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "array",
|
|
16
16
|
"minItems": 2,
|
|
17
|
+
"prefixItems": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
17
26
|
"items": {
|
|
18
|
-
"anyOf": [
|
|
19
|
-
{
|
|
20
|
-
"type": "string",
|
|
21
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"additionalItems": {
|
|
29
27
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
{
|
|
33
31
|
"type": "array",
|
|
34
32
|
"minItems": 2,
|
|
33
|
+
"prefixItems": [
|
|
34
|
+
{
|
|
35
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
35
42
|
"items": {
|
|
36
|
-
"anyOf": [
|
|
37
|
-
{
|
|
38
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "string",
|
|
42
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"additionalItems": {
|
|
47
43
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
48
44
|
}
|
|
49
45
|
}
|
|
@@ -9,41 +9,37 @@
|
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "
|
|
12
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "array",
|
|
16
16
|
"minItems": 2,
|
|
17
|
+
"prefixItems": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
17
26
|
"items": {
|
|
18
|
-
"anyOf": [
|
|
19
|
-
{
|
|
20
|
-
"type": "string",
|
|
21
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"additionalItems": {
|
|
29
27
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
{
|
|
33
31
|
"type": "array",
|
|
34
32
|
"minItems": 2,
|
|
33
|
+
"prefixItems": [
|
|
34
|
+
{
|
|
35
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
35
42
|
"items": {
|
|
36
|
-
"anyOf": [
|
|
37
|
-
{
|
|
38
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "string",
|
|
42
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"additionalItems": {
|
|
47
43
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
48
44
|
}
|
|
49
45
|
}
|
|
@@ -9,41 +9,37 @@
|
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "
|
|
12
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "array",
|
|
16
16
|
"minItems": 2,
|
|
17
|
+
"prefixItems": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
17
26
|
"items": {
|
|
18
|
-
"anyOf": [
|
|
19
|
-
{
|
|
20
|
-
"type": "string",
|
|
21
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"additionalItems": {
|
|
29
27
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
{
|
|
33
31
|
"type": "array",
|
|
34
32
|
"minItems": 2,
|
|
33
|
+
"prefixItems": [
|
|
34
|
+
{
|
|
35
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
35
42
|
"items": {
|
|
36
|
-
"anyOf": [
|
|
37
|
-
{
|
|
38
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "string",
|
|
42
|
-
"const": "https://www.w3.org/ns/odrl/2/"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"additionalItems": {
|
|
47
43
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
48
44
|
}
|
|
49
45
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @twin.org/standards-w3c-odrl - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.3](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.3-next.2...standards-w3c-odrl-v0.0.3-next.3) (2025-11-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
16
|
+
* @twin.org/standards-dublin-core bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
17
|
+
|
|
18
|
+
## [0.0.3-next.2](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.3-next.1...standards-w3c-odrl-v0.0.3-next.2) (2025-11-11)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* update schemas ([c3c11e0](https://github.com/twinfoundation/standards/commit/c3c11e07da6c0d3eac5ea4a68e3ad57f022b2351))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
31
|
+
* @twin.org/standards-dublin-core bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
32
|
+
|
|
3
33
|
## [0.0.3-next.1](https://github.com/twinfoundation/standards/compare/standards-w3c-odrl-v0.0.3-next.0...standards-w3c-odrl-v0.0.3-next.1) (2025-11-10)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -8,7 +8,7 @@ The contexts for ODRL.
|
|
|
8
8
|
|
|
9
9
|
### ContextRoot
|
|
10
10
|
|
|
11
|
-
> `readonly` **ContextRoot**: `"
|
|
11
|
+
> `readonly` **ContextRoot**: `"http://www.w3.org/ns/odrl/2/"` = `"http://www.w3.org/ns/odrl/2/"`
|
|
12
12
|
|
|
13
13
|
The context root for ODRL vocabulary.
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-w3c-odrl",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.3",
|
|
4
4
|
"description": "Models which define the structure of W3C ODRL Standard",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/data-core": "next",
|
|
19
19
|
"@twin.org/data-json-ld": "next",
|
|
20
|
-
"@twin.org/standards-dublin-core": "0.0.3-next.
|
|
21
|
-
"@twin.org/standards-w3c-vcard": "0.0.3-next.
|
|
20
|
+
"@twin.org/standards-dublin-core": "0.0.3-next.3",
|
|
21
|
+
"@twin.org/standards-w3c-vcard": "0.0.3-next.3",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|