@twin.org/standards-w3c-odrl 0.0.3-next.2 → 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 +3 -3
- package/dist/es/schemas/OdrlOffer.json +3 -3
- package/dist/es/schemas/OdrlPolicy.json +3 -3
- package/dist/es/schemas/OdrlSet.json +3 -3
- package/dist/types/models/odrlContexts.d.ts +1 -1
- package/docs/changelog.md +15 -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,7 +9,7 @@
|
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prefixItems": [
|
|
18
18
|
{
|
|
19
19
|
"type": "string",
|
|
20
|
-
"const": "
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"type": "string",
|
|
39
|
-
"const": "
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"items": {
|
|
@@ -9,7 +9,7 @@
|
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prefixItems": [
|
|
18
18
|
{
|
|
19
19
|
"type": "string",
|
|
20
|
-
"const": "
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"type": "string",
|
|
39
|
-
"const": "
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"items": {
|
|
@@ -9,7 +9,7 @@
|
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prefixItems": [
|
|
18
18
|
{
|
|
19
19
|
"type": "string",
|
|
20
|
-
"const": "
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"type": "string",
|
|
39
|
-
"const": "
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"items": {
|
|
@@ -9,7 +9,7 @@
|
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prefixItems": [
|
|
18
18
|
{
|
|
19
19
|
"type": "string",
|
|
20
|
-
"const": "
|
|
20
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"type": "string",
|
|
39
|
-
"const": "
|
|
39
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"items": {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
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
|
+
|
|
3
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)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -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",
|