Properties
| Name | Type | Description |
|---|---|---|
| city | string | The city where the location is situated |
| zip_code | string | The ZIP code/Postal code of the location |
| country | object | The country code |
| state | object | The ISO3166-2 sub division where the location is situated |
| name | string | The name of the location |
| phone_number | string | The phone number of the location |
| street_1 | string | The first line of the address |
| street_2 | string | The second line of the address |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/HrisLocationsCreateRequestDto",
"title": "HrisLocationsCreateRequestDto",
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city where the location is situated",
"example": "Grantham"
},
"zip_code": {
"type": "string",
"description": "The ZIP code/Postal code of the location",
"example": "NG33 5NR"
},
"country": {
"allOf": [
{
"$ref": "#/components/schemas/CountryCodeEnum"
}
],
"description": "The country code",
"example": "GB"
},
"state": {
"allOf": [
{
"$ref": "#/components/schemas/ISO3166_2SubDivisionEnum"
}
],
"description": "The ISO3166-2 sub division where the location is situated",
"example": "GB-LIN"
},
"name": {
"type": "string",
"description": "The name of the location",
"example": "Woolsthorpe Manor"
},
"phone_number": {
"type": "string",
"description": "The phone number of the location",
"example": "+44 1476 860 364"
},
"street_1": {
"type": "string",
"description": "The first line of the address",
"example": "Water Lane"
},
"street_2": {
"type": "string",
"description": "The second line of the address",
"example": "Woolsthorpe by Colsterworth"
}
}
}