{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/csiro/json-schema/csiro-project-dto-schema.json",
  "title": "ProjectDTO",
  "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/ProjectDTO",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "wbsCode": {
      "type": "string"
    },
    "projectId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "inactive": {
      "type": "boolean"
    },
    "projectLeader": {
      "$ref": "#/$defs/UserEntityDto"
    },
    "editedProjectName": {
      "type": "string"
    },
    "editedProgramName": {
      "type": "string"
    }
  },
  "$defs": {
    "UserEntityDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "userName": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "loginSystem": {
          "type": "string"
        },
        "distinguishedName": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "surname": {
          "type": "string"
        },
        "organisation": {
          "type": "string"
        },
        "organisationDisplay": {
          "type": "string"
        },
        "rorId": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "countryDisplayName": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        }
      }
    }
  }
}