addedInput schema / properties / count
Added value: +{
+ "description": "How many (fingers, teeth …). Default 1.",
+ "type": "integer"
+}
addedInput schema / properties / fraction
Added value: +{
+ "description": "دیه fraction between 0 and 1 — only when no injury_type fits.",
+ "type": "number"
+}
addedInput schema / properties / gender
Added value: +{
+ "description": "Gender of the injured/deceased.",
+ "enum": [
+ "male",
+ "female"
+ ],
+ "type": "string"
+}
removedInput schema / properties / injury
Removed value: -{
- "description": "Injury in Persian, e.g. «شکستگی دست»، «از دست دادن یک انگشت»، «دندان».",
- "type": "string"
-}
addedInput schema / properties / injury_type
Added value: +{
+ "description": "Injury key from the standard list (e.g. full = دیهٔ کامل, hand_one = یک دست, tooth_front = دندان جلویی). Pick the key, not free text.",
+ "enum": [
+ "full",
+ "eye_one",
+ "eye_both",
+ "ear_one",
+ "ear_both",
+ "hand_one",
+ "hand_both",
+ "foot_one",
+ "foot_both",
+ "finger_thumb",
+ "finger_other",
+ "finger_phalanx",
+ "tooth_front",
+ "tooth_molar",
+ "nose_full",
+ "nose_fracture",
+ "kidney_one",
+ "kidney_both",
+ "rib_heart",
+ "rib_each",
+ "rib_other",
+ "spleen",
+ "skull_fracture",
+ "spine_fracture",
+ "spine_fracture_healed",
+ "spinal_cord",
+ "eyelid_upper",
+ "eyelid_lower",
+ "testicle_left",
+ "testicle_right"
+ ],
+ "type": "string"
+}
removedInput schema / properties / is_haram_month
Removed value: -{
- "description": "Whether it occurred in a حرام month (تغلیظ applies to دیهٔ نفس).",
- "type": "boolean"
-}
addedInput schema / properties / sacred_month
Added value: +{
+ "description": "Occurred in a ماه حرام (تغلیظ — applies to دیهٔ نفس only).",
+ "type": "boolean"
+}
changedInput schema / properties / year / description
Previous value: -"Persian year (e.g. 1405). Defaults to the current year."New value: +"Persian year (e.g. 1405). Defaults to the latest loaded rate."
changedInput schema / required
Previous value: -[
- "injury"
-]New value: +[]