{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/greenhouse/json-schema/greenhouse-office-schema.json",
  "title": "Office",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/greenhouse-offices-api-openapi.yml#/components/schemas/Office",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "location": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        }
      }
    },
    "parent_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "child_ids": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "external_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}