json_schema: {
      "description": "Only possible if the user was created using a third party OAuth provider.",
      "properties": {
          "password": {
              "description": "A password for identifying the user.",
              "minLength": 6,
              "type": "string"
          },
          "username": {
              "description": "Username used when locally logging in.",
              "maxLength": 30,
              "minLength": 3,
              "type": "string",
              "unique": true
          }
      },
      "required": [
          "username",
          "password"
      ],
      "title": "Create local credentials",
      "type": "object"
  }