{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/drchrono/json-schema/userprofile.json",
  "title": "UserProfile",
  "required": [],
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "",
      "title": "Username"
    },
    "doctor": {
      "readOnly": true,
      "type": "string",
      "description": "For staff members, this is their primary physician's ID. For doctors, it is their own ID.",
      "title": "Doctor"
    },
    "practice_group": {
      "readOnly": true,
      "type": "string",
      "description": "The ID of the practice group this user belongs to. This can be used to identify users in the same practice.",
      "title": "Practice group"
    },
    "is_doctor": {
      "readOnly": true,
      "type": "string",
      "description": "Mutually exclusive with `is_staff`",
      "title": "Is doctor"
    },
    "is_staff": {
      "readOnly": true,
      "type": "string",
      "description": "Mutually exclusive with `is_doctor`",
      "title": "Is staff"
    },
    "id": {
      "readOnly": true,
      "type": "string",
      "description": "",
      "title": "Id"
    },
    "permissions": {
      "readOnly": true,
      "type": "string",
      "description": "Permissions the user has.",
      "title": "Permissions"
    }
  },
  "x-verbose-required": []
}