{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/suxession-fr/json-schema/suxession-fr-calcul-request-schema.json",
  "title": "CalculRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/suxession-fr-openapi.json#/components/schemas/CalculRequest",
  "properties": {
    "date_deces": {
      "type": "string",
      "format": "date",
      "title": "Date Deces"
    },
    "actif_brut": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Actif Brut"
    },
    "passif": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Passif",
      "default": "0"
    },
    "heritiers": {
      "items": {
        "$ref": "#/$defs/HeritierSchema"
      },
      "type": "array",
      "minItems": 1,
      "title": "Heritiers"
    },
    "situation_conjugale": {
      "$ref": "#/$defs/SituationConjugale",
      "default": "veuf"
    },
    "option_conjoint": {
      "anyOf": [
        {
          "$ref": "#/$defs/OptionConjoint"
        },
        {
          "type": "null"
        }
      ]
    },
    "regime_matrimonial": {
      "anyOf": [
        {
          "$ref": "#/$defs/RegimeMatrimonial"
        },
        {
          "type": "null"
        }
      ]
    },
    "biens_communs": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Biens Communs",
      "default": "0"
    },
    "clause_attribution_integrale": {
      "type": "boolean",
      "title": "Clause Attribution Integrale",
      "default": false
    },
    "acquets_defunt": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Acquets Defunt",
      "default": "0"
    },
    "acquets_conjoint": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Acquets Conjoint",
      "default": "0"
    },
    "option_pacs": {
      "anyOf": [
        {
          "$ref": "#/$defs/OptionPACS"
        },
        {
          "type": "null"
        }
      ]
    },
    "biens_demembres": {
      "items": {
        "$ref": "#/$defs/BienDemembreSchema"
      },
      "type": "array",
      "title": "Biens Demembres"
    },
    "quasi_usufruit": {
      "anyOf": [
        {
          "$ref": "#/$defs/QuasiUsufruitSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "contrats_assurance_vie": {
      "items": {
        "$ref": "#/$defs/ContratAssuranceVieSchema"
      },
      "type": "array",
      "title": "Contrats Assurance Vie"
    },
    "donations_anterieures": {
      "items": {
        "$ref": "#/$defs/DonationAnterieureSchema"
      },
      "type": "array",
      "title": "Donations Anterieures"
    },
    "donations_partage": {
      "items": {
        "$ref": "#/$defs/DonationPartageAnterieureSchema"
      },
      "type": "array",
      "title": "Donations Partage"
    },
    "testament": {
      "anyOf": [
        {
          "$ref": "#/$defs/TestamentSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "tontines": {
      "items": {
        "$ref": "#/$defs/ClauseTontineSchema"
      },
      "type": "array",
      "title": "Tontines"
    },
    "liberalites_graduelles": {
      "items": {
        "$ref": "#/$defs/LiberaliteGraduelleSchema"
      },
      "type": "array",
      "title": "Liberalites Graduelles"
    },
    "raars": {
      "items": {
        "$ref": "#/$defs/RAARSchema"
      },
      "type": "array",
      "title": "Raars"
    },
    "parts_sci": {
      "items": {
        "$ref": "#/$defs/PartsSCISchema"
      },
      "type": "array",
      "title": "Parts Sci"
    },
    "changement_regime": {
      "anyOf": [
        {
          "$ref": "#/$defs/ChangementRegimeSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "dutreil": {
      "anyOf": [
        {
          "$ref": "#/$defs/DutreilSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "deduire_frais_funeraires": {
      "type": "boolean",
      "title": "Deduire Frais Funeraires",
      "default": true
    },
    "residence_principale_valeur": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Residence Principale Valeur",
      "default": "0"
    },
    "residence_principale_eligible": {
      "type": "boolean",
      "title": "Residence Principale Eligible",
      "default": false
    },
    "residence_principale_quote_part_defunt": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Residence Principale Quote Part Defunt"
    },
    "mobilier_reel": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mobilier Reel",
      "default": "0"
    },
    "biens_exoneres": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Biens Exoneres"
    },
    "exoneration_parts_789a": {
      "anyOf": [
        {
          "$ref": "#/$defs/ExonerationParts789ASchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "entreprise_individuelle": {
      "anyOf": [
        {
          "$ref": "#/$defs/EntrepriseIndividuelleSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "partage": {
      "anyOf": [
        {
          "$ref": "#/$defs/PartageSchema"
        },
        {
          "type": "null"
        }
      ]
    },
    "tous_enfants_communs": {
      "type": "boolean",
      "title": "Tous Enfants Communs",
      "default": true
    },
    "parents_vivants": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "deux",
            "un",
            "aucun"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Parents Vivants"
    },
    "paiement_fractionne": {
      "type": "boolean",
      "title": "Paiement Fractionne",
      "default": false
    },
    "dont_immobilier": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Dont Immobilier",
      "default": "0"
    },
    "liquidites": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Liquidites",
      "default": "0"
    },
    "patrimoine_forestier_rural": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Patrimoine Forestier Rural",
      "default": "0"
    },
    "patrimoine_monument_historique": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Patrimoine Monument Historique",
      "default": "0"
    },
    "patrimoine_conjoint_propre": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Patrimoine Conjoint Propre",
      "default": "0"
    },
    "dettes_immobilieres": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Dettes Immobilieres",
      "default": "0"
    },
    "duree_credit_immo_restante": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 40.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Duree Credit Immo Restante"
    },
    "revenus_n_moins_1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Revenus N Moins 1"
    },
    "impot_revenu_n_moins_1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Impot Revenu N Moins 1"
    },
    "pays_residence_defunt": {
      "type": "string",
      "maxLength": 2,
      "minLength": 2,
      "title": "Pays Residence Defunt",
      "default": "FR"
    },
    "valeur_biens_france": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Valeur Biens France"
    },
    "valeur_biens_etranger": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Valeur Biens Etranger",
      "default": "0"
    },
    "valeur_immeubles_france": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Valeur Immeubles France",
      "default": "0"
    },
    "valeur_immeubles_corse": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Valeur Immeubles Corse",
      "default": "0"
    },
    "valeur_immeubles_etranger": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Valeur Immeubles Etranger",
      "default": "0"
    },
    "resident_conventionnel_etranger": {
      "type": "boolean",
      "title": "Resident Conventionnel Etranger",
      "default": false
    },
    "pays_biens_etranger": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2,
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Pays Biens Etranger"
    },
    "droits_payes_etranger": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        }
      ],
      "title": "Droits Payes Etranger",
      "default": "0"
    },
    "persona": {
      "type": "string",
      "enum": [
        "planificateur",
        "heritier",
        "pro"
      ],
      "title": "Persona",
      "default": "planificateur"
    },
    "age_de_cujus": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 150.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Age De Cujus"
    },
    "donation_entre_epoux": {
      "type": "boolean",
      "title": "Donation Entre Epoux",
      "default": false
    },
    "leviers_exclus": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Leviers Exclus"
    },
    "valeurs_leviers": {
      "additionalProperties": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string"
          }
        ]
      },
      "type": "object",
      "title": "Valeurs Leviers"
    },
    "preferences": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 20,
      "title": "Preferences"
    },
    "website": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Website",
      "hidden": true
    }
  },
  "type": "object",
  "required": [
    "date_deces",
    "actif_brut",
    "heritiers"
  ],
  "$defs": {
    "BienDemembreSchema": {
      "properties": {
        "valeur_pleine_propriete": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Pleine Propriete"
        },
        "age_usufruitier": {
          "type": "integer",
          "maximum": 150.0,
          "minimum": 0.0,
          "title": "Age Usufruitier"
        },
        "qualite_defunt": {
          "$ref": "#/$defs/QualiteDefunt",
          "default": "plein_proprietaire"
        },
        "est_residence_principale": {
          "type": "boolean",
          "title": "Est Residence Principale",
          "default": false
        },
        "eligible_rp": {
          "type": "boolean",
          "title": "Eligible Rp",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "valeur_pleine_propriete",
        "age_usufruitier"
      ],
      "title": "BienDemembreSchema"
    },
    "ChangementRegimeSchema": {
      "properties": {
        "ancien_regime": {
          "$ref": "#/$defs/RegimeMatrimonial"
        },
        "nouveau_regime": {
          "$ref": "#/$defs/RegimeMatrimonial"
        },
        "date_changement": {
          "type": "string",
          "format": "date",
          "title": "Date Changement"
        },
        "avantage_matrimonial": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Avantage Matrimonial"
        },
        "enfants_non_communs": {
          "type": "boolean",
          "title": "Enfants Non Communs",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "ancien_regime",
        "nouveau_regime",
        "date_changement",
        "avantage_matrimonial"
      ],
      "title": "ChangementRegimeSchema",
      "description": "Changement de régime matrimonial (art. 1527 C. civ.)."
    },
    "ChefDe": {
      "type": "string",
      "enum": [
        "de_cujus",
        "survivant"
      ],
      "title": "ChefDe",
      "description": "Donateur d'origine du lot dans une donation-partage conjonctive (art. 1076-1)."
    },
    "ClauseTontineSchema": {
      "properties": {
        "valeur_bien": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Bien"
        },
        "habitation_principale": {
          "type": "boolean",
          "title": "Habitation Principale",
          "default": false
        },
        "nombre_acquereurs": {
          "type": "integer",
          "minimum": 2.0,
          "title": "Nombre Acquereurs",
          "default": 2
        }
      },
      "type": "object",
      "required": [
        "valeur_bien"
      ],
      "title": "ClauseTontineSchema",
      "description": "Clause de tontine (art. 754 A CGI)."
    },
    "ContratAssuranceVieSchema": {
      "properties": {
        "montant_total": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant Total"
        },
        "date_souscription": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Date Souscription"
        },
        "primes_avant_70_ans": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Primes Avant 70 Ans",
          "default": "0"
        },
        "primes_apres_70_ans": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Primes Apres 70 Ans",
          "default": "0"
        },
        "beneficiaire_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Beneficiaire Index",
          "default": 0
        },
        "clause_demembree": {
          "type": "boolean",
          "title": "Clause Demembree",
          "default": false
        },
        "type_enveloppe": {
          "$ref": "#/$defs/TypeEnveloppe",
          "default": "av"
        },
        "primes_avant_13_10_1998": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Primes Avant 13 10 1998",
          "default": "0"
        },
        "primes_apres_13_10_1998": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Primes Apres 13 10 1998",
          "default": "0"
        }
      },
      "type": "object",
      "required": [
        "montant_total"
      ],
      "title": "ContratAssuranceVieSchema"
    },
    "DonationAnterieureSchema": {
      "properties": {
        "montant": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant"
        },
        "date_donation": {
          "type": "string",
          "format": "date",
          "title": "Date Donation"
        },
        "beneficiaire_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Beneficiaire Index"
        },
        "type_donation": {
          "$ref": "#/$defs/TypeDonation",
          "default": "classique"
        },
        "nature_rapport": {
          "$ref": "#/$defs/NatureRapport",
          "default": "rapportable"
        }
      },
      "type": "object",
      "required": [
        "montant",
        "date_donation",
        "beneficiaire_index"
      ],
      "title": "DonationAnterieureSchema"
    },
    "DonationPartageAnterieureSchema": {
      "properties": {
        "montant": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant"
        },
        "date_acte": {
          "type": "string",
          "format": "date",
          "title": "Date Acte"
        },
        "beneficiaire_indices": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "minItems": 1,
          "title": "Beneficiaire Indices"
        },
        "nature_bien": {
          "$ref": "#/$defs/NatureBien",
          "default": "immobilier"
        },
        "usufruit_reserve": {
          "type": "boolean",
          "title": "Usufruit Reserve",
          "default": false
        },
        "clause_reversion": {
          "type": "boolean",
          "title": "Clause Reversion",
          "default": false
        },
        "age_donateur_au_jour_donation": {
          "type": "integer",
          "maximum": 150.0,
          "minimum": 0.0,
          "title": "Age Donateur Au Jour Donation",
          "default": 0
        },
        "reincorporation": {
          "type": "boolean",
          "title": "Reincorporation",
          "default": false
        },
        "conjonctive": {
          "type": "boolean",
          "title": "Conjonctive",
          "default": false
        },
        "montant_donateur_2": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant Donateur 2",
          "default": "0"
        },
        "clause_redistribution": {
          "type": "boolean",
          "title": "Clause Redistribution",
          "default": false
        },
        "lots": {
          "items": {
            "$ref": "#/$defs/LotDonationPartageSchema"
          },
          "type": "array",
          "title": "Lots",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "montant",
        "date_acte",
        "beneficiaire_indices"
      ],
      "title": "DonationPartageAnterieureSchema",
      "description": "Donation-partage antérieure (art. 1075-1078 C. civ., art. 776 A CGI)."
    },
    "DutreilSchema": {
      "properties": {
        "valeur_entreprise": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Entreprise"
        },
        "engagement_collectif": {
          "type": "boolean",
          "title": "Engagement Collectif",
          "default": false
        },
        "duree_engagement_collectif_ans": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Duree Engagement Collectif Ans",
          "default": 2
        },
        "engagement_individuel": {
          "type": "boolean",
          "title": "Engagement Individuel",
          "default": false
        },
        "duree_engagement_individuel_ans": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Duree Engagement Individuel Ans",
          "default": 6
        },
        "pourcentage_detenu_financier": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Pourcentage Detenu Financier",
          "default": "0"
        },
        "pourcentage_detenu_vote": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Pourcentage Detenu Vote",
          "default": "0"
        },
        "societe_cotee": {
          "type": "boolean",
          "title": "Societe Cotee",
          "default": false
        },
        "fonction_direction": {
          "type": "boolean",
          "title": "Fonction Direction",
          "default": false
        },
        "activite_eligible": {
          "type": "boolean",
          "title": "Activite Eligible",
          "default": true
        },
        "engagement_repute_acquis": {
          "type": "boolean",
          "title": "Engagement Repute Acquis",
          "default": false
        },
        "duree_detention_defunt_ou_conjoint_ans": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Duree Detention Defunt Ou Conjoint Ans",
          "default": 0
        },
        "fonction_direction_defunt_ou_conjoint_ans": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Fonction Direction Defunt Ou Conjoint Ans",
          "default": 0
        },
        "engagement_collectif_post_mortem": {
          "type": "boolean",
          "title": "Engagement Collectif Post Mortem",
          "default": false
        },
        "date_signature_engagement_post_mortem": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Date Signature Engagement Post Mortem"
        },
        "valeur_actifs_somptuaires": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Actifs Somptuaires",
          "default": "0"
        }
      },
      "type": "object",
      "required": [
        "valeur_entreprise"
      ],
      "title": "DutreilSchema"
    },
    "EntrepriseIndividuelleSchema": {
      "properties": {
        "valeur_entreprise": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Entreprise"
        },
        "date_transmission": {
          "type": "string",
          "format": "date",
          "title": "Date Transmission"
        },
        "activite_principale": {
          "type": "string",
          "title": "Activite Principale",
          "description": "Une de : industrielle, commerciale, artisanale, agricole, libérale, gestion_patrimoine (exclu § I-15), location_meublée (exclu v1, jurisprudence en cours).",
          "default": "commerciale"
        },
        "location_gerance": {
          "type": "string",
          "title": "Location Gerance",
          "description": "Une de : aucune, à_héritier (OK § I-15), à_tiers (exclu § I-15).",
          "default": "aucune"
        },
        "mode_acquisition_defunt": {
          "type": "string",
          "title": "Mode Acquisition Defunt",
          "description": "Une de : onéreux, gratuit (héritage/donation reçue), création.",
          "default": "onéreux"
        },
        "duree_detention_defunt_ans": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Duree Detention Defunt Ans",
          "default": 0
        },
        "quote_part_heritiers_signataires": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1.0,
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Quote Part Heritiers Signataires",
          "default": "1.0"
        },
        "poursuite_exploitation": {
          "type": "string",
          "title": "Poursuite Exploitation",
          "description": "Une de : un_héritier_exploite, société_transformée_100pct (§ II-B-70), mandataire_mineur_incapable (§ II-C-100), aucune (→ exo refusée).",
          "default": "un_héritier_exploite"
        }
      },
      "type": "object",
      "required": [
        "valeur_entreprise",
        "date_transmission"
      ],
      "title": "EntrepriseIndividuelleSchema",
      "description": "Art. 787 C CGI — Exonération 75 % entreprise individuelle (refonte 2026-05-05).\n\nConditions cumulatives (LEGIARTI000053542704, version 2026-02-21+) :\n- a) Détention > 2 ans par défunt si onéreux, sinon aucun délai\n- b) Engagement de conservation 6 ans (LF 2026 ; 4 ans avant 2026-02-21)\n- c) Un héritier (ou société 100 % bénéficiaires, ou mandataire pour mineur)\n     poursuit l'exploitation 3 ans"
    },
    "ExonerationParts789ASchema": {
      "properties": {
        "valeur_parts": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Parts"
        },
        "engagement_collectif": {
          "type": "boolean",
          "title": "Engagement Collectif",
          "default": false
        },
        "societe_cotee": {
          "type": "boolean",
          "title": "Societe Cotee",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "valeur_parts"
      ],
      "title": "ExonerationParts789ASchema",
      "description": "Art. 789 A CGI — Exonération 50% parts/actions avec engagement collectif."
    },
    "HeritierSchema": {
      "properties": {
        "lien_parente": {
          "$ref": "#/$defs/LienParente"
        },
        "age": {
          "type": "integer",
          "maximum": 150.0,
          "minimum": 0.0,
          "title": "Age"
        },
        "handicap": {
          "type": "boolean",
          "title": "Handicap",
          "default": false
        },
        "cohabitation_defunt": {
          "type": "boolean",
          "title": "Cohabitation Defunt",
          "default": false
        },
        "celibataire_veuf_divorce": {
          "type": "boolean",
          "title": "Celibataire Veuf Divorce",
          "default": false
        },
        "representant_de": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Representant De"
        },
        "lien_parente_represente": {
          "anyOf": [
            {
              "$ref": "#/$defs/LienParente"
            },
            {
              "type": "null"
            }
          ]
        },
        "pays_residence": {
          "type": "string",
          "maxLength": 2,
          "minLength": 2,
          "title": "Pays Residence",
          "default": "FR"
        },
        "domicilie_france_6_sur_10": {
          "type": "boolean",
          "title": "Domicilie France 6 Sur 10",
          "default": false
        },
        "enfant_non_commun": {
          "type": "boolean",
          "title": "Enfant Non Commun",
          "default": false
        },
        "a_renonce": {
          "type": "boolean",
          "title": "A Renonce",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "lien_parente",
        "age"
      ],
      "title": "HeritierSchema"
    },
    "LegsSchema": {
      "properties": {
        "type_legs": {
          "$ref": "#/$defs/TypeLegs"
        },
        "beneficiaire_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Beneficiaire Index"
        },
        "montant": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Montant"
        },
        "quote_part": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1.0,
              "minimum": 0.0
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quote Part"
        },
        "charge": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Charge",
          "default": "0"
        }
      },
      "type": "object",
      "required": [
        "type_legs",
        "beneficiaire_index"
      ],
      "title": "LegsSchema",
      "description": "Legs testamentaire (art. 1002-1024 C. civ.)."
    },
    "LiberaliteGraduelleSchema": {
      "properties": {
        "valeur_actif": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Actif"
        },
        "droits_premiere_transmission": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Droits Premiere Transmission"
        },
        "beneficiaire_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Beneficiaire Index"
        }
      },
      "type": "object",
      "required": [
        "valeur_actif",
        "droits_premiere_transmission",
        "beneficiaire_index"
      ],
      "title": "LiberaliteGraduelleSchema",
      "description": "Libéralité graduelle/résiduelle (art. 784 C CGI)."
    },
    "LienParente": {
      "type": "string",
      "enum": [
        "enfant",
        "petit_enfant",
        "arriere_petit_enfant",
        "conjoint",
        "pacse",
        "frere_soeur",
        "neveu_niece",
        "pere_mere",
        "parent_4e_degre",
        "autre"
      ],
      "title": "LienParente"
    },
    "LotDonationPartageSchema": {
      "properties": {
        "beneficiaire_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Beneficiaire Index"
        },
        "montant_lot": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant Lot"
        },
        "du_chef_de": {
          "$ref": "#/$defs/ChefDe",
          "default": "de_cujus"
        }
      },
      "type": "object",
      "required": [
        "beneficiaire_index",
        "montant_lot"
      ],
      "title": "LotDonationPartageSchema",
      "description": "Lot individuel dans une donation-partage conjonctive redistribuée."
    },
    "NatureBien": {
      "type": "string",
      "enum": [
        "immobilier",
        "mobilier"
      ],
      "title": "NatureBien",
      "description": "Nature du bien transmis (pour donation-partage)."
    },
    "NatureRapport": {
      "type": "string",
      "enum": [
        "rapportable",
        "hors_part",
        "renoncant"
      ],
      "title": "NatureRapport",
      "description": "Nature civile d'une donation pour le rapport entre héritiers (art. 843 C. civ.).\n\nDistinct du rappel fiscal (art. 784 CGI) :\n- rapport civil → rétablissement de l'égalité au partage\n- rappel fiscal → calcul des droits de succession\n\nSource : art. 843-845 C. civ. (LEGIARTI000006432755)"
    },
    "OptionConjoint": {
      "type": "string",
      "enum": [
        "usufruit_total",
        "quart_pleine_propriete",
        "quart_pp_trois_quart_us",
        "je_ne_sais_pas"
      ],
      "title": "OptionConjoint"
    },
    "OptionPACS": {
      "type": "string",
      "enum": [
        "separation",
        "indivision"
      ],
      "title": "OptionPACS",
      "description": "Option du régime patrimonial PACS (art. 515-5 / 515-5-1 C. civ.).\n\n- SEPARATION : régime par défaut (art. 515-5). Chacun conserve ses biens\n  personnels. Indivision présomptive 50/50 sur biens sans preuve d'origine\n  exclusive (al. 4).\n- INDIVISION : option conventionnelle (art. 515-5-1). Biens acquis depuis\n  la convention indivis 50/50, hors exceptions art. 515-5-2 (biens propres\n  antérieurs, donations/successions reçues)."
    },
    "PartageSchema": {
      "properties": {
        "actif_net_partage": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Actif Net Partage"
        },
        "soulte": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Soulte",
          "default": "0"
        }
      },
      "type": "object",
      "required": [
        "actif_net_partage"
      ],
      "title": "PartageSchema",
      "description": "Art. 746 CGI — Droit de partage."
    },
    "PartsSCISchema": {
      "properties": {
        "valeur_parts": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Valeur Parts"
        },
        "taux_decote": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Taux Decote",
          "default": "20"
        }
      },
      "type": "object",
      "required": [
        "valeur_parts"
      ],
      "title": "PartsSCISchema",
      "description": "Parts de SCI (décote jurisprudentielle)."
    },
    "QualiteDefunt": {
      "type": "string",
      "enum": [
        "plein_proprietaire",
        "usufruitier",
        "nu_proprietaire"
      ],
      "title": "QualiteDefunt"
    },
    "QuasiUsufruitSchema": {
      "properties": {
        "montant": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0.0
            },
            {
              "type": "string"
            }
          ],
          "title": "Montant"
        },
        "usufruit_legal": {
          "type": "boolean",
          "title": "Usufruit Legal",
          "default": true
        },
        "usufruit_conventionnel": {
          "type": "boolean",
          "title": "Usufruit Conventionnel",
          "default": false
        },
        "objectif_principalement_fiscal": {
          "type": "boolean",
          "title": "Objectif Principalement Fiscal",
          "default": false
        },
        "beneficiaire_nu_propriete_index": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Beneficiaire Nu Propriete Index"
        }
      },
      "type": "object",
      "required": [
        "montant"
      ],
      "title": "QuasiUsufruitSchema"
    },
    "RAARSchema": {
      "properties": {
        "heritier_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Heritier Index"
        }
      },
      "type": "object",
      "required": [
        "heritier_index"
      ],
      "title": "RAARSchema",
      "description": "RAAR — Renonciation Anticipée à l'Action en Réduction (art. 929-930 C. civ.)."
    },
    "RegimeMatrimonial": {
      "type": "string",
      "enum": [
        "communaute_legale",
        "separation_de_biens",
        "participation_aux_acquets",
        "communaute_universelle",
        "indivision"
      ],
      "title": "RegimeMatrimonial"
    },
    "SituationConjugale": {
      "type": "string",
      "enum": [
        "marie",
        "pacse",
        "concubin",
        "celibataire",
        "veuf",
        "divorce"
      ],
      "title": "SituationConjugale"
    },
    "TestamentSchema": {
      "properties": {
        "legs": {
          "items": {
            "$ref": "#/$defs/LegsSchema"
          },
          "type": "array",
          "minItems": 1,
          "title": "Legs"
        }
      },
      "type": "object",
      "required": [
        "legs"
      ],
      "title": "TestamentSchema",
      "description": "Testament (art. 895-1002 C. civ.)."
    },
    "TypeDonation": {
      "type": "string",
      "enum": [
        "classique",
        "790g",
        "790a_bis",
        "790b",
        "790c",
        "790d",
        "donation_partage",
        "inconnue"
      ],
      "title": "TypeDonation",
      "description": "Type de donation pour le rappel fiscal."
    },
    "TypeEnveloppe": {
      "type": "string",
      "enum": [
        "av",
        "capitalisation",
        "per"
      ],
      "title": "TypeEnveloppe",
      "description": "Type d'enveloppe financière."
    },
    "TypeLegs": {
      "type": "string",
      "enum": [
        "universel",
        "a_titre_universel",
        "particulier"
      ],
      "title": "TypeLegs",
      "description": "Type de legs testamentaire (art. 1002-1024 C. civ.)."
    }
  }
}