Skip to content

Commit

Permalink
22353 correction of continuation in business (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
vysakh-menon-aot authored Aug 26, 2024
1 parent 51970ca commit b037a9f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 45 deletions.
80 changes: 37 additions & 43 deletions src/registry_schemas/schemas/change_of_address.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,55 +14,49 @@
},
"allOf": [
{
"if": {
"properties": {
"legalType": {
"const": "CP"
}
}
},
"then": {
"properties": {
"offices": {
"registeredOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
"if": {
"properties": {
"legalType": {
"const": "CP"
}
}
},
"then": {
"properties": {
"offices": {
"registeredOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
},
"required": [
"registeredOffice"
]
}
},
"required": [
"registeredOffice"
"offices"
]
}
},
"required": [
"offices"
]
}},
{
"if": {
"properties": {
"legalType": {
"enum": ["BC", "BEN"]
}
}
},
"then": {
"properties": {
"offices": {
"registeredOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
},
"recordsOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
},
"else": {
"properties": {
"offices": {
"registeredOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
},
"recordsOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
},
"required": [
"registeredOffice",
"recordsOffice"
]
}
},
"required": [
"registeredOffice", "recordsOffice"
"offices"
]
}
},
"required": [
"offices"
]
}}
],
}
],
"required": [
"legalType"
]
Expand All @@ -73,4 +67,4 @@
"$ref": "#/definitions/changeOfAddress"
}
}
}
}
6 changes: 5 additions & 1 deletion src/registry_schemas/schemas/correction.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,13 @@
"properties": {
"legalType": {
"enum": [
"BEN",
"BC",
"BEN",
"C",
"CBEN",
"CC",
"CCC",
"CUL",
"ULC"
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/registry_schemas/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"""


__version__ = '2.18.27' # pylint: disable=invalid-name
__version__ = '2.18.28' # pylint: disable=invalid-name

0 comments on commit b037a9f

Please sign in to comment.