schema-15.json 8.6 KB

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