def METHOD_NAME(cls):
    return {
        "type": "object",
        "properties": {
            "user": {"type": "string"},
            "password": {"type": "string"},
            "host": {
                "type": "string",
                "title": "Host: To use a DSN Service Name instead, use the text string `_useservicename` in the host name field.",
            },
            "port": {"type": "number"},
            "servicename": {"type": "string", "title": "DSN Service Name"},
            "encoding": {"type": "string"},
        },
        "required": ["servicename", "user", "password", "host", "port"],
        "extra_options": ["encoding"],
        "secret": ["password"],
    }