Skip to content

Commit e379299

Browse files
authored
Merge pull request #166 from swcurran/cov-property-rental-license
Add City of Vancouver Test Property Rental Business Licence OCA Bundle
2 parents 1770258 + 9e827dd commit e379299

File tree

9 files changed

+244
-1
lines changed

9 files changed

+244
-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: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
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": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
35+
"flagged_attributes": [
36+
"licence_holder_given_name",
37+
"licence_holder_family_name",
38+
"Unit",
39+
"unit_type",
40+
"street_number",
41+
"street_name",
42+
"municipality",
43+
"municipality_status",
44+
"regional_district",
45+
"province_territory",
46+
"postal_code",
47+
"Country"
48+
],
49+
"type": "spec/capture_base/1.0"
50+
},
51+
"overlays": [
52+
{
53+
"attribute_character_encoding": {
54+
"Country": "utf-8",
55+
"GIS_coordinates": "utf-8",
56+
"PID": "utf-8",
57+
"Unit": "utf-8",
58+
"business_licence_type": "utf-8",
59+
"business_sub_type": "utf-8",
60+
"business_trade_name": "utf-8",
61+
"licence_expiry_dateint": "utf-8",
62+
"licence_holder_family_name": "utf-8",
63+
"licence_holder_given_name": "utf-8",
64+
"licence_issued_dateint": "utf-8",
65+
"licence_number": "utf-8",
66+
"licence_revision_number": "utf-8",
67+
"local_area": "utf-8",
68+
"location_type": "utf-8",
69+
"municipality": "utf-8",
70+
"municipality_status": "utf-8",
71+
"number_of_dwelling_units": "utf-8",
72+
"postal_code": "utf-8",
73+
"property_residence_type": "utf-8",
74+
"province_territory": "utf-8",
75+
"regional_district": "utf-8",
76+
"strata_flag": "utf-8",
77+
"street_name": "utf-8",
78+
"street_number": "utf-8",
79+
"unit_type": "utf-8",
80+
"validity_year": "utf-8"
81+
},
82+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
83+
"default_character_encoding": "utf-8",
84+
"digest": "E0XMu3TXwdi3Db0vkpccjYi09tUoPkbMpaGEzxNAMj7s",
85+
"type": "spec/overlays/character_encoding/1.0"
86+
},
87+
{
88+
"attribute_categories": [],
89+
"attribute_labels": {
90+
"Country": "Country",
91+
"GIS_coordinates": "GIS Coordinates",
92+
"PID": "Parcel Identifier (PID)",
93+
"Unit": "Unit Number",
94+
"business_licence_type": "Business Licence Type",
95+
"business_sub_type": "Business Licence Sub-Type",
96+
"business_trade_name": "Business / Trade Name",
97+
"licence_expiry_dateint": "Licence Expiration Date",
98+
"licence_holder_family_name": "Licence Holder Family Name",
99+
"licence_holder_given_name": "Licence Holder Given Name",
100+
"licence_issued_dateint": "Licence Issuance Date",
101+
"licence_number": "Licence Number",
102+
"licence_revision_number": "Licence Revision Number",
103+
"local_area": "Neighbourhood / Local Area",
104+
"location_type": "Location Type",
105+
"municipality": "Municipality",
106+
"municipality_status": "Municipality Type",
107+
"number_of_dwelling_units": "Number of Dwelling Units",
108+
"postal_code": "Postal Code",
109+
"property_residence_type": "Property Residence Type",
110+
"province_territory": "Province / Territory",
111+
"regional_district": "Regional District",
112+
"strata_flag": "Strata Property (Yes/No)",
113+
"street_name": "Street Name",
114+
"street_number": "Street Number",
115+
"unit_type": "Unit Type",
116+
"validity_year": "Licence Validity Year"
117+
},
118+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
119+
"category_labels": {},
120+
"digest": "EmQEF7-ql_WkdBigQWE0fplbjzWuWc7m6qKZDt-r8kpQ",
121+
"language": "en",
122+
"type": "spec/overlays/label/1.0"
123+
},
124+
{
125+
"attribute_information": {
126+
"Country": "The country of the business licence.",
127+
"GIS_coordinates": "The geographic coordinates of the licensed location",
128+
"PID": "The nine digit parcel identifier",
129+
"Unit": "The unit number of the business licence.",
130+
"business_licence_type": "The type of business licence being issued.",
131+
"business_sub_type": "The sub type of business licence being issued.",
132+
"business_trade_name": "The business name of the operator of the business licence.",
133+
"licence_expiry_dateint": "The expiry date of the business licence.",
134+
"licence_holder_family_name": "Licence holder family name of the business licence.",
135+
"licence_holder_given_name": "Licence holder given name of the business licence.",
136+
"licence_issued_dateint": "The issued date of the business licence.",
137+
"licence_number": "The issued licence number of the business licence.",
138+
"licence_revision_number": "The revision number of the issued business licence.",
139+
"local_area": "Local area definition. For Vancouver, one of the twenty-two neighbourhoods where the licensed location exists.",
140+
"location_type": "The type of business licensed location",
141+
"municipality": "The municipality of the business licence.",
142+
"municipality_status": "Municipality type of the licensed location",
143+
"number_of_dwelling_units": "# of dwelling units at the licenced location. Specific to LTR business licence types.",
144+
"postal_code": "The postal code of the business licence.",
145+
"property_residence_type": "The type of property residence",
146+
"province_territory": "The province of the business licence.",
147+
"regional_district": "One of the twenty-seven regional districts in BC.",
148+
"strata_flag": "Indicates whether the licensed property is part of a strata (condominium) corporation.",
149+
"street_name": "The street name of the business licence.",
150+
"street_number": "The street number that precedes the street name of the business licence location.",
151+
"unit_type": "The unit type of the business licence.",
152+
"validity_year": "The year the licence is active for the business licence."
153+
},
154+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
155+
"digest": "EfHErlhqOhUFNA_AYT1uQxj-8gfUZ1FOOSfWCJ57F6VM",
156+
"language": "en",
157+
"type": "spec/overlays/information/1.0"
158+
},
159+
{
160+
"attribute_formats": {
161+
"licence_expiry_dateint": "YYYYMMDD",
162+
"licence_issued_dateint": "YYYYMMDD"
163+
},
164+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
165+
"digest": "ErcqRIs8Nh4xda0jYWeD0F4b3xvw-epYQyys9mvOT3Bs",
166+
"type": "spec/overlays/format/1.0"
167+
},
168+
{
169+
"attribute_standards": {
170+
"licence_expiry_dateint": "urn:iso:std:iso:1989",
171+
"licence_issued_dateint": "urn:iso:std:iso:1989"
172+
},
173+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
174+
"digest": "EpDw-6X2p6qKTc0069tEIGGJE_YencFe7BbH1imFt7J8",
175+
"type": "spec/overlays/standard/1.0"
176+
},
177+
{
178+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
179+
"credential_support_url": "https://vancouver.ca/",
180+
"description": "A City of Vancouver digital credential that represents a valid municipal business licence for operating a rental property.",
181+
"digest": "EgEOFFZtyJUrX135_1UwtLxJ6_c5J0HMfLOUqLvffHdk",
182+
"issuer": "City of Vancouver",
183+
"issuer_description": "City of Vancouver",
184+
"issuer_url": "https://vancouver.ca/",
185+
"language": "en",
186+
"name": "Municipal Property Rental Business Licence ",
187+
"type": "spec/overlays/meta/1.0",
188+
"watermark": "DEMONSTRATION"
189+
},
190+
{
191+
"logo": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-logo.jpg",
192+
"background_image_slice": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-slice.jpg",
193+
"background_image": "https://raw.githubusercontent.com/bcgov/aries-oca-bundles/main/OCABundles/schema/CityOfVancouver/test-property-rental-business-licence/cov-background-image.jpg",
194+
"primary_background_color": "#015982",
195+
"secondary_background_color": "#4b8516",
196+
"capture_base": "EJviaZlfWlFc-VAi-cxXYKltRCLJx9zAgbgYgtkSvE9E",
197+
"digest": "EBQbQEV6qSEGDzGLj1CqT4e6yzESjPimF-Swmyltw5jU",
198+
"expiry_date_attribute": "licence_expiry_dateint",
199+
"primary_attribute": "business_trade_name",
200+
"secondary_attribute": "business_sub_type",
201+
"type": "aries/overlays/branding/1.0"
202+
}
203+
]
204+
}
205+
]
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+
| Mathieu Glaude | mathieuglaude | mathieu@northernblock.io |
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": "business_trade_name",
12+
"secondary_attribute": "business_sub_type",
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)