diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py
index <HASH>..<HASH> 100644
--- a/duniterpy/api/endpoint.py
+++ b/duniterpy/api/endpoint.py
@@ -130,12 +130,6 @@ class UnknownEndpoint(Endpoint):
         return hash((self.api, self.properties))
 
 
-ERROR_SCHEMA = {
-    "type": "object",
-    "properties": {"ucode": {"type": "number"}, "message": {"type": "string"}},
-    "required": ["ucode", "message"],
-}
-
 # required to type hint cls in classmethod
 BMAEndpointType = TypeVar("BMAEndpointType", bound="BMAEndpoint")
[mod] Remove not used ERROR_SCHEMA which is a duplication of it in api/client.py