Skip to content

Commit 8131fe4

Browse files
committed
Add City of Vancouver Test Property Rental Business Licence OCA Bundle
Signed-off-by: Stephen Curran <swcurran@gmail.com>
1 parent 1770258 commit 8131fe4

File tree

9 files changed

+234
-1
lines changed

9 files changed

+234
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# City of Vancouver
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
[
2+
{
3+
"capture_base": {
4+
"attributes": {
5+
"Country": "Text",
6+
"GIS_coordinates": "Text",
7+
"PID": "Text",
8+
"Unit": "Text",
9+
"business_licence_type": "Text",
10+
"business_sub_type": "Text",
11+
"business_trade_name": "Text",
12+
"licence_expiry_dateint": "DateTime",
13+
"licence_holder_family_name": "Text",
14+
"licence_holder_given_name": "Text",
15+
"licence_issued_dateint": "DateTime",
16+
"licence_number": "Text",
17+
"licence_revision_number": "Text",
18+
"local_area": "Text",
19+
"location_type": "Text",
20+
"municipality": "Text",
21+
"municipality_status": "Text",
22+
"number_of_dwelling_units": "Text",
23+
"postal_code": "Text",
24+
"property_residence_type": "Text",
25+
"province_territory": "Text",
26+
"regional_district": "Text",
27+
"strata_flag": "Text",
28+
"street_name": "Text",
29+
"street_number": "Text",
30+
"unit_type": "Text",
31+
"validity_year": "Text"
32+
},
33+
"classification": "",
34+
"digest": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
35+
"flagged_attributes": [
36+
"licence_holder_given_name",
37+
"licence_holder_family_name"
38+
],
39+
"type": "spec/capture_base/1.0"
40+
},
41+
"overlays": [
42+
{
43+
"attribute_character_encoding": {
44+
"Country": "utf-8",
45+
"GIS_coordinates": "utf-8",
46+
"PID": "utf-8",
47+
"Unit": "utf-8",
48+
"business_licence_type": "utf-8",
49+
"business_sub_type": "utf-8",
50+
"business_trade_name": "utf-8",
51+
"licence_expiry_dateint": "utf-8",
52+
"licence_holder_family_name": "utf-8",
53+
"licence_holder_given_name": "utf-8",
54+
"licence_issued_dateint": "utf-8",
55+
"licence_number": "utf-8",
56+
"licence_revision_number": "utf-8",
57+
"local_area": "utf-8",
58+
"location_type": "utf-8",
59+
"municipality": "utf-8",
60+
"municipality_status": "utf-8",
61+
"number_of_dwelling_units": "utf-8",
62+
"postal_code": "utf-8",
63+
"property_residence_type": "utf-8",
64+
"province_territory": "utf-8",
65+
"regional_district": "utf-8",
66+
"strata_flag": "utf-8",
67+
"street_name": "utf-8",
68+
"street_number": "utf-8",
69+
"unit_type": "utf-8",
70+
"validity_year": "utf-8"
71+
},
72+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
73+
"default_character_encoding": "utf-8",
74+
"digest": "ESY0_K3IVNNu33O-4_YWpTni_8z_xlehDC-w1bmQ94Ic",
75+
"type": "spec/overlays/character_encoding/1.0"
76+
},
77+
{
78+
"attribute_categories": [],
79+
"attribute_labels": {
80+
"Country": "Country",
81+
"GIS_coordinates": "GIS Coordinates",
82+
"PID": "Parcel Identifier (PID)",
83+
"Unit": "Unit Number",
84+
"business_licence_type": "Business Licence Type",
85+
"business_sub_type": "Business Licence Sub-Type",
86+
"business_trade_name": "Business / Trade Name",
87+
"licence_expiry_dateint": "Licence Expiration Date",
88+
"licence_holder_family_name": "Licence Holder Family Name",
89+
"licence_holder_given_name": "Licence Holder Given Name",
90+
"licence_issued_dateint": "Licence Issuance Date",
91+
"licence_number": "Licence Number",
92+
"licence_revision_number": "Licence Revision Number",
93+
"local_area": "Neighbourhood / Local Area",
94+
"location_type": "Location Type",
95+
"municipality": "Municipality",
96+
"municipality_status": "Municipality Type",
97+
"number_of_dwelling_units": "Number of Dwelling Units",
98+
"postal_code": "Postal Code",
99+
"property_residence_type": "Property Residence Type",
100+
"province_territory": "Province / Territory",
101+
"regional_district": "Regional District",
102+
"strata_flag": "Strata Property (Yes/No)",
103+
"street_name": "Street Name",
104+
"street_number": "Street Number",
105+
"unit_type": "Unit Type",
106+
"validity_year": "Licence Validity Year"
107+
},
108+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
109+
"category_labels": {},
110+
"digest": "EzfG_Cv2ycjkuUlqCmckKZgp_YJmp7jF8uoN0kEqi2Uc",
111+
"language": "en",
112+
"type": "spec/overlays/label/1.0"
113+
},
114+
{
115+
"attribute_information": {
116+
"Country": "The country of the business licence.",
117+
"GIS_coordinates": "The geographic coordinates of the licensed location",
118+
"PID": "The nine digit parcel identifier",
119+
"Unit": "The unit number of the business licence.",
120+
"business_licence_type": "The type of business licence being issued.",
121+
"business_sub_type": "The sub type of business licence being issued.",
122+
"business_trade_name": "The business name of the operator of the business licence.",
123+
"licence_expiry_dateint": "The expiry date of the business licence.",
124+
"licence_holder_family_name": "Licence holder family name of the business licence.",
125+
"licence_holder_given_name": "Licence holder given name of the business licence.",
126+
"licence_issued_dateint": "The issued date of the business licence.",
127+
"licence_number": "The issued licence number of the business licence.",
128+
"licence_revision_number": "The revision number of the issued business licence.",
129+
"local_area": "Local area definition. For Vancouver, one of the twenty-two neighbourhoods where the licensed location exists.",
130+
"location_type": "The type of business licensed location",
131+
"municipality": "The municipality of the business licence.",
132+
"municipality_status": "Municipality type of the licensed location",
133+
"number_of_dwelling_units": "# of dwelling units at the licenced location. Specific to LTR business licence types.",
134+
"postal_code": "The postal code of the business licence.",
135+
"property_residence_type": "The type of property residence",
136+
"province_territory": "The province of the business licence.",
137+
"regional_district": "One of the twenty-seven regional districts in BC.",
138+
"strata_flag": "Indicates whether the licensed property is part of a strata (condominium) corporation.",
139+
"street_name": "The street name of the business licence.",
140+
"street_number": "The street number that precedes the street name of the business licence location.",
141+
"unit_type": "The unit type of the business licence.",
142+
"validity_year": "The year the licence is active for the business licence."
143+
},
144+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
145+
"digest": "EO970rGI6jyKx2pg9STTK1CiAXeELLkWQ2LKzZQYKkgY",
146+
"language": "en",
147+
"type": "spec/overlays/information/1.0"
148+
},
149+
{
150+
"attribute_formats": {
151+
"licence_expiry_dateint": "YYYYMMDD",
152+
"licence_issued_dateint": "YYYYMMDD"
153+
},
154+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
155+
"digest": "EGK0x9QLcQQFeKEhxhs3Idv74euN8TYiOW9h39_FvVvk",
156+
"type": "spec/overlays/format/1.0"
157+
},
158+
{
159+
"attribute_standards": {
160+
"licence_expiry_dateint": "urn:iso:std:iso:1989",
161+
"licence_issued_dateint": "urn:iso:std:iso:1989"
162+
},
163+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
164+
"digest": "EYVy1P_zqhIyzTg4KHsm8FKxMacPMjTGb4H4ajFwO9b0",
165+
"type": "spec/overlays/standard/1.0"
166+
},
167+
{
168+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
169+
"credential_support_url": "https://vancouver.ca/",
170+
"description": "A City of Vancouver digital credential that represents a valid municipal business licence for operating a rental property.",
171+
"digest": "EH2OkgrgCGXgWw_GTOb-SX8TilNNOJMwa-xV81h6nB0Y",
172+
"issuer": "City of Vancouver",
173+
"issuer_description": "City of Vancouver",
174+
"issuer_url": "https://vancouver.ca/",
175+
"language": "en",
176+
"name": "Municipal Property Rental Business Licence ",
177+
"type": "spec/overlays/meta/1.0",
178+
"watermark": "DEMONSTRATION"
179+
},
180+
{
181+
"logo": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-logo.jpg",
182+
"background_image_slice": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-slice.jpg",
183+
"background_image": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-image.jpg",
184+
"primary_background_color": "#015982",
185+
"secondary_background_color": "#4b8516",
186+
"capture_base": "E4T448VQHmJF2Kk9nwrNgTXzGrgOcx2mG0s58CITtEXM",
187+
"digest": "EBQbQEV6qSEGDzGLj1CqT4e6yzESjPimF-Swmyltw5jU",
188+
"expiry_date_attribute": "licence_expiry_dateint",
189+
"primary_attribute": "licence_revision_number",
190+
"secondary_attribute": "licence_holder_family_name",
191+
"type": "aries/overlays/branding/1.0"
192+
}
193+
]
194+
}
195+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# City of Vancouver TEST Property Rental Business License
2+
3+
A schema for a "Property Rental Business License" issued by the City of Vancouver.
4+
5+
- Publishing Organization: City Of Vancouver
6+
- Primary Contact Email Address: Rene.Cravioto@vancouver.ca
7+
8+
## Identifiers
9+
10+
| Identifier | Location | URL |
11+
| ---------------------------------------------------------------------------- | --------- | ------------------------------------------------------------------ |
12+
| HFZfqC6Jzbt57FxcXqn78a:3:CL:37509:municipal-property-rental-business-licence | candy:dev | https://candyscan.digitaltrust.gov.bc.ca/tx/CANDY_DEV/domain/37511 |
13+
14+
## Authorization
15+
16+
The following are the GitHub IDs of those authorized to make substantive updates to the OCA Bundle.
17+
18+
| OCA Bundle Contributors | GitHub ID | Email Address |
19+
| ----------------------- | ----------- | -------------------------- |
20+
| Rene Cravioto | | Rene.Cravioto@vancouver.ca |
21+
| Kyle Robinson | krobinsonca | kyle.robinson@briartech.ca |
22+
| Stephen Curran | swcurran | swcurran@cloudcompass.ca |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[
2+
{
3+
"logo": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-logo.jpg",
4+
"background_image_slice": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-slice.jpg",
5+
"background_image": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-image.jpg",
6+
"primary_background_color": "#015982",
7+
"secondary_background_color": "#4b8516",
8+
"capture_base": "E75sopl65qnoZRwjQQ0FjWGemLlOXcXtanhScZ2CloJY",
9+
"digest": "EBQbQEV6qSEGDzGLj1CqT4e6yzESjPimF-Swmyltw5jU",
10+
"expiry_date_attribute": "licence_expiry_dateint",
11+
"primary_attribute": "licence_revision_number",
12+
"secondary_attribute": "licence_holder_family_name",
13+
"type": "aries/overlays/branding/1.0"
14+
}
15+
]
291 KB
Loading
477 KB
Loading
9.61 KB
Loading

scripts/genBundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if [ "${EXCEL}" == "" ]; then
8282
fi
8383

8484
# Parse the file using the OCA Parser and then prettify the JSON with jq
85-
${PARSER} parse oca --path ${EXCEL} | jq . > ${OCABUNDLE}
85+
${PARSER} parse oca --path "${EXCEL}" | jq . > ${OCABUNDLE}
8686

8787
# Grab out from the OCABundle the capture_base item from an overlay so it can be put into the JSON Files
8888
# The data value may change so grabbing this ensures the added overlays reference the right capture base

0 commit comments

Comments
 (0)