Address
The address is a shared data type that can be included as a sub-type of either the Employer or Employee.
Address [Schema]
Name | Type | Required | Description |
---|---|---|---|
Address1 | AddressLine | yes | The first line of the address |
Address2 | AddressLine | no | The second line of the address |
Address3 | AddressLine | no | The third line of the address |
Address4 | AddressLine | no | The forth line of the address |
Postcode | Postcode | no | The UK postcode, required if the country is United Kingdom |
Country | AddressLine | no | The address country, e.g. United Kingdom |
AddressLine
Type | xsd:string |
---|---|
Mininum Length | 1 |
Maximum Length | 35 |
Pattern | ^[^\s][A-Za-z0-9 ~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]^_\{\}£€]* |
Example
<?xml version="1.0"?>
<Address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<Address4>string</Address4>
<Postcode>string</Postcode>
<Country>string</Country>
</Address>
{
"Address": {
"Address1": "string",
"Address2": "string",
"Address3": "string",
"Address4": "string",
"Postcode": "string",
"Country": "string"
}
}