Skip to content

Commit abd52c6

Browse files
committed
Update OCA Bundle generator to produce deterministic JSON and all Bundles
Signed-off-by: Stephen Curran <swcurran@gmail.com>
1 parent 97853a3 commit abd52c6

16 files changed

Lines changed: 505 additions & 473 deletions

File tree

OCABundles/schema/bcgov-digital-trust/LCRB/selling-it-right-showcase/OCABundle.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,6 @@
3535
"digest": "EosHJSf6-qm7oUxgFYZ97-YMf_Lx5_bzyTOpOda_McH8",
3636
"type": "spec/overlays/character_encoding/1.0"
3737
},
38-
{
39-
"attribute_categories": [],
40-
"attribute_labels": {
41-
"certification_number": "ID de Certification",
42-
"date_completed_dateint": "Date de completion",
43-
"date_created_dateint": "Date Crée",
44-
"email": "Courriel",
45-
"expires_dateint": "Expire",
46-
"family_name": "Nom de famille",
47-
"given_names": "Prénoms"
48-
},
49-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
50-
"category_labels": {},
51-
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
52-
"language": "fr",
53-
"type": "spec/overlays/label/1.0"
54-
},
55-
{
56-
"attribute_information": {
57-
"certification_number": "L'identifiant de certification du titre de compétence",
58-
"date_completed_dateint": "Date de completion du titre de compétence",
59-
"date_created_dateint": "Date de création du titre de compétence",
60-
"email": "Address de courriel",
61-
"expires_dateint": "Date d'expiration du titre de compétence",
62-
"family_name": "Le nom de famille du titulaire",
63-
"given_names": "Le ou les prénoms du titulaire"
64-
},
65-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
66-
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
67-
"language": "fr",
68-
"type": "spec/overlays/information/1.0"
69-
},
7038
{
7139
"attribute_categories": [],
7240
"attribute_labels": {
@@ -99,6 +67,36 @@
9967
"language": "en",
10068
"type": "spec/overlays/information/1.0"
10169
},
70+
{
71+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
72+
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/cannabis-licences/cannabis-resources-information/selling-it-right",
73+
"description": "A Selling It Right Certification is required for anyone involved in the sale of non-medical cannabis in British Columbia.",
74+
"digest": "EDXLsX07_NQUnBXaIbyfF6Z4BnUxCZZEHL8WrOMzBprA",
75+
"issuer": "Government of British Columbia",
76+
"issuer_description": "Government of British Columbia",
77+
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
78+
"language": "en",
79+
"name": "Selling It Right",
80+
"type": "spec/overlays/meta/1.0",
81+
"watermark": "NON-PRODUCTION"
82+
},
83+
{
84+
"attribute_categories": [],
85+
"attribute_labels": {
86+
"certification_number": "ID de Certification",
87+
"date_completed_dateint": "Date de completion",
88+
"date_created_dateint": "Date Crée",
89+
"email": "Courriel",
90+
"expires_dateint": "Expire",
91+
"family_name": "Nom de famille",
92+
"given_names": "Prénoms"
93+
},
94+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
95+
"category_labels": {},
96+
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
97+
"language": "fr",
98+
"type": "spec/overlays/label/1.0"
99+
},
102100
{
103101
"attribute_formats": {
104102
"date_completed_dateint": "YYYYMMDD",
@@ -120,17 +118,19 @@
120118
"type": "spec/overlays/standard/1.0"
121119
},
122120
{
121+
"attribute_information": {
122+
"certification_number": "L'identifiant de certification du titre de compétence",
123+
"date_completed_dateint": "Date de completion du titre de compétence",
124+
"date_created_dateint": "Date de création du titre de compétence",
125+
"email": "Address de courriel",
126+
"expires_dateint": "Date d'expiration du titre de compétence",
127+
"family_name": "Le nom de famille du titulaire",
128+
"given_names": "Le ou les prénoms du titulaire"
129+
},
123130
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
124-
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/cannabis-licences/cannabis-resources-information/selling-it-right",
125-
"description": "A Selling It Right Certification is required for anyone involved in the sale of non-medical cannabis in British Columbia.",
126-
"digest": "EDXLsX07_NQUnBXaIbyfF6Z4BnUxCZZEHL8WrOMzBprA",
127-
"issuer": "Government of British Columbia",
128-
"issuer_description": "Government of British Columbia",
129-
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
130-
"language": "en",
131-
"name": "Selling It Right",
132-
"type": "spec/overlays/meta/1.0",
133-
"watermark": "NON-PRODUCTION"
131+
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
132+
"language": "fr",
133+
"type": "spec/overlays/information/1.0"
134134
},
135135
{
136136
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",

OCABundles/schema/bcgov-digital-trust/LCRB/selling-it-right/OCABundle.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,6 @@
3535
"digest": "EosHJSf6-qm7oUxgFYZ97-YMf_Lx5_bzyTOpOda_McH8",
3636
"type": "spec/overlays/character_encoding/1.0"
3737
},
38-
{
39-
"attribute_categories": [],
40-
"attribute_labels": {
41-
"certification_number": "ID de Certification",
42-
"date_completed_dateint": "Date de completion",
43-
"date_created_dateint": "Date Crée",
44-
"email": "Courriel",
45-
"expires_dateint": "Expire",
46-
"family_name": "Nom de famille",
47-
"given_names": "Prénoms"
48-
},
49-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
50-
"category_labels": {},
51-
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
52-
"language": "fr",
53-
"type": "spec/overlays/label/1.0"
54-
},
55-
{
56-
"attribute_information": {
57-
"certification_number": "L'identifiant de certification du titre de compétence",
58-
"date_completed_dateint": "Date de completion du titre de compétence",
59-
"date_created_dateint": "Date de création du titre de compétence",
60-
"email": "Address de courriel",
61-
"expires_dateint": "Date d'expiration du titre de compétence",
62-
"family_name": "Le nom de famille du titulaire",
63-
"given_names": "Le ou les prénoms du titulaire"
64-
},
65-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
66-
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
67-
"language": "fr",
68-
"type": "spec/overlays/information/1.0"
69-
},
7038
{
7139
"attribute_categories": [],
7240
"attribute_labels": {
@@ -99,6 +67,35 @@
9967
"language": "en",
10068
"type": "spec/overlays/information/1.0"
10169
},
70+
{
71+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
72+
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/cannabis-licences/cannabis-resources-information/selling-it-right",
73+
"description": "A Selling It Right Certification is required for anyone involved in the sale of non-medical cannabis in British Columbia.",
74+
"digest": "EOPz1OE23PE_GZBwB1xGDDLjnRosDHrUQgb1ujEl9Zp4",
75+
"issuer": "Government of British Columbia",
76+
"issuer_description": "Government of British Columbia",
77+
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
78+
"language": "en",
79+
"name": "Selling It Right",
80+
"type": "spec/overlays/meta/1.0"
81+
},
82+
{
83+
"attribute_categories": [],
84+
"attribute_labels": {
85+
"certification_number": "ID de Certification",
86+
"date_completed_dateint": "Date de completion",
87+
"date_created_dateint": "Date Crée",
88+
"email": "Courriel",
89+
"expires_dateint": "Expire",
90+
"family_name": "Nom de famille",
91+
"given_names": "Prénoms"
92+
},
93+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
94+
"category_labels": {},
95+
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
96+
"language": "fr",
97+
"type": "spec/overlays/label/1.0"
98+
},
10299
{
103100
"attribute_formats": {
104101
"date_completed_dateint": "YYYYMMDD",
@@ -119,6 +116,21 @@
119116
"digest": "EB4EDRgBMqmpeglye1asVBEWIjLf6KXisVR-gpfuCKBo",
120117
"type": "spec/overlays/standard/1.0"
121118
},
119+
{
120+
"attribute_information": {
121+
"certification_number": "L'identifiant de certification du titre de compétence",
122+
"date_completed_dateint": "Date de completion du titre de compétence",
123+
"date_created_dateint": "Date de création du titre de compétence",
124+
"email": "Address de courriel",
125+
"expires_dateint": "Date d'expiration du titre de compétence",
126+
"family_name": "Le nom de famille du titulaire",
127+
"given_names": "Le ou les prénoms du titulaire"
128+
},
129+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
130+
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
131+
"language": "fr",
132+
"type": "spec/overlays/information/1.0"
133+
},
122134
{
123135
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
124136
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/cannabis-licences/cannabis-resources-information/selling-it-right",
@@ -131,18 +143,6 @@
131143
"name": "Vendre Correctement",
132144
"type": "spec/overlays/meta/1.0"
133145
},
134-
{
135-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
136-
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/cannabis-licences/cannabis-resources-information/selling-it-right",
137-
"description": "A Selling It Right Certification is required for anyone involved in the sale of non-medical cannabis in British Columbia.",
138-
"digest": "EOPz1OE23PE_GZBwB1xGDDLjnRosDHrUQgb1ujEl9Zp4",
139-
"issuer": "Government of British Columbia",
140-
"issuer_description": "Government of British Columbia",
141-
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
142-
"language": "en",
143-
"name": "Selling It Right",
144-
"type": "spec/overlays/meta/1.0"
145-
},
146146
{
147147
"logo": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/bcgov-digital-trust/LCRB/selling-it-right/bc-logo.jpg",
148148
"background_image_slice": "https://www.responsibleservicebc.gov.bc.ca/files/static/bc_wallet_vc_lcrb_image_slice_sell_right.jpg",

OCABundles/schema/bcgov-digital-trust/LCRB/serving-it-right-showcase/OCABundle.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@
6767
"language": "en",
6868
"type": "spec/overlays/information/1.0"
6969
},
70+
{
71+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
72+
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/liquor-licence-permits/liquor-resources-information/serving-it-right",
73+
"description": "A Serving It Right Certification is mandatory for anyone working in liquor sales and service in British Columbia.",
74+
"digest": "EAh7NUMmMbHDvZysOSrUR34JI2Ach9a-t3juXj24IcB8",
75+
"issuer": "Government of British Columbia",
76+
"issuer_description": "Government of British Columbia",
77+
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
78+
"language": "en",
79+
"name": "Serving It Right",
80+
"type": "spec/overlays/meta/1.0",
81+
"watermark": "NON-PRODUCTION"
82+
},
7083
{
7184
"attribute_categories": [],
7285
"attribute_labels": {
@@ -84,21 +97,6 @@
8497
"language": "fr",
8598
"type": "spec/overlays/label/1.0"
8699
},
87-
{
88-
"attribute_information": {
89-
"certification_number": "L'identifiant de certification du titre de compétence",
90-
"date_completed_dateint": "Date de completion du titre de compétence",
91-
"date_created_dateint": "Date de création du titre de compétence",
92-
"email": "Address de courriel",
93-
"expires_dateint": "Date d'expiration du titre de compétence",
94-
"family_name": "Le nom de famille du titulaire",
95-
"given_names": "Le ou les prénoms du titulaire"
96-
},
97-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
98-
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
99-
"language": "fr",
100-
"type": "spec/overlays/information/1.0"
101-
},
102100
{
103101
"attribute_formats": {
104102
"date_completed_dateint": "YYYYMMDD",
@@ -120,17 +118,19 @@
120118
"type": "spec/overlays/standard/1.0"
121119
},
122120
{
121+
"attribute_information": {
122+
"certification_number": "L'identifiant de certification du titre de compétence",
123+
"date_completed_dateint": "Date de completion du titre de compétence",
124+
"date_created_dateint": "Date de création du titre de compétence",
125+
"email": "Address de courriel",
126+
"expires_dateint": "Date d'expiration du titre de compétence",
127+
"family_name": "Le nom de famille du titulaire",
128+
"given_names": "Le ou les prénoms du titulaire"
129+
},
123130
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
124-
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/liquor-licence-permits/liquor-resources-information/serving-it-right",
125-
"description": "A Serving It Right Certification is mandatory for anyone working in liquor sales and service in British Columbia.",
126-
"digest": "EAh7NUMmMbHDvZysOSrUR34JI2Ach9a-t3juXj24IcB8",
127-
"issuer": "Government of British Columbia",
128-
"issuer_description": "Government of British Columbia",
129-
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
130-
"language": "en",
131-
"name": "Serving It Right",
132-
"type": "spec/overlays/meta/1.0",
133-
"watermark": "NON-PRODUCTION"
131+
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
132+
"language": "fr",
133+
"type": "spec/overlays/information/1.0"
134134
},
135135
{
136136
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",

OCABundles/schema/bcgov-digital-trust/LCRB/serving-it-right/OCABundle.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,6 @@
3535
"digest": "EosHJSf6-qm7oUxgFYZ97-YMf_Lx5_bzyTOpOda_McH8",
3636
"type": "spec/overlays/character_encoding/1.0"
3737
},
38-
{
39-
"attribute_categories": [],
40-
"attribute_labels": {
41-
"certification_number": "ID de Certification",
42-
"date_completed_dateint": "Date de completion",
43-
"date_created_dateint": "Date Crée",
44-
"email": "Courriel",
45-
"expires_dateint": "Expire",
46-
"family_name": "Nom de famille",
47-
"given_names": "Prénoms"
48-
},
49-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
50-
"category_labels": {},
51-
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
52-
"language": "fr",
53-
"type": "spec/overlays/label/1.0"
54-
},
55-
{
56-
"attribute_information": {
57-
"certification_number": "L'identifiant de certification du titre de compétence",
58-
"date_completed_dateint": "Date de completion du titre de compétence",
59-
"date_created_dateint": "Date de création du titre de compétence",
60-
"email": "Address de courriel",
61-
"expires_dateint": "Date d'expiration du titre de compétence",
62-
"family_name": "Le nom de famille du titulaire",
63-
"given_names": "Le ou les prénoms du titulaire"
64-
},
65-
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
66-
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
67-
"language": "fr",
68-
"type": "spec/overlays/information/1.0"
69-
},
7038
{
7139
"attribute_categories": [],
7240
"attribute_labels": {
@@ -99,6 +67,35 @@
9967
"language": "en",
10068
"type": "spec/overlays/information/1.0"
10169
},
70+
{
71+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
72+
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/liquor-licence-permits/liquor-resources-information/serving-it-right",
73+
"description": "A Serving It Right Certification is mandatory for anyone working in liquor sales and service in British Columbia.",
74+
"digest": "Eg4H7k1QI6FbuW5t5z_D5iitJ1H5YBsfn_Eik4R3YqbY",
75+
"issuer": "Government of British Columbia",
76+
"issuer_description": "Government of British Columbia",
77+
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
78+
"language": "en",
79+
"name": "Serving It Right",
80+
"type": "spec/overlays/meta/1.0"
81+
},
82+
{
83+
"attribute_categories": [],
84+
"attribute_labels": {
85+
"certification_number": "ID de Certification",
86+
"date_completed_dateint": "Date de completion",
87+
"date_created_dateint": "Date Crée",
88+
"email": "Courriel",
89+
"expires_dateint": "Expire",
90+
"family_name": "Nom de famille",
91+
"given_names": "Prénoms"
92+
},
93+
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
94+
"category_labels": {},
95+
"digest": "E6tvRbbakID-19ho6XpI2Yu2gxt6KpSt2U9NAtwzSE-s",
96+
"language": "fr",
97+
"type": "spec/overlays/label/1.0"
98+
},
10299
{
103100
"attribute_formats": {
104101
"date_completed_dateint": "YYYYMMDD",
@@ -120,16 +117,19 @@
120117
"type": "spec/overlays/standard/1.0"
121118
},
122119
{
120+
"attribute_information": {
121+
"certification_number": "L'identifiant de certification du titre de compétence",
122+
"date_completed_dateint": "Date de completion du titre de compétence",
123+
"date_created_dateint": "Date de création du titre de compétence",
124+
"email": "Address de courriel",
125+
"expires_dateint": "Date d'expiration du titre de compétence",
126+
"family_name": "Le nom de famille du titulaire",
127+
"given_names": "Le ou les prénoms du titulaire"
128+
},
123129
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",
124-
"credential_support_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing/liquor-licence-permits/liquor-resources-information/serving-it-right",
125-
"description": "A Serving It Right Certification is mandatory for anyone working in liquor sales and service in British Columbia.",
126-
"digest": "Eg4H7k1QI6FbuW5t5z_D5iitJ1H5YBsfn_Eik4R3YqbY",
127-
"issuer": "Government of British Columbia",
128-
"issuer_description": "Government of British Columbia",
129-
"issuer_url": "https://www2.gov.bc.ca/gov/content/employment-business/business/liquor-regulation-licensing",
130-
"language": "en",
131-
"name": "Serving It Right",
132-
"type": "spec/overlays/meta/1.0"
130+
"digest": "EQreqvHPiA4jO_u2sqdd01rWgwZgUXRRlthi8hHrcnMU",
131+
"language": "fr",
132+
"type": "spec/overlays/information/1.0"
133133
},
134134
{
135135
"capture_base": "EVNPeboG_IqGJObMjP4mOR3F6Ueq1We3YQ4UAkr1oMHc",

0 commit comments

Comments
 (0)