def METHOD_NAME(cls,
            credential_type: CredentialType,
            schema_name: str,
            schema_version: str) -> DCDefinition:
    """Return the digital credential definition matching the filter."""
    query = db.session.query(DCDefinition). \
        filter(DCDefinition.credential_type == credential_type). \
        filter(DCDefinition.schema_name == schema_name). \
        filter(DCDefinition.schema_version == schema_version)
    return query.one_or_none()