{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-project-users-response-schema.json",
  "title": "ProjectUsersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-project-users-api-openapi.yml#/components/schemas/ProjectUsersResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProjectUser"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    }
  },
  "$defs": {
    "Pagination": {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "totalResults": {
          "type": "integer"
        }
      }
    },
    "ProjectUser": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "autodeskId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "inactive",
            "pending"
          ]
        },
        "accessLevels": {
          "type": "object",
          "properties": {
            "accountAdmin": {
              "type": "boolean"
            },
            "projectAdmin": {
              "type": "boolean"
            },
            "executive": {
              "type": "boolean"
            }
          }
        },
        "companyId": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        },
        "industryRoles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "products": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "access": {
                "type": "string",
                "enum": [
                  "administrator",
                  "member",
                  "none"
                ]
              }
            }
          }
        },
        "addedOn": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}