# Schema Docs
- [If (country = "United States of America")](#autogenerated_heading_2)
- [ Property `postal_code`](#then_postal_code)
- [Else (i.e. country != "United States of America")](#autogenerated_heading_3)
- [ Property `postal_code`](#else_postal_code)
- [ Property `street_address`](#street_address)
- [ Property `country`](#country)
| Type | `object` |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
| | |
## If (country = "United States of America")
| Type | `object` |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
| | |
###  Property `postal_code`
| Type | `object` |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
| | |
| Restrictions | |
| --------------------------------- | --------------------------------------------------------------------------------------------------------- |
| **Must match regular expression** | ```[0-9]{5}(-[0-9]{4})?``` [Test](https://regex101.com/?regex=%5B0-9%5D%7B5%7D%28-%5B0-9%5D%7B4%7D%29%3F) |
| | |
## Else (i.e. country != "United States of America")
| Type | `object` |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
| | |
###  Property `postal_code`
| Type | `object` |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
| | |
| Restrictions | |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **Must match regular expression** | ```[A-Z][0-9][A-Z] [0-9][A-Z][0-9]``` [Test](https://regex101.com/?regex=%5BA-Z%5D%5B0-9%5D%5BA-Z%5D+%5B0-9%5D%5BA-Z%5D%5B0-9%5D) |
| | |
##  Property `street_address`
| Type | `string` |
| ---- | -------- |
| | |
##  Property `country`
| Type | `enum (of string)` |
| ---- | ------------------ |
| | |
Must be one of:
* "United States of America"
* "Canada"
----------------------------------------------------------------------------------------------------------------------------
Generated using [json-schema-for-humans](https://github.com/coveooss/json-schema-for-humans) on date