def METHOD_NAME(self):
    manifest = {
        "version": "0.34.2",
        "type": "DeclarativeSource",
        "check": {
            "type": "CheckStream",
            "stream_names": [
                "Rates"
            ]
        },
        "streams": [
            {
                "type": "DeclarativeStream",
                "name": "Rates",
                "primary_key": [],
                "schema_loader": {
                    "type": "InlineSchemaLoader",
                    "schema": {
                        "$schema": "http://json-schema.org/schema#",
                        "properties": {},
                        "type": "object"
                    }
                },
                "retriever": {
                    "type": "SimpleRetriever",
                    "requester": {
                        "type": "HttpRequester",
                        "url_base": "https://api.apilayer.com",
                        "path": "/exchangerates_data/latest",
                        "http_method": "GET",
                    },
                    "record_selector": {
                        "type": "RecordSelector",
                        "extractor": {
                            "type": "DpathExtractor",
                            "field_path": []
                        }
                    },
                }
            }
        ],
        "spec": {
            "connection_specification": {
                "$schema": "http://json-schema.org/draft-07/schema#",
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": True
            },
            "documentation_url": "https://example.org",
            "type": "Spec"
        }
    }
    if self._incremental_sync:
        manifest["streams"][0]["incremental_sync"] = self._incremental_sync
    if self._partition_router:
        manifest["streams"][0]["retriever"]["partition_router"] = self._partition_router
    return manifest