generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bcgovpubcode.json
742 lines (742 loc) · 24.3 KB
/
bcgovpubcode.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"language_name_version": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"version"
],
"properties": {
"name": {
"title": "Name",
"description": "This key contains the name of the language used",
"type": "string",
"enum": [
"C",
"C#",
"C++",
"Clojure",
"CoffeeScript",
"Cobol",
"Dart",
"Elixir",
"Erlang",
"F#",
"Fortran",
"Go",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Julia",
"Kotlin",
"Lua",
"Objective-C",
"Perl",
"PHP",
"PowerShell",
"Python",
"R",
"Ruby",
"Rust",
"Scala",
"Shell",
"Swift",
"Zig",
"TypeScript",
"Other"
]
},
"version": {
"title": "Version",
"description": "This key contains the Version.",
"type": "string"
}
}
},
"frameworks_name_version": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"version"
],
"properties": {
"name": {
"title": "Name",
"description": "This key contains the Name of the framework used",
"type": "string",
"enum": [
"Actix",
"Angular",
"ASP.NET",
"Bootstrap",
"Bun",
"Cordova",
"Deno",
"Django",
"Express",
"FastAPI",
"Fiber",
"Flask",
"Happi",
"Helidon",
"jQuery",
"Koa",
"Laravel",
"Micronaut",
"NestJS",
"Next.js",
"Node.js",
"Quarkus",
"React",
"Ruby on Rails",
"Spring Boot",
"Svelte",
"Vue",
"Other"
]
},
"version": {
"title": "Version",
"description": "This key contains the Version.",
"type": "string"
}
}
},
"product_information": {
"type": "object",
"required": [
"ministry",
"program_area",
"product_acronym",
"product_name",
"product_description"
],
"properties": {
"ministry": {
"uniqueItems": true,
"title": "Ministry",
"description": "This key contains the ministry name. -> link: https://www2.gov.bc.ca/gov/content/governments/organizational-structure/ministries-organizations/ministries",
"type": "array",
"items": {
"enum": [
"Agriculture and Food",
"Attorney General",
"Children and Family Development",
"Citizens' Services",
"Education and Child Care",
"Emergency Management and Climate Readiness",
"Energy, Mines and Low Carbon Innovation",
"Environment and Climate Change Strategy",
"Finance",
"Forests",
"Health",
"Housing",
"Indigenous Relations & Reconciliation",
"Jobs, Economic Development and Innovation",
"Labour",
"Mental Health and Addictions",
"Municipal Affairs",
"Post-Secondary Education and Future Skills",
"Public Safety and Solicitor General",
"Social Development and Poverty Reduction",
"Tourism, Arts, Culture and Sport",
"Transportation and Infrastructure",
"Water, Land and Resource Stewardship"
]
}
},
"program_area": {
"title": "Program Area",
"description": "This key contains the program area name. ex: It could be a ministry division branch or section. ",
"type": "string"
},
"product_acronym": {
"title": "Product Acronym",
"description": "This key contains the product acronym. ex: Infrastructure reporting service the acronym (IRS)",
"type": "string"
},
"product_name": {
"title": "Product Name",
"description": "This key contains the full product name.",
"type": "string"
},
"product_description": {
"title": "Product Description",
"description": "This key contains description of the product.",
"type": "string"
},
"product_status": {
"title": "Product Status",
"description": "Status of the product. more around this can be found here. link: https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md",
"type": "string",
"enum": [
"active",
"stable",
"maturing",
"dormant",
"retired"
]
},
"product_urls": {
"uniqueItems": true,
"title": "Product URLs",
"description": "Different Urls of the product.",
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
},
"api_specifications": {
"title": "API Specifications",
"description": "API specification URLs",
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
},
"business_capabilities_standard": {
"uniqueItems": true,
"title": "Business Capabilities - Standard",
"description": "This key contains the business capabilities that are supported by this product.",
"type": "array",
"default": [],
"items": {
"enum": [
"Agriculture Land Management",
"Authorization Management",
"Climate Action",
"Client Advisory Services",
"Communications",
"Compliance and Enforcement",
"Economic Development",
"Emergency Management",
"Emergency Response Planning",
"Environment Sustainability",
"Environmental Assessments",
"Environmental Protection",
"Financial Management",
"First Nations Consultations",
"Heritage Protection",
"Human Resources Management",
"Laboratory Services",
"Land Use Planning",
"Manage Object Storage Objects",
"Mineral Titles and Tenures",
"Parks Management",
"Performance Management",
"Policy and Legislation",
"Procurement",
"Program Management",
"Referrals",
"Resource Management",
"Site Remediation",
"Stakeholder Engagement",
"Tenure Management",
"Timber Pricing and Sales",
"Workplace Strategies",
"Other"
]
}
}
},
"allOf": [
{
"if": {
"properties": {
"business_capabilities_standard": {
"contains": {
"enum": [
"Other"
]
}
}
}
},
"then": {
"properties": {
"business_capabilities_custom": {
"title": "Business Capabilities - Custom",
"description": "This key contains the business capabilities that are supported by this product, which are not available in pick list of \"Business Capabilities Standard\". comma separated string with free text",
"type": "string"
}
}
},
"else": {}
}
]
},
"product_technology_info": {
"type": "object",
"required": [
"hosting_platforms"
],
"properties": {
"backend_languages_version": {
"uniqueItems": true,
"title": "Backend Languages with their version",
"description": "This key contains the languages used for backends( java or erlang or golang or elixir or rust) with their version",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/language_name_version"
}
},
"backend_frameworks": {
"uniqueItems": true,
"title": "Backend Frameworks",
"description": "This key contains the frameworks used for backends( express or gin or fiber or spring boot or quarkus)",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/frameworks_name_version"
}
},
"frontend_languages": {
"uniqueItems": true,
"title": "Frontend Languages",
"description": "This key contains the frontend languages",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/language_name_version"
}
},
"frontend_frameworks": {
"uniqueItems": true,
"title": "Frontend Frameworks",
"description": "This key contains the frontend frameworks(react or angular or vue or svelte)",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/frameworks_name_version"
}
},
"hosting_platforms": {
"uniqueItems": true,
"title": "Hosting Platforms",
"minItems": 1,
"default": [],
"description": "This key contains the hosting platforms used in this product",
"type": "array",
"items": {
"enum": [
"Amazon-Web-Services",
"Google-Cloud-Platform",
"Microsoft-Azure",
"On-Premise-Physical",
"On-Premise-Virtual",
"Private-Cloud-Openshift",
"Other"
]
}
}
},
"allOf": [
{
"if": {
"properties": {
"hosting_platforms": {
"contains": {
"enum": [
"Other"
]
}
}
}
},
"then": {
"properties": {
"hosting_platforms_custom": {
"title": "Hosting Platforms - Custom",
"description": "This key contains the hosting platform the product is hosted on which is not available as a pick list in the Hosting Platforms. Comma separated string with free text",
"type": "string"
},
"data_storage_platforms": {
"uniqueItems": true,
"title": "Data Storage Platforms",
"description": "This key contains the data storage platforms used, relational, in-memory, spatial, document, object storage",
"type": "array",
"default": [],
"items": {
"enum": [
"Cassandra",
"Dynamodb",
"Esri-Geodatabase",
"Esri-Sde",
"Microsoft-Access",
"Memcached",
"Mongodb",
"Mysql",
"Object-Storage",
"Oracle",
"Oracle-Spatial",
"Postgis",
"Postgresql",
"Redis",
"Sqlserver",
"Tikv",
"Other"
]
}
}
},
"required": [
"hosting_platforms_custom"
]
},
"else": {
"properties": {
"data_storage_platforms": {
"uniqueItems": true,
"title": "Data Storage Platforms",
"description": "This key contains the data storage platforms used, relational, in-memory, spatial, document, object storage",
"type": "array",
"default": [],
"items": {
"type": "string",
"enum": [
"Cassandra",
"Dynamodb",
"Esri-Geodatabase",
"Esri-Sde",
"Microsoft-Access",
"Memcached",
"Mongodb",
"Mysql",
"Object-Storage",
"Oracle",
"Oracle-Spatial",
"Postgis",
"Postgresql",
"Redis",
"Sqlserver",
"Tikv",
"Other"
]
}
}
}
}
},
{
"if": {
"properties": {
"data_storage_platforms": {
"contains": {
"enum": [
"Other"
]
}
}
}
},
"then": {
"properties": {
"data_storage_platforms_custom": {
"title": "Data Storage Platforms - Custom",
"description": "This key contains the data storage platforms used, relational, in-memory, spatial, document, object storage, which is not available as a pick list in the Data Storage Platforms. Comma separated string with free text",
"type": "string"
},
"ci_cd_tools": {
"uniqueItems": true,
"title": "Continuous Integration and Delivery Tools",
"description": "This key contains the CI/CD tools used for the product. ex: GitHub Actions, ArgoCD, Helm, Kustomize",
"type": "array",
"default": [],
"items": {
"enum": [
"ArgoCD",
"GitLab-CI",
"GitHub-Actions",
"Helm",
"Jenkins",
"Kustomize",
"OpenShift-Templates",
"Tekton",
"Terraform",
"Terragrunt",
"Other"
]
}
}
},
"required": [
"data_storage_platforms_custom"
]
},
"else": {
"properties": {
"ci_cd_tools": {
"uniqueItems": true,
"title": "Continuous Integration and Delivery Tools",
"description": "This key contains the CI/CD tools used for the product. ex: GitHub Actions, ArgoCD, Helm, Kustomize",
"type": "array",
"default": [],
"items": {
"enum": [
"ArgoCD",
"GitLab-CI",
"GitHub-Actions",
"Helm",
"Jenkins",
"Kustomize",
"OpenShift-Templates",
"Tekton",
"Terraform",
"Terragrunt",
"Other"
]
}
}
}
}
},
{
"if": {
"properties": {
"ci_cd_tools": {
"contains": {
"enum": [
"Other"
]
}
}
}
},
"then": {
"properties": {
"ci_cd_tools_custom": {
"title": "Continuous Integration and Delivery Tools - Custom",
"description": "This key contains the CI/CD tools used for the product. ex: GitHub Actions, ArgoCD, Helm, Kustomize, which is not available as a pick list in the Continuous Integration and Delivery Tools. Comma separated string with free text",
"type": "string"
},
"spatial_mapping_technologies": {
"uniqueItems": true,
"title": "Spatial Mapping Technologies",
"description": "This key contains the mapping technologies used in the stack(Leaflet, Geoserver, Mapbox, Openlayers, ArcGIS, Google Maps, Bing Maps, OpenStreetMap, MapLibre)",
"type": "array",
"default": [],
"items": {
"enum": [
"Leaflet",
"Geoserver",
"Mapbox",
"Openlayers",
"ArcGIS",
"Google Maps",
"Bing Maps",
"OpenStreetMap",
"MapLibre",
"Other"
]
}
}
},
"required": [
"ci_cd_tools_custom"
]
},
"else": {
"properties": {
"spatial_mapping_technologies": {
"uniqueItems": true,
"title": "Spatial Mapping Technologies",
"description": "This key contains the mapping technologies used in the stack(Leaflet, Geoserver, Mapbox, Openlayers, ArcGIS, Google Maps, Bing Maps, OpenStreetMap, MapLibre)",
"type": "array",
"default": [],
"items": {
"enum": [
"Leaflet",
"Geoserver",
"Mapbox",
"Openlayers",
"ArcGIS",
"Google Maps",
"Bing Maps",
"OpenStreetMap",
"MapLibre",
"Other"
]
}
}
}
}
},
{
"if": {
"properties": {
"spatial_mapping_technologies": {
"contains": {
"enum": [
"Other"
]
}
}
}
},
"then": {
"properties": {
"spatial_mapping_technologies_custom": {
"title": "Spatial Mapping Technologies - Custom",
"description": "This key contains the mapping technologies used in the stack(Leaflet, Geoserver, Mapbox, Openlayers, ArcGIS, Google Maps, Bing Maps, OpenStreetMap, MapLibre), which is not available as a pick list in the Spatial Mapping Technologies. Comma separated string with free text",
"type": "string"
}
},
"required": [
"spatial_mapping_technologies_custom"
]
},
"else": {}
}
]
},
"external_dependencies": {
"type": "object",
"properties": {
"identity_authorization": {
"uniqueItems": true,
"title": "Identity And Authorization",
"description": "This key contains the Identity Integrations and authorization components used in the stack",
"type": "array",
"items": {
"enum": [
"IDIR",
"BceId",
"Business-BceId",
"BC-Services-Card",
"Azure-AD-IDIR",
"Custom-Keycloak",
"BCGov-SSO-Keycloak",
"AWS-Cognito"
]
}
},
"common_components": {
"uniqueItems": true,
"title": "Common Components",
"description": "This key contains the common components used in the stack, link: https://digital.gov.bc.ca/common-components",
"type": "array",
"items": {
"enum": [
"Address-Complete",
"BC-Address-Geocoder",
"BC-Express-Pay",
"BC-Route-Planner",
"CMS-Forms",
"Common-Document-Generation-Service",
"Common-Hosted-Form-Service",
"Common-Object-Management-Service",
"Design-System",
"Digital-Mailroom-and-Document-Scanning",
"Microsoft-Active-Directory-Services",
"PayBC",
"Secure-File-Transfer-Service",
"Simple-Map-Kit"
]
}
},
"notification_standard": {
"uniqueItems": true,
"title": "Notification Standard",
"description": "This key contains the notification systems used in the stack",
"type": "array",
"items": {
"enum": [
"GCNotify",
"Common-Hosted-Email-Service",
"Custom-SMTP",
"Other"
]
}
},
"notification_custom": {
"title": "Notification Custom",
"description": "This key contains the notification other which is to be filled if the notification does not have the option to fill in the above key",
"type": "string",
"maxLength": 150
},
"other_dependencies": {
"title": "Other Dependencies",
"description": "This key contains the external dependencies which are not outlined in above keys",
"type": "string"
}
}
},
"data_management_roles": {
"type": "object",
"required": [
"product_owner",
"data_custodian"
],
"properties": {
"product_owner": {
"title": "Product Owner",
"description": "This key contains the full name of one of the product owner, It must be a real person",
"type": "string",
"minLength": 1
},
"data_custodian": {
"title": "Data Custodian",
"description": "This key contains the Contact Name who is data custodian for the application/suite of applications.link https://bcgov.github.io/data-publication/pages/dsg_bcdc_roles_responsibilities.html#am-i-a-data-custodian",
"type": "string",
"minLength": 1
},
"data_steward": {
"title": "Data Steward",
"description": "This key contains the Contact Name who is the data steward",
"type": "string"
}
}
}
},
"description": "bcgovpubcode.yml is a metadata standard for repositories containing software developed or acquired by the Public Administration, aimed at making them easily discoverable and thus reusable by other entities. Fields or Sections marked with \"*\" are mandatory",
"properties": {
"product_information": {
"title": "Product Information *",
"description": "This Section describes the basic information around product and is required to be filled",
"type": "object",
"$ref": "#/definitions/product_information"
},
"data_management_roles": {
"title": "Data Management Roles *",
"description": "This Section describes the information around Data Assets and is required to be filled",
"type": "object",
"$ref": "#/definitions/data_management_roles"
},
"product_technology_information": {
"title": "Product Technology Information *",
"description": "This Section describes the basic information around tech stack used in the product and is required to be filled",
"type": "object",
"$ref": "#/definitions/product_technology_info"
},
"product_external_dependencies": {
"title": "Product External Dependencies",
"description": "This Section describes the information around external dependencies which the product relies upon",
"type": "object",
"$ref": "#/definitions/external_dependencies"
},
"version": {
"title": "BCGov Pubcode Version",
"description": "This key defines which version of the yaml is being filled",
"type": "number",
"default": 1,
"enum": [
1
]
}
},
"required": [
"product_information",
"data_management_roles",
"product_technology_information",
"version"
],
"title": "JSON schema for bcgovpubcode.yml",
"type": "object"
}