{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/csiro/json-schema/csiro-user-org-details-dto-schema.json",
  "title": "UserOrgDetailsDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/csiro-api-v2-user-profile-api-openapi.yml#/components/schemas/UserOrgDetailsDTO",
  "type": "object",
  "properties": {
    "nationalFacility": {
      "type": "string"
    },
    "costCentreBusinessUnit": {
      "$ref": "#/$defs/OrgNodeDTO"
    },
    "costCentreTeam": {
      "$ref": "#/$defs/OrgNodeDTO"
    }
  },
  "$defs": {
    "OrgNodeDTO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "nodeCode": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "inactive": {
          "type": "boolean"
        }
      }
    }
  }
}