Skip to content

Commit

Permalink
docs: updating schema examples (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
javip97 authored May 8, 2023
1 parent 9b01083 commit 5f76c67
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleBoolean.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "@id",
"type": "@type",
"CodingExperienceCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleBoolean.json-ld#CodingExperienceCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleBoolean.json-ld#CodingExperienceCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleDate.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "@id",
"type": "@type",
"HireDateCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleDate.json-ld#HireDateCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleDate.json-ld#HireDateCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleEmployee.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "@id",
"type": "@type",
"EmployeeCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleEmployee.json-ld#EmployeeCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleEmployee.json-ld#EmployeeCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleInteger.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "@id",
"type": "@type",
"BirthdayCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleInteger.json-ld#BirthdayCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleInteger.json-ld#BirthdayCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleNumber.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"id": "@id",
"type": "@type",
"SalaryCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleNumber.json-ld#SalaryCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleNumber.json-ld#SalaryCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/schemas/json-ld/exampleString.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "@id",
"type": "@type",
"RoleCredential": {
"@id": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/json-ld/exampleString.json-ld#RoleCredential",
"@id": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/json-ld/exampleString.json-ld#RoleCredential",
"@context": {
"@version": 1.1,
"@protected": true,
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleBoolean.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleBoolean.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleBoolean.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleBoolean.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleBoolean.json"
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleDate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleDate.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleDate.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleDate.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleDate.json"
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleEmployee.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleEmployee.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleEmployee.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleEmployee.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleEmployee.json"
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleInteger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleInteger.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleInteger.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleInteger.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleInteger.json"
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleNumber.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleNumber.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleNumber.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleNumber.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleNumber.json"
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/schemas/json/exampleString.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json-ld/exampleString.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/sh-id-platform/main/docs/examples/schemas/json/exampleString.json"
"jsonLdContext": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json-ld/exampleString.json-ld",
"jsonSchema": "https://raw.githubusercontent.com/0xPolygonID/issuer-node/main/docs/examples/schemas/json/exampleString.json"
}
},
"required": [
Expand Down

0 comments on commit 5f76c67

Please sign in to comment.