StackOne · Schema

HRISLocation

IntegrationsiPaaS

Properties

Name Type Description
zip_code string The ZIP code/Postal code of the location
street_1 string The first line of the address
street_2 string The second line of the address
updated_at string The updated_at date
id string The unique ID of the location
phone_number string The phone number of the location
employee_id string The employee ID
city string The city where the location is situated
country object The country code
name string The name of the location
created_at string The created_at date
state string The state where the location is situated
location_type object The location type
View JSON Schema on GitHub

JSON Schema

stackone-hrislocation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HRISLocation",
  "title": "HRISLocation",
  "type": "object",
  "properties": {
    "zip_code": {
      "type": "string",
      "description": "The ZIP code/Postal code of the location",
      "example": "NG33 5NR"
    },
    "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"
    },
    "updated_at": {
      "type": "string",
      "description": "The updated_at date",
      "example": "2023-06-14T01:00:00Z"
    },
    "id": {
      "type": "string",
      "description": "The unique ID of the location",
      "example": "123456"
    },
    "phone_number": {
      "type": "string",
      "description": "The phone number of the location",
      "example": "+44 1476 860 364"
    },
    "employee_id": {
      "type": "string",
      "description": "The employee ID",
      "example": "1687-3"
    },
    "city": {
      "type": "string",
      "description": "The city where the location is situated",
      "example": "Grantham"
    },
    "country": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CountryCodeEnum"
        }
      ],
      "description": "The country code",
      "example": "GB"
    },
    "name": {
      "type": "string",
      "description": "The name of the location",
      "example": "Woolsthorpe Manor"
    },
    "created_at": {
      "type": "string",
      "description": "The created_at date",
      "example": "2023-06-14T01:00:00Z"
    },
    "state": {
      "type": "string",
      "description": "The state where the location is situated",
      "example": "Lincolnshire"
    },
    "location_type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LocationTypeEnum"
        }
      ],
      "description": "The location type",
      "example": "work"
    }
  }
}