{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Location",
  "title": "Location",
  "type": "object",
  "description": "A physical location or job site in the Paradox platform",
  "properties": {
    "oid": {
      "type": "string",
      "description": "Location identifier"
    },
    "name": {
      "type": "string",
      "description": "Location name"
    },
    "job_loc_code": {
      "type": "string",
      "description": "Job location code"
    },
    "address": {
      "type": "string",
      "description": "Street address"
    },
    "city": {
      "type": "string",
      "description": "City"
    },
    "state": {
      "type": "string",
      "description": "State or province"
    },
    "zip_code": {
      "type": "string",
      "description": "Postal code"
    },
    "country": {
      "type": "string",
      "description": "Country"
    },
    "timezone": {
      "type": "string",
      "description": "Location timezone"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the location is active"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Last update timestamp"
    }
  }
}