{"id":2041,"date":"2026-07-28T05:39:07","date_gmt":"2026-07-28T05:39:07","guid":{"rendered":"https:\/\/www.vpascode.com\/vn\/docs\/uncategorized\/json-schema-visualizer-guide\/"},"modified":"2026-07-28T05:39:07","modified_gmt":"2026-07-28T05:39:07","slug":"json-schema-visualizer-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/","title":{"rendered":"Schema JSON"},"content":{"rendered":"<p>Khi \u0111\u1ecbnh ngh\u0129a c\u00e1c h\u1ee3p \u0111\u1ed3ng API, m\u00f4 h\u00ecnh d\u1eef li\u1ec7u ho\u1eb7c quy t\u1eafc x\u00e1c th\u1ef1c, vi\u1ec7c \u0111\u1ecdc c\u00fa ph\u00e1p JSON Schema th\u00f4 c\u00f3 th\u1ec3 tr\u1edf n\u00ean kh\u00f3 kh\u0103n \u0111\u1ec3 \u0111i\u1ec1u h\u01b0\u1edbng. C\u00f4ng c\u1ee5 <strong>Tr\u00ecnh hi\u1ec3n th\u1ecb s\u01a1 \u0111\u1ed3 JSON Schema<\/strong>chuy\u1ec3n \u0111\u1ed5i c\u00e1c quy t\u1eafc x\u00e1c th\u1ef1c tr\u1eebu t\u01b0\u1ee3ng, \u0111\u1ecbnh ngh\u0129a ki\u1ec3u d\u1eef li\u1ec7u v\u00e0 c\u00e1c thu\u1ed9c t\u00ednh l\u1ed3ng nhau th\u00e0nh b\u1ea3n \u0111\u1ed3 tr\u1ef1c quan c\u00f3 c\u1ea5u tr\u00fac c\u00e2y r\u00f5 r\u00e0ng, t\u01b0\u01a1ng t\u00e1c \u0111\u01b0\u1ee3c. B\u1eb1ng c\u00e1ch chuy\u1ec3n \u0111\u1ed5i c\u00e1c r\u00e0ng bu\u1ed9c c\u1ea5u tr\u00fac th\u00e0nh s\u01a1 \u0111\u1ed3 d\u1ef1a tr\u00ean n\u00fat, c\u00e1c nh\u00e0 ph\u00e1t tri\u1ec3n v\u00e0 ki\u1ebfn tr\u00fac vi\u00ean d\u1eef li\u1ec7u c\u00f3 th\u1ec3 ngay l\u1eadp t\u1ee9c ki\u1ec3m tra \u0111\u1ecbnh ngh\u0129a t\u1ea3i d\u1eef li\u1ec7u, ki\u1ec3m tra c\u00e1c tr\u01b0\u1eddng b\u1eaft bu\u1ed9c v\u00e0 x\u00e1c minh c\u00e1c r\u00e0ng bu\u1ed9c d\u1eef li\u1ec7u.<\/p>\n<h2>C\u01a1 ch\u1ebf c\u1ee7a c\u00e1c b\u1ea3n \u0111\u1ed3 tr\u1ef1c quan h\u00f3a JSON Schema<\/h2>\n<p>Trong VPasCode, vi\u1ec7c hi\u1ec3n th\u1ecb JSON Schema t\u1ef1 \u0111\u1ed9ng ph\u00e2n t\u00edch c\u00fa ph\u00e1p c\u00e1c khai b\u00e1o \u0111\u1ed1i t\u01b0\u1ee3ng, c\u00e2y thu\u1ed9c t\u00ednh v\u00e0 \u0111\u1ecbnh ngh\u0129a m\u1ea3ng th\u00e0nh c\u00e1c n\u00fat tr\u1ef1c quan d\u1ec5 hi\u1ec3u. C\u00e1c kh\u00f3a nh\u01b0 <code>properties<\/code>, <code>required<\/code>, v\u00e0 c\u00e1c ki\u1ec3u d\u1eef li\u1ec7u nguy\u00ean th\u1ee7y s\u1ebd nh\u00e1nh ra th\u00e0nh c\u00e1c c\u00e2y con \u0111\u01b0\u1ee3c t\u1ed5 ch\u1ee9c \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh c\u00e1c h\u00ecnh d\u1ea1ng c\u1ea5u tr\u00fac mong \u0111\u1ee3i.<\/p>\n<h3>1. C\u00e0i \u0111\u1eb7t c\u01a1 b\u1ea3n<\/h3>\n<p>\u0110\u1ec3 tr\u1ef1c quan h\u00f3a m\u1ed9t t\u00e0i li\u1ec7u JSON Schema chu\u1ea9n, h\u00e3y \u0111\u1ecbnh ngh\u0129a m\u1ed9t \u0111\u1ed1i t\u01b0\u1ee3ng schema g\u1ed1c ch\u1ee9a c\u00e1c kh\u00f3a th\u00f4ng tin m\u00f4 t\u1ea3 chu\u1ea9n nh\u01b0 <code>$schema<\/code>, <code>type<\/code>, v\u00e0 <code>properties<\/code>:<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">JSON<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqNT8FOwzAMvSPxD1G1G2wZPe6G+AVulEle67SZsiRznEnTtH8nSTsoEwcutt57fs\/25fFBiGoR2gEPUG1ENTD7sJFyH5xdjvTKUS87AsWyXtfr5Ustp\/nn4mbNBrP31XujW2DtrHhzVuk+UkG3wbMvc263x5YnkvAYNWGXhI9MJMrCAUc1gRNSyBEZfo4WT84jscaQTJe56RvOtgUmbftbXhI6DC1pXw5L+vuAIlp9jChyhnBKcKLg55lqtF7vT\/rXNg\/MSGXTtmm6p6ZZzdriPtuTPgH\/\/cnOOYNgf72iIBpOogITcMrKLZXrF2\/MgUo=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">JSON<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqNT0tuwjAQ3VfqHayIXQumWbLtFborVDLxJDYKthlPkBDiOKgf9QTNkpPkJrXzaQF10c2M5r15b97sb28YS0Y+U7AWyYwlisj5Gecrb824gycWCy5R5MTTaTodP6S8379v1aSphKh9bL6OFVOnT6NYU7+ZgsmmPppi2Nu5ds0uV5BRDyJsKo0gA\/EcgQAZsYaODcMW0GtrkjguOolD6wBJgw+i\/bnoZzy75gn1EKElJPgMtaPoGvin04dhstoxo0J8YllTv4oQ\/\/03fic9XEf61zUniADbSy9zeTefDGV0betQbwX9\/cTS2hKEufgiF1VJgcxF6aH3ii2UwzcgXYbN\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-json\"><code class=\"language-json\" data-language=\"json\" class=\"language-json\">{\r\n  \"$schema\": \"https:\/\/json-schema.org\/draft\/2020-12\/schema\",\r\n  \"title\": \"C\u1ea5u h\u00ecnh \u1ee8ng d\u1ee5ng\",\r\n  \"type\": \"object\",\r\n  \"required\": [\r\n    \"name\",\r\n    \"version\"\r\n  ],\r\n  \"properties\": {\r\n    \"name\": {\r\n      \"type\": \"string\",\r\n      \"description\": \"T\u00ean duy nh\u1ea5t c\u1ee7a \u1ee9ng d\u1ee5ng\"\r\n    },\r\n    \"version\": {\r\n      \"type\": \"string\",\r\n      \"pattern\": \"^\\d+\\.\\d+\\.\\d+$\"\r\n    },\r\n    \"private\": {\r\n      \"type\": \"boolean\",\r\n      \"default\": false\r\n    }\r\n  }\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqNT0tuwjAQ3VfqHayIXQumWbLtFborVDLxJDYKthlPkBDiOKgf9QTNkpPkJrXzaQF10c2M5r15b97sb28YS0Y+U7AWyYwlisj5Gecrb824gycWCy5R5MTTaTodP6S8379v1aSphKh9bL6OFVOnT6NYU7+ZgsmmPppi2Nu5ds0uV5BRDyJsKo0gA\/EcgQAZsYaODcMW0GtrkjguOolD6wBJgw+i\/bnoZzy75gn1EKElJPgMtaPoGvin04dhstoxo0J8YllTv4oQ\/\/03fic9XEf61zUniADbSy9zeTefDGV0betQbwX9\/cTS2hKEufgiF1VJgcxF6aH3ii2UwzcgXYbN\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqNT8FOwzAMvSPxD1G1G2wZPe6G+AVulEle67SZsiRznEnTtH8nSTsoEwcutt57fs\/25fFBiGoR2gEPUG1ENTD7sJFyH5xdjvTKUS87AsWyXtfr5Ustp\/nn4mbNBrP31XujW2DtrHhzVuk+UkG3wbMvc263x5YnkvAYNWGXhI9MJMrCAUc1gRNSyBEZfo4WT84jscaQTJe56RvOtgUmbftbXhI6DC1pXw5L+vuAIlp9jChyhnBKcKLg55lqtF7vT\/rXNg\/MSGXTtmm6p6ZZzdriPtuTPgH\/\/cnOOYNgf72iIBpOogITcMrKLZXrF2\/MgUo=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"ylEsTAr\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-1423\" decoding=\"async\" fetchpriority=\"high\" height=\"316\" sizes=\"(max-width: 1447px) 100vw, 1447px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png 1447w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f-300x66.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f-1024x224.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f-768x168.png 768w\" width=\"1447\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>C\u00e1c k\u1ef9 thu\u1eadt c\u1ea5u tr\u00fac n\u00e2ng cao<\/h2>\n<p>C\u00e1c b\u1ea3n \u0111\u1ed3 tr\u1ef1c quan h\u00f3a JSON Schema xu\u1ea5t s\u1eafc trong vi\u1ec7c hi\u1ec3n th\u1ecb c\u00e1c \u0111\u1ecbnh ngh\u0129a d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p, \u0111a t\u1ea7ng, bao g\u1ed3m c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng l\u1ed3ng nhau v\u00e0 c\u00e1c r\u00e0ng bu\u1ed9c chu\u1ed7i ho\u1eb7c m\u1ea3ng.<\/p>\n<h3>1. \u0110\u1ecbnh ngh\u0129a thu\u1ed9c t\u00ednh l\u1ed3ng nhau ph\u1ee9c t\u1ea1p<\/h3>\n<p>B\u1eb1ng c\u00e1ch l\u1ed3ng c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng con b\u00ean trong \u0111\u1ecbnh ngh\u0129a thu\u1ed9c t\u00ednh, VPasCode m\u1edf r\u1ed9ng r\u00f5 r\u00e0ng c\u00e1c s\u01a1 \u0111\u1ed3 con cho c\u00e1c ph\u1ee5 thu\u1ed9c, t\u1eadp l\u1ec7nh x\u00e2y d\u1ef1ng v\u00e0 kh\u1ea3 n\u0103ng t\u01b0\u01a1ng th\u00edch v\u1edbi \u0111\u1ed9ng c\u01a1 v\u00e0o c\u00e1c nh\u00e1nh s\u01a1 \u0111\u1ed3 ri\u00eang bi\u1ec7t:<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">JSON<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqdkc+OwiAQh+8mvgMhHreL9th3MDHZ48YDwthOtwILo8nG+O4LbePWpk10LxC+mR8ff67LBWN8FVQFJ8kLxisiFwoh6mBN1uF360uhvTySyNf5Otvkou9\/a9OE1EDK7qT6kiWwrTR4hEDs46Htx7Vd9lCDoh56+D6jBx0LnwlEZOQJumpcaHBgNBiFEHhi+y7nvHXgKdGCXYfJ+3KgDOTRlLzjt8m9p2LDk7YFqTUSWiOb3YR\/XhmlI3dQHh09qXVzssMZG\/3I5o\/wZ+9vf\/lnkuLXvhAdP0Ga4nD7BRNBnIM=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">JSON<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqr5uVSUFBSKU7OSM1NVLJSUMooKSkottLXzyrOz9OFCOvlF6XrpxQlppXoGxkYGegaGulD1euAdZdkluSkgvQGH1uocGTiw92TFZwe7lqcp5B9eJWC++HNmTB1lQVgZflJWanJJVDBotTC0syi1BSgRDRIACiUl5ibCpEFclJSC1LzUlLzkjNTi5VAYrEQfQVF+QWpRSUgUSuFamSdcC6SlcUlRZl56UoQ8VqsZmPThuxSsERiSkpmSWZ+XmJOABb7cVsJtBTN7uLkosyCEiKtLcBlWVJpZk4KqhhuJyBsh\/q+jEydJanFJSRoRQ8CEAUkagE1HKC5\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-json\"><code class=\"language-json\" data-language=\"json\" class=\"language-json\">{\r\n  \"$schema\": \"https:\/\/json-schema.org\/draft\/2020-12\/schema\",\r\n  \"title\": \"S\u01a1 \u0111\u1ed3 B\u1ea3n k\u00ea G\u00f3i\",\r\n  \"type\": \"object\",\r\n  \"required\": [\r\n    \"name\",\r\n    \"dependencies\"\r\n  ],\r\n  \"properties\": {\r\n    \"name\": {\r\n      \"type\": \"string\"\r\n    },\r\n    \"dependencies\": {\r\n      \"type\": \"object\",\r\n      \"additionalProperties\": {\r\n        \"type\": \"string\"\r\n      }\r\n    },\r\n    \"scripts\": {\r\n      \"type\": \"object\",\r\n      \"properties\": {\r\n        \"build\": {\r\n          \"type\": \"string\"\r\n        },\r\n        \"dev\": {\r\n          \"type\": \"string\"\r\n        },\r\n        \"test\": {\r\n          \"type\": \"string\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqr5uVSUFBSKU7OSM1NVLJSUMooKSkottLXzyrOz9OFCOvlF6XrpxQlppXoGxkYGegaGulD1euAdZdkluSkgvQGH1uocGTiw92TFZwe7lqcp5B9eJWC++HNmTB1lQVgZflJWanJJVDBotTC0syi1BSgRDRIACiUl5ibCpEFclJSC1LzUlLzkjNTi5VAYrEQfQVF+QWpRSUgUSuFamSdcC6SlcUlRZl56UoQ8VqsZmPThuxSsERiSkpmSWZ+XmJOABb7cVsJtBTN7uLkosyCEiKtLcBlWVJpZk4KqhhuJyBsh\/q+jEydJanFJSRoRQ8CEAUkagE1HKC5\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqdkc+OwiAQh+8mvgMhHreL9th3MDHZ48YDwthOtwILo8nG+O4LbePWpk10LxC+mR8ff67LBWN8FVQFJ8kLxisiFwoh6mBN1uF360uhvTySyNf5Otvkou9\/a9OE1EDK7qT6kiWwrTR4hEDs46Htx7Vd9lCDoh56+D6jBx0LnwlEZOQJumpcaHBgNBiFEHhi+y7nvHXgKdGCXYfJ+3KgDOTRlLzjt8m9p2LDk7YFqTUSWiOb3YR\/XhmlI3dQHh09qXVzssMZG\/3I5o\/wZ+9vf\/lnkuLXvhAdP0Ga4nD7BRNBnIM=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"MdYacvz\"><img alt=\"\" class=\"alignnone size-full wp-image-1424\" decoding=\"async\" height=\"351\" sizes=\"(max-width: 1968px) 100vw, 1968px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74.png 1968w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74-300x54.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74-1024x183.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74-768x137.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68411e0ec74-1536x274.png 1536w\" width=\"1968\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>C\u1ea5u tr\u00fac c\u00e1c \u0111\u1ecbnh ngh\u0129a l\u01b0\u1ee3c \u0111\u1ed3 t\u00e1i s\u1eed d\u1ee5ng<\/h2>\n<p>T\u1ed5 ch\u1ee9c c\u00e1c l\u01b0\u1ee3c \u0111\u1ed3 ph\u1ee9c t\u1ea1p th\u00e0nh c\u00e1c \u0111\u1ecbnh ngh\u0129a r\u00f5 r\u00e0ng gi\u00fap c\u00e1c khung ki\u1ec3m tra l\u1edbn tr\u1edf n\u00ean modular v\u00e0 d\u1ec5 hi\u1ec3u trong c\u00e1c \u0111\u1ed3 th\u1ecb n\u00fat.<\/p>\n<h3>1. C\u00e1c \u0111\u1ecbnh ngh\u0129a modular t\u00e1i s\u1eed d\u1ee5ng<\/h3>\n<p>S\u1eed d\u1ee5ng c\u00e1c l\u01b0\u1ee3c \u0111\u1ed3 con chu\u1ea9n ho\u1eb7c c\u00e1c \u0111\u1ecbnh ngh\u0129a \u0111\u1ec3 duy tr\u00ec c\u00e1c ranh gi\u1edbi tr\u1ef1c quan r\u00f5 r\u00e0ng xuy\u00ean su\u1ed1t c\u00e1c \u0111\u1eb7c t\u1ea3 th\u00e0nh ph\u1ea7n ph\u1ee9c t\u1ea1p v\u00e0 c\u00e1c th\u1ef1c th\u1ec3 m\u00f4 h\u00ecnh chung:<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">JSON<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqFUD1PwzAQ3ZH4D5bFmOKSsSt0hSFjxeA6R+oqsc35IrWq+t9xHJe4IhFLcnpffneXxwfG+JNXB+gk3zB+IHJ+I8TRW7Ma4WeLjahRfpEo1+V69VKKpC+imzS1MHhfbed0C8gqINKm8ay6051dlNn9ERQl0KF1gKTBB+oyQAFUKejDkbYmYxZSIjGXNDokNkD3YBbkCUPXKSiSYPoukDu+rYadecHGqRyndzgR\/5wc18wdA9Xye3trW5CGL7htT28a\/2ubmW\/jlMIRvnuNUMcN0vrFb7HU+6bn2qi2r2H2yhJRnrMja4Luz33nq6Vi8Rc+1x+k+Jiw\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">JSON<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqFkLFOhEAURXsT\/2EysWRlpdxS185oYWksZocnzAZmxscjcbPZL7AyVnYm\/oCdiZQa\/4M\/EQYQjBAbeLl3zp07b7u\/xxg\/yGQMqeALxmMimy18f50ZPWvkQ4ORH6K4IT+YB\/PZUeC35z1Hk6IEavbs67UsXiT7fCiLR3by8azq8f2N2HFZPLGwLO5l3EEb6xizWoOkVrRoLCApyCprW0uVKE1qVQJ4YUkZPXAmUpwxltQQAiOg3+IgKCNUOuqDnAk6Tyvzip9e1gvgHmumoJnO4Y74dU\/sBrQLlNP3rYxJQGg+QZuclgr\/azuAu7FP4Qi3uUII3Qva53s\/xdre3XmutEzyEEa3LBDFZrBkRZD+2e94tbaY+1Wf3Tfy5KQS\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-json\"><code class=\"language-json\" data-language=\"json\" class=\"language-json\">{\r\n  \"$schema\": \"https:\/\/json-schema.org\/draft\/2020-12\/schema\",\r\n  \"title\": \"L\u01b0\u1ee3c \u0111\u1ed3 C\u00e0i \u0111\u1eb7t B\u1ed9 d\u1ecbch\",\r\n  \"type\": \"object\",\r\n  \"properties\": {\r\n    \"compilerOptions\": {\r\n      \"type\": \"object\",\r\n      \"properties\": {\r\n        \"target\": {\r\n          \"type\": \"string\",\r\n          \"enum\": [\"ES2020\", \"ES2022\", \"ESNext\"]\r\n        },\r\n        \"strict\": {\r\n          \"type\": \"boolean\"\r\n        },\r\n        \"outDir\": {\r\n          \"type\": \"string\"\r\n        }\r\n      },\r\n      \"required\": [\"target\", \"strict\"]\r\n    },\r\n    \"include\": {\r\n      \"type\": \"array\",\r\n      \"items\": {\r\n        \"type\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqFkLFOhEAURXsT\/2EysWRlpdxS185oYWksZocnzAZmxscjcbPZL7AyVnYm\/oCdiZQa\/4M\/EQYQjBAbeLl3zp07b7u\/xxg\/yGQMqeALxmMimy18f50ZPWvkQ4ORH6K4IT+YB\/PZUeC35z1Hk6IEavbs67UsXiT7fCiLR3by8azq8f2N2HFZPLGwLO5l3EEb6xizWoOkVrRoLCApyCprW0uVKE1qVQJ4YUkZPXAmUpwxltQQAiOg3+IgKCNUOuqDnAk6Tyvzip9e1gvgHmumoJnO4Y74dU\/sBrQLlNP3rYxJQGg+QZuclgr\/azuAu7FP4Qi3uUII3Qva53s\/xdre3XmutEzyEEa3LBDFZrBkRZD+2e94tbaY+1Wf3Tfy5KQS\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit JSON in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#json:eNqFUD1PwzAQ3ZH4D5bFmOKSsSt0hSFjxeA6R+oqsc35IrWq+t9xHJe4IhFLcnpffneXxwfG+JNXB+gk3zB+IHJ+I8TRW7Ma4WeLjahRfpEo1+V69VKKpC+imzS1MHhfbed0C8gqINKm8ay6051dlNn9ERQl0KF1gKTBB+oyQAFUKejDkbYmYxZSIjGXNDokNkD3YBbkCUPXKSiSYPoukDu+rYadecHGqRyndzgR\/5wc18wdA9Xye3trW5CGL7htT28a\/2ubmW\/jlMIRvnuNUMcN0vrFb7HU+6bn2qi2r2H2yhJRnrMja4Luz33nq6Vi8Rc+1x+k+Jiw\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>Ch\u1ec9nh s\u1eeda JSON trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"GNdmbLV\"><img alt=\"\" class=\"alignnone size-full wp-image-1425\" decoding=\"async\" height=\"429\" sizes=\"(max-width: 2358px) 100vw, 2358px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff.png 2358w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff-300x55.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff-1024x186.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff-768x140.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff-1536x279.png 1536w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a68412e01dff-2048x373.png 2048w\" width=\"2358\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>C\u00e1c th\u1ef1c h\u00e0nh t\u1ed1t chi\u1ebfn l\u01b0\u1ee3c<\/h2>\n<ul>\n<li><strong>Duy tr\u00ec c\u00e1c ti\u00eau chu\u1ea9n b\u1ea3n nh\u00e1p L\u01b0\u1ee3c \u0111\u1ed3 JSON h\u1ee3p l\u1ec7:<\/strong> Bao g\u1ed3m r\u00f5 r\u00e0ng <code>$schema<\/code> c\u00e1c khai b\u00e1o v\u00e0 tu\u00e2n th\u1ee7 nghi\u00eam ng\u1eb7t c\u00e1c quy t\u1eafc \u0111\u1ecbnh d\u1ea1ng kh\u00f3a-gi\u00e1 tr\u1ecb JSON.<\/li>\n<li><strong>Khai b\u00e1o r\u00f5 r\u00e0ng ki\u1ec3u thu\u1ed9c t\u00ednh:<\/strong> Lu\u00f4n x\u00e1c \u0111\u1ecbnh tr\u01b0\u1eddng <code>type<\/code> (v\u00ed d\u1ee5: object, array, string) \u0111\u1ec3 b\u1ed9 t\u1ea1o h\u00ecnh \u1ea3nh t\u1ea1o ra c\u00e1c n\u00fat tr\u1ef1c quan r\u00f5 r\u00e0ng, c\u00f3 ki\u1ec3u.<\/li>\n<li><strong>S\u1eed d\u1ee5ng t\u00ean thu\u1ed9c t\u00ednh r\u00f5 r\u00e0ng:<\/strong> \u0110\u1eb7t nh\u00e3n cho c\u00e1c thu\u1ed9c t\u00ednh nh\u1ea5t qu\u00e1n theo ki\u1ec3u camelCase ho\u1eb7c kebab-case \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o hi\u1ec3n th\u1ecb nh\u00e3n d\u1ec5 \u0111\u1ecdc tr\u00ean c\u00e1c nh\u00e1nh tr\u1ef1c quan \u0111\u01b0\u1ee3c t\u1ea1o t\u1ef1 \u0111\u1ed9ng.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Khi \u0111\u1ecbnh ngh\u0129a c\u00e1c h\u1ee3p \u0111\u1ed3ng API, m\u00f4 h\u00ecnh d\u1eef li\u1ec7u ho\u1eb7c quy t\u1eafc x\u00e1c th\u1ef1c, vi\u1ec7c \u0111\u1ecdc c\u00fa ph\u00e1p JSON Schema th\u00f4 c\u00f3 th\u1ec3 tr\u1edf n\u00ean kh\u00f3 kh\u0103n \u0111\u1ec3 \u0111i\u1ec1u h\u01b0\u1edbng. C\u00f4ng c\u1ee5 Tr\u00ecnh hi\u1ec3n th\u1ecb s\u01a1 \u0111\u1ed3 JSON&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":1,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-2041","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JSON Schema to Diagram Guide | Text to Diagram with VPasCode<\/title>\n<meta name=\"description\" content=\"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JSON Schema to Diagram Guide | Text to Diagram with VPasCode\" \/>\n<meta property=\"og:description\" content=\"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/\",\"name\":\"JSON Schema to Diagram Guide | Text to Diagram with VPasCode\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a6841098222f.png\",\"datePublished\":\"2026-07-28T05:39:07+00:00\",\"description\":\"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a6841098222f.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a6841098222f.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/json-schema-visualizer-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Schema JSON\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/wp-content\\\/uploads\\\/sites\\\/12\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/wp-content\\\/uploads\\\/sites\\\/12\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JSON Schema to Diagram Guide | Text to Diagram with VPasCode","description":"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/","og_locale":"vi_VN","og_type":"article","og_title":"JSON Schema to Diagram Guide | Text to Diagram with VPasCode","og_description":"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.","og_url":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"2 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/","url":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/","name":"JSON Schema to Diagram Guide | Text to Diagram with VPasCode","isPartOf":{"@id":"https:\/\/www.vpascode.com\/vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png","datePublished":"2026-07-28T05:39:07+00:00","description":"Turn JSON Schema into visual data models using VPasCode, a flexible diagram-as-code tool built for seamless text to diagram conversion.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a6841098222f.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/json-schema-visualizer-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/vn\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/vn\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Schema JSON"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/vn\/#website","url":"https:\/\/www.vpascode.com\/vn\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/vn\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/vn\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.vpascode.com\/vn\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/vn\/wp-content\/uploads\/sites\/12\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/vn\/wp-content\/uploads\/sites\/12\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/vn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_docs\/2041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/media?parent=2041"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_collection?post=2041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}