def METHOD_NAME(self, schema_id: str) -> Optional[str]:
    """Send a credential definition to the ledger."""
    try:
        response = requests.post(self.api_url + '/credential-definitions',
                                 headers=self._get_headers(),
                                 data=json.dumps({
                                     'revocation_registry_size': 1000,
                                     'schema_id': schema_id,
                                     'support_revocation': True,
                                     'tag': 'business_schema'
                                 }))
        response.raise_for_status()
        return response.json()['credential_definition_id']
    except Exception as err:
        self.app.logger.error(f'Failed to register credential definition schema_id:{schema_id}')
        self.app.logger.error(err)
        raise err