{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "authentication",
      "enum": [
        "authentication",
        "getAuthenticationLoginStatus",
        "postAuthenticationLoginToken",
        "getAuthenticationLogout",
        "postAuthenticationPasswordValidation",
        "userAuthType",
        "userAuthTypeToken"
      ],
      "external_name": "ph_request_type"
    },
    "requestLoginToken": {
      "description": "Json object containing user id and password, sent as user authentication information when user want to receive 2-factor code",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "RequestLoginToken"
    },
    "loginToken": {
      "description": "Json object containing user id and password",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "LoginToken"
    },
    "resetPasswordToken": {
      "description": "Json object containing the reset password token",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "ResetPasswordToken"
    }
  },
  "definitions": {}
}