{
  "type": "object",
  "properties": {
    "username": {
      "type":  "string"
    },
    "password": {
      "type":  "string",
      "format": "password"
    },
    "scope": {
      "type":  "string",
      "enum": ["profile", "confirm_email", "create_wallet", "authorize_device", "reset_password"]
    },
    "grant_type": {
      "type":  "string",
      "enum": ["password"]
    }
  },
  "additionalProperties": false,
  "required": [
    "username", "password", "scope", "grant_type"
  ]
}