{
"type": "object",
"properties": {
"document_type": {
"type": "string",
"description": "證件類型,如中華民國國民身分證、駕照、護照、健保卡、居留證等"
},
"name": {
"type": "string",
"description": "持證人完整姓名,從正面姓名欄位讀取"
},
"gender": {
"type": "string",
"enum": ["男", "女"],
"description": "性別"
},
"date_of_birth": {
"type": "string",
"description": "出生年月日,民國年格式"
},
"military_service": {
"type": ["string", "null"],
"description": "役別,如免役、已服、未服、替代役。女性或無此欄位則為 null"
},
"place_of_birth": {
"type": ["string", "null"],
"description": "出生地,從背面讀取"
},
"id_number": {
"type": "string",
"description": "身分證統一編號,1 英文字母 + 9 數字"
},
"expiry_or_issue_date": {
"type": ["string", "null"],
"description": "截切日期(發證日期或有效期限),民國年格式"
},
"address": {
"type": ["string", "null"],
"description": "完整住址,從背面住址欄位讀取,包含縣市區里鄰路段巷弄號樓"
}
},
"required": [
"document_type", "name", "gender", "date_of_birth",
"military_service", "place_of_birth", "id_number",
"expiry_or_issue_date", "address"
]
}