{
  "openapi": "3.0.3",
  "info": {
    "title": "ClearCheck API",
    "version": "1.0.0",
    "description": "Cinq API utilitaires : IBAN, carte (Luhn), couleurs/WCAG, téléphone, dates/fuseaux."
  },
  "servers": [
    {
      "url": "https://clearcheck-api.pages.dev"
    }
  ],
  "paths": {
    "/v1/iban/validate": {
      "get": {
        "operationId": "iban_validate_get",
        "summary": "Valider un IBAN",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "iban",
            "in": "query",
            "required": true,
            "description": "IBAN, espaces tolérés",
            "schema": {
              "type": "string"
            },
            "example": "DE89 3704 0044 0532 0130 00"
          }
        ]
      },
      "post": {
        "operationId": "iban_validate_post",
        "summary": "Valider un IBAN",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "iban"
                ],
                "properties": {
                  "iban": {
                    "type": "string",
                    "description": "IBAN, espaces tolérés"
                  }
                }
              },
              "example": {
                "iban": "DE89 3704 0044 0532 0130 00"
              }
            }
          }
        }
      }
    },
    "/v1/iban/format": {
      "get": {
        "operationId": "iban_format_get",
        "summary": "Formater un IBAN valide (blocs de 4)",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "iban",
            "in": "query",
            "required": true,
            "description": "IBAN",
            "schema": {
              "type": "string"
            },
            "example": "FR1420041010050500013M02606"
          }
        ]
      },
      "post": {
        "operationId": "iban_format_post",
        "summary": "Formater un IBAN valide (blocs de 4)",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "iban"
                ],
                "properties": {
                  "iban": {
                    "type": "string",
                    "description": "IBAN"
                  }
                }
              },
              "example": {
                "iban": "FR1420041010050500013M02606"
              }
            }
          }
        }
      }
    },
    "/v1/iban/generate_check_digits": {
      "get": {
        "operationId": "iban_generate_check_digits_get",
        "summary": "Calculer la clé de contrôle à partir du pays et du BBAN",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "country_code",
            "in": "query",
            "required": true,
            "description": "Code ISO du pays",
            "schema": {
              "type": "string"
            },
            "example": "DE"
          },
          {
            "name": "bban",
            "in": "query",
            "required": true,
            "description": "BBAN sans clé",
            "schema": {
              "type": "string"
            },
            "example": "370400440532013000"
          }
        ]
      },
      "post": {
        "operationId": "iban_generate_check_digits_post",
        "summary": "Calculer la clé de contrôle à partir du pays et du BBAN",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "country_code",
                  "bban"
                ],
                "properties": {
                  "country_code": {
                    "type": "string",
                    "description": "Code ISO du pays"
                  },
                  "bban": {
                    "type": "string",
                    "description": "BBAN sans clé"
                  }
                }
              },
              "example": {
                "country_code": "DE",
                "bban": "370400440532013000"
              }
            }
          }
        }
      }
    },
    "/v1/iban/countries": {
      "get": {
        "operationId": "iban_countries_get",
        "summary": "Liste des pays, longueurs et formats",
        "tags": [
          "ClearCheck IBAN Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": []
      }
    },
    "/v1/card/validate": {
      "post": {
        "operationId": "card_validate_post",
        "summary": "Valider un numéro (Luhn + réseau + longueur)",
        "tags": [
          "ClearCheck Card Number Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "number"
                ],
                "properties": {
                  "number": {
                    "type": "string",
                    "description": "Numéro de carte (chiffres, espaces ou tirets)"
                  }
                }
              },
              "example": {
                "number": "4111 1111 1111 1111"
              }
            }
          }
        }
      }
    },
    "/v1/card/network": {
      "post": {
        "operationId": "card_network_post",
        "summary": "Détecter le réseau à partir des premiers chiffres",
        "tags": [
          "ClearCheck Card Number Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "number"
                ],
                "properties": {
                  "number": {
                    "type": "string",
                    "description": "6 premiers chiffres ou plus"
                  }
                }
              },
              "example": {
                "number": "411111"
              }
            }
          }
        }
      }
    },
    "/v1/card/luhn_check_digit": {
      "post": {
        "operationId": "card_luhn_check_digit_post",
        "summary": "Calculer le dernier chiffre de Luhn",
        "tags": [
          "ClearCheck Card Number Validator API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "partial_number"
                ],
                "properties": {
                  "partial_number": {
                    "type": "string",
                    "description": "Numéro sans son dernier chiffre"
                  }
                }
              },
              "example": {
                "partial_number": "411111111111111"
              }
            }
          }
        }
      }
    },
    "/v1/color/convert": {
      "get": {
        "operationId": "color_convert_get",
        "summary": "Convertir une couleur",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "color",
            "in": "query",
            "required": true,
            "description": "Couleur : #1e90ff, rgb(30,144,255), hsl(210,100%,56%), cmyk(88,44,0,0), navy",
            "schema": {
              "type": "string"
            },
            "example": "#1e90ff"
          }
        ]
      },
      "post": {
        "operationId": "color_convert_post",
        "summary": "Convertir une couleur",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "color"
                ],
                "properties": {
                  "color": {
                    "type": "string",
                    "description": "Couleur : #1e90ff, rgb(30,144,255), hsl(210,100%,56%), cmyk(88,44,0,0), navy"
                  }
                }
              },
              "example": {
                "color": "#1e90ff"
              }
            }
          }
        }
      }
    },
    "/v1/color/contrast": {
      "get": {
        "operationId": "color_contrast_get",
        "summary": "Rapport de contraste WCAG entre deux couleurs",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "foreground",
            "in": "query",
            "required": true,
            "description": "Couleur du texte",
            "schema": {
              "type": "string"
            },
            "example": "#767676"
          },
          {
            "name": "background",
            "in": "query",
            "required": true,
            "description": "Couleur du fond",
            "schema": {
              "type": "string"
            },
            "example": "#ffffff"
          }
        ]
      },
      "post": {
        "operationId": "color_contrast_post",
        "summary": "Rapport de contraste WCAG entre deux couleurs",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "foreground",
                  "background"
                ],
                "properties": {
                  "foreground": {
                    "type": "string",
                    "description": "Couleur du texte"
                  },
                  "background": {
                    "type": "string",
                    "description": "Couleur du fond"
                  }
                }
              },
              "example": {
                "foreground": "#767676",
                "background": "#ffffff"
              }
            }
          }
        }
      }
    },
    "/v1/color/suggest_text_color": {
      "get": {
        "operationId": "color_suggest_text_color_get",
        "summary": "Texte noir ou blanc le plus lisible sur un fond",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "background",
            "in": "query",
            "required": true,
            "description": "Couleur du fond",
            "schema": {
              "type": "string"
            },
            "example": "#1e90ff"
          }
        ]
      },
      "post": {
        "operationId": "color_suggest_text_color_post",
        "summary": "Texte noir ou blanc le plus lisible sur un fond",
        "tags": [
          "ClearCheck Color Converter & WCAG Contrast API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "background"
                ],
                "properties": {
                  "background": {
                    "type": "string",
                    "description": "Couleur du fond"
                  }
                }
              },
              "example": {
                "background": "#1e90ff"
              }
            }
          }
        }
      }
    },
    "/v1/phone/parse": {
      "get": {
        "operationId": "phone_parse_get",
        "summary": "Analyser un numéro",
        "tags": [
          "ClearCheck Phone Number Parser API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "phone",
            "in": "query",
            "required": true,
            "description": "Numéro international (+254…) ou national",
            "schema": {
              "type": "string"
            },
            "example": "+254 712 345 678"
          },
          {
            "name": "default_country",
            "in": "query",
            "required": false,
            "description": "ISO 2 lettres, requis si le numéro est national",
            "schema": {
              "type": "string"
            },
            "example": "KE"
          }
        ]
      },
      "post": {
        "operationId": "phone_parse_post",
        "summary": "Analyser un numéro",
        "tags": [
          "ClearCheck Phone Number Parser API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "Numéro international (+254…) ou national"
                  },
                  "default_country": {
                    "type": "string",
                    "description": "ISO 2 lettres, requis si le numéro est national"
                  }
                }
              },
              "example": {
                "phone": "+254 712 345 678",
                "default_country": "KE"
              }
            }
          }
        }
      }
    },
    "/v1/phone/normalize": {
      "get": {
        "operationId": "phone_normalize_get",
        "summary": "Normaliser en E.164 (erreur 422 si invalide)",
        "tags": [
          "ClearCheck Phone Number Parser API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "phone",
            "in": "query",
            "required": true,
            "description": "Numéro",
            "schema": {
              "type": "string"
            },
            "example": "06 12 34 56 78"
          },
          {
            "name": "default_country",
            "in": "query",
            "required": false,
            "description": "ISO 2 lettres",
            "schema": {
              "type": "string"
            },
            "example": "FR"
          }
        ]
      },
      "post": {
        "operationId": "phone_normalize_post",
        "summary": "Normaliser en E.164 (erreur 422 si invalide)",
        "tags": [
          "ClearCheck Phone Number Parser API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "Numéro"
                  },
                  "default_country": {
                    "type": "string",
                    "description": "ISO 2 lettres"
                  }
                }
              },
              "example": {
                "phone": "06 12 34 56 78",
                "default_country": "FR"
              }
            }
          }
        }
      }
    },
    "/v1/phone/countries": {
      "get": {
        "operationId": "phone_countries_get",
        "summary": "Pays couverts et règles de longueur",
        "tags": [
          "ClearCheck Phone Number Parser API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": []
      }
    },
    "/v1/datetime/diff": {
      "get": {
        "operationId": "datetime_diff_get",
        "summary": "Différence entre deux dates-heures",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "description": "ISO 8601",
            "schema": {
              "type": "string"
            },
            "example": "2026-01-31T10:00:00Z"
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "description": "ISO 8601",
            "schema": {
              "type": "string"
            },
            "example": "2026-03-15T08:30:00Z"
          },
          {
            "name": "timezone",
            "in": "query",
            "required": false,
            "description": "Fuseau pour les dates sans offset",
            "schema": {
              "type": "string"
            },
            "example": "Africa/Nairobi"
          }
        ]
      },
      "post": {
        "operationId": "datetime_diff_post",
        "summary": "Différence entre deux dates-heures",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "from": {
                    "type": "string",
                    "description": "ISO 8601"
                  },
                  "to": {
                    "type": "string",
                    "description": "ISO 8601"
                  },
                  "timezone": {
                    "type": "string",
                    "description": "Fuseau pour les dates sans offset"
                  }
                }
              },
              "example": {
                "from": "2026-01-31T10:00:00Z",
                "to": "2026-03-15T08:30:00Z",
                "timezone": "Africa/Nairobi"
              }
            }
          }
        }
      }
    },
    "/v1/datetime/add-business-days": {
      "get": {
        "operationId": "datetime_add_business_days_get",
        "summary": "Ajouter des jours ouvrés",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": true,
            "description": "AAAA-MM-JJ",
            "schema": {
              "type": "string"
            },
            "example": "2026-12-23"
          },
          {
            "name": "days",
            "in": "query",
            "required": true,
            "description": "Entier (négatif accepté)",
            "schema": {
              "type": "string"
            },
            "example": "5"
          },
          {
            "name": "weekend",
            "in": "query",
            "required": false,
            "description": "Jours de repos (défaut sat,sun)",
            "schema": {
              "type": "string"
            },
            "example": "sat,sun"
          },
          {
            "name": "holidays",
            "in": "query",
            "required": false,
            "description": "Jours fériés séparés par des virgules",
            "schema": {
              "type": "string"
            },
            "example": "2026-12-25,2026-12-26"
          }
        ]
      },
      "post": {
        "operationId": "datetime_add_business_days_post",
        "summary": "Ajouter des jours ouvrés",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "date",
                  "days"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "description": "AAAA-MM-JJ"
                  },
                  "days": {
                    "type": "string",
                    "description": "Entier (négatif accepté)"
                  },
                  "weekend": {
                    "type": "string",
                    "description": "Jours de repos (défaut sat,sun)"
                  },
                  "holidays": {
                    "type": "string",
                    "description": "Jours fériés séparés par des virgules"
                  }
                }
              },
              "example": {
                "date": "2026-12-23",
                "days": "5",
                "weekend": "sat,sun",
                "holidays": "2026-12-25,2026-12-26"
              }
            }
          }
        }
      }
    },
    "/v1/datetime/business-days-between": {
      "get": {
        "operationId": "datetime_business_days_between_get",
        "summary": "Jours ouvrés entre deux dates",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": true,
            "description": "AAAA-MM-JJ",
            "schema": {
              "type": "string"
            },
            "example": "2026-12-01"
          },
          {
            "name": "end",
            "in": "query",
            "required": true,
            "description": "AAAA-MM-JJ",
            "schema": {
              "type": "string"
            },
            "example": "2026-12-31"
          },
          {
            "name": "weekend",
            "in": "query",
            "required": false,
            "description": "Jours de repos",
            "schema": {
              "type": "string"
            },
            "example": "sat,sun"
          },
          {
            "name": "holidays",
            "in": "query",
            "required": false,
            "description": "Jours fériés",
            "schema": {
              "type": "string"
            },
            "example": "2026-12-25"
          }
        ]
      },
      "post": {
        "operationId": "datetime_business_days_between_post",
        "summary": "Jours ouvrés entre deux dates",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "start",
                  "end"
                ],
                "properties": {
                  "start": {
                    "type": "string",
                    "description": "AAAA-MM-JJ"
                  },
                  "end": {
                    "type": "string",
                    "description": "AAAA-MM-JJ"
                  },
                  "weekend": {
                    "type": "string",
                    "description": "Jours de repos"
                  },
                  "holidays": {
                    "type": "string",
                    "description": "Jours fériés"
                  }
                }
              },
              "example": {
                "start": "2026-12-01",
                "end": "2026-12-31",
                "weekend": "sat,sun",
                "holidays": "2026-12-25"
              }
            }
          }
        }
      }
    },
    "/v1/datetime/convert-timezone": {
      "get": {
        "operationId": "datetime_convert_timezone_get",
        "summary": "Convertir une date-heure entre fuseaux",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "datetime",
            "in": "query",
            "required": true,
            "description": "ISO 8601",
            "schema": {
              "type": "string"
            },
            "example": "2026-03-29T01:30:00"
          },
          {
            "name": "from_timezone",
            "in": "query",
            "required": false,
            "description": "Fuseau IANA source",
            "schema": {
              "type": "string"
            },
            "example": "Europe/Paris"
          },
          {
            "name": "to_timezone",
            "in": "query",
            "required": true,
            "description": "Fuseau IANA cible",
            "schema": {
              "type": "string"
            },
            "example": "Africa/Nairobi"
          }
        ]
      },
      "post": {
        "operationId": "datetime_convert_timezone_post",
        "summary": "Convertir une date-heure entre fuseaux",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "datetime",
                  "to_timezone"
                ],
                "properties": {
                  "datetime": {
                    "type": "string",
                    "description": "ISO 8601"
                  },
                  "from_timezone": {
                    "type": "string",
                    "description": "Fuseau IANA source"
                  },
                  "to_timezone": {
                    "type": "string",
                    "description": "Fuseau IANA cible"
                  }
                }
              },
              "example": {
                "datetime": "2026-03-29T01:30:00",
                "from_timezone": "Europe/Paris",
                "to_timezone": "Africa/Nairobi"
              }
            }
          }
        }
      }
    },
    "/v1/datetime/now": {
      "get": {
        "operationId": "datetime_now_get",
        "summary": "Heure actuelle dans un fuseau",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "timezone",
            "in": "query",
            "required": false,
            "description": "Fuseau IANA",
            "schema": {
              "type": "string"
            },
            "example": "Asia/Tokyo"
          }
        ]
      }
    },
    "/v1/datetime/timezones": {
      "get": {
        "operationId": "datetime_timezones_get",
        "summary": "Liste des fuseaux IANA",
        "tags": [
          "ClearCheck Date & Timezone Utilities API"
        ],
        "responses": {
          "200": {
            "description": "Succès (JSON)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Requête invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Endpoint inconnu",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "405": {
            "description": "Méthode non autorisée",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Corps trop grand (8 Ko max)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Content-Type non JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Valeur invalide",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Filtre",
            "schema": {
              "type": "string"
            },
            "example": "Africa"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}