{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-business-units-schema.json",
  "title": "BusinessUnitsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-business-units-api-openapi.yml#/components/schemas/BusinessUnits",
  "x-stoplight": {
    "id": "bje738qyuuz2v"
  },
  "type": "object",
  "properties": {
    "business_units": {
      "type": "array",
      "x-stoplight": {
        "id": "n5utlu9b7jz16"
      },
      "items": {
        "$ref": "#/$defs/BusinessUnit",
        "x-stoplight": {
          "id": "2sl170itvk70g"
        }
      }
    }
  },
  "$defs": {
    "BusinessUnit": {
      "title": "BusinessUnit",
      "x-stoplight": {
        "id": "2g2vpfiwr1evd"
      },
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Business unit ID"
        },
        "account_id": {
          "type": "string",
          "x-stoplight": {
            "id": "87d5kevscjst5"
          },
          "description": "Account ID"
        },
        "parent_id": {
          "type": "string",
          "x-stoplight": {
            "id": "ripvdy2jdxt5h"
          },
          "description": "The ID of the parent business unit;\nused to configure the tree structure of business units"
        },
        "name": {
          "type": "string",
          "x-stoplight": {
            "id": "e5y59vjyh9u3g"
          },
          "description": "The name of the business unit\n"
        },
        "path": {
          "type": "string",
          "x-stoplight": {
            "id": "y2vcp5y80gjjj"
          },
          "description": "The path of the business unit in the tree structure"
        },
        "description": {
          "type": "string",
          "x-stoplight": {
            "id": "wywguzh955t9m"
          },
          "description": "The description of the business unit"
        },
        "created_at": {
          "type": "string",
          "x-stoplight": {
            "id": "4bta8t8vaq96a"
          }
        },
        "updated_at": {
          "type": "string",
          "x-stoplight": {
            "id": "epd0mv6uik60l"
          }
        }
      }
    }
  }
}