{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "IUserParameters",
  "oneOf": [
    {
      "type": "object",
      "required": ["CreateUser"],
      "properties": {
        "CreateUser": {
          "$ref": "#/definitions/CreateUser"
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": ["User"],
      "properties": {
        "User": {
          "$ref": "#/definitions/User"
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": ["GetUserParameters"],
      "properties": {
        "GetUserParameters": {
          "$ref": "#/definitions/GetUserParameters"
        }
      },
      "additionalProperties": false
    }
  ],
  "definitions": {
    "CreateUser": {
      "type": "object",
      "required": ["email", "name", "password"],
      "properties": {
        "avatar_url": {
          "type": ["string", "null"]
        },
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      }
    },
    "GetUserParameters": {
      "type": "object",
      "required": ["email"],
      "properties": {
        "email": {
          "type": "string"
        }
      }
    },
    "User": {
      "type": "object",
      "required": ["created_at", "email", "id", "name"],
      "properties": {
        "avatar_url": {
          "type": ["string", "null"]
        },
        "created_at": {
          "type": "integer",
          "format": "int64"
        },
        "email": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}
