From bc3760f5d35f5ea546776101d225d3e28de673f3 Mon Sep 17 00:00:00 2001 From: mkhraisha Date: Tue, 8 Aug 2023 17:39:38 +0000 Subject: [PATCH] deploy: 419f5cb0414bf6a2393dd12dd7986ba7843c2bc5 --- .../credentials/EntryNumberCredential.yml | 17 ++++++++++++++++- openapi/openapi.bundled.json | 2 +- sections/credentials.html | 17 ++++++++++++++++- testsuite/jest-html-reporters-attach/result.js | 2 +- 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/openapi/components/schemas/credentials/EntryNumberCredential.yml b/openapi/components/schemas/credentials/EntryNumberCredential.yml index 6c037bb0d..71dd40c74 100644 --- a/openapi/components/schemas/credentials/EntryNumberCredential.yml +++ b/openapi/components/schemas/credentials/EntryNumberCredential.yml @@ -106,7 +106,22 @@ example: |- "Organization" ], "id": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", - "name": "Onwards A/S" + "name": "Onwards A/S", + "location": { + "type": [ + "Place" + ], + "address": { + "type": [ + "PostalAddress" + ], + "streetAddress": "19 Knox St", + "addressLocality": "Toronto", + "addressRegion": "ON", + "addressCountry": "CA", + "postalCode": "M3B 1A2" + } + } }, "issuanceDate": "2022-11-01T10:58:45-04:00", "credentialSubject": { diff --git a/openapi/openapi.bundled.json b/openapi/openapi.bundled.json index 790e16a97..c699a0b59 100644 --- a/openapi/openapi.bundled.json +++ b/openapi/openapi.bundled.json @@ -649432,7 +649432,7 @@ "issuer", "credentialSubject" ], - "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"http://example.com/dd0c6f9a-5df6-40a3-bb34-863cd1fda606\",\n \"type\": [\n \"VerifiableCredential\",\n \"EntryNumberCredential\"\n ],\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Onwards A/S\"\n },\n \"issuanceDate\": \"2022-11-01T10:58:45-04:00\",\n \"credentialSubject\": {\n \"type\": [\n \"EntryNumber\"\n ],\n \"entryNumber\": \"12345123456\"\n }\n}" + "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"http://example.com/dd0c6f9a-5df6-40a3-bb34-863cd1fda606\",\n \"type\": [\n \"VerifiableCredential\",\n \"EntryNumberCredential\"\n ],\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Onwards A/S\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"19 Knox St\",\n \"addressLocality\": \"Toronto\",\n \"addressRegion\": \"ON\",\n \"addressCountry\": \"CA\",\n \"postalCode\": \"M3B 1A2\"\n }\n }\n },\n \"issuanceDate\": \"2022-11-01T10:58:45-04:00\",\n \"credentialSubject\": {\n \"type\": [\n \"EntryNumber\"\n ],\n \"entryNumber\": \"12345123456\"\n }\n}" } } } diff --git a/sections/credentials.html b/sections/credentials.html index 497848459..350fb941d 100644 --- a/sections/credentials.html +++ b/sections/credentials.html @@ -2684,7 +2684,22 @@

Entry Number Credential

"Organization" ], "id": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", - "name": "Onwards A/S" + "name": "Onwards A/S", + "location": { + "type": [ + "Place" + ], + "address": { + "type": [ + "PostalAddress" + ], + "streetAddress": "19 Knox St", + "addressLocality": "Toronto", + "addressRegion": "ON", + "addressCountry": "CA", + "postalCode": "M3B 1A2" + } + } }, "issuanceDate": "2022-11-01T10:58:45-04:00", "credentialSubject": { diff --git a/testsuite/jest-html-reporters-attach/result.js b/testsuite/jest-html-reporters-attach/result.js index d032f2ee6..4623ee9ac 100644 --- a/testsuite/jest-html-reporters-attach/result.js +++ b/testsuite/jest-html-reporters-attach/result.js @@ -1 +1 @@ -window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1690912801484,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1690912805087,"runtime":3563,"slow":false,"start":1690912801524},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":1,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":2696,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1690912805828,"runtime":732,"slow":false,"start":1690912805096},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":185,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":1,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1690912805832,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file +window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1691516361967,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1691516365797,"runtime":3784,"slow":false,"start":1691516362013},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":3,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":2877,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1691516366596,"runtime":785,"slow":false,"start":1691516365811},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":210,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":1,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1691516366600,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file