@twin.org/standards-schema-org 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.
package/dist/cjs/index.cjs
CHANGED
|
@@ -14,7 +14,11 @@ const SchemaOrgContexts = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Context Root.
|
|
16
16
|
*/
|
|
17
|
-
ContextRoot: "https://schema.org"
|
|
17
|
+
ContextRoot: "https://schema.org",
|
|
18
|
+
/**
|
|
19
|
+
* The redirect for the JSON-LD definition.
|
|
20
|
+
*/
|
|
21
|
+
ContextRedirect: "https://schema.org/docs/jsonldcontext.json"
|
|
18
22
|
};
|
|
19
23
|
|
|
20
24
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -187,7 +191,7 @@ class SchemaOrgDataTypes {
|
|
|
187
191
|
* Register the JSON-LD Redirects.
|
|
188
192
|
*/
|
|
189
193
|
static registerRedirects() {
|
|
190
|
-
dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/schema.org\/?/,
|
|
194
|
+
dataJsonLd.JsonLdProcessor.addRedirect(/https?:\/\/schema.org\/?/, SchemaOrgContexts.ContextRedirect);
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
197
|
* Register all the data types.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -12,7 +12,11 @@ const SchemaOrgContexts = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Context Root.
|
|
14
14
|
*/
|
|
15
|
-
ContextRoot: "https://schema.org"
|
|
15
|
+
ContextRoot: "https://schema.org",
|
|
16
|
+
/**
|
|
17
|
+
* The redirect for the JSON-LD definition.
|
|
18
|
+
*/
|
|
19
|
+
ContextRedirect: "https://schema.org/docs/jsonldcontext.json"
|
|
16
20
|
};
|
|
17
21
|
|
|
18
22
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -185,7 +189,7 @@ class SchemaOrgDataTypes {
|
|
|
185
189
|
* Register the JSON-LD Redirects.
|
|
186
190
|
*/
|
|
187
191
|
static registerRedirects() {
|
|
188
|
-
JsonLdProcessor.addRedirect(/https?:\/\/schema.org\/?/,
|
|
192
|
+
JsonLdProcessor.addRedirect(/https?:\/\/schema.org\/?/, SchemaOrgContexts.ContextRedirect);
|
|
189
193
|
}
|
|
190
194
|
/**
|
|
191
195
|
* Register all the data types.
|
|
@@ -6,6 +6,10 @@ export declare const SchemaOrgContexts: {
|
|
|
6
6
|
* Context Root.
|
|
7
7
|
*/
|
|
8
8
|
readonly ContextRoot: "https://schema.org";
|
|
9
|
+
/**
|
|
10
|
+
* The redirect for the JSON-LD definition.
|
|
11
|
+
*/
|
|
12
|
+
readonly ContextRedirect: "https://schema.org/docs/jsonldcontext.json";
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* The contexts of schema.org data.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
# @twin.org/standards-schema-org - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.9...standards-schema-org-v0.0.2-next.10) (2025-09-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.8...standards-schema-org-v0.0.2-next.9) (2025-09-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.7...standards-schema-org-v0.0.2-next.8) (2025-09-15)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.6...standards-schema-org-v0.0.2-next.7) (2025-09-15)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.5...standards-schema-org-v0.0.2-next.6) (2025-09-12)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.4...standards-schema-org-v0.0.2-next.5) (2025-09-12)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Miscellaneous Chores
|
|
42
|
+
|
|
43
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
44
|
+
|
|
45
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.3...standards-schema-org-v0.0.2-next.4) (2025-09-12)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Miscellaneous Chores
|
|
49
|
+
|
|
50
|
+
* **standards-schema-org:** Synchronize repo versions
|
|
51
|
+
|
|
52
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.2...standards-schema-org-v0.0.2-next.3) (2025-08-29)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
* eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
58
|
+
|
|
59
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.1...standards-schema-org-v0.0.2-next.2) (2025-08-19)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
65
|
+
|
|
66
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.2-next.0...standards-schema-org-v0.0.2-next.1) (2025-07-14)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Features
|
|
70
|
+
|
|
71
|
+
* add ItemList, ItemListElement and NextItem types ([19d7baf](https://github.com/twinfoundation/standards/commit/19d7baf31a3e6385c68051da75835d917d134deb))
|
|
72
|
+
* add ItemList, ItemListElement and NextItem types ([fb40e25](https://github.com/twinfoundation/standards/commit/fb40e25bd3552760452cc31d654d3f0596482ae9))
|
|
73
|
+
* data types registered with full qualified names ([d64bd08](https://github.com/twinfoundation/standards/commit/d64bd082084172da543e9bfaffb78cdc34e6641d))
|
|
74
|
+
* normalise type outputs ([0b3aed7](https://github.com/twinfoundation/standards/commit/0b3aed7df0802cd609423bbd7fda6bde601d3ceb))
|
|
75
|
+
* unused dependencies ([f8bc5bf](https://github.com/twinfoundation/standards/commit/f8bc5bfbccdc6036cbac9a3b3ff91e3de90c8a9b))
|
|
76
|
+
* update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
|
|
77
|
+
* use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
|
|
78
|
+
|
|
3
79
|
## 0.0.1 (2025-07-03)
|
|
4
80
|
|
|
5
81
|
|
|
@@ -4,10 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
The contexts of schema.org data.
|
|
6
6
|
|
|
7
|
-
## Type
|
|
7
|
+
## Type Declaration
|
|
8
8
|
|
|
9
9
|
### ContextRoot
|
|
10
10
|
|
|
11
11
|
> `readonly` **ContextRoot**: `"https://schema.org"` = `"https://schema.org"`
|
|
12
12
|
|
|
13
13
|
Context Root.
|
|
14
|
+
|
|
15
|
+
### ContextRedirect
|
|
16
|
+
|
|
17
|
+
> `readonly` **ContextRedirect**: `"https://schema.org/docs/jsonldcontext.json"` = `"https://schema.org/docs/jsonldcontext.json"`
|
|
18
|
+
|
|
19
|
+
The redirect for the JSON-LD definition.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-schema-org",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.10",
|
|
4
4
|
"description": "Models which define the structure of schema.org Standard",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/data-core": "
|
|
19
|
-
"@twin.org/data-json-ld": "
|
|
20
|
-
"@twin.org/entity": "
|
|
21
|
-
"@twin.org/nameof": "
|
|
17
|
+
"@twin.org/core": "next",
|
|
18
|
+
"@twin.org/data-core": "next",
|
|
19
|
+
"@twin.org/data-json-ld": "next",
|
|
20
|
+
"@twin.org/entity": "next",
|
|
21
|
+
"@twin.org/nameof": "next",
|
|
22
22
|
"schema-dts": "1.1.5"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/cjs/index.cjs",
|