{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-building-dto-schema.json",
  "title": "BuildingDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-buildings-api-api-openapi.yml#/components/schemas/BuildingDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for the building."
    },
    "buildingCode": {
      "type": "string",
      "description": "The building code."
    },
    "buildingType": {
      "type": "string",
      "description": "The building type."
    },
    "name": {
      "type": "string",
      "description": "The name of the building."
    },
    "oldBuildingCode": {
      "type": "string",
      "description": "The old building code."
    },
    "active": {
      "type": "boolean",
      "description": "The active status of the building."
    },
    "address": {
      "type": "string",
      "description": "The building's street address."
    },
    "city": {
      "type": "string",
      "description": "The city in which the building is located."
    },
    "state": {
      "type": "string",
      "description": "The state in which the building is located."
    },
    "country": {
      "type": "string",
      "description": "The country in which the building is located."
    },
    "zipCode": {
      "type": "string",
      "description": "The building's zip code (postal code)."
    },
    "phone": {
      "type": "string",
      "description": "The building's phone number."
    },
    "fax": {
      "type": "string",
      "description": "The building's fax number."
    },
    "dunsNo": {
      "type": "string",
      "description": "The building's DUNS number."
    },
    "taxId": {
      "type": "string",
      "description": "The tax ID associated with the building."
    },
    "vatRegistrationNo": {
      "type": "string",
      "description": "The VAT (value-added tax) registration number associated with the building."
    }
  }
}