{"id":32477,"date":"2016-03-22T17:17:29","date_gmt":"2016-03-22T11:47:29","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=32477"},"modified":"2016-03-23T09:57:47","modified_gmt":"2016-03-23T04:27:47","slug":"using-dependencies-in-json-schema-version-draft-v4","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/","title":{"rendered":"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)"},"content":{"rendered":"<p>Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &#8220;dependencies&#8221; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword.<\/p>\n<p>An interesting scenario could be where you have an enumeration and want to choose another fields value based on the provided value.<\/p>\n<p>Suppose we have scenario as below:<\/p>\n<ol>\n<li>we have field minimumEligibilityAge, graduate and courseName.<\/li>\n<li>Field minimumEligibilityAge will be used iff person is not graduate otherwise field courseName is used to provide the graduation course name.<\/li>\n<\/ol>\n<p>Our schema without dependencies could be as below:<\/p>\n<p>[code]<br \/>\n  {<br \/>\n    &quot;title&quot;: &quot;Test dependncies&quot;,<br \/>\n    &quot;readOnly&quot;: false,<br \/>\n    &quot;$schema&quot;: &quot;http:\/\/json-schema.org\/draft-04\/hyper-schema&quot;,<br \/>\n    &quot;description&quot;: &quot;This a test to show how we can use dependencies in json schema&quot;,<br \/>\n    &quot;properties&quot;:{<br \/>\n         &quot;graduate&quot;: {<br \/>\n            &quot;title&quot;:&quot;Graduate?&quot;,<br \/>\n            &quot;type&quot;:&quot;string&quot;,<br \/>\n            &quot;enum&quot;:[&quot;Yes&quot;,&quot;No&quot;]<br \/>\n        },<br \/>\n        &quot;minimumEligibilityAge&quot;:{<br \/>\n            &quot;title&quot;:&quot;Enter Age&quot;,<br \/>\n            &quot;type&quot;:&quot;number&quot;<br \/>\n            },<br \/>\n        &quot;courseName&quot;:{<br \/>\n            &quot;title&quot;:&quot;Enter Graduation Course Name&quot;,<br \/>\n            &quot;type&quot;:&quot;string&quot;<br \/>\n        }<br \/>\n    },<br \/>\n    &quot;type&quot;: &quot;object&quot;,<br \/>\n    &quot;required&quot;:[<br \/>\n        &quot;graduate&quot;<br \/>\n     ]<br \/>\n  }<br \/>\n[\/code]<\/p>\n<p>If we have to see a ui representation of json schema for better understanding, it would be like in image below :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-32478\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/Screen-Shot-2016-02-09-at-1.20.41-PM.png\" alt=\"Screen Shot 2016-02-09 at 1.20.41 PM\" width=\"688\" height=\"236\" \/><\/p>\n<p>In the form <strong>boolean<\/strong> is represented by <strong>checkbox<\/strong> and <strong>number<\/strong> and string are represented by text box.<\/p>\n<p>Now, let&#8217;s add dependencies to <strong>graduate<\/strong> field for above scenario.<\/p>\n<p>[code]<br \/>\n  {<br \/>\n    &quot;title&quot;: &quot;Test dependncies&quot;,<br \/>\n    &quot;readOnly&quot;: false,<br \/>\n    &quot;$schema&quot;: &quot;http:\/\/json-schema.org\/draft-04\/hyper-schema&quot;,<br \/>\n    &quot;description&quot;: &quot;This a test to show how we can use dependencies in json schema&quot;,<br \/>\n    &quot;properties&quot;:{<br \/>\n        &quot;graduate&quot;: {<br \/>\n            &quot;title&quot;:&quot;Graduate?&quot;,<br \/>\n            &quot;type&quot;:&quot;string&quot;,<br \/>\n            &quot;enum&quot;:[&quot;Yes&quot;,&quot;No&quot;],<br \/>\n             &quot;options&quot;: {<br \/>\n             &quot;dependencies&quot;:[<br \/>\n                {&quot;id&quot;:&quot;minimumEligibilityAge&quot;,&quot;value&quot;:&quot;Yes&quot;},<br \/>\n                {&quot;id&quot;:&quot;courseName&quot;,&quot;value&quot;:&quot;No&quot;}<br \/>\n                ]<br \/>\n             }<br \/>\n        },<br \/>\n        &quot;minimumEligibilityAge&quot;:{<br \/>\n            &quot;id&quot;:&quot;minimumEligibilityAge&quot;,<br \/>\n            &quot;title&quot;:&quot;Enter Age&quot;,<br \/>\n            &quot;type&quot;:&quot;number&quot;,<br \/>\n\t\t\t&quot;options&quot;:{&quot;hide_display&quot;:true}<br \/>\n            },<br \/>\n        &quot;courseName&quot;:{<br \/>\n            &quot;id&quot;:&quot;courseName&quot;,<br \/>\n            &quot;title&quot;:&quot;Enter Graduation Course Name&quot;,<br \/>\n            &quot;type&quot;:&quot;string&quot;<br \/>\n        }<br \/>\n    },<br \/>\n    &quot;type&quot;: &quot;object&quot;<br \/>\n  }<\/p>\n<p>[\/code]<\/p>\n<p>A ui representation for both the cases could be:<\/p>\n<p>Case: when person is graduate:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-32479\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/Screen-Shot-2016-02-09-at-1.39.54-PM.png\" alt=\"Screen Shot 2016-02-09 at 1.39.54 PM\" width=\"514\" height=\"272\" \/><\/p>\n<p>Case: when person is not graduate<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-32480\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/Screen-Shot-2016-02-09-at-1.40.02-PM.png\" alt=\"Screen Shot 2016-02-09 at 1.40.02 PM\" width=\"509\" height=\"220\" \/><\/p>\n<p>The UI representation that we have used to illustrate the scenario is from JDorn. A temporary link for reference is https:\/\/github.com\/jdorn\/json-editor. Alternatively, there are several ui representation frameworks available for json schema to html conversion. Also, as json schema is a standard, you could write a framework of your own and customise it.<\/p>\n<p>Hope it helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &#8220;dependencies&#8221; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have [&hellip;]<\/p>\n","protected":false},"author":119,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":61,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32477","post","type-post","status-publish","format-standard","hentry","category-technology"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &quot;dependencies&quot; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vinay Prajapati\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &quot;dependencies&quot; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &quot;dependencies&quot; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#article\",\"name\":\"Using \\u201cdependencies\\u201d in json schema (version : draft-v4) | TO THE NEW Blog\",\"headline\":\"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/banti-prajapati\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/02\\\/Screen-Shot-2016-02-09-at-1.20.41-PM.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#articleImage\"},\"datePublished\":\"2016-03-22T17:17:29+05:30\",\"dateModified\":\"2016-03-23T09:57:47+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#webpage\"},\"articleSection\":\"Technology\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#listItem\",\"name\":\"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#listItem\",\"position\":3,\"name\":\"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/banti-prajapati\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/banti-prajapati\\\/\",\"name\":\"Vinay Prajapati\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/1e6eb582-cd9f-416a-840d-4ea31be5ee61_vinay.prajapati@tothenew.com.jpg\",\"width\":96,\"height\":96,\"caption\":\"Vinay Prajapati\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/\",\"name\":\"Using \\u201cdependencies\\u201d in json schema (version : draft-v4) | TO THE NEW Blog\",\"description\":\"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using \\\"dependencies\\\" which allows specifying dependent object \\\/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/using-dependencies-in-json-schema-version-draft-v4\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/banti-prajapati\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/banti-prajapati\\\/#author\"},\"datePublished\":\"2016-03-22T17:17:29+05:30\",\"dateModified\":\"2016-03-23T09:57:47+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog","description":"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using \"dependencies\" which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have","canonical_url":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#article","name":"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog","headline":"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/banti-prajapati\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/02\/Screen-Shot-2016-02-09-at-1.20.41-PM.png","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#articleImage"},"datePublished":"2016-03-22T17:17:29+05:30","dateModified":"2016-03-23T09:57:47+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#webpage"},"articleSection":"Technology"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/tothenewco.pro\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#listItem","name":"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#listItem","position":3,"name":"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/banti-prajapati\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/banti-prajapati\/","name":"Vinay Prajapati","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/1e6eb582-cd9f-416a-840d-4ea31be5ee61_vinay.prajapati@tothenew.com.jpg","width":96,"height":96,"caption":"Vinay Prajapati"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/","name":"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog","description":"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using \"dependencies\" which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/banti-prajapati\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/banti-prajapati\/#author"},"datePublished":"2016-03-22T17:17:29+05:30","dateModified":"2016-03-23T09:57:47+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog","og:description":"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &quot;dependencies&quot; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have","og:url":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Using \u201cdependencies\u201d in json schema (version : draft-v4) | TO THE NEW Blog","twitter:description":"Json Schema has another interesting feature which allows value of some property of json schema to depend upon other fields value. This could be done using &quot;dependencies&quot; which allows specifying dependent object \/ property on the basis of value of the field which is using dependencies keyword. An interesting scenario could be where you have","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"32477","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 15:46:28","updated":"2024-02-29 09:27:24","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUsing \u201cdependencies\u201d in json schema (version : draft-v4)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Technology","link":"https:\/\/tothenewco.pro\/blog\/category\/technology\/"},{"label":"Using &#8220;dependencies&#8221; in json schema (version : draft-v4)","link":"https:\/\/tothenewco.pro\/blog\/using-dependencies-in-json-schema-version-draft-v4\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/32477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=32477"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/32477\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=32477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=32477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=32477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}