from lib.services.servicemap.service_client import ServiceClientInterface
from lib.api_schema.response.flava_services.servicemap.v1_0 import (
    service as schema,
)


class FlavaServiceClient(ServiceClientInterface):
    """Service client for the Flava ServiceMap Service API.

    This client provides the schema and path to each API endpoint for dependency
    injection.

    For a full list of available parameters and endpoints, please refer to the
    official API reference.
    """

    def get_schema(self):
        """Provide the response schema of the Service API."""
        return schema

    def get_service_path(self, project):
        """Provide the API endpoint path for Service API."""
        return f"/api/v1/reg/service"