@twin.org/standards-schema-org 0.0.3-next.50 → 0.0.3-next.52

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # TWIN Schema.org Data
1
+ # TWIN Standards Schema.org
2
2
 
3
- Models which define the structure of [Schema.org Standard](https://schema.org/).
3
+ This package provides data models for [Schema.org vocabularies](https://schema.org/), supporting a common semantic layer for entities, events, and relationships across domains.
4
4
 
5
5
  ## Installation
6
6
 
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-schema-org - Changelog
2
2
 
3
+ ## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.3-next.51...standards-schema-org-v0.0.3-next.52) (2026-03-10)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-schema-org:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.3-next.50...standards-schema-org-v0.0.3-next.51) (2026-03-10)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-schema-org:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-schema-org-v0.0.3-next.49...standards-schema-org-v0.0.3-next.50) (2026-03-09)
4
18
 
5
19
 
package/docs/examples.md CHANGED
@@ -1 +1,26 @@
1
- # @twin.org/standards-schema-org - Examples
1
+ # Standards Schema.org Examples
2
+
3
+ These snippets register data types and validate coordinate payloads against schema.org constraints.
4
+
5
+ ## SchemaOrgValidation
6
+
7
+ ```typescript
8
+ import type { IValidationFailure } from '@twin.org/core';
9
+ import { SchemaOrgDataTypes, SchemaOrgValidation } from '@twin.org/standards-schema-org';
10
+
11
+ SchemaOrgDataTypes.registerRedirects();
12
+ SchemaOrgDataTypes.registerTypes();
13
+
14
+ const failures: IValidationFailure[] = [];
15
+ const valid = SchemaOrgValidation.geoCoordinates(
16
+ 'site.geo',
17
+ {
18
+ latitude: 53.3498,
19
+ longitude: -6.2603
20
+ },
21
+ failures
22
+ );
23
+
24
+ console.log(valid); // true
25
+ console.log(failures.length); // 0
26
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twin.org/standards-schema-org",
3
- "version": "0.0.3-next.50",
4
- "description": "Models which define the structure of schema.org Standard",
3
+ "version": "0.0.3-next.52",
4
+ "description": "Data models for Schema.org vocabularies.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/twinfoundation/standards.git",