@twin.org/attestation-models 0.0.1-next.19 → 0.0.1-next.20

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.
@@ -32,7 +32,7 @@ var type$1 = "object";
32
32
  var properties$1 = {
33
33
  "@context": {
34
34
  type: "array",
35
- minItems: 2,
35
+ minItems: 3,
36
36
  items: [
37
37
  {
38
38
  type: "string",
@@ -41,6 +41,10 @@ var properties$1 = {
41
41
  {
42
42
  type: "string",
43
43
  "const": "https://schema.twindev.org/common/"
44
+ },
45
+ {
46
+ type: "string",
47
+ "const": "https://schema.org"
44
48
  }
45
49
  ],
46
50
  additionalItems: {
@@ -30,7 +30,7 @@ var type$1 = "object";
30
30
  var properties$1 = {
31
31
  "@context": {
32
32
  type: "array",
33
- minItems: 2,
33
+ minItems: 3,
34
34
  items: [
35
35
  {
36
36
  type: "string",
@@ -39,6 +39,10 @@ var properties$1 = {
39
39
  {
40
40
  type: "string",
41
41
  "const": "https://schema.twindev.org/common/"
42
+ },
43
+ {
44
+ type: "string",
45
+ "const": "https://schema.org"
42
46
  }
43
47
  ],
44
48
  additionalItems: {
@@ -1,4 +1,5 @@
1
1
  import type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
+ import type { SchemaOrgTypes } from "@twin.org/standards-schema-org";
2
3
  import type { AttestationTypes } from "./attestationTypes";
3
4
  /**
4
5
  * Interface describing the collated attestation information.
@@ -10,6 +11,7 @@ export interface IAttestationInformation {
10
11
  "@context": [
11
12
  typeof AttestationTypes.ContextRoot,
12
13
  typeof AttestationTypes.ContextRootCommon,
14
+ typeof SchemaOrgTypes.ContextRoot,
13
15
  ...IJsonLdContextDefinitionElement[]
14
16
  ];
15
17
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/attestation-models - Changelog
2
2
 
3
- ## v0.0.1-next.19
3
+ ## v0.0.1-next.20
4
4
 
5
5
  - Initial Release
@@ -6,7 +6,7 @@ Interface describing the collated attestation information.
6
6
 
7
7
  ### @context
8
8
 
9
- > **@context**: \[`"https://schema.twindev.org/attestation/"`, `"https://schema.twindev.org/common/"`, `...IJsonLdContextDefinitionElement[]`\]
9
+ > **@context**: \[`"https://schema.twindev.org/attestation/"`, `"https://schema.twindev.org/common/"`, `"https://schema.org"`, `...IJsonLdContextDefinitionElement[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/attestation-models",
3
- "version": "0.0.1-next.19",
3
+ "version": "0.0.1-next.20",
4
4
  "description": "Models which define the structure of the attestation connectors and services",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,6 +19,7 @@
19
19
  "@twin.org/data-json-ld": "next",
20
20
  "@twin.org/entity": "next",
21
21
  "@twin.org/nameof": "next",
22
+ "@twin.org/standards-schema-org": "next",
22
23
  "@twin.org/standards-w3c-did": "next",
23
24
  "@twin.org/web": "next"
24
25
  },