diff --git a/ocabundles.json b/ocabundles.json index 8cc6ba5d..16e14038 100644 --- a/ocabundles.json +++ b/ocabundles.json @@ -1,27 +1,27 @@ { -"AcZpBDz3oxmKrpcuPcdKai:2:Digital Business Card:1.0.0": { "path": "OCABundles/schema/bcgov-digital-trust/business-card/OCABundle.json" }, -"K9igebFysBL6jcBwR8bKuN:2:Digital Business Card:1.0.0": { "path": "OCABundles/schema/bcgov-digital-trust/business-card-showcase/OCABundle.json" }, -"4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default": { "path": "OCABundles/schema/bcgov-digital-trust/member-card/OCABundle.json" }, -"L6ASjmDDbDH7yPL1t2yFj9:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json" }, -"M6dhuFj5UwbhWkSLmvYSPc:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json" }, -"QEquAHkM35w4XVT3Ku5yat:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json" }, -"AuJrigKQGRLJajKAebTgWu:3:CL:209526:default": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json" }, -"S7S2wzcF2giKuwxdeLBk69:2:mines-act-permit:0.3": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-0_3/OCABundle.json" }, -"S7S2wzcF2giKuwxdeLBk69:2:bc-mines-act-permit:1.1.1": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json" }, -"A2UZSmrL9N5FDZGPu68wy:2:bc-mines-act-permit:1.1.1": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json" }, -"KCxVC8GkKywjhWJnUfCmkW:3:CL:20:PersonQA": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json" }, -"7xjfawcnyTUcduWVysLww5:3:CL:28075:PersonSIT": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json" }, -"XpgeQa93eZvGSZBZef3PHn:3:CL:28075:PersonDEV": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json" }, -"RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json" }, -"L6ASjmDDbDH7yPL1t2yFj9:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json" }, -"M6dhuFj5UwbhWkSLmvYSPc:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json" }, -"QEquAHkM35w4XVT3Ku5yat:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json" }, -"Mp2pDQqS2eSjNVA7kXc8ut:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json" }, -"4zBepKVWZcGTzug4X49vAN:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json" }, -"E2h4RUJxyh48PLJ1CtGJrq:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json" }, -"L6ASjmDDbDH7yPL1t2yFj9:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json" }, -"M6dhuFj5UwbhWkSLmvYSPc:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json" }, -"QEquAHkM35w4XVT3Ku5yat:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json" }, -"YXCtXE4YhVjULgj5hrk4ML:2:unverified_person:0.1.0": { "path": "OCABundles/schema/bcgov-digital-trust/unverified-person/OCABundle.json" }, -"Ep31SvFAetugFPe5CGzJxt:2:Attestation numérique d'identité gouvernemental (EXP):1.0": { "path": "OCABundles/schema/qc_anig_demo/Attestation_numérique_didentité_gouvernemental/OCABundle.json" } + "AcZpBDz3oxmKrpcuPcdKai:2:Digital Business Card:1.0.0": { "path": "OCABundles/schema/bcgov-digital-trust/business-card/OCABundle.json", "sha256": "34804dbb328cd8741d048121963786f4be63c654abdf0757a10f477c8e8924d5" }, + "K9igebFysBL6jcBwR8bKuN:2:Digital Business Card:1.0.0": { "path": "OCABundles/schema/bcgov-digital-trust/business-card-showcase/OCABundle.json", "sha256": "aa4dc9de20639a77ab53c419e9e46f405008be170e68ddf4d22551cc0a6be230" }, + "4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default": { "path": "OCABundles/schema/bcgov-digital-trust/member-card/OCABundle.json", "sha256": "22b79eb5039ed54ec643206d98fb22e871058872824d221f61185da52232643d" }, + "L6ASjmDDbDH7yPL1t2yFj9:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json", "sha256": "c52515dd4ebd34d217c01252b5ae778554338e6a09547ca8e06db4e16256bfdf" }, + "M6dhuFj5UwbhWkSLmvYSPc:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json", "sha256": "c52515dd4ebd34d217c01252b5ae778554338e6a09547ca8e06db4e16256bfdf" }, + "QEquAHkM35w4XVT3Ku5yat:2:member_card:1.53": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json", "sha256": "c52515dd4ebd34d217c01252b5ae778554338e6a09547ca8e06db4e16256bfdf" }, + "AuJrigKQGRLJajKAebTgWu:3:CL:209526:default": { "path": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json", "sha256": "c52515dd4ebd34d217c01252b5ae778554338e6a09547ca8e06db4e16256bfdf" }, + "S7S2wzcF2giKuwxdeLBk69:2:mines-act-permit:0.3": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-0_3/OCABundle.json", "sha256": "f6616e82b844c0c2d54b762674bba8062bc2db8b7db5917b246edc4ef44a924f" }, + "S7S2wzcF2giKuwxdeLBk69:2:bc-mines-act-permit:1.1.1": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json", "sha256": "781e5ed8336af9562b945337f2c65dc7767a12256e24c64e554eba6889bab09b" }, + "A2UZSmrL9N5FDZGPu68wy:2:bc-mines-act-permit:1.1.1": { "path": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json", "sha256": "781e5ed8336af9562b945337f2c65dc7767a12256e24c64e554eba6889bab09b" }, + "KCxVC8GkKywjhWJnUfCmkW:3:CL:20:PersonQA": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json", "sha256": "02c2ae4e0d6389330acc0ff88d3509c0993929647901aff81c9a824255e2c61f" }, + "7xjfawcnyTUcduWVysLww5:3:CL:28075:PersonSIT": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json", "sha256": "02c2ae4e0d6389330acc0ff88d3509c0993929647901aff81c9a824255e2c61f" }, + "XpgeQa93eZvGSZBZef3PHn:3:CL:28075:PersonDEV": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json", "sha256": "02c2ae4e0d6389330acc0ff88d3509c0993929647901aff81c9a824255e2c61f" }, + "RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person": { "path": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json", "sha256": "02c2ae4e0d6389330acc0ff88d3509c0993929647901aff81c9a824255e2c61f" }, + "L6ASjmDDbDH7yPL1t2yFj9:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json", "sha256": "9794cc970b1cd853b5f8675d2ceeb89db32b30a0777a650618ea98d6f57ee0eb" }, + "M6dhuFj5UwbhWkSLmvYSPc:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json", "sha256": "9794cc970b1cd853b5f8675d2ceeb89db32b30a0777a650618ea98d6f57ee0eb" }, + "QEquAHkM35w4XVT3Ku5yat:2:Person:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json", "sha256": "9794cc970b1cd853b5f8675d2ceeb89db32b30a0777a650618ea98d6f57ee0eb" }, + "Mp2pDQqS2eSjNVA7kXc8ut:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json", "sha256": "044d0e8e66ca5464d9ff712a50bb06ea74d07056c5442c2311dd1fb1a23dc6b3" }, + "4zBepKVWZcGTzug4X49vAN:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json", "sha256": "044d0e8e66ca5464d9ff712a50bb06ea74d07056c5442c2311dd1fb1a23dc6b3" }, + "E2h4RUJxyh48PLJ1CtGJrq:2:BC VC Pilot Certificate:1.0.1": { "path": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json", "sha256": "044d0e8e66ca5464d9ff712a50bb06ea74d07056c5442c2311dd1fb1a23dc6b3" }, + "L6ASjmDDbDH7yPL1t2yFj9:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json", "sha256": "e65625acad0f1baab8e05b6cd1a5619b22e1f20cb47768616680a0fb2e8dc21d" }, + "M6dhuFj5UwbhWkSLmvYSPc:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json", "sha256": "e65625acad0f1baab8e05b6cd1a5619b22e1f20cb47768616680a0fb2e8dc21d" }, + "QEquAHkM35w4XVT3Ku5yat:2:student_card:1.2": { "path": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json", "sha256": "e65625acad0f1baab8e05b6cd1a5619b22e1f20cb47768616680a0fb2e8dc21d" }, + "YXCtXE4YhVjULgj5hrk4ML:2:unverified_person:0.1.0": { "path": "OCABundles/schema/bcgov-digital-trust/unverified-person/OCABundle.json", "sha256": "48b20b00cb38bed85b9615674d9af32b0d5e16f75e365c144218dad6ec2b7aa0" }, + "Ep31SvFAetugFPe5CGzJxt:2:Attestation numérique d'identité gouvernemental (EXP):1.0": { "path": "OCABundles/schema/qc_anig_demo/Attestation_numérique_didentité_gouvernemental/OCABundle.json", "sha256": "29bf8f8729f235450980d0b273f9ca49b7ab73b7358467bf52b311bf40464bb0" } } diff --git a/ocabundleslist.json b/ocabundleslist.json index 4399fedb..e697936d 100644 --- a/ocabundleslist.json +++ b/ocabundleslist.json @@ -1,14 +1,14 @@ [ -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Registries Digital Business Card", "desc": "A verifiable credential schema for a business registered within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/business-card/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Registries Digital Business Card", "desc": "A verifiable credential schema for a business registered within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/business-card-showcase/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Lawyer Member Card", "desc": "A verifiable credential schema for a lawyer's membership card that used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/member-card/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Lawyer Member Card", "desc": "A verifiable credential schema for a lawyer's membership card that used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json" }, -{ "org": "Energy and Mines Digital Trust, Government of British Columbia", "name": "BC Mines Act Permit", "desc": "A verifiable credential schema for issuance of a Mines Act Permit within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-0_3/OCABundle.json" }, -{ "org": "Energy and Mines Digital Trust, Government of British Columbia", "name": "BC Mines Act Permit", "desc": "A verifiable credential schema for issuance of a Mines Act Permit within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Person Credential", "desc": "A schema for a \"person\" credential used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Person Credential", "desc": "A schema for a \"person\" credential used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "Digital Identity Trust Program Pilot Invitation", "desc": "A verifiable credential schema for a Pilot Invitation credential to gain access to the Person Credential.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "BC Best College Demo Student Card", "desc": "A verifiable credential schema for a Student Card used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json" }, -{ "org": "Digital Trust, Government of British Columbia", "name": "Unverified Person Credential", "desc": "A verifiable credential schema for an \"unverified\" person, used in various BC Wallet demos where an unofficial Person credential is useful.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/unverified-person/OCABundle.json" }, -{ "org": "MCN, Government of Quebec", "name": "QC ANIG ID", "desc": "A verifiable credential schema used for demonstration and internal use purposes only.", "type": "schema", "ocabundle": "OCABundles/schema/qc_anig_demo/Attestation_numérique_didentité_gouvernemental/OCABundle.json" } +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Registries Digital Business Card", "desc": "A verifiable credential schema for a business registered within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/business-card/OCABundle.json", "shasum": "34804dbb328cd8741d048121963786f4be63c654abdf0757a10f477c8e8924d5" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Registries Digital Business Card", "desc": "A verifiable credential schema for a business registered within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/business-card-showcase/OCABundle.json", "shasum": "aa4dc9de20639a77ab53c419e9e46f405008be170e68ddf4d22551cc0a6be230" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Lawyer Member Card", "desc": "A verifiable credential schema for a lawyer's membership card that used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/member-card/OCABundle.json", "shasum": "22b79eb5039ed54ec643206d98fb22e871058872824d221f61185da52232643d" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Lawyer Member Card", "desc": "A verifiable credential schema for a lawyer's membership card that used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/member-card-showcase/OCABundle.json", "shasum": "c52515dd4ebd34d217c01252b5ae778554338e6a09547ca8e06db4e16256bfdf" }, +{ "org": "Energy and Mines Digital Trust, Government of British Columbia", "name": "BC Mines Act Permit", "desc": "A verifiable credential schema for issuance of a Mines Act Permit within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-0_3/OCABundle.json", "shasum": "f6616e82b844c0c2d54b762674bba8062bc2db8b7db5917b246edc4ef44a924f" }, +{ "org": "Energy and Mines Digital Trust, Government of British Columbia", "name": "BC Mines Act Permit", "desc": "A verifiable credential schema for issuance of a Mines Act Permit within the province of British Columbia", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/mines-act-permit-1_1_1/OCABundle.json", "shasum": "781e5ed8336af9562b945337f2c65dc7767a12256e24c64e554eba6889bab09b" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Person Credential", "desc": "A schema for a \"person\" credential used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/person/OCABundle.json", "shasum": "02c2ae4e0d6389330acc0ff88d3509c0993929647901aff81c9a824255e2c61f" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Lawyer Showcase Person Credential", "desc": "A schema for a \"person\" credential used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/person-showcase/OCABundle.json", "shasum": "9794cc970b1cd853b5f8675d2ceeb89db32b30a0777a650618ea98d6f57ee0eb" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "Digital Identity Trust Program Pilot Invitation", "desc": "A verifiable credential schema for a Pilot Invitation credential to gain access to the Person Credential.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/pilot/OCABundle.json", "shasum": "044d0e8e66ca5464d9ff712a50bb06ea74d07056c5442c2311dd1fb1a23dc6b3" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "BC Best College Demo Student Card", "desc": "A verifiable credential schema for a Student Card used in a demo that is part of the BC Gov Digital Trust Showcase.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/student-card/OCABundle.json", "shasum": "e65625acad0f1baab8e05b6cd1a5619b22e1f20cb47768616680a0fb2e8dc21d" }, +{ "org": "Digital Trust, Government of British Columbia", "name": "Unverified Person Credential", "desc": "A verifiable credential schema for an \"unverified\" person, used in various BC Wallet demos where an unofficial Person credential is useful.", "type": "schema", "ocabundle": "OCABundles/schema/bcgov-digital-trust/unverified-person/OCABundle.json", "shasum": "48b20b00cb38bed85b9615674d9af32b0d5e16f75e365c144218dad6ec2b7aa0" }, +{ "org": "MCN, Government of Quebec", "name": "QC ANIG ID", "desc": "A verifiable credential schema used for demonstration and internal use purposes only.", "type": "schema", "ocabundle": "OCABundles/schema/qc_anig_demo/Attestation_numérique_didentité_gouvernemental/OCABundle.json", "shasum": "29bf8f8729f235450980d0b273f9ca49b7ab73b7358467bf52b311bf40464bb0" } ] diff --git a/scripts/gen_ocabundlesjson.sh b/scripts/gen_ocabundlesjson.sh index 5229f828..4596e1fe 100755 --- a/scripts/gen_ocabundlesjson.sh +++ b/scripts/gen_ocabundlesjson.sh @@ -14,9 +14,12 @@ Starting from the OCABundles folder in the current folder, and recurse through all the folders below. For each OCA Bundle found -- identified by the existance of a README.md file and an OCABundles.json file -- add the information about the Bundle to the "ocabundles.json" and "ocabundleslist.json" files. Those two files -are generated in the current folder. The appropriate JSON header is put into the -two files, the last entry of each file does not have a trailing ",", and an -appropriate footer is put into the two files. +are generated in the current folder. In doing so, an appropriate JSON header is +put into the two files, the trailing comma is removed from the last entry of each +file, and an appropriate footer is put into the two files. + +Each entry in the files contains a "universal" SHA256 hash of the OCA Bundle +including, generated using the "shasum" utility with the options "-a256 -U". The script exits with an error if the OCABundles folder is not in the current folder. @@ -40,9 +43,7 @@ processBundle() { SHASUM=$(shasum -a256 -U $BUNDLE_PATH | sed "s/ .*//") ID=$(grep '^| ' README.md | sed -e "/OCA Bundle/,100d" -e "/Identifier/d" -e "/----/d" -e 's/^| \([^|]*\) |.*/\1/' -e 's/\s*$//' -e 's/ /~/g') for id in ${ID}; do - echo "\"${id}\": { \"path\": \"${RELPATH}/${BUNDLE_PATH}\" }," | sed "s/~/ /g" >>${OCAIDSJSON} - # Use the line below if we want to add a SHA256 item to the JSON list, for checking if the bundle has changed - # echo " \"${id}\": { \"path\": \"${RELPATH}/${BUNDLE_PATH}\", \"sha256\": \"${SHASUM}\" }," | sed "s/~/ /g" >>${OCAIDSJSON} + echo " \"${id}\": { \"path\": \"${RELPATH}/${BUNDLE_PATH}\", \"sha256\": \"${SHASUM}\" }," | sed "s/~/ /g" >>${OCAIDSJSON} done ORG=$(grep "Publishing\|Issuing" README.md | sed -e "s/.*: //") NAME=$(sed -e "2,1000d" -e "s/# //" README.md) @@ -51,9 +52,7 @@ processBundle() { if [ "$(echo ${PWD} | grep "schema")" == "" ]; then TYPE="credential" fi - echo "{ \"org\": \"${ORG}\", \"name\": \"${NAME}\", \"desc\": \"${DESC}\", \"type\": \"${TYPE}\", \"ocabundle\": \"${RELPATH}/${BUNDLE_PATH}\" }," >>${OCALISTJSON} - # Use the line below if we want to add a SHA256 item to the JSON list, for checking if the bundle has changed - # echo "{ \"org\": \"${ORG}\", \"name\": \"${NAME}\", \"desc\": \"${DESC}\", \"type\": \"${TYPE}\", \"ocabundle\": \"${RELPATH}/${BUNDLE_PATH}\", \"shasum\": \"${SHASUM}\" }," >>${OCALISTJSON} + echo "{ \"org\": \"${ORG}\", \"name\": \"${NAME}\", \"desc\": \"${DESC}\", \"type\": \"${TYPE}\", \"ocabundle\": \"${RELPATH}/${BUNDLE_PATH}\", \"shasum\": \"${SHASUM}\" }," >>${OCALISTJSON} } # Recursively process the folders