{"id":504,"date":"2016-03-08T16:33:59","date_gmt":"2016-03-08T15:33:59","guid":{"rendered":"http:\/\/xml-buddy.com\/xmltribune\/?p=504"},"modified":"2016-03-08T16:33:59","modified_gmt":"2016-03-08T15:33:59","slug":"json-schema-documentation-preview","status":"publish","type":"post","link":"https:\/\/www.xml-buddy.com\/xmltribune\/json-schema-documentation-preview\/","title":{"rendered":"Coming next: JSON Schema documentation"},"content":{"rendered":"<p>To extend the support for the JSON standard,\u00a0JSONBuddy will get a brand new view to parse and display any JSON schema as a good looking and clearly arranged tree diagram.<\/p>\n<p>The screen-shot below shows the POI (point of interest) JSON schema as it is partly displayed in the new view:<\/p>\n<div id=\"attachment_505\" style=\"width: 946px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_poi_partly.png\"><img aria-describedby=\"caption-attachment-505\" loading=\"lazy\" class=\"size-full wp-image-505\" src=\"http:\/\/xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_poi_partly.png\" alt=\"POI JSON schema tree diagram\" width=\"936\" height=\"289\" srcset=\"https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_poi_partly.png 936w, https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_poi_partly-300x93.png 300w, https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_poi_partly-624x193.png 624w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/a><p id=\"caption-attachment-505\" class=\"wp-caption-text\">POI JSON schema tree diagram<\/p><\/div>\n<p>The first version allows to fully expand and collapse tree elements and to export the generated diagram as HTML using SVG to draw the content. This way you can generate a good looking documentation from your schema at any time. As a next step the new JSON schema view will include an editor to simplify the creation and modification of any JSON schema.<\/p>\n<p>The next screen-shot shows another schema where some properties are required and marked with a red line:<\/p>\n<div id=\"attachment_506\" style=\"width: 930px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_mycollection_partly.png\"><img aria-describedby=\"caption-attachment-506\" loading=\"lazy\" class=\"size-full wp-image-506\" src=\"http:\/\/xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_mycollection_partly.png\" alt=\"Schema with required properties\" width=\"920\" height=\"315\" srcset=\"https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_mycollection_partly.png 920w, https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_mycollection_partly-300x103.png 300w, https:\/\/www.xml-buddy.com\/xmltribune\/wp-content\/uploads\/2016\/03\/schema_mycollection_partly-624x214.png 624w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/a><p id=\"caption-attachment-506\" class=\"wp-caption-text\">Schema with required properties<\/p><\/div>\n<p>This JSON schema view and documentation tool\u00a0will be released with the next version of the JSONBuddy 3.5 editor during the next weeks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To extend the support for the JSON standard,\u00a0JSONBuddy will get a brand new view to parse and display any JSON schema as a good looking and clearly arranged tree diagram. The screen-shot below shows the POI (point of interest) JSON schema as it is partly displayed in the new view: The first version allows to fully expand and collapse tree&#8230; <a href=\"https:\/\/www.xml-buddy.com\/xmltribune\/json-schema-documentation-preview\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":505,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[4],"tags":[21,67,40],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/posts\/504"}],"collection":[{"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":1,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/posts\/504\/revisions\/507"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/media\/505"}],"wp:attachment":[{"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xml-buddy.com\/xmltribune\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}