schema-13.json 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. {
  2. "code": 0,
  3. "message": "success",
  4. "data": {
  5. "name": "vfs_required_info",
  6. "description": "VFS 抢号需要信息",
  7. "schema_json": {
  8. "type": "object",
  9. "title": "Visa Applicant Basic Info",
  10. "$schema": "http://json-schema.org/draft-07/schema#",
  11. "required": [
  12. "last_name",
  13. "first_name",
  14. "birthday",
  15. "email",
  16. "phone_country_code",
  17. "phone",
  18. "nationality",
  19. "passport_no",
  20. "gender",
  21. "passport_expiry_date",
  22. "expected_start_date",
  23. "expected_end_date"
  24. ],
  25. "properties": {
  26. "email": {
  27. "type": "string",
  28. "title": "Email",
  29. "format": "email",
  30. "x-order": 10,
  31. "maxLength": 255
  32. },
  33. "phone": {
  34. "type": "string",
  35. "title": "Phone Number",
  36. "pattern": "^0[0-9]{6,15}$",
  37. "x-order": 9,
  38. "description": "Phone number starting with 0"
  39. },
  40. "gender": {
  41. "enum": [
  42. "male",
  43. "female",
  44. "other"
  45. ],
  46. "type": "string",
  47. "title": "Gender",
  48. "x-order": 4,
  49. "description": "Gender of the user"
  50. },
  51. "birthday": {
  52. "type": "string",
  53. "title": "Birthday",
  54. "format": "date",
  55. "x-order": 3,
  56. "description": "Birthday in YYYY-MM-DD format"
  57. },
  58. "last_name": {
  59. "type": "string",
  60. "title": "Last Name",
  61. "pattern": "^[A-Za-z\\-\\s]+$",
  62. "x-order": 2,
  63. "maxLength": 50,
  64. "minLength": 1,
  65. "description": "Surname (Latin letters only, no Chinese characters)"
  66. },
  67. "first_name": {
  68. "type": "string",
  69. "title": "First Name",
  70. "pattern": "^[A-Za-z\\-\\s]+$",
  71. "x-order": 1,
  72. "maxLength": 50,
  73. "minLength": 1,
  74. "description": "Given name (Latin letters only, no Chinese characters)"
  75. },
  76. "nationality": {
  77. "enum": [
  78. "Afghanistan",
  79. "Albania",
  80. "Algeria",
  81. "Andorra",
  82. "Angola",
  83. "Antigua And Barbuda",
  84. "Argentina",
  85. "Armenia",
  86. "Australia",
  87. "Austria",
  88. "Azerbaijan",
  89. "Bahamas",
  90. "Bahrain",
  91. "Bangladesh",
  92. "Barbados",
  93. "Belarus",
  94. "Belgium",
  95. "Belize",
  96. "Benin",
  97. "Bhutan",
  98. "Bolivia",
  99. "Bosnia And Herzegovina",
  100. "Botswana",
  101. "Brazil",
  102. "Brunei",
  103. "Bulgaria",
  104. "Burkina faso",
  105. "Burundi",
  106. "Cabo verde",
  107. "Cambodia",
  108. "Cameroon",
  109. "Canada",
  110. "Central African Republic",
  111. "Chad",
  112. "Chile",
  113. "China",
  114. "Colombia",
  115. "Comoros",
  116. "Congo (Brazzaville)",
  117. "Congo (Kinshasa)",
  118. "Costa Rica",
  119. "Croatia",
  120. "Cuba",
  121. "Cyprus",
  122. "Czech Republic",
  123. "Denmark",
  124. "Djibouti",
  125. "Dominica",
  126. "Dominican Republic",
  127. "Ecuador",
  128. "Egypt",
  129. "El Salvador",
  130. "Equatorial Guinea",
  131. "Eritrea",
  132. "Estonia",
  133. "Eswatini",
  134. "Ethiopia",
  135. "Fiji",
  136. "Finland",
  137. "France",
  138. "Gabon",
  139. "Gambia",
  140. "Georgia",
  141. "Germany",
  142. "Ghana",
  143. "Greece",
  144. "Grenada",
  145. "Guatemala",
  146. "Guinea",
  147. "Guinea-Bissau",
  148. "Guyana",
  149. "Haiti",
  150. "Honduras",
  151. "Hungary",
  152. "Iceland",
  153. "India",
  154. "Indonesia",
  155. "Iran",
  156. "Iraq",
  157. "Ireland",
  158. "Israel",
  159. "Italy",
  160. "Jamaica",
  161. "Japan",
  162. "Jordan",
  163. "Kazakhstan",
  164. "Kenya",
  165. "Kiribati",
  166. "Korea, north",
  167. "Korea, south",
  168. "Kuwait",
  169. "Kyrgyzstan",
  170. "Laos",
  171. "Latvia",
  172. "Lebanon",
  173. "Lesotho",
  174. "Liberia",
  175. "Libya",
  176. "Liechtenstein",
  177. "Lithuania",
  178. "Luxembourg",
  179. "Madagascar",
  180. "Malawi",
  181. "Malaysia",
  182. "Maldives",
  183. "Mali",
  184. "Malta",
  185. "Marshall islands",
  186. "Mauritania",
  187. "Mauritius",
  188. "Mexico",
  189. "Micronesia",
  190. "Moldova",
  191. "Monaco",
  192. "Mongolia",
  193. "Montenegro",
  194. "Morocco",
  195. "Mozambique",
  196. "Myanmar",
  197. "Namibia",
  198. "Nauru",
  199. "Nepal",
  200. "Netherlands",
  201. "New zealand",
  202. "Nicaragua",
  203. "Niger",
  204. "Nigeria",
  205. "North macedonia",
  206. "Norway",
  207. "Oman",
  208. "Pakistan",
  209. "Palau",
  210. "Panama",
  211. "Papua new guinea",
  212. "Paraguay",
  213. "Peru",
  214. "Philippines",
  215. "Poland",
  216. "Portugal",
  217. "Patar",
  218. "Romania",
  219. "Russia",
  220. "Rwanda",
  221. "Saudi arabia",
  222. "Senegal",
  223. "Serbia",
  224. "Seychelles",
  225. "Sierra leone",
  226. "Singapore",
  227. "Slovakia",
  228. "Slovenia",
  229. "Solomon islands",
  230. "Somalia",
  231. "South africa",
  232. "Spain",
  233. "Sri lanka",
  234. "Sudan",
  235. "Suriname",
  236. "Sweden",
  237. "Switzerland",
  238. "Syria",
  239. "Tajikistan",
  240. "Tanzania",
  241. "Thailand",
  242. "Timor-leste",
  243. "Togo",
  244. "Tonga",
  245. "Tunisia",
  246. "Turkey",
  247. "Turkmenistan",
  248. "Uganda",
  249. "Ukraine",
  250. "United arab emirates",
  251. "United kingdom",
  252. "United states",
  253. "Uruguay",
  254. "Uzbekistan",
  255. "Vanuatu",
  256. "Venezuela",
  257. "Vietnam",
  258. "Yemen",
  259. "Zambia",
  260. "Zimbabwe"
  261. ],
  262. "type": "string",
  263. "title": "Nationality",
  264. "x-order": 5,
  265. "description": "Nationality must be one of the predefined country names (lowercase)"
  266. },
  267. "passport_no": {
  268. "type": "string",
  269. "title": "Passport Number",
  270. "pattern": "^[A-Z0-9]+$",
  271. "x-order": 6,
  272. "maxLength": 20,
  273. "minLength": 5,
  274. "description": "Passport number (alphanumeric, uppercase)"
  275. },
  276. "expected_end_date": {
  277. "type": "string",
  278. "title": "Preferred End Date",
  279. "format": "date",
  280. "x-order": 13,
  281. "description": "Latest preferred date. Note: If no slots are available in this range, we will automatically book the next available slot."
  282. },
  283. "phone_country_code": {
  284. "type": "string",
  285. "title": "Phone Country Code",
  286. "pattern": "^[0-9]{1,4}$",
  287. "x-order": 8,
  288. "description": "Country code without +, e.g. 86"
  289. },
  290. "expected_start_date": {
  291. "type": "string",
  292. "title": "Preferred Start Date",
  293. "format": "date",
  294. "x-order": 12,
  295. "description": "Earliest date you can attend the appointment."
  296. },
  297. "passport_expiry_date": {
  298. "type": "string",
  299. "title": "Passport Expiry Date",
  300. "format": "date",
  301. "x-order": 7,
  302. "examples": [
  303. "2031-08-15"
  304. ],
  305. "description": "Passport expiration date (YYYY-MM-DD)"
  306. },
  307. "social_media_account": {
  308. "type": "string",
  309. "title": "Social Media Account",
  310. "x-order": 14,
  311. "maxLength": 100,
  312. "description": "Optional: Social media username or ID (e.g. WeChat ID, Telegram handle)"
  313. }
  314. },
  315. "additionalProperties": false
  316. },
  317. "id": 13,
  318. "created_at": "2026-05-18T15:39:51",
  319. "updated_at": "2026-05-18T15:39:51"
  320. }
  321. }