Download apps/documents/services/folder_template/default_templates.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 16.5 kB
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/documents/services/folder_template/default_templates.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/documents/services/folder_template/default_templates.py
-
curl -L -o default_templates.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/documents/services/folder_template/default_templates.py
16.5 kB
| """Business logic services.""" | |
| from __future__ import annotations | |
| from typing import Any | |
| def get_default_folder_templates() -> list[dict[str, Any]]: | |
| return [ | |
| { | |
| "name": "合同文件夹", | |
| "template_type": "contract", | |
| "case_types": [], | |
| "case_stages": [], | |
| "contract_types": ["all"], | |
| "legal_statuses": [], | |
| "legal_status_match_mode": "any", | |
| "structure": { | |
| "children": [ | |
| { | |
| "id": "folder_1767248233072_s9rssw63q", | |
| "name": "1-律师资料", | |
| "children": [ | |
| {"id": "folder_1767248282647_e4290qqcu", "name": "1-合同", "children": []}, | |
| {"id": "folder_1767248291398_z3eo83nhg", "name": "2-补充协议", "children": []}, | |
| {"id": "folder_1767248296585_1sr2d2dxa", "name": "3-发票", "children": []}, | |
| {"id": "folder_1767253153361_onc3r034w", "name": "4-其他资料", "children": []}, | |
| ], | |
| }, | |
| {"id": "folder_1767248312320_4vivqk7yv", "name": "2-客户资料", "children": []}, | |
| ] | |
| }, | |
| "is_default": True, | |
| "is_active": True, | |
| }, | |
| { | |
| "name": "民事一审起诉", | |
| "template_type": "case", | |
| "case_types": ["civil"], | |
| "case_stages": ["first_trial"], | |
| "contract_types": [], | |
| "legal_statuses": ["plaintiff"], | |
| "legal_status_match_mode": "any", | |
| "structure": { | |
| "children": [ | |
| { | |
| "id": "folder_1767233774579_ljsxh6im4", | |
| "name": "一审", | |
| "children": [ | |
| { | |
| "id": "folder_1767233814952_7hatlncsj", | |
| "name": "1-立案材料", | |
| "children": [ | |
| { | |
| "id": "folder_1767234083753_3tn5gbwkr", | |
| "name": "1-起诉状和反诉答辩状", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767234093146_etqnssxu5", | |
| "name": "2-当事人身份证明", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767234105784_45wytn65d", | |
| "name": "3-委托材料", | |
| "children": [], | |
| }, | |
| {"id": "folder_1767234130228_ntijfdj3a", "name": "4-证据目录", "children": []}, | |
| {"id": "folder_1767234139086_lfaf1tf7b", "name": "5-证据材料", "children": []}, | |
| { | |
| "id": "folder_1767234153997_gsdc2w6bm", | |
| "name": "6-送达地址确认书", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767234166134_ap83tlcct", | |
| "name": "7-退费账户确认书", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767234707146_8q1ifw47t", | |
| "name": "8-保全申请书及保函", | |
| "children": [], | |
| }, | |
| {"id": "folder_1767234727828_x3hrbie59", "name": "9-其他立案材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1767233835345_efzv1utkj", | |
| "name": "2-庭审准备", | |
| "children": [ | |
| {"id": "folder_1767234891108_pyy4exuwd", "name": "1-问题清单", "children": []}, | |
| {"id": "folder_1767234518262_elq8uyz42", "name": "2-庭审提纲", "children": []}, | |
| {"id": "folder_1767234524908_iis0tq9uq", "name": "3-质证意见", "children": []}, | |
| {"id": "folder_1767234538118_mnzy80by9", "name": "4-时间轴大事记", "children": []}, | |
| {"id": "folder_1767234600551_e0qk8nqn1", "name": "5-代理意见", "children": []}, | |
| {"id": "folder_1767236546614_ed6nk20dm", "name": "6-其他材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1767235143559_vaoblr4vv", | |
| "name": "3-结案文书", | |
| "children": [ | |
| {"id": "folder_1767235178392_9gto7zcyu", "name": "1-撤诉申请书", "children": []}, | |
| { | |
| "id": "folder_1767235187390_v79wdfkh8", | |
| "name": "2-解除查封申请书", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767235227090_0yontho86", | |
| "name": "3-和解(调解)协议", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767235720367_ij59gezdq", | |
| "name": "4-申请退费(待申请)", | |
| "children": [], | |
| }, | |
| ], | |
| }, | |
| {"id": "folder_1767235760272_vga4rbfld", "name": "4-邮件往来", "children": []}, | |
| ], | |
| } | |
| ] | |
| }, | |
| "is_default": True, | |
| "is_active": True, | |
| }, | |
| { | |
| "name": "民事一审答辩", | |
| "template_type": "case", | |
| "case_types": ["civil"], | |
| "case_stages": ["first_trial"], | |
| "contract_types": [], | |
| "legal_statuses": ["defendant"], | |
| "legal_status_match_mode": "any", | |
| "structure": { | |
| "children": [ | |
| { | |
| "id": "folder_1767240664617_jonttgx5", | |
| "name": "一审", | |
| "children": [ | |
| { | |
| "id": "folder_1767240745584_tdw42vw1g", | |
| "name": "1-答辩材料", | |
| "children": [ | |
| { | |
| "id": "folder_1767240769278_0krhuz3yz", | |
| "name": "1-答辩状(反诉状)", | |
| "children": [], | |
| }, | |
| {"id": "folder_1767240808378_pq2gqjckd", "name": "2-证据目录", "children": []}, | |
| {"id": "folder_1767240820092_dg7vs5hu6", "name": "3-证据材料", "children": []}, | |
| { | |
| "id": "folder_1767240849185_qvqifo6kk", | |
| "name": "4-当事人身份证明", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1767240877211_s0204ub4b", | |
| "name": "5-委托材料", | |
| "children": [], | |
| }, | |
| {"id": "folder_1767240916751_587ozn5gn", "name": "6-其他答辩材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1767240664620_qul256kc", | |
| "name": "2-庭审准备", | |
| "children": [ | |
| {"id": "folder_1767240664620_fxxtqw07", "name": "1-问题清单", "children": []}, | |
| {"id": "folder_1767240664620_hwz7zkcx", "name": "2-庭审提纲", "children": []}, | |
| {"id": "folder_1767240664620_tjsup8ib", "name": "3-质证意见", "children": []}, | |
| {"id": "folder_1767240664620_vlgiac3z", "name": "4-时间轴大事记", "children": []}, | |
| {"id": "folder_1767240664621_zhldh3ak", "name": "5-代理意见", "children": []}, | |
| {"id": "folder_1767240664621_48w1vely", "name": "6-其他材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1767240664621_mkoie73p", | |
| "name": "4-结案文书", | |
| "children": [ | |
| { | |
| "id": "folder_1767240664622_c040f0we", | |
| "name": "1-和解(调解)协议", | |
| "children": [], | |
| }, | |
| {"id": "folder_1767240664622_ckctj4n3", "name": "2-其他结案文书", "children": []}, | |
| ], | |
| }, | |
| {"id": "folder_1767240664622_rtqxrxy4", "name": "5-邮件往来", "children": []}, | |
| ], | |
| } | |
| ] | |
| }, | |
| "is_default": True, | |
| "is_active": True, | |
| }, | |
| { | |
| "name": "申请执行文件夹", | |
| "template_type": "case", | |
| "case_types": ["civil", "execution"], | |
| "case_stages": ["enforcement"], | |
| "contract_types": [], | |
| "legal_statuses": ["applicant"], | |
| "legal_status_match_mode": "any", | |
| "structure": { | |
| "children": [ | |
| { | |
| "id": "folder_1774250377874_3xc8kz0e", | |
| "name": "执行", | |
| "children": [ | |
| { | |
| "id": "folder_1774250377874_wgkg21aw", | |
| "name": "1-立案材料", | |
| "children": [ | |
| {"id": "folder_1774250377875_km2h1b4f", "name": "1-强制执行申请书", "children": []}, | |
| {"id": "folder_1774250377876_a93zfd2s", "name": "2-当事人身份证明", "children": []}, | |
| {"id": "folder_1774250377876_aepfz20q", "name": "3-委托材料", "children": []}, | |
| {"id": "folder_1774250377877_07bdwj6d", "name": "4-限制性措施", "children": []}, | |
| { | |
| "id": "folder_1774250377878_bd72h67r", | |
| "name": "5-执行依据及生效证明", | |
| "children": [], | |
| }, | |
| {"id": "folder_1774250377878_991ago5r", "name": "6-送达地址确认书", "children": []}, | |
| {"id": "folder_1774250377879_1tztdlni", "name": "7-退费账户确认书", "children": []}, | |
| ], | |
| }, | |
| {"id": "folder_1774250377885_1r5w975h", "name": "2-邮件往来", "children": []}, | |
| ], | |
| } | |
| ] | |
| }, | |
| "is_default": False, | |
| "is_active": True, | |
| }, | |
| { | |
| "name": "劳动仲裁答辩", | |
| "template_type": "case", | |
| "case_types": ["civil"], | |
| "case_stages": ["labor_arbitration"], | |
| "contract_types": [], | |
| "legal_statuses": ["respondent"], | |
| "legal_status_match_mode": "any", | |
| "structure": { | |
| "children": [ | |
| { | |
| "id": "folder_1776139141575_odpapyn0", | |
| "name": "劳动仲裁", | |
| "children": [ | |
| { | |
| "id": "folder_1776139141575_pifwi84v", | |
| "name": "1-答辩材料", | |
| "children": [ | |
| {"id": "folder_1776139141576_3aanfh6o", "name": "1-答辩状", "children": []}, | |
| {"id": "folder_1776139141576_tvuwrv2n", "name": "2-证据目录", "children": []}, | |
| {"id": "folder_1776139141577_f1pjiz0r", "name": "3-证据材料", "children": []}, | |
| {"id": "folder_1776139141578_l9vd4jef", "name": "4-当事人身份证明", "children": []}, | |
| {"id": "folder_1776139141579_ihgn2i08", "name": "5-委托材料", "children": []}, | |
| {"id": "folder_1776139141579_r0ksuggd", "name": "6-其他答辩材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1776139141580_npf1ytss", | |
| "name": "2-庭审准备", | |
| "children": [ | |
| {"id": "folder_1776139141580_kjxjtk5q", "name": "1-问题清单", "children": []}, | |
| {"id": "folder_1776139141582_dop986vx", "name": "2-庭审提纲", "children": []}, | |
| {"id": "folder_1776139141582_h2lzd0t1", "name": "3-质证意见", "children": []}, | |
| {"id": "folder_1776139141583_j4ye05f7", "name": "4-时间轴大事记", "children": []}, | |
| {"id": "folder_1776139141584_6fiqu2cm", "name": "5-代理意见", "children": []}, | |
| {"id": "folder_1776139141584_1w6dgbgv", "name": "6-其他材料", "children": []}, | |
| ], | |
| }, | |
| { | |
| "id": "folder_1776139141585_mbhvmkm1", | |
| "name": "4-结案文书", | |
| "children": [ | |
| { | |
| "id": "folder_1776139141586_ojc1occo", | |
| "name": "1-和解(调解)协议", | |
| "children": [], | |
| }, | |
| { | |
| "id": "folder_1776139141587_dp6ua9wv", | |
| "name": "2-其他结案文书", | |
| "children": [], | |
| }, | |
| ], | |
| }, | |
| {"id": "folder_1776139141587_wbdnaj2i", "name": "5-邮件往来", "children": []}, | |
| ], | |
| } | |
| ] | |
| }, | |
| "is_default": False, | |
| "is_active": True, | |
| }, | |
| ] | |