{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/direction-generale-des-finances-publiques/json-schema/direction-generale-des-finances-publiques-demande-restit-verif-iban-schema.json",
  "title": "DemandeRestitVerifIban",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/direction-generale-des-finances-publiques-ficoba-openapi.yml#/components/schemas/DemandeRestitVerifIban",
  "type": "object",
  "properties": {
    "dateDemande": {
      "type": "string"
    },
    "motif": {
      "type": "string"
    },
    "siretDemandeur": {
      "type": "string"
    },
    "sirenDemandeur": {
      "type": "string"
    },
    "justification": {
      "type": "string"
    },
    "criteresRecherche": {
      "$ref": "#/$defs/CriteresRechercheVerifTitulaireIban"
    }
  },
  "$defs": {
    "CriteresRechercheVerifTitulaireIban": {
      "type": "object",
      "properties": {
        "iban": {
          "type": "string"
        },
        "recherchePP": {
          "type": "string"
        },
        "recherchePM": {
          "type": "string"
        },
        "rechercheSirenSiret": {
          "type": "string"
        },
        "etatCivil": {
          "$ref": "#/$defs/EtatCivilTitulaire"
        },
        "lieuNaissance": {
          "$ref": "#/$defs/LieuNaissance"
        },
        "designation": {
          "$ref": "#/$defs/Designation"
        },
        "siret": {
          "type": "string"
        },
        "siren": {
          "type": "string"
        }
      }
    },
    "Designation": {
      "type": "object",
      "properties": {
        "raisonSociale": {
          "type": "string"
        },
        "sigle": {
          "type": "string"
        },
        "enseigne": {
          "type": "string"
        },
        "codeCategorieJuridique": {
          "type": "string"
        }
      }
    },
    "EtatCivilTitulaire": {
      "type": "object",
      "properties": {
        "nom": {
          "type": "string"
        },
        "prenoms": {
          "type": "string"
        },
        "sexe": {
          "type": "string"
        },
        "anneeNaissance": {
          "type": "string"
        },
        "moisNaissance": {
          "type": "string"
        },
        "jourNaissance": {
          "type": "string"
        }
      }
    },
    "LieuNaissance": {
      "type": "object",
      "properties": {
        "codePaysNaissance": {
          "type": "string"
        },
        "codeDepartementNaissance": {
          "type": "string"
        },
        "codeCommuneNaissance": {
          "type": "string"
        }
      }
    }
  }
}