From d30b6b4a3e3b5e29e22219babfd4dc32205ab1c2 Mon Sep 17 00:00:00 2001 From: gsSuper Date: Fri, 27 Jan 2023 11:03:21 -0500 Subject: [PATCH 01/18] uploading sample json which all would be used for uploading to the cellnode endpoint --- artefacts/sample/claim.json | 32 +++++++++++++++++++++++++++++ artefacts/sample/controller.json | 10 +++++++++ artefacts/sample/creator.json | 10 +++++++++ artefacts/sample/page.json | 9 ++++++++ artefacts/sample/profile.json | 28 +++++++++++++++++++++++++ artefacts/sample/tags.json | 22 ++++++++++++++++++++ artefacts/sample/tokenMetadata.json | 26 +++++++++++++++++++++++ 7 files changed, 137 insertions(+) create mode 100644 artefacts/sample/claim.json create mode 100644 artefacts/sample/controller.json create mode 100644 artefacts/sample/creator.json create mode 100644 artefacts/sample/page.json create mode 100644 artefacts/sample/profile.json create mode 100644 artefacts/sample/tags.json create mode 100644 artefacts/sample/tokenMetadata.json diff --git a/artefacts/sample/claim.json b/artefacts/sample/claim.json new file mode 100644 index 0000000..a65c61c --- /dev/null +++ b/artefacts/sample/claim.json @@ -0,0 +1,32 @@ +{ + "5dcad730-8993-4453-9f35-055a1919262d": { + "id": "5dcad730-8993-4453-9f35-055a1919262d", + "isHeadlineMetric": false, + "template": { + "title": "Test Claim Title", + "description": "Nulla porttitor accumsan tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget tortor risus. Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec sollicitudin molestie malesuada.", + "creator": "Gregory", + "createdAt": "22-Sept-2022", + "id": "claim-select00" + }, + "maxSubmissions": "1", + "approvalTarget": "1", + "submissionStartDate": "20-Jan-2023", + "submissionEndDate": "22-Feb-2023" + }, + "2fad881b-c924-4677-9482-de1fbc79b1c3": { + "id": "2fad881b-c924-4677-9482-de1fbc79b1c3", + "isHeadlineMetric": true, + "template": { + "title": "Test Claim Title", + "description": "Nulla porttitor accumsan tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget tortor risus. Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec sollicitudin molestie malesuada.", + "creator": "Gregory", + "createdAt": "22-Sept-2022", + "id": "claim-select12" + }, + "maxSubmissions": "1", + "approvalTarget": "1", + "submissionStartDate": "07-Feb-2023", + "submissionEndDate": "25-Feb-2023" + } +} diff --git a/artefacts/sample/controller.json b/artefacts/sample/controller.json new file mode 100644 index 0000000..208ab05 --- /dev/null +++ b/artefacts/sample/controller.json @@ -0,0 +1,10 @@ +{ + "@type": "ixo:creator", + "displayName": "Test DAO Owner1", + "location": "AL", + "email": "df@dfd", + "mission": "Mission", + "website": "https://11.dcom", + "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", + "id": "did:ixo:entity:asdf1234" +} diff --git a/artefacts/sample/creator.json b/artefacts/sample/creator.json new file mode 100644 index 0000000..1d55250 --- /dev/null +++ b/artefacts/sample/creator.json @@ -0,0 +1,10 @@ +{ + "@type": "ixo:creator", + "displayName": "Test DAO Owner1", + "location": "AA", + "email": "asdf@asdf.com", + "mission": "Mission", + "website": "https://11.dcom", + "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", + "id": "did:ixo:entity:asdf1234" +} diff --git a/artefacts/sample/page.json b/artefacts/sample/page.json new file mode 100644 index 0000000..cf80335 --- /dev/null +++ b/artefacts/sample/page.json @@ -0,0 +1,9 @@ +{ + "IrCcJ8hl8t": { + "id": "IrCcJ8hl8t", + "type": "paragraph", + "data": { + "text": "Hello" + } + } +} diff --git a/artefacts/sample/profile.json b/artefacts/sample/profile.json new file mode 100644 index 0000000..fe53a39 --- /dev/null +++ b/artefacts/sample/profile.json @@ -0,0 +1,28 @@ +{ + "id": "", + "@type": "Carbon", + "name": "Mallawi Collection", + "description": "asdfasdfasdf", + "image": "https://cellnode-pandora.ixo.earth/public/5kg1ca5qc5cldemg07p", + "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", + "brand": "BE", + "location": "SA", + "attributes": [ + { + "key": "location", + "value": "Mallawi" + }, + { + "key": "color", + "value": "red" + } + ], + "metrics": [ + { + "prefix": "prefix", + "metric": "metric", + "suffix": "suffix", + "source": "https://cellnode.com/#dfdfcv" + } + ] +} diff --git a/artefacts/sample/tags.json b/artefacts/sample/tags.json new file mode 100644 index 0000000..f380974 --- /dev/null +++ b/artefacts/sample/tags.json @@ -0,0 +1,22 @@ +[ + { + "category": "Asset Type", + "tags": ["Equity", "Commercial Rights"] + }, + { + "category": "Token Class", + "tags": ["Ownership Certificate", "Unspecified"] + }, + { + "category": "Market", + "tags": ["Not Specified", "Asset Registry"] + }, + { + "category": "Stage", + "tags": ["Selection", "Ended"] + }, + { + "category": "SDG", + "tags": ["SDG15 – Life on Land", "SDG14 – Life Below Water"] + } +] diff --git a/artefacts/sample/tokenMetadata.json b/artefacts/sample/tokenMetadata.json new file mode 100644 index 0000000..c4e92f0 --- /dev/null +++ b/artefacts/sample/tokenMetadata.json @@ -0,0 +1,26 @@ +{ + "id": "did:ixo:entity:abc123", + "type": "Carbon", + "name": "Mallawi Collection", + "tokenName": "Supa Moto", + "decimals": 1, + "description": "asdfasdfasdf", + "image": "https://cellnode-pandora.ixo.earth/public/5kg1ca5qc5cldemg07p", + "properties": { + "denom": "STOVE", + "icon": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", + "maxSupply": "1600", + "attributes": { + "location": "Mallawi", + "color": "red" + }, + "metrics": [ + { + "prefix": "prefix", + "metric": "metric", + "suffix": "suffix", + "source": "https://cellnode.com/#dfdfcv" + } + ] + } +} From eeb4a5119b8ba981a55f8210764f885ce10614d2 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Sat, 28 Jan 2023 13:35:42 +0200 Subject: [PATCH 02/18] Delete tokentemplate.json --- artefacts/sample/tokentemplate.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 artefacts/sample/tokentemplate.json diff --git a/artefacts/sample/tokentemplate.json b/artefacts/sample/tokentemplate.json deleted file mode 100644 index 8b13789..0000000 --- a/artefacts/sample/tokentemplate.json +++ /dev/null @@ -1 +0,0 @@ - From b9e178ccc4a5a1bc4ab55bedcced08f11bebba98 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Mon, 30 Jan 2023 15:28:59 +0200 Subject: [PATCH 03/18] Included the JSON-LD Context Also some minor aesthetic edits --- artefacts/sample/creator.json | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/artefacts/sample/creator.json b/artefacts/sample/creator.json index 1d55250..ffdab44 100644 --- a/artefacts/sample/creator.json +++ b/artefacts/sample/creator.json @@ -1,10 +1,16 @@ { - "@type": "ixo:creator", - "displayName": "Test DAO Owner1", + "@context":{ + "ixo":"https://w3id.org/ixo/", + "id": "@id", + "type": "@type", + "@protected": true + }, + "id": "did:ixo:entity:asdf1234", + "type": "ixo:protocol/entity#creator", + "displayName": "Creator Display Name", "location": "AA", - "email": "asdf@asdf.com", - "mission": "Mission", - "website": "https://11.dcom", - "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", - "id": "did:ixo:entity:asdf1234" + "email": "creator@email.com", + "mission": "Mission statement", + "website": "https://website.com", + "logo": "https://cellnode.storage/public/780ex70isbldemg9r8", } From 3a101edb9b6906537d3eee66f7fd96f5c44b048f Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Mon, 30 Jan 2023 15:31:38 +0200 Subject: [PATCH 04/18] Change Controller to Administrator Fixes a terminology clash with DID Controller. --- artefacts/sample/administrator.json | 16 ++++++++++++++++ artefacts/sample/controller.json | 10 ---------- 2 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 artefacts/sample/administrator.json delete mode 100644 artefacts/sample/controller.json diff --git a/artefacts/sample/administrator.json b/artefacts/sample/administrator.json new file mode 100644 index 0000000..d8d9571 --- /dev/null +++ b/artefacts/sample/administrator.json @@ -0,0 +1,16 @@ +{ + "@context":{ + "ixo":"https://w3id.org/ixo/", + "id": "@id", + "type": "@type", + "@protected": true + }, + "id": "did:ixo:entity:asdf1234", + "type": "ixo:protocol/entity#administrator", + "displayName": "Admin Display Name", + "location": "AA", + "email": "admin@email.com", + "mission": "Mission statement", + "website": "https://website.com", + "logo": "https://cellnode.storage/public/780ex70isbldemg9r8", +} diff --git a/artefacts/sample/controller.json b/artefacts/sample/controller.json deleted file mode 100644 index 208ab05..0000000 --- a/artefacts/sample/controller.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@type": "ixo:creator", - "displayName": "Test DAO Owner1", - "location": "AL", - "email": "df@dfd", - "mission": "Mission", - "website": "https://11.dcom", - "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", - "id": "did:ixo:entity:asdf1234" -} From 17c1a22a197143d64e8d7553350d5605f3c6ba88 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Mon, 30 Jan 2023 17:01:21 +0200 Subject: [PATCH 05/18] Added JSON-LD context Also cosmetic changes to generalise. A remaining issue is that we don't have a DID for the entity available for the `id` parameter, before the entity gets ledgered (for further discussion) --- artefacts/sample/profile.json | 36 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/artefacts/sample/profile.json b/artefacts/sample/profile.json index fe53a39..b0b93ae 100644 --- a/artefacts/sample/profile.json +++ b/artefacts/sample/profile.json @@ -1,28 +1,30 @@ { - "id": "", - "@type": "Carbon", - "name": "Mallawi Collection", - "description": "asdfasdfasdf", - "image": "https://cellnode-pandora.ixo.earth/public/5kg1ca5qc5cldemg07p", - "logo": "https://cellnode-pandora.ixo.earth/public/780ex70isbldemg9r8", - "brand": "BE", + "@context":{ + "ixo":"https://w3id.org/ixo/", + "id": "@id", + "type": "@type", + "@protected": true + }, + "id": "did:ixo:entity:abc123", + "type": "ixo:entity#profile", + "name": "Entity Name", + "image": "https://cellnode.storage/public/5kg1ca5qc5cldemg07p", + "logo": "https://cellnode.storage/public/780ex70isbldemg9r8", + "brand": "Brand behind the entity", "location": "SA", + "description": "A short profile description of the entity", "attributes": [ { - "key": "location", - "value": "Mallawi" - }, - { - "key": "color", - "value": "red" + "key": "Model", + "value": "Supamoto" } ], "metrics": [ { - "prefix": "prefix", - "metric": "metric", - "suffix": "suffix", - "source": "https://cellnode.com/#dfdfcv" + "prefix": "USD", + "metric": "Price", + "suffix": "average", + "source": "https://example.com/dfdfcv" } ] } From 6b13ca83f26948ca18606d463dce9c6e0e298513 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Mon, 30 Jan 2023 17:11:09 +0200 Subject: [PATCH 06/18] Added JSON-LD Contexts and Types Cleaned up to make more generic. Outstanding issue is whether the entity DID can be used for `id` as there is currently a sequencing conflict with the entity needing to be ledgered on-chain first in order to programatically generate the DID --- artefacts/sample/tags.json | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/artefacts/sample/tags.json b/artefacts/sample/tags.json index f380974..a3efd43 100644 --- a/artefacts/sample/tags.json +++ b/artefacts/sample/tags.json @@ -1,22 +1,17 @@ -[ - { - "category": "Asset Type", - "tags": ["Equity", "Commercial Rights"] +{ + "@context":{ + "ixo":"https://w3id.org/ixo/", + "id": "@id", + "type": "@type", + "@protected": true }, - { - "category": "Token Class", - "tags": ["Ownership Certificate", "Unspecified"] - }, - { - "category": "Market", - "tags": ["Not Specified", "Asset Registry"] - }, - { - "category": "Stage", - "tags": ["Selection", "Ended"] - }, - { - "category": "SDG", - "tags": ["SDG15 – Life on Land", "SDG14 – Life Below Water"] - } -] + "id": "did:ixo:entity:abc123", + "type": "ixo:entity#tags", + "ddoTags": + [ + { + "category": "Asset Type", + "tags": ["Equity", "Commercial Rights"] + } + ] +} From 19ee371178ea67e843f1ad9908c0d4a6732dad3c Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Mon, 30 Jan 2023 17:36:02 +0200 Subject: [PATCH 07/18] Added JSON-LD Context and Type Simplified and cleaned up the data model --- artefacts/sample/claim.json | 51 ++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/artefacts/sample/claim.json b/artefacts/sample/claim.json index a65c61c..8a0fac2 100644 --- a/artefacts/sample/claim.json +++ b/artefacts/sample/claim.json @@ -1,32 +1,25 @@ { - "5dcad730-8993-4453-9f35-055a1919262d": { - "id": "5dcad730-8993-4453-9f35-055a1919262d", - "isHeadlineMetric": false, - "template": { - "title": "Test Claim Title", - "description": "Nulla porttitor accumsan tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget tortor risus. Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec sollicitudin molestie malesuada.", - "creator": "Gregory", - "createdAt": "22-Sept-2022", - "id": "claim-select00" - }, - "maxSubmissions": "1", - "approvalTarget": "1", - "submissionStartDate": "20-Jan-2023", - "submissionEndDate": "22-Feb-2023" + "@context":{ + "ixo":"https://w3id.org/ixo/", + "id": "@id", + "type": "@type", + "@protected": true }, - "2fad881b-c924-4677-9482-de1fbc79b1c3": { - "id": "2fad881b-c924-4677-9482-de1fbc79b1c3", - "isHeadlineMetric": true, - "template": { - "title": "Test Claim Title", - "description": "Nulla porttitor accumsan tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin eget tortor risus. Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec sollicitudin molestie malesuada.", - "creator": "Gregory", - "createdAt": "22-Sept-2022", - "id": "claim-select12" - }, - "maxSubmissions": "1", - "approvalTarget": "1", - "submissionStartDate": "07-Feb-2023", - "submissionEndDate": "25-Feb-2023" + "id": "did:ixo:entity:123abc", + "type": "ixo:entity#claims", + "entityClaims":[ + { + "template": { + "id":"did:ixo:entity:abc123", + "title": "Claim Title", + "description": "This is a description of the Claim." + }, + "submissions":{ + "maximum": 100, + "startDate":"20-Jan-2023", + "endDate":"22-Feb-2023" + } + } + ], + "headlineMetric":"did:ixo:entity:abc123", } -} From 0bbfdcc681ecf4e51f69b33e98fa7c464f15b0c3 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 12:54:14 +0200 Subject: [PATCH 08/18] Updated Context for ixo and syntax for id 1. We have updated the permaID `(.*)` route for the ixo namespace in w3id.org https://github.com/perma-id/w3id.org/pull/3099 to `https://github.com/ixofoundation/` Therefore our ixo contexts should all change to `"ixo":"https://w3id.org/ixo/ns/"` 2. The `id` value will now no longer be required as this automatically maps to the `@type` node which is expressed as a URI --- artefacts/sample/profile.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/artefacts/sample/profile.json b/artefacts/sample/profile.json index b0b93ae..734b122 100644 --- a/artefacts/sample/profile.json +++ b/artefacts/sample/profile.json @@ -1,11 +1,10 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/", - "id": "@id", + "ixo":"https://w3id.org/ixo/ns/", + "@id": "@type", "type": "@type", "@protected": true }, - "id": "did:ixo:entity:abc123", "type": "ixo:entity#profile", "name": "Entity Name", "image": "https://cellnode.storage/public/5kg1ca5qc5cldemg07p", From 0382a78d28421dec7027664d5a2f9333869d1ebb Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 12:55:37 +0200 Subject: [PATCH 09/18] Updated ixo context and id syntax 1. We have updated the permaID `(.*)` route for the ixo namespace in w3id.org https://github.com/perma-id/w3id.org/pull/3099 to `https://github.com/ixofoundation/` Therefore our ixo contexts should all change to `"ixo":"https://w3id.org/ixo/ns/"` 2. The `id` value will now no longer be required as this automatically maps to the `@type` node which is expressed as a URI --- artefacts/sample/claim.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artefacts/sample/claim.json b/artefacts/sample/claim.json index 8a0fac2..8318776 100644 --- a/artefacts/sample/claim.json +++ b/artefacts/sample/claim.json @@ -1,7 +1,7 @@ { "@context":{ "ixo":"https://w3id.org/ixo/", - "id": "@id", + "@id": "@type", "type": "@type", "@protected": true }, From ed1b5924d00d4dbcd0673af401ca7e3eacb6178d Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 12:58:00 +0200 Subject: [PATCH 10/18] Fixed Context URI --- artefacts/sample/profile.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artefacts/sample/profile.json b/artefacts/sample/profile.json index 734b122..7fddd0a 100644 --- a/artefacts/sample/profile.json +++ b/artefacts/sample/profile.json @@ -1,6 +1,6 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/ns/", + "ixo":"https://w3id.org/ixo/ns/protocol/", "@id": "@type", "type": "@type", "@protected": true From c3b2cdd8335f7f2447a80b9e35eaaafc920c8ab3 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:00:51 +0200 Subject: [PATCH 11/18] Updated Context for ixo and syntax for id 1. We have updated the permaID `(.*)` route for the ixo namespace in w3id.org perma-id/w3id.org#3099 to `https://github.com/ixofoundation/` Therefore our ixo contexts should all change to `"ixo":"https://w3id.org/ixo/ns/"` 2. The `id` value will now no longer be required as this automatically maps to the `@type` node which is expressed as a URI --- artefacts/sample/administrator.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artefacts/sample/administrator.json b/artefacts/sample/administrator.json index d8d9571..19a7da9 100644 --- a/artefacts/sample/administrator.json +++ b/artefacts/sample/administrator.json @@ -1,7 +1,7 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/", - "id": "@id", + "ixo":"https://w3id.org/ixo/ns/protocol/", + "@id": "@type", "type": "@type", "@protected": true }, From 4a9304f26f945e85cbe7024e9066830607b696fe Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:01:29 +0200 Subject: [PATCH 12/18] Fixes context URI --- artefacts/sample/claim.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artefacts/sample/claim.json b/artefacts/sample/claim.json index 8318776..214ae65 100644 --- a/artefacts/sample/claim.json +++ b/artefacts/sample/claim.json @@ -1,6 +1,6 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/", + "ixo":"https://w3id.org/ixo/ns/protocol/", "@id": "@type", "type": "@type", "@protected": true From b678e5ac384b2ef31a37a6eac95f3c2cd4a232e1 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:02:36 +0200 Subject: [PATCH 13/18] Updated Context for ixo and syntax for id 1. We have updated the permaID `(.*)` route for the ixo namespace in w3id.org perma-id/w3id.org#3099 to `https://github.com/ixofoundation/` Therefore our ixo contexts should all change to `"ixo":"https://w3id.org/ixo/ns/"` 2. The `id` value will now no longer be required as this automatically maps to the `@type` node which is expressed as a URI --- artefacts/sample/creator.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artefacts/sample/creator.json b/artefacts/sample/creator.json index ffdab44..1e6411c 100644 --- a/artefacts/sample/creator.json +++ b/artefacts/sample/creator.json @@ -1,7 +1,7 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/", - "id": "@id", + "ixo":"https://w3id.org/ixo/ns/protocol/", + "@id": "@type", "type": "@type", "@protected": true }, From d45cb1f096f3920fbf5e0ad6dbe1c035ece9b6da Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:06:47 +0200 Subject: [PATCH 14/18] Updated Context for ixo and syntax for id 1. We have updated the permaID `(.*)` route for the ixo namespace in w3id.org perma-id/w3id.org#3099 to `https://github.com/ixofoundation/` Therefore our ixo contexts should all change to `"ixo":"https://w3id.org/ixo/ns/"` 2. The `id` value will now no longer be required as this automatically maps to the `@type` node which is expressed as a URI --- artefacts/sample/page.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/artefacts/sample/page.json b/artefacts/sample/page.json index cf80335..7a96772 100644 --- a/artefacts/sample/page.json +++ b/artefacts/sample/page.json @@ -1,3 +1,12 @@ +{ + "@context":{ + "ixo":"https://w3id.org/ixo/ns/protocol/", + "@id": "@type", + "type": "@type", + "@protected": true + }, + "type": "ixo:entity#page", + "page":{ { "IrCcJ8hl8t": { "id": "IrCcJ8hl8t", @@ -7,3 +16,4 @@ } } } +} From 2f7e6357b2ecec3a08f9b0f7f4e422e34b2abc4f Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:07:40 +0200 Subject: [PATCH 15/18] Update administrator.json --- artefacts/sample/administrator.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artefacts/sample/administrator.json b/artefacts/sample/administrator.json index 19a7da9..0454753 100644 --- a/artefacts/sample/administrator.json +++ b/artefacts/sample/administrator.json @@ -1,12 +1,12 @@ { "@context":{ "ixo":"https://w3id.org/ixo/ns/protocol/", - "@id": "@type", + "@id": "id", "type": "@type", "@protected": true }, "id": "did:ixo:entity:asdf1234", - "type": "ixo:protocol/entity#administrator", + "type": "ixo:entity#administrator", "displayName": "Admin Display Name", "location": "AA", "email": "admin@email.com", From 949a1aa38a73fe763f6199afb7292e296a7131ed Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:08:36 +0200 Subject: [PATCH 16/18] Update claim.json --- artefacts/sample/claim.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artefacts/sample/claim.json b/artefacts/sample/claim.json index 214ae65..2e72e72 100644 --- a/artefacts/sample/claim.json +++ b/artefacts/sample/claim.json @@ -5,8 +5,7 @@ "type": "@type", "@protected": true }, - "id": "did:ixo:entity:123abc", - "type": "ixo:entity#claims", + "type": "ixo:entity#claim", "entityClaims":[ { "template": { From 12827eac4fcd2a37b2ecbd718bba65cc7d9e538b Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:09:12 +0200 Subject: [PATCH 17/18] Update creator.json --- artefacts/sample/creator.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artefacts/sample/creator.json b/artefacts/sample/creator.json index 1e6411c..17f71ba 100644 --- a/artefacts/sample/creator.json +++ b/artefacts/sample/creator.json @@ -1,12 +1,12 @@ { "@context":{ "ixo":"https://w3id.org/ixo/ns/protocol/", - "@id": "@type", + "id": "@id", "type": "@type", "@protected": true }, "id": "did:ixo:entity:asdf1234", - "type": "ixo:protocol/entity#creator", + "type": "ixo:entity#creator", "displayName": "Creator Display Name", "location": "AA", "email": "creator@email.com", From 6a0e36b3c03c9020d934a58db4462ba82a787f97 Mon Sep 17 00:00:00 2001 From: Shaun Conway Date: Tue, 31 Jan 2023 13:10:12 +0200 Subject: [PATCH 18/18] Update tags.json --- artefacts/sample/tags.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/artefacts/sample/tags.json b/artefacts/sample/tags.json index a3efd43..c0c886d 100644 --- a/artefacts/sample/tags.json +++ b/artefacts/sample/tags.json @@ -1,11 +1,10 @@ { "@context":{ - "ixo":"https://w3id.org/ixo/", - "id": "@id", + "ixo":"https://w3id.org/ixo/ns/protocol/", + "@id": "@type", "type": "@type", "@protected": true }, - "id": "did:ixo:entity:abc123", "type": "ixo:entity#tags", "ddoTags": [