input stringlengths 159 2.05k | output stringlengths 5 10.3k | task stringclasses 1
value | schema stringlengths 100 1.99k |
|---|---|---|---|
Following the schema specification below, generate a valid JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1945, 5], [1946, 5], [1947, 6], [1948, 5], [1949, 9], [1950, 11], [1951, 7], [1952, 7], [1953, 32], [1954, 14], [1955, 18], [1956, 17], [1957, 23], [1958, 33], [1959, 29], [1960, 51], [1961, 62], [1962, 64], [1963, 72], [1964, 117], [1965, 240], [1966, 235], [1967, 225], [1968, 207], [1969, 175], [1970, 163], [1971, 146], [1972, 132], [1973, 131], [1974, 141], [1975, 129], [1976, 126], [1977, 102], [1978, 114], [1979, 141], [1980, 129], [1981, 123], [1982, 128], [1983, 122], [1984, 111], [1985, 110], [1986, 129], [1987, 158], [1988, 132], [1989, 125], [1990, 145], [1991, 162], [1992, 156], [1993, 124], [1994, 152], [1995, 141], [1996, 127], [1997, 127], [1998, 124], [1999, 115], [2000, 131], [2001, 117], [2002, 148], [2003, 102], [2004, 122], [2005, 104], [2006, 107], [2007, 137], [2008, 119], [2009, 107], [2010, 97], [2011, 89], [2012, 79], [2013, 56], [2014, 55]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"body": {"type": "string"}, "user": {"type": "string"}, "url": {"type": "string"}, "updated_at": {"type": "string"}, "created_at": {"type": "string"}, "closed_at": {"type": "string"}, "state": {"type": "string"}, "title": {"type": "string"}, "number": {"type": "integer"}, "milestone": {"type": "null"}, "labels": {"type": "array", "items": {"type": "string"}}, "id": {"type": "integer"}, "html_url": {"type": "string"}, "assignees": {"type": "array", "items": {}}, "comments": {"type": "integer"}}, "required": ["body", "user", "url", "updated_at", "created_at", "closed_at", "state", "title", "number", "milestone", "labels", "id", "html_url", "assignees", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"body" : "### Rationale\r\n\r\n\r\n\r\n\r\n### Description\r\n\r\nIt would be nice if a process would output these log messages just once instead of repeatedly hundreds of times\r\n\r\n", "user" : "haampie", "url" : "https://api.github.com/repos/spack/spack/issues/23132", "updated_at" : "2021-05-06 14:30:03", "created_at" : "2021-04-20 14:46:51", "closed_at" : "2021-05-06 14:30:03", "state" : "closed", "title" : "Better output for distributed builds", "number" : 23132, "milestone" : null, "labels" : ["feature", "user-experience"], "id" : 862898194, "html_url" : "https://github.com/spack/spack/issues/23132", "assignees" : [], "comments" : 1} | json_instruct | {"type": "object", "properties": {"body": {"type": "string"}, "user": {"type": "string"}, "url": {"type": "string"}, "updated_at": {"type": "string"}, "created_at": {"type": "string"}, "closed_at": {"type": "string"}, "state": {"type": "string"}, "title": {"type": "string"}, "number": {"type": "integer"}, "milestone": {"type": "null"}, "labels": {"type": "array", "items": {"type": "string"}}, "id": {"type": "integer"}, "html_url": {"type": "string"}, "assignees": {"type": "array", "items": {}}, "comments": {"type": "integer"}}, "required": ["body", "user", "url", "updated_at", "created_at", "closed_at", "state", "title", "number", "milestone", "labels", "id", "html_url", "assignees", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"assigned_to_str": {"type": "string"}, "case_name": {"type": "string"}, "cause": {"type": "string"}, "court_id": {"type": "string"}, "date_converted": {"type": "null"}, "date_discharged": {"type": "null"}, "date_filed": {"type": "string"}, "date_terminated": {"type": "null"}, "demand": {"type": "string"}, "docket_entries": {"type": "array", "items": {"type": "object", "properties": {"date_filed": {"type": "string"}, "description": {"type": "string"}, "document_number": {"type": "string"}, "pacer_doc_id": {"type": "string"}, "pacer_seq_no": {"type": "null"}}, "required": ["date_filed", "description", "document_number", "pacer_doc_id", "pacer_seq_no"]}}, "docket_number": {"type": "string"}, "jurisdiction": {"type": "string"}, "jury_demand": {"type": "string"}, "mdl_status": {"type": "string"}, "nature_of_suit": {"type": "string"}, "parties": {"type": "array", "items": {"type": "object", "properties": {"attorneys": {"type": "array", "items": {"type": "object", "properties": {"contact": {"type": "string"}, "name": {"type": "string"}, "roles": {"type": "array", "items": {}}}, "required": ["contact", "name", "roles"]}}, "date_terminated": {"type": "null"}, "extra_info": {"type": "string"}, "name": {"type": "string"}, "type": {"type": "string"}}, "required": ["attorneys", "date_terminated", "extra_info", "name", "type"]}}, "referred_to_str": {"type": "string"}}, "required": ["assigned_to_str", "case_name", "cause", "court_id", "date_converted", "date_discharged", "date_filed", "date_terminated", "demand", "docket_entries", "docket_number", "jurisdiction", "jury_demand", "mdl_status", "nature_of_suit", "parties", "referred_to_str"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"assigned_to_str" : "Barbara J. Houser", "case_name" : "Bon Secour Partners, LLC", "cause" : "", "court_id" : "txnb", "date_converted" : null, "date_discharged" : null, "date_filed" : "2009-11-03", "date_terminated" : null, "demand" : "", "docket_entries" : [{"date_filed" : "2010-02-05", "description" : "Chapter 11 plan filed by Debtor Bon Secour Partners, LLC. (Attachments: # 1 Exhibit A)(Pronske, Gerrit)", "document_number" : "47", "pacer_doc_id" : "sho0_doc.pl", "pacer_seq_no" : null}, {"date_filed" : "2010-02-05", "description" : "Disclosure statement filed by Debtor Bon Secour Partners, LLC. (Attachments: # 1 Exhibit A# 2 Exhibit B# 3 Exhibit C# 4 Exhibit D# 5 Exhibit E)(Pronske, Gerrit)", "document_number" : "48", "pacer_doc_id" : "sho0_doc.pl", "pacer_seq_no" : null}], "docket_number" : "09-37580", "jurisdiction" : "", "jury_demand" : "", "mdl_status" : "", "nature_of_suit" : "", "parties" : [{"attorneys" : [{"contact" : "Pronske & Patel, P.C.\n2200 Ross Avenue, Suite 5350\nDallas, TX 75201\n(214) 658-6506\nFax : (214) 658-6509\nEmail: cstephenson@pronskepatel.com\n", "name" : "Christina Walton Stephenson", "roles" : []}, {"contact" : "Pronske & Patel, P.C.\n2200 Ross Avenue\nSuite 5350\nDallas, TX 75201\n(214) 658-6500\nFax : 214-658-6509\nEmail: gpronske@pronskepatel.com\n", "name" : "Gerrit M. Pronske", "roles" : []}], "date_terminated" : null, "extra_info" : "3535 Gillespie, No. 305\nDallas, TX 75219\nTax ID / EIN: 20-1717020", "name" : "Bon Secour Partners, LLC", "type" : "Debtor"}, {"attorneys" : [], "date_terminated" : null, "extra_info" : "1100 Commerce Street\nRoom 976\nDallas, TX 75242-1496\n214-767-8967", "name" : "UST U.S. Trustee", "type" : "U.S. Trustee"}], "referred_to_str" : ""} | json_instruct | {"type": "object", "properties": {"assigned_to_str": {"type": "string"}, "case_name": {"type": "string"}, "cause": {"type": "string"}, "court_id": {"type": "string"}, "date_converted": {"type": "null"}, "date_discharged": {"type": "null"}, "date_filed": {"type": "string"}, "date_terminated": {"type": "null"}, "demand": {"type": "string"}, "docket_entries": {"type": "array", "items": {"type": "object", "properties": {"date_filed": {"type": "string"}, "description": {"type": "string"}, "document_number": {"type": "string"}, "pacer_doc_id": {"type": "string"}, "pacer_seq_no": {"type": "null"}}, "required": ["date_filed", "description", "document_number", "pacer_doc_id", "pacer_seq_no"]}}, "docket_number": {"type": "string"}, "jurisdiction": {"type": "string"}, "jury_demand": {"type": "string"}, "mdl_status": {"type": "string"}, "nature_of_suit": {"type": "string"}, "parties": {"type": "array", "items": {"type": "object", "properties": {"attorneys": {"type": "array", "items": {"type": "object", "properties": {"contact": {"type": "string"}, "name": {"type": "string"}, "roles": {"type": "array", "items": {}}}, "required": ["contact", "name", "roles"]}}, "date_terminated": {"type": "null"}, "extra_info": {"type": "string"}, "name": {"type": "string"}, "type": {"type": "string"}}, "required": ["attorneys", "date_terminated", "extra_info", "name", "type"]}}, "referred_to_str": {"type": "string"}}, "required": ["assigned_to_str", "case_name", "cause", "court_id", "date_converted", "date_discharged", "date_filed", "date_terminated", "demand", "docket_entries", "docket_number", "jurisdiction", "jury_demand", "mdl_status", "nature_of_suit", "parties", "referred_to_str"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"t": {"type": "string"}, "h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"f": {"type": "string"}, "e": {"type": "array", "items": {"type": "string"}}}, "required": ["f", "e"]}}}, "required": ["d"]}}, "stem": {"type": "string"}}, "required": ["t", "h", "stem"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"t" : "malayal", "h" : [{"d" : [{"f" : "\u88ab\u61f8\u639b\u3002", "e" : ["\ufff9`Ma~`layal~ `i~ `'anongnongan~.\ufffa\ufffb\u61f8\u540a\u5728\u623f\u6a11\u4e0a\u3002"]}]}], "stem" : "layal"} | json_instruct | {"type": "object", "properties": {"t": {"type": "string"}, "h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"f": {"type": "string"}, "e": {"type": "array", "items": {"type": "string"}}}, "required": ["f", "e"]}}}, "required": ["d"]}}, "stem": {"type": "string"}}, "required": ["t", "h", "stem"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"hash": {"type": "string"}, "parentHash": {"type": "string"}, "number": {"type": "integer"}, "timestamp": {"type": "integer"}, "nonce": {"type": "string"}, "difficulty": {"type": "integer"}, "gasLimit": {"type": "object", "properties": {"_hex": {"type": "string"}}, "required": ["_hex"]}, "gasUsed": {"type": "object", "properties": {"_hex": {"type": "string"}}, "required": ["_hex"]}, "miner": {"type": "string"}, "extraData": {"type": "string"}, "transactions": {"type": "array", "items": {}}}, "required": ["hash", "parentHash", "number", "timestamp", "nonce", "difficulty", "gasLimit", "gasUsed", "miner", "extraData", "transactions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"hash" : "0x4193b362e5e335a8a0e401b3c098073fff41774001ee883f17f01ccb3d7943fa", "parentHash" : "0xef1c3759df2c708566fb42661da87c273e2616963eff3d5f019211efb24f291e", "number" : 53567, "timestamp" : 1439039735, "nonce" : "0x4a9d054efc351eb7", "difficulty" : 1595512971834, "gasLimit" : {"_hex" : "0x2c2fd8"}, "gasUsed" : {"_hex" : "0x0"}, "miner" : "0xf8E0CA3Ed80bd541b94BEdCf259e8CF2141A9523", "extraData" : "0x476574682f76312e302e312f77696e646f77732f676f312e342e32", "transactions" : []} | json_instruct | {"type": "object", "properties": {"hash": {"type": "string"}, "parentHash": {"type": "string"}, "number": {"type": "integer"}, "timestamp": {"type": "integer"}, "nonce": {"type": "string"}, "difficulty": {"type": "integer"}, "gasLimit": {"type": "object", "properties": {"_hex": {"type": "string"}}, "required": ["_hex"]}, "gasUsed": {"type": "object", "properties": {"_hex": {"type": "string"}}, "required": ["_hex"]}, "miner": {"type": "string"}, "extraData": {"type": "string"}, "transactions": {"type": "array", "items": {}}}, "required": ["hash", "parentHash", "number", "timestamp", "nonce", "difficulty", "gasLimit", "gasUsed", "miner", "extraData", "transactions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"regexes": {"type": "object", "properties": {"before_unit": {"type": "string"}, "after_unit": {"type": "string"}, "before_count": {"type": "string"}, "after_count": {"type": "string"}}, "required": ["before_unit", "after_unit", "before_count", "after_count"]}, "command_words": {"type": "array", "items": {"type": "string"}}}, "required": ["regexes", "command_words"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"regexes" : {"before_unit" : ".+", "after_unit" : ".+", "before_count" : "an?|[\\d,\\.]+", "after_count" : "an?|[\\d,\\.]+"}, "command_words" : ["how many {before_unit} (?:are |is )(?:in|and) {after_count} {after_unit}", "how many {before_unit} (?:in|and) {after_count} {after_unit}", "how many {after_unit} is {before_count} {before_unit}", "how much is {before_count} {before_unit} (?:in|and) {after_unit}", "what is {before_count} {before_unit} (?:in|and) {after_unit}"]} | json_instruct | {"type": "object", "properties": {"regexes": {"type": "object", "properties": {"before_unit": {"type": "string"}, "after_unit": {"type": "string"}, "before_count": {"type": "string"}, "after_count": {"type": "string"}}, "required": ["before_unit", "after_unit", "before_count", "after_count"]}, "command_words": {"type": "array", "items": {"type": "string"}}}, "required": ["regexes", "command_words"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"companionAccepted": {"type": "string"}, "companionRejected": {"type": "string"}, "companionRejectedNight": {"type": "string"}, "companionDismiss": {"type": "string"}, "companionDismissAuto": {"type": "string"}, "companionRecruited": {"type": "string"}, "heal": {"type": "string"}, "nomedkits": {"type": "string"}}, "required": ["companionAccepted", "companionRejected", "companionRejectedNight", "companionDismiss", "companionDismissAuto", "companionRecruited", "heal", "nomedkits"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"companionAccepted" : "\u6211\u60f3\u6211\u4eca\u5929\u53ef\u4ee5\u4ece\u5de5\u4f5c\u4e2d\u4f11\u606f\u4e00\u4e0b.", "companionRejected" : "\u975e\u5e38\u62b1\u6b49 @. \u4eca\u5929\u6211\u7684\u75c5\u5e8a\u90fd\u6ee1\u5458\u4e86.$s", "companionRejectedNight" : "\u665a\u4e0a\u53bb\u5c71\u8c37\u63a2\u9669\u592a\u5371\u9669\u4e86 @. \u4f60\u53ef\u80fd\u4f1a\u53d7\u4f24.$u", "companionDismiss" : "\u6211\u8be5\u56de\u8bca\u6240\u4e86.\u8c22\u8c22\u4f60,\u6211\u4eca\u5929\u73a9\u7684\u5f88\u5f00\u5fc3 @.$h", "companionDismissAuto" : "\u6211\u5f88\u7d2f. \u6211\u5f97\u4f11\u606f\u4e00\u4e0b.\u7761\u7720\u5f88\u91cd\u8981,\u6240\u4ee5\u4e0d\u8981\u5728\u5916\u9762\u5446\u5f97\u592a\u665a.\u5c0f\u5fc3\u70b9.", "companionRecruited" : "\u6211\u4eec\u8d70!\u6211\u5e26\u4e86\u6025\u6551\u7bb1,\u4ee5\u9632\u4e07\u4e00.$h", "heal" : "\u522b\u52a8,\u8fd9\u53ef\u80fd\u6709\u70b9\u75bc.$1", "nomedkits" : "\u5662,\u6211\u7684\u836f\u7bb1\u90fd\u7528\u5b8c\u4e86.$7"} | json_instruct | {"type": "object", "properties": {"companionAccepted": {"type": "string"}, "companionRejected": {"type": "string"}, "companionRejectedNight": {"type": "string"}, "companionDismiss": {"type": "string"}, "companionDismissAuto": {"type": "string"}, "companionRecruited": {"type": "string"}, "heal": {"type": "string"}, "nomedkits": {"type": "string"}}, "required": ["companionAccepted", "companionRejected", "companionRejectedNight", "companionDismiss", "companionDismissAuto", "companionRecruited", "heal", "nomedkits"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "filename": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "homepage": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "maintainers": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "web": {"type": "string"}}, "required": ["name", "email", "web"]}}, "repositories": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}}, "required": ["name", "filename", "version", "description", "homepage", "keywords", "maintainers", "repositories"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "jquery-backstretch", "filename" : "jquery.backstretch.min.js", "version" : "2.0.3", "description" : "Backstretch is a simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element. The image will stretch to fit the page/element, and will automatically resize as the window/element size changes.", "homepage" : "http://srobbin.com/jquery-plugins/backstretch/", "keywords" : ["jquery", "background", "photo", "stretch"], "maintainers" : [{"name" : "Scott Robbin", "email" : "scott@robbin.co", "web" : "http://srobbin.com/"}], "repositories" : [{"type" : "git", "url" : "https://github.com/srobbin/jquery-backstretch"}]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "filename": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "homepage": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "maintainers": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "web": {"type": "string"}}, "required": ["name", "email", "web"]}}, "repositories": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}}, "required": ["name", "filename", "version", "description", "homepage", "keywords", "maintainers", "repositories"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "id": {"type": "string"}, "decimals": {"type": "integer"}, "coingecko_url": {"type": "string"}, "market_cap_usd": {"type": "number"}, "market_cap_rank": {"type": "null"}, "24_hr_volume_usd": {"type": "number"}, "logoURI": {"type": "string"}}, "required": ["name", "symbol", "id", "decimals", "coingecko_url", "market_cap_usd", "market_cap_rank", "24_hr_volume_usd", "logoURI"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Xi Token", "symbol" : "XI", "id" : "0x295B42684F90c77DA7ea46336001010F2791Ec8c", "decimals" : 18, "coingecko_url" : "https://www.coingecko.com/en/coins/xi-token", "market_cap_usd" : 0.0, "market_cap_rank" : null, "24_hr_volume_usd" : 6803.96, "logoURI" : "https://raw.githubusercontent.com/poolsharks-protocol/token-metadata/master/blockchains/ethereum/assets/0x295B42684F90c77DA7ea46336001010F2791Ec8c/logo.png"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "id": {"type": "string"}, "decimals": {"type": "integer"}, "coingecko_url": {"type": "string"}, "market_cap_usd": {"type": "number"}, "market_cap_rank": {"type": "null"}, "24_hr_volume_usd": {"type": "number"}, "logoURI": {"type": "string"}}, "required": ["name", "symbol", "id", "decimals", "coingecko_url", "market_cap_usd", "market_cap_rank", "24_hr_volume_usd", "logoURI"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}}, "desc": {"type": "string"}, "details": {"type": "object", "properties": {"authors": {"type": "string"}, "format": {"type": "string"}, "isbn-10": {"type": "string"}, "isbn-13": {"type": "string"}, "pages": {"type": "string"}, "publication date": {"type": "string"}, "publisher": {"type": "string"}, "size": {"type": "string"}}, "required": ["authors", "format", "isbn-10", "isbn-13", "pages", "publication date", "publisher", "size"]}, "img": {"type": "string"}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["categories", "desc", "details", "img", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"categories" : ["Manual", "Programming"], "desc" : "\n", "details" : {"authors" : "Jennifer Greene, Andrew Stellman", "format" : "pdf", "isbn-10" : "1449343503", "isbn-13" : "978-1449343507", "pages" : "1100 pages", "publication date" : "September 16, 2013", "publisher" : "O'Reilly Media", "size" : "73.40Mb"}, "img" : "http://23.95.221.108/covers/73/73b8f147af108822f0ac6bc13142e926.jpg", "link" : "https://rapidhosting.info/files/83s", "title" : "Head First C#: A Learner\u2019s Guide to Real-World Programming with C#, XAML, and .NET"} | json_instruct | {"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}}, "desc": {"type": "string"}, "details": {"type": "object", "properties": {"authors": {"type": "string"}, "format": {"type": "string"}, "isbn-10": {"type": "string"}, "isbn-13": {"type": "string"}, "pages": {"type": "string"}, "publication date": {"type": "string"}, "publisher": {"type": "string"}, "size": {"type": "string"}}, "required": ["authors", "format", "isbn-10", "isbn-13", "pages", "publication date", "publisher", "size"]}, "img": {"type": "string"}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["categories", "desc", "details", "img", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"word": {"type": "string"}, "definitions": {"type": "array", "items": {"type": "string"}}, "parts-of-speech": {"type": "string"}}, "required": ["word", "definitions", "parts-of-speech"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"word" : "Adequate", "definitions" : ["Satisfactory or acceptable in quality or quantity."], "parts-of-speech" : "Adjective"} | json_instruct | {"type": "object", "properties": {"word": {"type": "string"}, "definitions": {"type": "array", "items": {"type": "string"}}, "parts-of-speech": {"type": "string"}}, "required": ["word", "definitions", "parts-of-speech"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"P27959": {"type": "string"}, "POLG_HCVJ2": {"type": "string"}, "Genome polyprotein": {"type": "string"}}, "required": ["P27959", "POLG_HCVJ2", "Genome polyprotein"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"P27959" : "P27959", "POLG_HCVJ2" : "P27959", "Genome polyprotein" : "P27959"} | json_instruct | {"type": "object", "properties": {"P27959": {"type": "string"}, "POLG_HCVJ2": {"type": "string"}, "Genome polyprotein": {"type": "string"}}, "required": ["P27959", "POLG_HCVJ2", "Genome polyprotein"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "422822203001", "text" : "\u4e09\u91cc\u575d\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203002", "text" : "\u5c0f\u5c6f\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203003", "text" : "\u65b0\u6865\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203004", "text" : "\u77f3\u724c\u6e56\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203005", "text" : "\u6cb3\u576a\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203200", "text" : "\u5927\u5174\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203201", "text" : "\u5927\u724c\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203202", "text" : "\u4f55\u5bb6\u5761\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203203", "text" : "\u4e09\u9ad8\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203204", "text" : "\u5c0f\u6d2a\u843d\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203205", "text" : "\u5927\u6d2a\u843d\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203206", "text" : "\u9752\u6797\u53e3\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203207", "text" : "\u5b59\u5bb6\u575d\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203208", "text" : "\u67ab\u9999\u6811\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203209", "text" : "\u6d0b\u6e56\u6c9f\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203210", "text" : "\u9999\u6811\u6e7e\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203211", "text" : "\u4e25\u5bb6\u57ad\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203212", "text" : "\u7eff\u836b\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203213", "text" : "\u4e2d\u5766\u576a\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203214", "text" : "\u767d\u679c\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203215", "text" : "\u7164\u70ad\u6c9f\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203216", "text" : "\u9f99\u98de\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203217", "text" : "\u7a91\u573a\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203218", "text" : "\u9a6c\u5761\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203219", "text" : "\u5d14\u5bb6\u6751\u574a\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203220", "text" : "\u64e6\u64e6\u5761\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203221", "text" : "\u6768\u67f3\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203222", "text" : "\u4e8c\u9f99\u6e7e\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203223", "text" : "\u624e\u9c7c\u53e3\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203224", "text" : "\u5927\u6c99\u6cb3\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203225", "text" : "\u87e0\u9f99\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203226", "text" : "\u69d0\u5766\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203227", "text" : "\u51c9\u98ce\u57ad\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203228", "text" : "\u5e72\u6c9f\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203229", "text" : "\u767d\u5ca9\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203230", "text" : "\u9ad8\u5cf0\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}, {"id" : "422822203231", "text" : "\u5927\u4e30\u57eb\u6751\u6751\u6c11\u59d4\u5458\u4f1a"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"ci": {"type": "string"}, "code:lint": {"type": "string"}, "pretest": {"type": "string"}, "test": {"type": "string"}, "start": {"type": "string"}, "dev": {"type": "string"}, "snyk-protect": {"type": "string"}, "prepare": {"type": "string"}}, "required": ["ci", "code:lint", "pretest", "test", "start", "dev", "snyk-protect", "prepare"]}, "author": {"type": "string"}, "license": {"type": "string"}, "mocha": {"type": "object", "properties": {"require": {"type": "array", "items": {"type": "string"}}}, "required": ["require"]}, "dependencies": {"type": "object", "properties": {"apollo-server": {"type": "string"}, "bcrypt": {"type": "string"}, "esm": {"type": "string"}, "graphql": {"type": "string"}, "jsonwebtoken": {"type": "string"}, "mongoose": {"type": "string"}, "snyk": {"type": "string"}}, "required": ["apollo-server", "bcrypt", "esm", "graphql", "jsonwebtoken", "mongoose", "snyk"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "eslint": {"type": "string"}, "eslint-config-airbnb-base": {"type": "string"}, "eslint-config-prettier": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "husky": {"type": "string"}, "mocha": {"type": "string"}, "nodemon": {"type": "string"}, "start-server-and-test": {"type": "string"}, "supertest": {"type": "string"}}, "required": ["chai", "eslint", "eslint-config-airbnb-base", "eslint-config-prettier", "eslint-plugin-import", "husky", "mocha", "nodemon", "start-server-and-test", "supertest"]}, "snyk": {"type": "boolean"}}, "required": ["name", "version", "main", "scripts", "author", "license", "mocha", "dependencies", "devDependencies", "snyk"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "chalkboard-phone-book-graphql-api", "version" : "1.0.0", "main" : "src/server.js", "scripts" : {"ci" : "start-server-and-test 4000 test", "code:lint" : "./node_modules/.bin/eslint .", "pretest" : "mongorestore --db phone-book-graphql --collection contacts --drop ./test/data/contacts.bson", "test" : "./node_modules/.bin/mocha --exit", "start" : "node -r esm src/server.js", "dev" : "nodemon -r esm src/server.js", "snyk-protect" : "snyk protect", "prepare" : "npm run snyk-protect"}, "author" : "Matheus Seabra", "license" : "ISC", "mocha" : {"require" : ["esm"]}, "dependencies" : {"apollo-server" : "^2.17.0", "bcrypt" : "^5.0.0", "esm" : "^3.2.25", "graphql" : "^15.4.0", "jsonwebtoken" : "^8.5.1", "mongoose" : "^5.9.27", "snyk" : "^1.425.4"}, "devDependencies" : {"chai" : "^4.2.0", "eslint" : "^6.8.0", "eslint-config-airbnb-base" : "^14.0.0", "eslint-config-prettier" : "^6.10.0", "eslint-plugin-import" : "^2.20.1", "husky" : "^4.2.3", "mocha" : "^7.1.2", "nodemon" : "^2.0.6", "start-server-and-test" : "^1.11.2", "supertest" : "^4.0.2"}, "snyk" : true} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"ci": {"type": "string"}, "code:lint": {"type": "string"}, "pretest": {"type": "string"}, "test": {"type": "string"}, "start": {"type": "string"}, "dev": {"type": "string"}, "snyk-protect": {"type": "string"}, "prepare": {"type": "string"}}, "required": ["ci", "code:lint", "pretest", "test", "start", "dev", "snyk-protect", "prepare"]}, "author": {"type": "string"}, "license": {"type": "string"}, "mocha": {"type": "object", "properties": {"require": {"type": "array", "items": {"type": "string"}}}, "required": ["require"]}, "dependencies": {"type": "object", "properties": {"apollo-server": {"type": "string"}, "bcrypt": {"type": "string"}, "esm": {"type": "string"}, "graphql": {"type": "string"}, "jsonwebtoken": {"type": "string"}, "mongoose": {"type": "string"}, "snyk": {"type": "string"}}, "required": ["apollo-server", "bcrypt", "esm", "graphql", "jsonwebtoken", "mongoose", "snyk"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "eslint": {"type": "string"}, "eslint-config-airbnb-base": {"type": "string"}, "eslint-config-prettier": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "husky": {"type": "string"}, "mocha": {"type": "string"}, "nodemon": {"type": "string"}, "start-server-and-test": {"type": "string"}, "supertest": {"type": "string"}}, "required": ["chai", "eslint", "eslint-config-airbnb-base", "eslint-config-prettier", "eslint-plugin-import", "husky", "mocha", "nodemon", "start-server-and-test", "supertest"]}, "snyk": {"type": "boolean"}}, "required": ["name", "version", "main", "scripts", "author", "license", "mocha", "dependencies", "devDependencies", "snyk"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"editor.defaultFormatter": {"type": "string"}, "editor.formatOnSave": {"type": "boolean"}, "editor.tabSize": {"type": "integer"}, "workbench.editor.limit.enabled": {"type": "boolean"}, "[typescript]": {"type": "object", "properties": {"editor.defaultFormatter": {"type": "string"}}, "required": ["editor.defaultFormatter"]}, "cSpell.words": {"type": "array", "items": {"type": "string"}}, "files.autoSave": {"type": "string"}, "jest.showCoverageOnLoad": {"type": "boolean"}}, "required": ["editor.defaultFormatter", "editor.formatOnSave", "editor.tabSize", "workbench.editor.limit.enabled", "[typescript]", "cSpell.words", "files.autoSave", "jest.showCoverageOnLoad"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"editor.defaultFormatter" : "esbenp.prettier-vscode", "editor.formatOnSave" : true, "editor.tabSize" : 2, "workbench.editor.limit.enabled" : true, "[typescript]" : {"editor.defaultFormatter" : "esbenp.prettier-vscode"}, "cSpell.words" : ["ACCESSTOKEN", "addtabspace", "ALLBOOKMARK", "ALLNOTE", "ALLTODO", "auditcomplete", "AUTOBACKUP", "blueprintjs", "changeid", "CHROMESESSION", "clsx", "datenow", "dexie", "Discardable", "ellipsize", "FULLTEXT", "fullwidth", "gdrive", "gettabspace", "immer", "Impls", "loadsaved", "LOCALSTORAGE", "loglevel", "Objs", "onduplicate", "reactdev", "removetabspace", "rollcall", "Sider", "simplebar", "strikethrough", "stsid", "tabregistry", "tabspace", "tabspaceregistry", "tabverse", "Tabverses", "todos", "Webtool"], "files.autoSave" : "onFocusChange", "jest.showCoverageOnLoad" : true} | json_instruct | {"type": "object", "properties": {"editor.defaultFormatter": {"type": "string"}, "editor.formatOnSave": {"type": "boolean"}, "editor.tabSize": {"type": "integer"}, "workbench.editor.limit.enabled": {"type": "boolean"}, "[typescript]": {"type": "object", "properties": {"editor.defaultFormatter": {"type": "string"}}, "required": ["editor.defaultFormatter"]}, "cSpell.words": {"type": "array", "items": {"type": "string"}}, "files.autoSave": {"type": "string"}, "jest.showCoverageOnLoad": {"type": "boolean"}}, "required": ["editor.defaultFormatter", "editor.formatOnSave", "editor.tabSize", "workbench.editor.limit.enabled", "[typescript]", "cSpell.words", "files.autoSave", "jest.showCoverageOnLoad"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1908, 5], [1909, 8], [1910, 6], [1912, 6], [1913, 9], [1914, 15], [1915, 15], [1916, 16], [1917, 14], [1918, 16], [1919, 25], [1920, 20], [1921, 28], [1922, 21], [1923, 27], [1924, 51], [1925, 28], [1926, 49], [1927, 49], [1928, 41], [1929, 45], [1930, 39], [1931, 35], [1932, 39], [1933, 43], [1934, 30], [1935, 28], [1936, 22], [1937, 24], [1938, 19], [1939, 26], [1940, 25], [1941, 26], [1942, 24], [1943, 30], [1944, 23], [1945, 34], [1946, 36], [1947, 46], [1948, 37], [1949, 39], [1950, 24], [1951, 36], [1952, 36], [1953, 25], [1954, 28], [1955, 38], [1956, 40], [1957, 28], [1958, 32], [1959, 41], [1960, 34], [1961, 24], [1962, 37], [1963, 40], [1964, 22], [1965, 20], [1966, 26], [1967, 28], [1968, 30], [1969, 30], [1970, 41], [1971, 35], [1972, 31], [1973, 37], [1974, 38], [1975, 40], [1976, 36], [1977, 31], [1978, 39], [1979, 42], [1980, 48], [1981, 40], [1982, 39], [1983, 36], [1984, 30], [1985, 36], [1986, 38], [1987, 47], [1988, 46], [1989, 47], [1990, 50], [1991, 64], [1992, 59], [1993, 54], [1994, 55], [1995, 42], [1996, 47], [1997, 44], [1998, 42], [1999, 46], [2000, 47], [2001, 58], [2002, 35], [2003, 43], [2004, 52], [2005, 39], [2006, 41], [2007, 38], [2008, 35], [2009, 39], [2010, 29], [2011, 32], [2012, 32], [2013, 27], [2014, 28]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country": {"type": "string"}, "region": {"type": "string"}, "identifiers": {"type": "object", "properties": {"wmo": {"type": "string"}, "ghcn": {"type": "string"}, "usaf": {"type": "string"}}, "required": ["wmo", "ghcn", "usaf"]}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}, "elevation": {"type": "integer"}}, "required": ["latitude", "longitude", "elevation"]}, "timezone": {"type": "string"}}, "required": ["id", "name", "country", "region", "identifiers", "location", "timezone"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "93747", "name" : {"en" : "Tara Hills"}, "country" : "NZ", "region" : "CAN", "identifiers" : {"wmo" : "93747", "ghcn" : "NZ000937470", "usaf" : "937470"}, "location" : {"latitude" : -44.5167, "longitude" : 169.9, "elevation" : 488}, "timezone" : "Pacific/Auckland"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country": {"type": "string"}, "region": {"type": "string"}, "identifiers": {"type": "object", "properties": {"wmo": {"type": "string"}, "ghcn": {"type": "string"}, "usaf": {"type": "string"}}, "required": ["wmo", "ghcn", "usaf"]}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}, "elevation": {"type": "integer"}}, "required": ["latitude", "longitude", "elevation"]}, "timezone": {"type": "string"}}, "required": ["id", "name", "country", "region", "identifiers", "location", "timezone"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"latest_version": {"type": "array", "items": {"type": "string"}}, "meta": {"type": "object", "properties": {"description": {"type": "string"}, "homepage": {"type": "string"}}, "required": ["description", "homepage"]}, "versions": {"type": "object", "properties": {"1.0.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.1.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.2.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.3.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}}, "required": ["1.0.0", "1.1.0", "1.2.0", "1.3.0"]}}, "required": ["latest_version", "meta", "versions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"latest_version" : ["1.3.0"], "meta" : {"description" : "A simple printer of nested lists", "homepage" : "http://www.headfirstlabs.com"}, "versions" : {"1.0.0" : {"sha256" : "917eb45adb6f1adedd3aaca14a918956c89687a1d2a1e836a00b9466d474408f", "url" : "https://files.pythonhosted.org/packages/60/f2/d2073890a458a81799cd3bde524ace944faecde52edf0b8b61f4a2101315/nester_tun-1.0.0.zip"}, "1.1.0" : {"sha256" : "e04443eff34acf462699e23fc3ef1716717554866fa9774b02a58bd65c6d60c5", "url" : "https://files.pythonhosted.org/packages/96/f4/f754b17512f8a24a7c4e4b93425b5ebfd820721906604e801a453dc0cbf0/nester_tun-1.1.0.zip"}, "1.2.0" : {"sha256" : "5b1d324ba5d1e36bf964f9a9b5e806713be4107a65f0aa9a918e0296311c2305", "url" : "https://files.pythonhosted.org/packages/ed/9f/deae88939bfebf963d4e78a308b8028bab10f70f9bbb22487d970cba9345/nester_tun-1.2.0.zip"}, "1.3.0" : {"sha256" : "727ffd578ba3a60a89e8ffde99f4b8fa002902f7ff3efd40dd41c1c225e15c1b", "url" : "https://files.pythonhosted.org/packages/02/90/9cd286ceffd467d62e39a5ea4182fad003d7897478fdb05c01376f626487/nester_tun-1.3.0.zip"}}} | json_instruct | {"type": "object", "properties": {"latest_version": {"type": "array", "items": {"type": "string"}}, "meta": {"type": "object", "properties": {"description": {"type": "string"}, "homepage": {"type": "string"}}, "required": ["description", "homepage"]}, "versions": {"type": "object", "properties": {"1.0.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.1.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.2.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.3.0": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}}, "required": ["1.0.0", "1.1.0", "1.2.0", "1.3.0"]}}, "required": ["latest_version", "meta", "versions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"COMMENT_LOOKS_LIKE_SPAM": {"type": "string"}}, "required": ["COMMENT_LOOKS_LIKE_SPAM"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"COMMENT_LOOKS_LIKE_SPAM" : "Dieser Kommentar sieht aus wie Spam. Bitte bearbeite deinen Kommentar und versuche es erneut."} | json_instruct | {"type": "object", "properties": {"COMMENT_LOOKS_LIKE_SPAM": {"type": "string"}}, "required": ["COMMENT_LOOKS_LIKE_SPAM"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "object", "properties": {"uriMatch": {"type": "string"}, "options": {"type": "array", "items": {"type": "object", "properties": {"domain": {"type": "string"}, "version": {"type": "integer"}, "items": {"type": "object", "properties": {"treebanks": {"type": "object", "properties": {"labelText": {"type": "string"}, "defaultValue": {"type": "string"}, "multiValue": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "object", "properties": {"value": {"type": "string"}, "test": {"type": "string"}}, "required": ["value", "test"]}}}, "required": ["labelText", "defaultValue", "multiValue", "values"]}}, "required": ["treebanks"]}}, "required": ["domain", "version", "items"]}}}, "required": ["uriMatch", "options"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"uriMatch" : "https?://example.org", "options" : [{"domain" : "alpheios-resource-options", "version" : 2, "items" : {"treebanks" : {"labelText" : "Treebanks", "defaultValue" : "https://alpheios.net/treebanks/xx", "multiValue" : false, "values" : [{"value" : "https://alpheios.net/treebanks/xx", "test" : "Example Site Treebank"}]}}}]}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"uriMatch": {"type": "string"}, "options": {"type": "array", "items": {"type": "object", "properties": {"domain": {"type": "string"}, "version": {"type": "integer"}, "items": {"type": "object", "properties": {"treebanks": {"type": "object", "properties": {"labelText": {"type": "string"}, "defaultValue": {"type": "string"}, "multiValue": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "object", "properties": {"value": {"type": "string"}, "test": {"type": "string"}}, "required": ["value", "test"]}}}, "required": ["labelText", "defaultValue", "multiValue", "values"]}}, "required": ["treebanks"]}}, "required": ["domain", "version", "items"]}}}, "required": ["uriMatch", "options"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "object", "properties": {"spaceId": {"type": "string"}, "appName": {"type": "string"}, "moduleDto": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}, "providedDependencies": {"type": "array", "items": {}}, "requiredDependencies": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "properties"]}}}, "required": ["name", "properties", "providedDependencies", "requiredDependencies"]}, "resourceDto": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "properties"]}}, "required": ["spaceId", "appName", "moduleDto", "resourceDto"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"spaceId" : "sap", "appName" : "t-1", "moduleDto" : {"name" : "t-1", "properties" : {}, "providedDependencies" : [], "requiredDependencies" : [{"name" : "plugins-1", "properties" : {}}]}, "resourceDto" : {"name" : "plugins-1", "properties" : {}}}, {"spaceId" : "sap", "appName" : "t-2", "moduleDto" : {"name" : "t-2", "properties" : {}, "providedDependencies" : [], "requiredDependencies" : [{"name" : "plugins-1", "properties" : {}}]}, "resourceDto" : {"name" : "plugins-1", "properties" : {}}}, {"spaceId" : "sap", "appName" : "t-3", "moduleDto" : {"name" : "t-3", "properties" : {}, "providedDependencies" : [], "requiredDependencies" : [{"name" : "plugins-2", "properties" : {}}]}, "resourceDto" : {"name" : "plugins-2", "properties" : {}}}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"spaceId": {"type": "string"}, "appName": {"type": "string"}, "moduleDto": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}, "providedDependencies": {"type": "array", "items": {}}, "requiredDependencies": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "properties"]}}}, "required": ["name", "properties", "providedDependencies", "requiredDependencies"]}, "resourceDto": {"type": "object", "properties": {"name": {"type": "string"}, "properties": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "properties"]}}, "required": ["spaceId", "appName", "moduleDto", "resourceDto"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"nom": {"type": "string"}, "circ": {"type": "string"}, "dpt": {"type": "string"}, "inscrits": {"type": "integer"}, "abs": {"type": "integer"}, "votants": {"type": "integer"}, "blancs": {"type": "integer"}, "nuls": {"type": "integer"}, "exp": {"type": "integer"}, "res": {"type": "array", "items": {"type": "object", "properties": {"nuance": {"type": "string"}, "nom": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["nuance", "nom", "voix"]}}}, "required": ["nom", "circ", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"nom" : "Bonneville-Aptot", "circ" : "3\u00e8me circonscription", "dpt" : "Eure", "inscrits" : 188, "abs" : 95, "votants" : 93, "blancs" : 5, "nuls" : 0, "exp" : 88, "res" : [{"nuance" : "MDM", "nom" : "Mme Marie TAMARELLE-VERHAEGHE", "voix" : 51}, {"nuance" : "FN", "nom" : "M. Timoth\u00e9e HOUSSIN", "voix" : 37}]} | json_instruct | {"type": "object", "properties": {"nom": {"type": "string"}, "circ": {"type": "string"}, "dpt": {"type": "string"}, "inscrits": {"type": "integer"}, "abs": {"type": "integer"}, "votants": {"type": "integer"}, "blancs": {"type": "integer"}, "nuls": {"type": "integer"}, "exp": {"type": "integer"}, "res": {"type": "array", "items": {"type": "object", "properties": {"nuance": {"type": "string"}, "nom": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["nuance", "nom", "voix"]}}}, "required": ["nom", "circ", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"": {"type": "array", "items": {"type": "string"}}, "previewOnGitHub": {"type": "string"}, "similarIssues": {"type": "string"}, "noResults": {"type": "string"}, "rateLimited": {"type": "string"}, "stepsToReproduce": {"type": "string"}, "bugDescription": {"type": "string"}, "performanceIssueDesciption": {"type": "string"}, "description": {"type": "string"}, "disabledExtensions": {"type": "string"}}, "required": ["", "previewOnGitHub", "similarIssues", "noResults", "rateLimited", "stepsToReproduce", "bugDescription", "performanceIssueDesciption", "description", "disabledExtensions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"" : ["--------------------------------------------------------------------------------------------", "Copyright (c) Microsoft Corporation. All rights reserved.", "Licensed under the MIT License. See License.txt in the project root for license information.", "--------------------------------------------------------------------------------------------", "Do not edit this file. It is machine generated."], "previewOnGitHub" : "Anteprima in GitHub", "similarIssues" : "Problemi simili", "noResults" : "Non sono stati trovati risultati", "rateLimited" : "Superato il limite di frequenza API", "stepsToReproduce" : "Passi da riprodurre", "bugDescription" : "Come \u00e8 stato riscontrato il problema? Quali passaggi \u00e8 necessario eseguire per riprodurre il problema in modo affidabile? Che cosa doveva accadere e cosa \u00e8 invece effettivamente accaduto?", "performanceIssueDesciption" : "Quando si \u00e8 verificato questo problema di prestazioni? Si \u00e8 ad esempio verificato all'avvio o dopo una serie specifica di azioni? Qualsiasi dettaglio fornito pu\u00f2 essere utile ai fini dell'analisi del problema.", "description" : "Descrizione", "disabledExtensions" : "Le estensioni sono disabilitate"} | json_instruct | {"type": "object", "properties": {"": {"type": "array", "items": {"type": "string"}}, "previewOnGitHub": {"type": "string"}, "similarIssues": {"type": "string"}, "noResults": {"type": "string"}, "rateLimited": {"type": "string"}, "stepsToReproduce": {"type": "string"}, "bugDescription": {"type": "string"}, "performanceIssueDesciption": {"type": "string"}, "description": {"type": "string"}, "disabledExtensions": {"type": "string"}}, "required": ["", "previewOnGitHub", "similarIssues", "noResults", "rateLimited", "stepsToReproduce", "bugDescription", "performanceIssueDesciption", "description", "disabledExtensions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"datatypes": {"type": "object", "properties": {"String": {"type": "integer"}, "ExternalId": {"type": "integer"}, "WikibaseItem": {"type": "integer"}, "GlobeCoordinate": {"type": "integer"}, "Time": {"type": "integer"}, "Url": {"type": "integer"}, "Quantity": {"type": "integer"}, "Monolingualtext": {"type": "integer"}, "CommonsMedia": {"type": "integer"}, "GeoShape": {"type": "integer"}, "WikibaseProperty": {"type": "integer"}, "Math": {"type": "integer"}, "WikibaseLexeme": {"type": "integer"}, "WikibaseSense": {"type": "integer"}}, "required": ["String", "ExternalId", "WikibaseItem", "GlobeCoordinate", "Time", "Url", "Quantity", "Monolingualtext", "CommonsMedia", "GeoShape", "WikibaseProperty", "Math", "WikibaseLexeme", "WikibaseSense"]}, "total_properties": {"type": "integer"}, "total_accumulated_datatypes": {"type": "integer"}, "total_unique_datatypes": {"type": "integer"}}, "required": ["datatypes", "total_properties", "total_accumulated_datatypes", "total_unique_datatypes"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"datatypes" : {"String" : 3317685, "ExternalId" : 26890505, "WikibaseItem" : 3119113, "GlobeCoordinate" : 275, "Time" : 16781, "Url" : 22456, "Quantity" : 1824, "Monolingualtext" : 1336, "CommonsMedia" : 338, "GeoShape" : 1, "WikibaseProperty" : 26, "Math" : 3, "WikibaseLexeme" : 1, "WikibaseSense" : 1}, "total_properties" : 4385, "total_accumulated_datatypes" : 33370345, "total_unique_datatypes" : 14} | json_instruct | {"type": "object", "properties": {"datatypes": {"type": "object", "properties": {"String": {"type": "integer"}, "ExternalId": {"type": "integer"}, "WikibaseItem": {"type": "integer"}, "GlobeCoordinate": {"type": "integer"}, "Time": {"type": "integer"}, "Url": {"type": "integer"}, "Quantity": {"type": "integer"}, "Monolingualtext": {"type": "integer"}, "CommonsMedia": {"type": "integer"}, "GeoShape": {"type": "integer"}, "WikibaseProperty": {"type": "integer"}, "Math": {"type": "integer"}, "WikibaseLexeme": {"type": "integer"}, "WikibaseSense": {"type": "integer"}}, "required": ["String", "ExternalId", "WikibaseItem", "GlobeCoordinate", "Time", "Url", "Quantity", "Monolingualtext", "CommonsMedia", "GeoShape", "WikibaseProperty", "Math", "WikibaseLexeme", "WikibaseSense"]}, "total_properties": {"type": "integer"}, "total_accumulated_datatypes": {"type": "integer"}, "total_unique_datatypes": {"type": "integer"}}, "required": ["datatypes", "total_properties", "total_accumulated_datatypes", "total_unique_datatypes"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"category": {"type": "string"}, "lang": {"type": "string"}, "original": {"type": "string"}, "riddle": {"type": "array", "items": {"type": "string"}}, "solution": {"type": "string"}, "type": {"type": "string"}}, "required": ["category", "lang", "original", "riddle", "solution", "type"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"category" : "riddlechests:jeopardy/world_facts", "lang" : "en_us", "original" : "MKPNZFD", "riddle" : ["World Facts", "", "Manus is the largest of the Admiralty", "Islands, which are found in this ocean"], "solution" : "PACIFIC", "type" : "riddlechests:word"} | json_instruct | {"type": "object", "properties": {"category": {"type": "string"}, "lang": {"type": "string"}, "original": {"type": "string"}, "riddle": {"type": "array", "items": {"type": "string"}}, "solution": {"type": "string"}, "type": {"type": "string"}}, "required": ["category", "lang", "original", "riddle", "solution", "type"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"user": {"type": "object", "properties": {"title": {"type": "string"}, "children": {"type": "array", "items": {"type": "string"}}}, "required": ["title", "children"]}, "custom_attributes": {"type": "object", "properties": {"title": {"type": "string"}}, "required": ["title"]}}, "required": ["user", "custom_attributes"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"user" : {"title" : "User Guide", "children" : ["custom_attributes"]}, "custom_attributes" : {"title" : "DOM node attributes"}} | json_instruct | {"type": "object", "properties": {"user": {"type": "object", "properties": {"title": {"type": "string"}, "children": {"type": "array", "items": {"type": "string"}}}, "required": ["title", "children"]}, "custom_attributes": {"type": "object", "properties": {"title": {"type": "string"}}, "required": ["title"]}}, "required": ["user", "custom_attributes"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"point": {"type": "string"}, "name": {"type": "string"}, "planning-permission-history": {"type": "string"}, "planning-permission-date": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "site-plan-url": {"type": "string"}, "site": {"type": "string"}, "ownership-status": {"type": "string"}, "deliverable": {"type": "string"}, "planning-permission-type": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "start-date": {"type": "string"}, "hectares": {"type": "string"}, "planning-permission-status": {"type": "string"}, "organisation": {"type": "string"}, "notes": {"type": "string"}, "site-address": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}}, "required": ["point", "name", "planning-permission-history", "planning-permission-date", "maximum-net-dwellings", "site-plan-url", "site", "ownership-status", "deliverable", "planning-permission-type", "minimum-net-dwellings", "start-date", "hectares", "planning-permission-status", "organisation", "notes", "site-address", "slug", "entity", "entry-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [-1.1034, 53.9876]}, "properties" : {"point" : "POINT(-1.1034 53.9876)", "name" : "BR-020", "planning-permission-history" : "https://www.york.gov.uk/SearchPlanningApplications", "planning-permission-date" : "2018-03-05", "maximum-net-dwellings" : "34", "site-plan-url" : "https://www.york.gov.uk/downloads/download/4172/brownfield_register", "site" : "BR-020", "ownership-status" : "not owned by a public authority", "deliverable" : "yes", "planning-permission-type" : "other", "minimum-net-dwellings" : "34", "start-date" : "2017-12-21", "hectares" : "0.48", "planning-permission-status" : "permissioned", "organisation" : "local-authority-eng:YOR", "notes" : "See planning application: 18/00172/ORC this supersedes application 17/01570/ORC. It should be noted that application: 18/01696/FUL has also been approved for Change of Use to a 24hr veterinary surgery. Proposed change of use from offices to 34no. apartments (use class C3) under Class O Part 3 Schedule 2 of Article 3 of The Town and Country Planning (General Permitted Development) Order 2", "site-address" : "Environment Agency Coverdale House Aviator Court", "slug" : "/brownfield-land/local-authority-eng/YOR/BR-020", "entity" : 500283, "entry-date" : "2018-12-20"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"point": {"type": "string"}, "name": {"type": "string"}, "planning-permission-history": {"type": "string"}, "planning-permission-date": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "site-plan-url": {"type": "string"}, "site": {"type": "string"}, "ownership-status": {"type": "string"}, "deliverable": {"type": "string"}, "planning-permission-type": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "start-date": {"type": "string"}, "hectares": {"type": "string"}, "planning-permission-status": {"type": "string"}, "organisation": {"type": "string"}, "notes": {"type": "string"}, "site-address": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}}, "required": ["point", "name", "planning-permission-history", "planning-permission-date", "maximum-net-dwellings", "site-plan-url", "site", "ownership-status", "deliverable", "planning-permission-type", "minimum-net-dwellings", "start-date", "hectares", "planning-permission-status", "organisation", "notes", "site-address", "slug", "entity", "entry-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "string"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "string"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "null"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 80833, "name" : "Facebook - wide timeline", "description" : "removes the right sidebar", "user" : {"id" : 172244, "name" : "shtep", "email" : "redacted", "paypal_email" : "jbennecker@googlemail.com", "homepage" : null, "about" : null, "license" : "arr"}, "updated" : "2014-03-31T07:09:16.000Z", "weekly_install_count" : 6, "total_install_count" : 1618, "rating" : null, "after_screenshot_name" : "https://userstyles.org/auto_style_screenshots/80833-after.png?r=1618819853", "obsoleting_style_id" : null, "obsoleting_style_name" : null, "obsolete" : 0, "admin_delete_reason_id" : null, "obsoletion_message" : null, "screenshots" : null, "license" : null, "created" : "2012-12-31T06:40:46.000Z", "category" : "site", "raw_subcategory" : "facebook", "subcategory" : "facebook", "additional_info" : null, "style_tags" : [], "css" : "@namespace url(http://www.w3.org/1999/xhtml);\r\n\r\n@-moz-document domain(\"facebook.com\") {\r\n#rightCol {\r\n\tdisplay:none !important;\r\n}\r\n\r\n#contentArea {\r\n\twidth: auto !Important;\r\n}\r\n}", "discussions" : [], "discussionsCount" : 0, "commentsCount" : 0, "userjs_url" : "/styles/userjs/80833/facebook-wide-timeline.user.js", "style_settings" : []} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "string"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "string"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "null"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"TIMESTAMP UTC": {"type": "string"}, "CLASSIFICATION": {"type": "string"}}, "required": ["TIMESTAMP UTC", "CLASSIFICATION"]}}, "required": ["type", "geometry", "properties"]}}, "type": {"type": "string"}}, "required": ["features", "type"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"features" : [{"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [4.791376179382958, 52.08526107596586]}, "properties" : {"TIMESTAMP UTC" : "2019-08-14T10:56:40", "CLASSIFICATION" : "Flying plane"}}, {"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [4.395440821890304, 52.067830707592094]}, "properties" : {"TIMESTAMP UTC" : "2019-08-14T10:56:44", "CLASSIFICATION" : "Flying plane"}}], "type" : "FeatureCollection"} | json_instruct | {"type": "object", "properties": {"features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"TIMESTAMP UTC": {"type": "string"}, "CLASSIFICATION": {"type": "string"}}, "required": ["TIMESTAMP UTC", "CLASSIFICATION"]}}, "required": ["type", "geometry", "properties"]}}, "type": {"type": "string"}}, "required": ["features", "type"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"query-string": {"type": "string"}, "react-admin": {"type": "string"}}, "required": ["query-string", "react-admin"]}}, "required": ["name", "version", "description", "main", "directories", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "ra-data-restdb", "version" : "0.0.1", "description" : "restdb.io data provider for React Admin", "main" : "index.js", "directories" : {"test" : "test"}, "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "repository" : {"type" : "git", "url" : "git+https://github.com/RestDB/ra-data-restdb.git"}, "keywords" : ["react-admin", "dataprovider", "restdb", "rest"], "author" : "Knut Martin Tornes", "license" : "MIT", "bugs" : {"url" : "https://github.com/RestDB/ra-data-restdb/issues"}, "homepage" : "https://github.com/RestDB/ra-data-restdb#readme", "dependencies" : {"query-string" : "^6.13.1", "react-admin" : "^3.8.1"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"query-string": {"type": "string"}, "react-admin": {"type": "string"}}, "required": ["query-string", "react-admin"]}}, "required": ["name", "version", "description", "main", "directories", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 1126009033, "type" : "Feature", "properties" : {"src:alt_label" : "qs_pg", "src:geom" : "qs_pg", "wof:geomhash" : "4bad0843b33624d40f7996b9a8658f78", "wof:id" : 1126009033, "wof:repo" : "whosonfirst-data-admin-fr"}, "bbox" : [9.11244, 42.50402, 9.11244, 42.50402], "geometry" : {"coordinates" : [9.11244, 42.50402], "type" : "Point"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "unity": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "string"}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "displayName", "description", "version", "unity", "license", "author", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "com.codewriter.stylecomponents", "displayName" : "Style Components", "description" : "Library for styling game objects in Unity", "version" : "1.0.0", "unity" : "2019.3", "license" : "MIT", "author" : "Vlad Vanifatov (https://github.com/vanifatovvlad)", "homepage" : "https://github.com/codewriter-packages/Style-Components#readme", "dependencies" : {}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "unity": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "string"}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "displayName", "description", "version", "unity", "license", "author", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"configuration": {"type": "array", "items": {"type": "string"}}, "regionsToProcessedPerformance": {"type": "object", "properties": {"program": {"type": "integer"}}, "required": ["program"]}}, "required": ["configuration", "regionsToProcessedPerformance"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"configuration" : ["ISTIMECREATE", "ISTYPEOTHER", "ISTYPEFILE"], "regionsToProcessedPerformance" : {"program" : 1944769992}} | json_instruct | {"type": "object", "properties": {"configuration": {"type": "array", "items": {"type": "string"}}, "regionsToProcessedPerformance": {"type": "object", "properties": {"program": {"type": "integer"}}, "required": ["program"]}}, "required": ["configuration", "regionsToProcessedPerformance"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1988, 5], [1989, 5], [1990, 8], [1992, 7], [1993, 7], [1994, 6], [1996, 9], [1997, 6], [1998, 7], [1999, 7], [2000, 13], [2001, 18], [2002, 12], [2003, 12], [2004, 12], [2005, 22], [2006, 36], [2007, 42], [2008, 38], [2009, 49], [2010, 39], [2011, 37], [2012, 32], [2013, 32], [2014, 37]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "object", "properties": {"subreddit": {"type": "string"}, "hour": {"type": "string"}, "avg": {"type": "number"}}, "required": ["subreddit", "hour", "avg"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"subreddit" : "intrusivethoughts", "hour" : "01", "avg" : 20.53191489361702}, {"subreddit" : "intrusivethoughts", "hour" : "02", "avg" : 36.833333333333336}, {"subreddit" : "intrusivethoughts", "hour" : "03", "avg" : 18.613636363636363}, {"subreddit" : "intrusivethoughts", "hour" : "04", "avg" : 19.163636363636364}, {"subreddit" : "intrusivethoughts", "hour" : "05", "avg" : 21.41860465116279}, {"subreddit" : "intrusivethoughts", "hour" : "06", "avg" : 24.906976744186046}, {"subreddit" : "intrusivethoughts", "hour" : "07", "avg" : 33.5}, {"subreddit" : "intrusivethoughts", "hour" : "08", "avg" : 22.36}, {"subreddit" : "intrusivethoughts", "hour" : "09", "avg" : 42.23809523809524}, {"subreddit" : "intrusivethoughts", "hour" : "10", "avg" : 37.0}, {"subreddit" : "intrusivethoughts", "hour" : "11", "avg" : 13.592592592592593}, {"subreddit" : "intrusivethoughts", "hour" : "12", "avg" : 23.59375}, {"subreddit" : "intrusivethoughts", "hour" : "13", "avg" : 40.0}, {"subreddit" : "intrusivethoughts", "hour" : "14", "avg" : 40.714285714285715}, {"subreddit" : "intrusivethoughts", "hour" : "15", "avg" : 52.65909090909091}, {"subreddit" : "intrusivethoughts", "hour" : "16", "avg" : 57.142857142857146}, {"subreddit" : "intrusivethoughts", "hour" : "17", "avg" : 29.074074074074073}, {"subreddit" : "intrusivethoughts", "hour" : "18", "avg" : 20.482142857142858}, {"subreddit" : "intrusivethoughts", "hour" : "19", "avg" : 27.727272727272727}, {"subreddit" : "intrusivethoughts", "hour" : "20", "avg" : 6.235294117647059}, {"subreddit" : "intrusivethoughts", "hour" : "21", "avg" : 30.41509433962264}, {"subreddit" : "intrusivethoughts", "hour" : "22", "avg" : 8.53191489361702}, {"subreddit" : "intrusivethoughts", "hour" : "23", "avg" : 28.05263157894737}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"subreddit": {"type": "string"}, "hour": {"type": "string"}, "avg": {"type": "number"}}, "required": ["subreddit", "hour", "avg"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"word" : "everlasting", "definition" : "1. Lasting or enduring forever; exsisting or continuing without end; immoral; eternal. \"The Everlasting God.\" Gen. xx1. 33. 2. Continuing indefinitely, or during a long period; perpetual; sometimes used, colloquially, as a strong intensive; as, this everlasting nonsence. I will give to thee, and to thy seed after thee . . . the land of Canaan, for an everlasting possession. Gen xvii. 8. And heard thy everlasting yawn confess The pains and penalties of idleness. Pope. Syn. -- Eternal; immortal, interminable; endless; never-ending; infinite; unceasing; uninterrupted; continual; unintermitted; incessant. - Everlasting, Eternal. Eternal denotes (when taken strictly) without beginning or end of duration; everlasting is sometimes used in our version of the Scriptures in the sense of eternal, but in modern usage is confined to the future, and implies no intermission as well as no end. Whether we shall meet again I know not; Therefore our everlasting farewell take; Forever, and forever farewell, Cassius. Shak. Everlasting flower. Sane as Everlasting, n., 3. -- Everlasting pea, an ornamental plant (Lathyrus latifolius) related to the pea; -- so called because it is perennial.\n\n1. Eternal duration, past of future; eternity. From everlasting to everlasting, thou art God. Ps. xc. 2. 2. (With the definite article) The Eternal Being; God. 3. (Bot.) A plant whose flowers may be dried without losing their form or color, as the pearly everlasting (Anaphalis margaritacea), the immortelle of the French, the cudweeds, etc. 4. A cloth fabic for shoes, etc. See Lasting."} | json_instruct | {"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "d1022-107", "text" : "vO\nCV*"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"feedstocks": {"type": "array", "items": {"type": "string"}}}, "required": ["feedstocks"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"feedstocks" : ["r-rocr"]} | json_instruct | {"type": "object", "properties": {"feedstocks": {"type": "array", "items": {"type": "string"}}}, "required": ["feedstocks"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"domain": {"type": "string"}, "name": {"type": "string"}, "documentation": {"type": "string"}, "requirements": {"type": "array", "items": {"type": "string"}}, "codeowners": {"type": "array", "items": {"type": "string"}}, "config_flow": {"type": "boolean"}}, "required": ["domain", "name", "documentation", "requirements", "codeowners", "config_flow"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"domain" : "garmin_connect", "name" : "Garmin Connect", "documentation" : "https://www.home-assistant.io/integrations/garmin_connect", "requirements" : ["garminconnect==0.1.10"], "codeowners" : ["@cyberjunky"], "config_flow" : true} | json_instruct | {"type": "object", "properties": {"domain": {"type": "string"}, "name": {"type": "string"}, "documentation": {"type": "string"}, "requirements": {"type": "array", "items": {"type": "string"}}, "codeowners": {"type": "array", "items": {"type": "string"}}, "config_flow": {"type": "boolean"}}, "required": ["domain", "name", "documentation", "requirements", "codeowners", "config_flow"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "homepage": {"type": "string"}, "main": {"type": "string"}, "browser": {"type": "string"}, "sideEffects": {"type": "boolean"}, "dependencies": {"type": "object", "properties": {"fs-extra": {"type": "string"}}, "required": ["fs-extra"]}}, "required": ["name", "description", "version", "homepage", "main", "browser", "sideEffects", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "remix", "description" : "A framework for building better websites", "version" : "1.0.3", "homepage" : "https://remix.run", "main" : "index.js", "browser" : "browser/index.js", "sideEffects" : false, "dependencies" : {"fs-extra" : "^10.0.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "homepage": {"type": "string"}, "main": {"type": "string"}, "browser": {"type": "string"}, "sideEffects": {"type": "boolean"}, "dependencies": {"type": "object", "properties": {"fs-extra": {"type": "string"}}, "required": ["fs-extra"]}}, "required": ["name", "description", "version", "homepage", "main", "browser", "sideEffects", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "array", "items": {"type": "array", "items": {"type": "number"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1307.5131188852656, 1443.1424336114524], [1328.6896891279491, 1449.4954046842574], [1347.7486023463641, 1443.1424336114524], [1390.1017428317311, 1432.5541484901105], [1417.6312841472197, 1426.2011774173056], [1430.3372262928299, 1407.1422641988904], [1459.9844246325868, 1385.965693956207], [1474.8080238024652, 1362.6714666892549]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "number"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "null"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "string"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "string"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 115520, "name" : "Uflix.me By Tamal", "description" : "Uflix.me New Style For 2015+", "user" : {"id" : 293851, "name" : "Subhankar Mondal", "email" : "redacted", "paypal_email" : null, "homepage" : null, "about" : null, "license" : "publicdomain"}, "updated" : "2015-06-22T15:05:44.000Z", "weekly_install_count" : 0, "total_install_count" : 40, "rating" : null, "after_screenshot_name" : "https://userstyles.org/style_screenshots/115520_after.jpeg?r=1589184326", "obsoleting_style_id" : null, "obsoleting_style_name" : null, "obsolete" : 0, "admin_delete_reason_id" : null, "obsoletion_message" : null, "screenshots" : null, "license" : null, "created" : "2015-06-22T15:05:44.000Z", "category" : "site", "raw_subcategory" : "uflix", "subcategory" : "uflix", "additional_info" : "Credits By: Tamal Mondal\r\nCountry : India", "style_tags" : [], "css" : "@-moz-document domain(\"uflix.me\") {\r\n .form-control {border-radius: 0px;}\r\n .thumbbb {border-radius: 0px; color: #8C59D5; }\r\n .visible-lg {display: none !important;}\r\n .alert-info, .btn-info {display: none;}\r\n label {background-color: #8E8FFF; padding: 5px; border: 1px solid #0015FF; color: #FFF;}\r\n a.thumbbb:hover {background: #7032BC none repeat scroll 0% 0%; transition: background-color 0.40s;}\r\n .browse .form-group, .user-profile .form-group {margin-right: 0px; margin-left: 14px;}\r\n .form-control {border: 1px solid rgb(138, 66, 204);}\r\n}", "discussions" : [], "discussionsCount" : 0, "commentsCount" : 0, "userjs_url" : "/styles/userjs/115520/uflix-me-by-tamal.user.js", "style_settings" : []} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "null"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "string"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "string"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"global-status-ok": {"type": "string"}, "global-status-error": {"type": "string"}, "status-0": {"type": "string"}, "status-1": {"type": "string"}, "status-2": {"type": "string"}, "status-8": {"type": "string"}, "status-9": {"type": "string"}}, "required": ["global-status-ok", "global-status-error", "status-0", "status-1", "status-2", "status-8", "status-9"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"global-status-ok" : "All Systems Operational", "global-status-error" : "Some Systems Are Not Available", "status-0" : "Paused", "status-1" : "Not checked yet", "status-2" : "Up", "status-8" : "Seems down", "status-9" : "Down"} | json_instruct | {"type": "object", "properties": {"global-status-ok": {"type": "string"}, "global-status-error": {"type": "string"}, "status-0": {"type": "string"}, "status-1": {"type": "string"}, "status-2": {"type": "string"}, "status-8": {"type": "string"}, "status-9": {"type": "string"}}, "required": ["global-status-ok", "global-status-error", "status-0", "status-1", "status-2", "status-8", "status-9"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"project": {"type": "string"}, "author": {"type": "string"}}, "required": ["project", "author"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"project" : "project", "author" : "Erik Anderson"} | json_instruct | {"type": "object", "properties": {"project": {"type": "string"}, "author": {"type": "string"}}, "required": ["project", "author"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"seed": {"type": "integer"}, "num_days": {"type": "integer"}, "num_req_x_day": {"type": "integer"}, "dest_folder": {"type": "string"}, "function": {"type": "object", "properties": {"function_name": {"type": "string"}, "kwargs": {"type": "object", "properties": {"num_files": {"type": "integer"}, "min_file_size": {"type": "integer"}, "max_file_size": {"type": "integer"}, "noise_min_file_size": {"type": "integer"}, "noise_max_file_size": {"type": "integer"}, "perc_noise": {"type": "number"}, "perc_files_x_day": {"type": "number"}, "size_generator_function": {"type": "string"}}, "required": ["num_files", "min_file_size", "max_file_size", "noise_min_file_size", "noise_max_file_size", "perc_noise", "perc_files_x_day", "size_generator_function"]}}, "required": ["function_name", "kwargs"]}}, "required": ["seed", "num_days", "num_req_x_day", "dest_folder", "function"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"seed" : 42, "num_days" : 365, "num_req_x_day" : 1000, "dest_folder" : "ExtremeBigSizeFocusedDataset", "function" : {"function_name" : "SizeFocusedDataset", "kwargs" : {"num_files" : 100000, "min_file_size" : 1024, "max_file_size" : 4196, "noise_min_file_size" : 8, "noise_max_file_size" : 64, "perc_noise" : 10.0, "perc_files_x_day" : 0.05, "size_generator_function" : "gen_random_sizes"}}} | json_instruct | {"type": "object", "properties": {"seed": {"type": "integer"}, "num_days": {"type": "integer"}, "num_req_x_day": {"type": "integer"}, "dest_folder": {"type": "string"}, "function": {"type": "object", "properties": {"function_name": {"type": "string"}, "kwargs": {"type": "object", "properties": {"num_files": {"type": "integer"}, "min_file_size": {"type": "integer"}, "max_file_size": {"type": "integer"}, "noise_min_file_size": {"type": "integer"}, "noise_max_file_size": {"type": "integer"}, "perc_noise": {"type": "number"}, "perc_files_x_day": {"type": "number"}, "size_generator_function": {"type": "string"}}, "required": ["num_files", "min_file_size", "max_file_size", "noise_min_file_size", "noise_max_file_size", "perc_noise", "perc_files_x_day", "size_generator_function"]}}, "required": ["function_name", "kwargs"]}}, "required": ["seed", "num_days", "num_req_x_day", "dest_folder", "function"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"lists": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "colorId": {"type": "integer"}}, "required": ["id", "name", "colorId"]}}, "tasks": {"type": "array", "items": {"type": "object", "properties": {"listId": {"type": "integer"}, "text": {"type": "string"}, "completed": {"type": "boolean"}, "id": {"type": "integer"}}, "required": ["listId", "text", "completed", "id"]}}, "colors": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "hex": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "hex", "name"]}}}, "required": ["lists", "tasks", "colors"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"lists" : [{"id" : 3, "name" : "\u0424\u0438\u043b\u044c\u043c\u044b \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u044b", "colorId" : 3}, {"id" : 4, "name" : "\u041a\u043d\u0438\u0433\u0438", "colorId" : 2}, {"name" : "React ", "colorId" : 6, "id" : 9}, {"name" : "Tesla", "colorId" : 3, "id" : 10}], "tasks" : [{"listId" : 4, "text" : "\u041a\u0443\u043f\u0438\u0442\u044c \u043a\u043d\u0438\u0433\u0438", "completed" : true, "id" : 10}, {"listId" : 3, "text" : "\u0411\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u044c", "completed" : false, "id" : 27}, {"listId" : 10, "text" : "\u0421\u0434\u0435\u043b\u0430\u043b\u0430 \u0441\u0430\u0439\u0434\u0431\u0430\u0440", "completed" : false, "id" : 29}], "colors" : [{"id" : 1, "hex" : "#C9D1D3", "name" : "grey"}, {"id" : 2, "hex" : "#42B883", "name" : "green"}, {"id" : 3, "hex" : "#64C4ED", "name" : "blue"}, {"id" : 4, "hex" : "#FFBBCC", "name" : "pink"}, {"id" : 5, "hex" : "#B6E6BD", "name" : "lime"}, {"id" : 6, "hex" : "#C355F5", "name" : "purple"}, {"id" : 7, "hex" : "#110133", "name" : "black"}, {"id" : 8, "hex" : "#FF6464", "name" : "red"}]} | json_instruct | {"type": "object", "properties": {"lists": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "colorId": {"type": "integer"}}, "required": ["id", "name", "colorId"]}}, "tasks": {"type": "array", "items": {"type": "object", "properties": {"listId": {"type": "integer"}, "text": {"type": "string"}, "completed": {"type": "boolean"}, "id": {"type": "integer"}}, "required": ["listId", "text", "completed", "id"]}}, "colors": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "hex": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "hex", "name"]}}}, "required": ["lists", "tasks", "colors"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "address": {"type": "string"}, "decimals": {"type": "integer"}, "type": {"type": "string"}}, "required": ["name", "symbol", "address", "decimals", "type"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Michal Gee Token", "symbol" : "MGC", "address" : "0x1c6dd53ccb74234c10410af31f56082071d1c88b", "decimals" : 8, "type" : "ERC20"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "address": {"type": "string"}, "decimals": {"type": "integer"}, "type": {"type": "string"}}, "required": ["name", "symbol", "address", "decimals", "type"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "info": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "additionalInfo": {"type": "null"}, "format": {"type": "string"}, "category": {"type": "string"}, "createdAt": {"type": "string"}, "updatedAt": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}}, "required": ["id", "name"]}}, "required": ["name", "description", "additionalInfo", "format", "category", "createdAt", "updatedAt", "license", "author"]}, "stats": {"type": "object", "properties": {"installs": {"type": "object", "properties": {"total": {"type": "integer"}, "weekly": {"type": "integer"}}, "required": ["total", "weekly"]}}, "required": ["installs"]}, "screenshots": {"type": "object", "properties": {"main": {"type": "object", "properties": {"name": {"type": "string"}, "archived": {"type": "boolean"}}, "required": ["name", "archived"]}}, "required": ["main"]}, "discussions": {"type": "object", "properties": {"stats": {"type": "object", "properties": {"discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}}, "required": ["discussionsCount", "commentsCount"]}, "data": {"type": "array", "items": {}}}, "required": ["stats", "data"]}, "style": {"type": "object", "properties": {"css": {"type": "string"}}, "required": ["css"]}}, "required": ["id", "info", "stats", "screenshots", "discussions", "style"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 111304, "info" : {"name" : "chrome font fix", "description" : "Google Chrome Font Rendering Fix", "additionalInfo" : null, "format" : "uso", "category" : "global", "createdAt" : "2015-03-09T09:42:10.000Z", "updatedAt" : "2015-03-09T09:42:10.000Z", "license" : "NO-REDISTRIBUTION", "author" : {"id" : 286732, "name" : "lava"}}, "stats" : {"installs" : {"total" : 5757, "weekly" : 28}}, "screenshots" : {"main" : {"name" : "111304_after.png", "archived" : true}}, "discussions" : {"stats" : {"discussionsCount" : 0, "commentsCount" : 0}, "data" : []}, "style" : {"css" : "html, body {\r\n\t-webkit-font-smoothing: subpixel-antialiased !important;\r\n\ttext-shadow: 0px 0px 0px !important;\r\n\t-webkit-text-stroke-width: 0.01px !important;\r\n}\r\n"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "info": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "additionalInfo": {"type": "null"}, "format": {"type": "string"}, "category": {"type": "string"}, "createdAt": {"type": "string"}, "updatedAt": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}}, "required": ["id", "name"]}}, "required": ["name", "description", "additionalInfo", "format", "category", "createdAt", "updatedAt", "license", "author"]}, "stats": {"type": "object", "properties": {"installs": {"type": "object", "properties": {"total": {"type": "integer"}, "weekly": {"type": "integer"}}, "required": ["total", "weekly"]}}, "required": ["installs"]}, "screenshots": {"type": "object", "properties": {"main": {"type": "object", "properties": {"name": {"type": "string"}, "archived": {"type": "boolean"}}, "required": ["name", "archived"]}}, "required": ["main"]}, "discussions": {"type": "object", "properties": {"stats": {"type": "object", "properties": {"discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}}, "required": ["discussionsCount", "commentsCount"]}, "data": {"type": "array", "items": {}}}, "required": ["stats", "data"]}, "style": {"type": "object", "properties": {"css": {"type": "string"}}, "required": ["css"]}}, "required": ["id", "info", "stats", "screenshots", "discussions", "style"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "engines": {"type": "object", "properties": {"vscode": {"type": "string"}}, "required": ["vscode"]}, "categories": {"type": "array", "items": {"type": "string"}}, "contributes": {"type": "object", "properties": {"themes": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "uiTheme": {"type": "string"}, "path": {"type": "string"}}, "required": ["label", "uiTheme", "path"]}}}, "required": ["themes"]}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "displayName", "description", "version", "engines", "categories", "contributes", "author", "license"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "panther-dark-theme", "displayName" : "Panther Dark Theme", "description" : "A beautiful, subtle, really dark theme.", "version" : "1.0.0", "engines" : {"vscode" : "^1.32.0"}, "categories" : ["Themes"], "contributes" : {"themes" : [{"label" : "Panther", "uiTheme" : "vs-dark", "path" : "./themes/panther.json"}]}, "author" : "Emil Kreutzman", "license" : "MIT"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "engines": {"type": "object", "properties": {"vscode": {"type": "string"}}, "required": ["vscode"]}, "categories": {"type": "array", "items": {"type": "string"}}, "contributes": {"type": "object", "properties": {"themes": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "uiTheme": {"type": "string"}, "path": {"type": "string"}}, "required": ["label", "uiTheme", "path"]}}}, "required": ["themes"]}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "displayName", "description", "version", "engines", "categories", "contributes", "author", "license"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"text": {"type": "string"}, "url": {"type": "string"}}, "required": ["text", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"text" : " Multivariable Calculus | Some applications of the dot product.\n\ncoplications of the dot product\\n[imath] \\mathbf{a} \\cdot \\mathbf{b}=\\mathbf{0} \\leftrightarrow \\mathbf{a} \\perp \\mathbf{b} [/imath]\n\n\n", "url" : "https://www.youtube.com/watch?v=jlGjMwO7wVA"} | json_instruct | {"type": "object", "properties": {"text": {"type": "string"}, "url": {"type": "string"}}, "required": ["text", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "sourceName": {"type": "string"}, "sourcePath": {"type": "string"}, "targetInstanceVariable": {"type": "string"}}, "required": ["id", "sourceName", "sourcePath", "targetInstanceVariable"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "4d610726-6574-45c2-aac3-1ac21a0415c5", "sourceName" : "erGjeldende", "sourcePath" : "/folkeregisterperson/statsborgerskap/", "targetInstanceVariable" : "/InstanceVariable/22ab1c25-9ebc-4a74-b721-3cb1967a8dd1"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "sourceName": {"type": "string"}, "sourcePath": {"type": "string"}, "targetInstanceVariable": {"type": "string"}}, "required": ["id", "sourceName", "sourcePath", "targetInstanceVariable"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"701541f-a": {"type": "object", "properties": {"width": {"type": "integer"}, "thumb_url": {"type": "string"}, "image_url": {"type": "string"}, "title": {"type": "string"}, "date": {"type": "string"}, "text": {"type": "string"}, "folder": {"type": "string"}, "height": {"type": "integer"}, "original_title": {"type": "string"}, "years": {"type": "array", "items": {"type": "string"}}}, "required": ["width", "thumb_url", "image_url", "title", "date", "text", "folder", "height", "original_title", "years"]}}, "required": ["701541f-a"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"701541f-a" : {"width" : 600, "thumb_url" : "http://oldnyc-assets.nypl.org/thumb/701541f-a.jpg", "image_url" : "http://oldnyc-assets.nypl.org/600px/701541f-a.jpg", "title" : "", "date" : "1938", "text" : "Olinville Avenue, west side, south from (No. 2443) but not including Mace Avenue. In the foreground, cutting across the cliff, appears what still remains of the old White Plains Road which was the main northbound route along the eastern shore of the Bronx River before the present White Plains Road was laid out sometime after 1900. Still earlier this road was part of the Williamsbridge Road. In the background is Public School 96, at Waring Avenue.\nApril 3, 1938.\nP. L. Sperr.\n", "folder" : "Olinville Avenue & Mace Avenue, Bronx, NY", "height" : 403, "original_title" : "Bronx: Olinville Avenue - Mace Avenue", "years" : ["1938"]}} | json_instruct | {"type": "object", "properties": {"701541f-a": {"type": "object", "properties": {"width": {"type": "integer"}, "thumb_url": {"type": "string"}, "image_url": {"type": "string"}, "title": {"type": "string"}, "date": {"type": "string"}, "text": {"type": "string"}, "folder": {"type": "string"}, "height": {"type": "integer"}, "original_title": {"type": "string"}, "years": {"type": "array", "items": {"type": "string"}}}, "required": ["width", "thumb_url", "image_url", "title", "date", "text", "folder", "height", "original_title", "years"]}}, "required": ["701541f-a"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 85908115, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes", "src:geom" : "quattroshapes", "wof:geomhash" : "8d709742ddcf9305076bb9529419d206", "wof:id" : 85908115, "wof:repo" : "whosonfirst-data-admin-jp"}, "bbox" : [141.35258092913898, 43.05634605687511, 141.35421752915653, 43.05734948905078], "geometry" : {"coordinates" : [[[141.35353088384392, 43.0573494890284], [141.35353088384392, 43.05684777517509], [141.35421752912526, 43.05684777530006], [141.35421752915653, 43.05634605725952], [141.3535308838335, 43.0563460572168], [141.3528442380001, 43.05634605730482], [141.35270312658128, 43.05634605687511], [141.35258092913898, 43.05684777325033], [141.35270312558242, 43.05734948862535], [141.3528442380001, 43.05734948905078], [141.35353088384392, 43.0573494890284]]], "type" : "Polygon"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "object", "properties": {"version": {"type": "integer"}, "sources": {"type": "array", "items": {"type": "string"}}, "names": {"type": "array", "items": {"type": "string"}}, "mappings": {"type": "string"}, "sourcesContent": {"type": "array", "items": {"type": "string"}}}, "required": ["version", "sources", "names", "mappings", "sourcesContent"]}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ast" : null, "code" : "\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar extensions = _interopRequireWildcard(require(\"./index\"));\n\nexpect.extend(extensions);", "map" : {"version" : 3, "sources" : ["/Users/wajeeh/Desktop/react-dashboard/node_modules/@testing-library/jest-dom/dist/extend-expect.js"], "names" : ["_interopRequireWildcard", "require", "extensions", "expect", "extend"], "mappings" : "AAAA;;AAEA,IAAIA,uBAAuB,GAAGC,OAAO,CAAC,+CAAD,CAArC;;AAEA,IAAIC,UAAU,GAAGF,uBAAuB,CAACC,OAAO,CAAC,SAAD,CAAR,CAAxC;;AAEAE,MAAM,CAACC,MAAP,CAAcF,UAAd", "sourcesContent" : ["\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar extensions = _interopRequireWildcard(require(\"./index\"));\n\nexpect.extend(extensions);"]}, "metadata" : {}, "sourceType" : "script"} | json_instruct | {"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "object", "properties": {"version": {"type": "integer"}, "sources": {"type": "array", "items": {"type": "string"}}, "names": {"type": "array", "items": {"type": "string"}}, "mappings": {"type": "string"}, "sourcesContent": {"type": "array", "items": {"type": "string"}}}, "required": ["version", "sources", "names", "mappings", "sourcesContent"]}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"artist_id": {"type": "string"}, "artist_latitude": {"type": "null"}, "artist_location": {"type": "string"}, "artist_longitude": {"type": "null"}, "artist_name": {"type": "string"}, "duration": {"type": "number"}, "num_songs": {"type": "integer"}, "song_id": {"type": "string"}, "title": {"type": "string"}, "year": {"type": "integer"}}, "required": ["artist_id", "artist_latitude", "artist_location", "artist_longitude", "artist_name", "duration", "num_songs", "song_id", "title", "year"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"artist_id" : "ARJNIUY12298900C91", "artist_latitude" : null, "artist_location" : "", "artist_longitude" : null, "artist_name" : "Adelitas Way", "duration" : 213.9424, "num_songs" : 1, "song_id" : "SOBLFFE12AF72AA5BA", "title" : "Scream", "year" : 2009} | json_instruct | {"type": "object", "properties": {"artist_id": {"type": "string"}, "artist_latitude": {"type": "null"}, "artist_location": {"type": "string"}, "artist_longitude": {"type": "null"}, "artist_name": {"type": "string"}, "duration": {"type": "number"}, "num_songs": {"type": "integer"}, "song_id": {"type": "string"}, "title": {"type": "string"}, "year": {"type": "integer"}}, "required": ["artist_id", "artist_latitude", "artist_location", "artist_longitude", "artist_name", "duration", "num_songs", "song_id", "title", "year"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "architects_palette:block/redstone_cage_lantern"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country": {"type": "string"}, "region": {"type": "string"}, "identifiers": {"type": "object", "properties": {"national": {"type": "null"}, "wmo": {"type": "null"}, "ghcn": {"type": "null"}, "wban": {"type": "null"}, "usaf": {"type": "null"}, "mosmix": {"type": "null"}, "icao": {"type": "string"}, "iata": {"type": "null"}}, "required": ["national", "wmo", "ghcn", "wban", "usaf", "mosmix", "icao", "iata"]}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}, "elevation": {"type": "integer"}}, "required": ["latitude", "longitude", "elevation"]}, "timezone": {"type": "string"}, "history": {"type": "array", "items": {}}}, "required": ["id", "name", "country", "region", "identifiers", "location", "timezone", "history"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "HUKI0", "name" : {"en" : "Kisoro"}, "country" : "UG", "region" : "KR", "identifiers" : {"national" : null, "wmo" : null, "ghcn" : null, "wban" : null, "usaf" : null, "mosmix" : null, "icao" : "HUKI", "iata" : null}, "location" : {"latitude" : -1.2833, "longitude" : 29.7197, "elevation" : 1881}, "timezone" : "Africa/Kampala", "history" : []} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country": {"type": "string"}, "region": {"type": "string"}, "identifiers": {"type": "object", "properties": {"national": {"type": "null"}, "wmo": {"type": "null"}, "ghcn": {"type": "null"}, "wban": {"type": "null"}, "usaf": {"type": "null"}, "mosmix": {"type": "null"}, "icao": {"type": "string"}, "iata": {"type": "null"}}, "required": ["national", "wmo", "ghcn", "wban", "usaf", "mosmix", "icao", "iata"]}, "location": {"type": "object", "properties": {"latitude": {"type": "number"}, "longitude": {"type": "number"}, "elevation": {"type": "integer"}}, "required": ["latitude", "longitude", "elevation"]}, "timezone": {"type": "string"}, "history": {"type": "array", "items": {}}}, "required": ["id", "name", "country", "region", "identifiers", "location", "timezone", "history"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"department": {"type": "string"}, "description": {"type": "array", "items": {"type": "string"}}, "fullname": {"type": "string"}, "number": {"type": "integer"}, "section": {"type": "string"}, "semester": {"type": "integer"}, "shortname": {"type": "string"}, "type": {"type": "string"}, "year": {"type": "integer"}}, "required": ["department", "description", "fullname", "number", "section", "semester", "shortname", "type", "year"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"department" : "THEAT", "description" : ["Throughout history, playwrights have represented the human condition in a wide variety of", "forms and styles, with intentions ranging from the profound to the absurd. This course surveys", "approximately 24 works of dramatic literature, exploring how playwrights employ structure,", "character, and narrative in creating live performances. The emphasis is on performance, and the", "knowledge of the plays will be used in later theater courses. Offered annually."], "fullname" : "Plays and Playwrights", "number" : 210, "section" : "", "semester" : 1, "shortname" : "Plays & Playwrights", "type" : "R", "year" : 2009} | json_instruct | {"type": "object", "properties": {"department": {"type": "string"}, "description": {"type": "array", "items": {"type": "string"}}, "fullname": {"type": "string"}, "number": {"type": "integer"}, "section": {"type": "string"}, "semester": {"type": "integer"}, "shortname": {"type": "string"}, "type": {"type": "string"}, "year": {"type": "integer"}}, "required": ["department", "description", "fullname", "number", "section", "semester", "shortname", "type", "year"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"n_dim": {"type": "integer"}, "n_trials": {"type": "integer"}, "objective": {"type": "string"}, "white": {"type": "string"}, "black": {"type": "string"}, "traceback": {"type": "array", "items": {"type": "string"}}, "best_val": {"type": "array", "items": {"type": "number"}}, "best_x": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}, "feval_count": {"type": "array", "items": {"type": "integer"}}, "n_trials_instructed": {"type": "array", "items": {"type": "integer"}}, "passing": {"type": "array", "items": {"type": "boolean"}}, "completed": {"type": "boolean"}, "points": {"type": "number"}, "winner": {"type": "string"}, "loser": {"type": "string"}}, "required": ["n_dim", "n_trials", "objective", "white", "black", "traceback", "best_val", "best_x", "feval_count", "n_trials_instructed", "passing", "completed", "points", "winner", "loser"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"n_dim" : 21, "n_trials" : 80, "objective" : "markowitz_skew_on_cube", "white" : "ultraopt_random", "black" : "hyperopt_tpe", "traceback" : ["passing", "passing"], "best_val" : [5.212453331371662, 4.289014545252324], "best_x" : [[0.12804583895777244, 0.15190269351229435, 0.16893506307216455, 0.17701048427674682, 0.08870253375705561, 0.12063587110060081, 0.46077876803272577, 0.2063337184057925, 0.36426986104807546, 0.5034172708548569, 0.13882717264941014, 0.6408747448032146, 0.18188008439914483, 0.3456672833238632, 0.8967884099060118, 0.47396164026287235, 0.6675577385210272, 0.17231987120162984, 0.19228901880867078, 0.04086861626647886, 0.2785903390319586], [0.06323657165329467, 0.4028720421273353, 0.10391928479074997, 0.5461208622439736, 0.000860980139391121, 0.07306885393898094, 0.10465192587011736, 0.08332956150540582, 0.4612351302650064, 0.3390769115477926, 0.07124050500260057, 0.2794625456004498, 0.33775387122929773, 0.3409812854129792, 0.04644572699244637, 0.40166757390958724, 0.41831579892218285, 0.003296487363995664, 0.3321130607033823, 0.30875152950759016, 0.7658825218909778]], "feval_count" : [80, 80], "n_trials_instructed" : [80, 80], "passing" : [true, true], "completed" : true, "points" : 0.0, "winner" : "hyperopt_tpe_cube", "loser" : "ultraopt_random_cube"} | json_instruct | {"type": "object", "properties": {"n_dim": {"type": "integer"}, "n_trials": {"type": "integer"}, "objective": {"type": "string"}, "white": {"type": "string"}, "black": {"type": "string"}, "traceback": {"type": "array", "items": {"type": "string"}}, "best_val": {"type": "array", "items": {"type": "number"}}, "best_x": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}, "feval_count": {"type": "array", "items": {"type": "integer"}}, "n_trials_instructed": {"type": "array", "items": {"type": "integer"}}, "passing": {"type": "array", "items": {"type": "boolean"}}, "completed": {"type": "boolean"}, "points": {"type": "number"}, "winner": {"type": "string"}, "loser": {"type": "string"}}, "required": ["n_dim", "n_trials", "objective", "white", "black", "traceback", "best_val", "best_x", "feval_count", "n_trials_instructed", "passing", "completed", "points", "winner", "loser"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"siteId": {"type": "string"}}, "required": ["siteId"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"siteId" : "186bd6c7-5a26-4cbe-9ed3-f6af3145ba87"} | json_instruct | {"type": "object", "properties": {"siteId": {"type": "string"}}, "required": ["siteId"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"parent": {"type": "string"}, "textures": {"type": "object", "properties": {"base": {"type": "string"}, "base_top": {"type": "string"}, "overlay_0": {"type": "string"}, "overlay_side_1": {"type": "string"}}, "required": ["base", "base_top", "overlay_0", "overlay_side_1"]}}, "required": ["parent", "textures"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "ushanka:block/block_pole_2_layer", "textures" : {"base" : "ushanka:block/grey_stone_base", "base_top" : "ushanka:block/grassy_top", "overlay_0" : "ushanka:block/grey_stone_overlay", "overlay_side_1" : "ushanka:block/blue_stone_grassy_side_overlay"}} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}, "textures": {"type": "object", "properties": {"base": {"type": "string"}, "base_top": {"type": "string"}, "overlay_0": {"type": "string"}, "overlay_side_1": {"type": "string"}}, "required": ["base", "base_top", "overlay_0", "overlay_side_1"]}}, "required": ["parent", "textures"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "gender": {"type": "string"}}, "required": ["name", "frequency", "gender"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"name" : "JESUS FEDERICO", "frequency" : 44, "gender" : "male"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "gender": {"type": "string"}}, "required": ["name", "frequency", "gender"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"env": {"type": "object", "properties": {"MONGO_USER": {"type": "string"}, "MONGO_PASSWORD": {"type": "string"}, "MONGO_DB_NAME": {"type": "string"}}, "required": ["MONGO_USER", "MONGO_PASSWORD", "MONGO_DB_NAME"]}}, "required": ["env"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"env" : {"MONGO_USER" : "akashms", "MONGO_PASSWORD" : "akashms789@A", "MONGO_DB_NAME" : "serviceApp"}} | json_instruct | {"type": "object", "properties": {"env": {"type": "object", "properties": {"MONGO_USER": {"type": "string"}, "MONGO_PASSWORD": {"type": "string"}, "MONGO_DB_NAME": {"type": "string"}}, "required": ["MONGO_USER", "MONGO_PASSWORD", "MONGO_DB_NAME"]}}, "required": ["env"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "homepage": {"type": "string"}, "license": {"type": "string"}, "config": {"type": "object", "properties": {"sort-packages": {"type": "boolean"}}, "required": ["sort-packages"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Harikt\\Blade\\": {"type": "string"}}, "required": ["Harikt\\Blade\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Harikt\\Blade\\": {"type": "string"}}, "required": ["Harikt\\Blade\\"]}}, "required": ["psr-4"]}, "require": {"type": "object", "properties": {"illuminate/cache": {"type": "string"}, "illuminate/container": {"type": "string"}, "illuminate/events": {"type": "string"}, "illuminate/filesystem": {"type": "string"}, "illuminate/view": {"type": "string"}, "psr/container": {"type": "string"}, "zendframework/zend-expressive-helpers": {"type": "string"}, "zendframework/zend-expressive-router": {"type": "string"}, "zendframework/zend-expressive-template": {"type": "string"}}, "required": ["illuminate/cache", "illuminate/container", "illuminate/events", "illuminate/filesystem", "illuminate/view", "psr/container", "zendframework/zend-expressive-helpers", "zendframework/zend-expressive-router", "zendframework/zend-expressive-template"]}, "require-dev": {"type": "object", "properties": {"phpunit/phpunit": {"type": "string"}, "zendframework/zend-expressive-fastroute": {"type": "string"}}, "required": ["phpunit/phpunit", "zendframework/zend-expressive-fastroute"]}}, "required": ["name", "description", "type", "homepage", "license", "config", "autoload", "autoload-dev", "require", "require-dev"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "harikt/blade-renderer", "description" : "Laravel blade renderer for Zend expressive", "type" : "library", "homepage" : "https://github.com/harikt/blade-renderer", "license" : "MIT", "config" : {"sort-packages" : true}, "autoload" : {"psr-4" : {"Harikt\\Blade\\" : "src/"}}, "autoload-dev" : {"psr-4" : {"Harikt\\Blade\\" : "tests/"}}, "require" : {"illuminate/cache" : "^5.5", "illuminate/container" : "^5.5", "illuminate/events" : "^5.5", "illuminate/filesystem" : "^5.5", "illuminate/view" : "^5.5", "psr/container" : "~1.0", "zendframework/zend-expressive-helpers" : "^5.0.0", "zendframework/zend-expressive-router" : "^3.0.0", "zendframework/zend-expressive-template" : "^2.0.0"}, "require-dev" : {"phpunit/phpunit" : "^7.0.0", "zendframework/zend-expressive-fastroute" : "^3.0.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "homepage": {"type": "string"}, "license": {"type": "string"}, "config": {"type": "object", "properties": {"sort-packages": {"type": "boolean"}}, "required": ["sort-packages"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Harikt\\Blade\\": {"type": "string"}}, "required": ["Harikt\\Blade\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Harikt\\Blade\\": {"type": "string"}}, "required": ["Harikt\\Blade\\"]}}, "required": ["psr-4"]}, "require": {"type": "object", "properties": {"illuminate/cache": {"type": "string"}, "illuminate/container": {"type": "string"}, "illuminate/events": {"type": "string"}, "illuminate/filesystem": {"type": "string"}, "illuminate/view": {"type": "string"}, "psr/container": {"type": "string"}, "zendframework/zend-expressive-helpers": {"type": "string"}, "zendframework/zend-expressive-router": {"type": "string"}, "zendframework/zend-expressive-template": {"type": "string"}}, "required": ["illuminate/cache", "illuminate/container", "illuminate/events", "illuminate/filesystem", "illuminate/view", "psr/container", "zendframework/zend-expressive-helpers", "zendframework/zend-expressive-router", "zendframework/zend-expressive-template"]}, "require-dev": {"type": "object", "properties": {"phpunit/phpunit": {"type": "string"}, "zendframework/zend-expressive-fastroute": {"type": "string"}}, "required": ["phpunit/phpunit", "zendframework/zend-expressive-fastroute"]}}, "required": ["name", "description", "type", "homepage", "license", "config", "autoload", "autoload-dev", "require", "require-dev"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "dataType": {"type": "string"}, "contentType": {"type": "string"}, "size": {"type": "integer"}, "locked": {"type": "boolean"}, "isRead": {"type": "boolean"}}, "required": ["id", "dataType", "contentType", "size", "locked", "isRead"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "590ebc27-246e-4a0a-aea3-4296cb231d78", "dataType" : "default", "contentType" : "application/xml", "size" : 0, "locked" : false, "isRead" : true} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "dataType": {"type": "string"}, "contentType": {"type": "string"}, "size": {"type": "integer"}, "locked": {"type": "boolean"}, "isRead": {"type": "boolean"}}, "required": ["id", "dataType", "contentType", "size", "locked", "isRead"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "scripts": {"type": "object", "properties": {"demo": {"type": "string"}}, "required": ["demo"]}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"powerbi-client-react": {"type": "string"}, "powerbi-report-authoring": {"type": "string"}, "react-app-polyfill": {"type": "string"}}, "required": ["powerbi-client-react", "powerbi-report-authoring", "react-app-polyfill"]}, "peerDependencies": {"type": "object", "properties": {"react": {"type": "string"}}, "required": ["react"]}, "devDependencies": {"type": "object", "properties": {"@types/react": {"type": "string"}, "@types/react-dom": {"type": "string"}, "css-loader": {"type": "string"}, "react": {"type": "string"}, "react-dom": {"type": "string"}, "style-loader": {"type": "string"}, "ts-loader": {"type": "string"}, "typescript": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}, "webpack-dev-server": {"type": "string"}}, "required": ["@types/react", "@types/react-dom", "css-loader", "react", "react-dom", "style-loader", "ts-loader", "typescript", "webpack", "webpack-cli", "webpack-dev-server"]}}, "required": ["name", "version", "description", "scripts", "license", "dependencies", "peerDependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "powerbi-client-react-demo", "version" : "1.0.0", "description" : "Demo for usage of powerbi-client-react", "scripts" : {"demo" : "webpack-dev-server --content-base ./ --open"}, "license" : "MIT", "dependencies" : {"powerbi-client-react" : "^1.3.3", "powerbi-report-authoring" : "^1.1", "react-app-polyfill" : "^1.0.6"}, "peerDependencies" : {"react" : ">= 16.8"}, "devDependencies" : {"@types/react" : "^16.9.35", "@types/react-dom" : "^16.9.8", "css-loader" : "^3.5.3", "react" : "^16.13.1", "react-dom" : "^16.13.1", "style-loader" : "^1.2.1", "ts-loader" : "^7.0.5", "typescript" : "^3.9.3", "webpack" : "^4.43.0", "webpack-cli" : "^3.3.11", "webpack-dev-server" : "^3.11.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "scripts": {"type": "object", "properties": {"demo": {"type": "string"}}, "required": ["demo"]}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"powerbi-client-react": {"type": "string"}, "powerbi-report-authoring": {"type": "string"}, "react-app-polyfill": {"type": "string"}}, "required": ["powerbi-client-react", "powerbi-report-authoring", "react-app-polyfill"]}, "peerDependencies": {"type": "object", "properties": {"react": {"type": "string"}}, "required": ["react"]}, "devDependencies": {"type": "object", "properties": {"@types/react": {"type": "string"}, "@types/react-dom": {"type": "string"}, "css-loader": {"type": "string"}, "react": {"type": "string"}, "react-dom": {"type": "string"}, "style-loader": {"type": "string"}, "ts-loader": {"type": "string"}, "typescript": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}, "webpack-dev-server": {"type": "string"}}, "required": ["@types/react", "@types/react-dom", "css-loader", "react", "react-dom", "style-loader", "ts-loader", "typescript", "webpack", "webpack-cli", "webpack-dev-server"]}}, "required": ["name", "version", "description", "scripts", "license", "dependencies", "peerDependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"assessment": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "weight": {"type": "integer"}}, "required": ["name", "weight"]}}}, "required": ["assessment"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"assessment" : [{"name" : "Scoping document", "weight" : 10}, {"name" : "Project Progress Report", "weight" : 30}, {"name" : "Project Final Report", "weight" : 60}]} | json_instruct | {"type": "object", "properties": {"assessment": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "weight": {"type": "integer"}}, "required": ["name", "weight"]}}}, "required": ["assessment"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"coverage": {"type": "object", "properties": {"US Census": {"type": "object", "properties": {"geoid": {"type": "string"}, "name": {"type": "string"}, "state": {"type": "string"}}, "required": ["geoid", "name", "state"]}, "country": {"type": "string"}, "state": {"type": "string"}, "county": {"type": "string"}}, "required": ["US Census", "country", "state", "county"]}, "schema": {"type": "integer"}, "layers": {"type": "object", "properties": {"addresses": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "data": {"type": "string"}, "protocol": {"type": "string"}, "skip": {"type": "boolean"}, "note": {"type": "string"}, "conform": {"type": "object", "properties": {"number": {"type": "string"}, "street": {"type": "array", "items": {"type": "string"}}, "city": {"type": "string"}, "format": {"type": "string"}}, "required": ["number", "street", "city", "format"]}}, "required": ["name", "data", "protocol", "skip", "note", "conform"]}}}, "required": ["addresses"]}}, "required": ["coverage", "schema", "layers"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"coverage" : {"US Census" : {"geoid" : "18075", "name" : "Jay County", "state" : "Indiana"}, "country" : "us", "state" : "in", "county" : "Jay"}, "schema" : 2, "layers" : {"addresses" : [{"name" : "county", "data" : "https://elb2.39dn.com/arcgis/rest/services/eGISDynamicServices/JayINDynamic/MapServer/0", "protocol" : "ESRI", "skip" : true, "note" : "39dn requested that we stop using data obtained from their servers on 2017-05-07", "conform" : {"number" : "ADDRESS_NU", "street" : ["ADDRESS_DI", "STREET_NAM", "STREET_SUF", "STREET_DIR"], "city" : "COMM_NAME", "format" : "geojson"}}]}} | json_instruct | {"type": "object", "properties": {"coverage": {"type": "object", "properties": {"US Census": {"type": "object", "properties": {"geoid": {"type": "string"}, "name": {"type": "string"}, "state": {"type": "string"}}, "required": ["geoid", "name", "state"]}, "country": {"type": "string"}, "state": {"type": "string"}, "county": {"type": "string"}}, "required": ["US Census", "country", "state", "county"]}, "schema": {"type": "integer"}, "layers": {"type": "object", "properties": {"addresses": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "data": {"type": "string"}, "protocol": {"type": "string"}, "skip": {"type": "boolean"}, "note": {"type": "string"}, "conform": {"type": "object", "properties": {"number": {"type": "string"}, "street": {"type": "array", "items": {"type": "string"}}, "city": {"type": "string"}, "format": {"type": "string"}}, "required": ["number", "street", "city", "format"]}}, "required": ["name", "data", "protocol", "skip", "note", "conform"]}}}, "required": ["addresses"]}}, "required": ["coverage", "schema", "layers"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "object", "properties": {"Similarity": {"type": "string"}, "Title": {"type": "string"}, "Year": {"type": "integer"}}, "required": ["Similarity", "Title", "Year"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"Similarity" : "0.991", "Title" : "Adaptive Group Coordination", "Year" : 2009}, {"Similarity" : "0.989", "Title" : "The Description-Experience Gap in Risky Choice Framing", "Year" : 2016}, {"Similarity" : "0.987", "Title" : "Helping people make better decisions using optimal gamification", "Year" : 2016}, {"Similarity" : "0.987", "Title" : "Computational Models of Human Behavior in Wartime Negotiations", "Year" : 2013}, {"Similarity" : "0.983", "Title" : "Exploring Spaces to Make the Right Choice The Cognitive Science of Search", "Year" : 2011}, {"Similarity" : "0.982", "Title" : "Melioration Dominates Maximization Stable Suboptimal Performance Despite Global Feedback", "Year" : 2006}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"Similarity": {"type": "string"}, "Title": {"type": "string"}, "Year": {"type": "integer"}}, "required": ["Similarity", "Title", "Year"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {"type": "integer"}}, "productReviews": {"type": "array", "items": {"type": "object", "properties": {"productId": {"type": "integer"}, "reviewText": {"type": "string"}, "reviewDate": {"type": "string"}}, "required": ["productId", "reviewText", "reviewDate"]}}}, "required": ["userId", "cartId", "preferredProducts", "productReviews"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"userId" : 17300, "cartId" : "1bea598c-ce37-4baa-81ff-0737de8b708d", "preferredProducts" : [4810, 4720, 884, 3917, 2786, 1289], "productReviews" : [{"productId" : 3326, "reviewText" : "i use it biweekly when i'm in my greenhouse.", "reviewDate" : "2020-04-20T11:02:06.8274736+03:00"}, {"productId" : 393, "reviewText" : "heard about this on rebetiko radio, decided to give it a try.", "reviewDate" : "2019-02-28T13:23:36.6845169+02:00"}, {"productId" : 4359, "reviewText" : "This Fantastic works so well. It hungrily improves my basketball by a lot.", "reviewDate" : "2017-12-12T02:45:18.448501+02:00"}, {"productId" : 1453, "reviewText" : "heard about this on balearic beat radio, decided to give it a try.", "reviewDate" : "2018-08-18T17:48:03.2744719+03:00"}, {"productId" : 530, "reviewText" : "heard about this on hip-hop music radio, decided to give it a try.", "reviewDate" : "2017-01-04T03:46:50.0076072+02:00"}]} | json_instruct | {"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {"type": "integer"}}, "productReviews": {"type": "array", "items": {"type": "object", "properties": {"productId": {"type": "integer"}, "reviewText": {"type": "string"}, "reviewDate": {"type": "string"}}, "required": ["productId", "reviewText", "reviewDate"]}}}, "required": ["userId", "cartId", "preferredProducts", "productReviews"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"replace": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "string"}}}, "required": ["replace", "values"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"replace" : false, "values" : ["ancientology:tin_nugget", "ancientology:copper_nugget", "ancientology:bronze_nugget", "ancientology:steel_nugget"]} | json_instruct | {"type": "object", "properties": {"replace": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "string"}}}, "required": ["replace", "values"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "password": {"type": "string"}, "status": {"type": "string"}, "imageUrl": {"type": "string"}}, "required": ["id", "name", "email", "password", "status", "imageUrl"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : 1, "name" : "user", "email" : "user@domain.com", "password" : "123456", "status" : "user", "imageUrl" : "http://placeimg.com/641/481/tech"}, {"id" : 2, "name" : "admin", "email" : "admin@domain.com", "password" : "123456", "status" : "admin", "imageUrl" : "http://placeimg.com/641/481/tech"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "password": {"type": "string"}, "status": {"type": "string"}, "imageUrl": {"type": "string"}}, "required": ["id", "name", "email", "password", "status", "imageUrl"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "97f82359bf8837c62f35ba48fdd2714836a5d126"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"title": {"type": "array", "items": {"type": "string"}}, "Preceded by": {"type": "array", "items": {"type": "string"}}, "Succeeded by": {"type": "array", "items": {"type": "string"}}, "Built": {"type": "array", "items": {"type": "string"}}, "In commission": {"type": "array", "items": {"type": "string"}}, "Completed": {"type": "array", "items": {"type": "string"}}, "Lost": {"type": "array", "items": {"type": "string"}}, "Scrapped": {"type": "array", "items": {"type": "string"}}, "Type": {"type": "array", "items": {"type": "string"}}, "Displacement": {"type": "array", "items": {"type": "string"}}, "Length": {"type": "array", "items": {"type": "string"}}, "Beam": {"type": "array", "items": {"type": "string"}}, "Draft": {"type": "array", "items": {"type": "string"}}, "Installed power": {"type": "array", "items": {"type": "string"}}, "Propulsion": {"type": "array", "items": {"type": "string"}}, "Speed": {"type": "array", "items": {"type": "string"}}, "Range": {"type": "array", "items": {"type": "string"}}, "Complement": {"type": "array", "items": {"type": "string"}}, "Sensors and processing systems": {"type": "array", "items": {"type": "string"}}, "Arnament": {"type": "array", "items": {"type": "string"}}, "Armor": {"type": "array", "items": {"type": "string"}}, "Aircraft carried": {"type": "array", "items": {"type": "string"}}}, "required": ["title", "Preceded by", "Succeeded by", "Built", "In commission", "Completed", "Lost", "Scrapped", "Type", "Displacement", "Length", "Beam", "Draft", "Installed power", "Propulsion", "Speed", "Range", "Complement", "Sensors and processing systems", "Arnament", "Armor", "Aircraft carried"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : ["Junyo"], "Preceded by" : ["Shokaku class"], "Succeeded by" : ["Taiho"], "Built" : ["1939-1942"], "In commission" : ["1942-1945"], "Completed" : ["2"], "Lost" : ["1"], "Scrapped" : ["1"], "Type" : ["Airfact carrier"], "Displacement" : ["24,150 metric tons (23,770 long tons) (standard)"], "Length" : ["219.32 m (719 ft 7 in) (o/a)"], "Beam" : ["26.7 m (87 ft 7 in)"], "Draft" : ["8.15 m (26 ft 9 in)"], "Installed power" : ["56,250 shp (41,950 kW) 6 Kampon water-tube boilers"], "Propulsion" : ["2 shafts", "2 geared steam turbine sets"], "Speed" : ["25.5 knots (47.2 km/h; 29.3 mph)"], "Range" : ["11,700 nmi (21,700 km; 13,500 mi) at 18 knots (33 km/h; 21 mph)"], "Complement" : ["1,187 - 1,224"], "Sensors and processing systems" : ["1 \u00d7 Type 2, Mark 2, Model 1 air search radar"], "Arnament" : ["6 \u00d7 twin 12.7 cm (5.0 in) Type 89 dual-purpose guns", "8 \u00d7 triple 25 mm (1.0 in) Type 96 AA guns"], "Armor" : ["Belt: 25-50 mm (0.98 - 1.97)"], "Aircraft carried" : ["54"]} | json_instruct | {"type": "object", "properties": {"title": {"type": "array", "items": {"type": "string"}}, "Preceded by": {"type": "array", "items": {"type": "string"}}, "Succeeded by": {"type": "array", "items": {"type": "string"}}, "Built": {"type": "array", "items": {"type": "string"}}, "In commission": {"type": "array", "items": {"type": "string"}}, "Completed": {"type": "array", "items": {"type": "string"}}, "Lost": {"type": "array", "items": {"type": "string"}}, "Scrapped": {"type": "array", "items": {"type": "string"}}, "Type": {"type": "array", "items": {"type": "string"}}, "Displacement": {"type": "array", "items": {"type": "string"}}, "Length": {"type": "array", "items": {"type": "string"}}, "Beam": {"type": "array", "items": {"type": "string"}}, "Draft": {"type": "array", "items": {"type": "string"}}, "Installed power": {"type": "array", "items": {"type": "string"}}, "Propulsion": {"type": "array", "items": {"type": "string"}}, "Speed": {"type": "array", "items": {"type": "string"}}, "Range": {"type": "array", "items": {"type": "string"}}, "Complement": {"type": "array", "items": {"type": "string"}}, "Sensors and processing systems": {"type": "array", "items": {"type": "string"}}, "Arnament": {"type": "array", "items": {"type": "string"}}, "Armor": {"type": "array", "items": {"type": "string"}}, "Aircraft carried": {"type": "array", "items": {"type": "string"}}}, "required": ["title", "Preceded by", "Succeeded by", "Built", "In commission", "Completed", "Lost", "Scrapped", "Type", "Displacement", "Length", "Beam", "Draft", "Installed power", "Propulsion", "Speed", "Range", "Complement", "Sensors and processing systems", "Arnament", "Armor", "Aircraft carried"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}, "dependencies": {"type": "object", "properties": {"@google/maps": {"type": "string"}, "babel-cli": {"type": "string"}, "babel-preset-es2015": {"type": "string"}, "bcrypt": {"type": "string"}, "bcryptjs": {"type": "string"}, "body-parser": {"type": "string"}, "botbuilder": {"type": "string"}, "core-js": {"type": "string"}, "cors": {"type": "string"}, "express": {"type": "string"}, "express-jwt": {"type": "string"}, "jsonwebtoken": {"type": "string"}, "lodash": {"type": "string"}, "mongoose": {"type": "string"}, "recastai": {"type": "string"}, "request": {"type": "string"}}, "required": ["@google/maps", "babel-cli", "babel-preset-es2015", "bcrypt", "bcryptjs", "body-parser", "botbuilder", "core-js", "cors", "express", "express-jwt", "jsonwebtoken", "lodash", "mongoose", "recastai", "request"]}, "devDependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "version", "license", "private", "scripts", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Hackathon", "version" : "0.0.0", "license" : "MIT", "private" : true, "scripts" : {"start" : "babel-node --presets es2015 server.js"}, "dependencies" : {"@google/maps" : "^0.3.1", "babel-cli" : "^6.0.0", "babel-preset-es2015" : "^6.0.0", "bcrypt" : "^1.0.2", "bcryptjs" : "^2.4.3", "body-parser" : "^1.17.0", "botbuilder" : "^3.7.0", "core-js" : "^2.4.1", "cors" : "^2.8.1", "express" : "^4.15.0", "express-jwt" : "^5.1.0", "jsonwebtoken" : "^7.3.0", "lodash" : "^4.17.4", "mongoose" : "^4.8.5", "recastai" : "^2.3.0", "request" : "^2.81.0"}, "devDependencies" : {}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}, "dependencies": {"type": "object", "properties": {"@google/maps": {"type": "string"}, "babel-cli": {"type": "string"}, "babel-preset-es2015": {"type": "string"}, "bcrypt": {"type": "string"}, "bcryptjs": {"type": "string"}, "body-parser": {"type": "string"}, "botbuilder": {"type": "string"}, "core-js": {"type": "string"}, "cors": {"type": "string"}, "express": {"type": "string"}, "express-jwt": {"type": "string"}, "jsonwebtoken": {"type": "string"}, "lodash": {"type": "string"}, "mongoose": {"type": "string"}, "recastai": {"type": "string"}, "request": {"type": "string"}}, "required": ["@google/maps", "babel-cli", "babel-preset-es2015", "bcrypt", "bcryptjs", "body-parser", "botbuilder", "core-js", "cors", "express", "express-jwt", "jsonwebtoken", "lodash", "mongoose", "recastai", "request"]}, "devDependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "version", "license", "private", "scripts", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"count": {"type": "integer"}}, "required": ["count"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"count" : 2581} | json_instruct | {"type": "object", "properties": {"count": {"type": "integer"}}, "required": ["count"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"title": {"type": "string"}, "text": {"type": "string"}, "scanUrl": {"type": "string"}}, "required": ["title", "text", "scanUrl"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Fury of the Evil Army (18C116)", "text" : "Set:\tTreachery & Deceit\nKind:\tShadow\nCulture:\tUruk-Hai\nTwilight:\t0\nCard Type:\tCondition\nStrength:\t+1\nGame Text:\tBearer must be an [Uruk-hai] minion. Each time bearer wins a skirmish, you may choose one: discard a follower from play; heal an [Uruk-hai] minion; or control a site.\nRarity:\tC\nNotes:\tScan courtesy of Shieldmaiden.", "scanUrl" : "https://lotrtcgwiki.com/wiki/_media/cards:lotr18116.jpg"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "text": {"type": "string"}, "scanUrl": {"type": "string"}}, "required": ["title", "text", "scanUrl"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["cldr-tools"] | json_instruct | {"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1985, 5], [1988, 6], [1993, 6]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"gif": {"type": "string"}, "id": {"type": "string"}, "title": {"type": "string"}}, "required": ["gif", "id", "title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"gif" : "static/gifs/11.gif", "id" : "index", "title" : "Merging your own pull request"} | json_instruct | {"type": "object", "properties": {"gif": {"type": "string"}, "id": {"type": "string"}, "title": {"type": "string"}}, "required": ["gif", "id", "title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "private": {"type": "boolean"}, "type": {"type": "string"}, "packageManager": {"type": "string"}, "scripts": {"type": "object", "properties": {"postinstall": {"type": "string"}, "tf": {"type": "string"}, "import": {"type": "string"}, "state": {"type": "string"}, "plan": {"type": "string"}, "apply": {"type": "string"}}, "required": ["postinstall", "tf", "import", "state", "plan", "apply"]}, "dependencies": {"type": "object", "properties": {"cross-spawn": {"type": "string"}, "prettier": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["cross-spawn", "prettier", "typescript"]}, "devDependencies": {"type": "object", "properties": {"@types/cross-spawn": {"type": "string"}, "@types/prettier": {"type": "string"}}, "required": ["@types/cross-spawn", "@types/prettier"]}, "prettier": {"type": "object", "properties": {"printWidth": {"type": "integer"}, "tabWidth": {"type": "integer"}, "useTabs": {"type": "boolean"}, "semi": {"type": "boolean"}, "singleQuote": {"type": "boolean"}, "quoteProps": {"type": "string"}, "trailingComma": {"type": "string"}}, "required": ["printWidth", "tabWidth", "useTabs", "semi", "singleQuote", "quoteProps", "trailingComma"]}}, "required": ["name", "private", "type", "packageManager", "scripts", "dependencies", "devDependencies", "prettier"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "terraform", "private" : true, "type" : "module", "packageManager" : "yarn@3.2.0-rc.12", "scripts" : {"postinstall" : "node --no-warnings ./scripts/postinstall.js", "tf" : "node --no-warnings ./scripts/tf.js", "import" : "node --no-warnings ./scripts/tf.js import", "state" : "node --no-warnings ./scripts/tf.js state", "plan" : "node --no-warnings ./scripts/tf.js plan", "apply" : "node --no-warnings ./scripts/tf.js apply"}, "dependencies" : {"cross-spawn" : "^7.0.3", "prettier" : "^2.5.1", "typescript" : "^4.5.5"}, "devDependencies" : {"@types/cross-spawn" : "^6.0.2", "@types/prettier" : "^2.4.3"}, "prettier" : {"printWidth" : 80, "tabWidth" : 2, "useTabs" : false, "semi" : true, "singleQuote" : false, "quoteProps" : "as-needed", "trailingComma" : "all"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "private": {"type": "boolean"}, "type": {"type": "string"}, "packageManager": {"type": "string"}, "scripts": {"type": "object", "properties": {"postinstall": {"type": "string"}, "tf": {"type": "string"}, "import": {"type": "string"}, "state": {"type": "string"}, "plan": {"type": "string"}, "apply": {"type": "string"}}, "required": ["postinstall", "tf", "import", "state", "plan", "apply"]}, "dependencies": {"type": "object", "properties": {"cross-spawn": {"type": "string"}, "prettier": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["cross-spawn", "prettier", "typescript"]}, "devDependencies": {"type": "object", "properties": {"@types/cross-spawn": {"type": "string"}, "@types/prettier": {"type": "string"}}, "required": ["@types/cross-spawn", "@types/prettier"]}, "prettier": {"type": "object", "properties": {"printWidth": {"type": "integer"}, "tabWidth": {"type": "integer"}, "useTabs": {"type": "boolean"}, "semi": {"type": "boolean"}, "singleQuote": {"type": "boolean"}, "quoteProps": {"type": "string"}, "trailingComma": {"type": "string"}}, "required": ["printWidth", "tabWidth", "useTabs", "semi", "singleQuote", "quoteProps", "trailingComma"]}}, "required": ["name", "private", "type", "packageManager", "scripts", "dependencies", "devDependencies", "prettier"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"\uc774\ub984": {"type": "string"}, "\ud55c\ubb38\uba85": {"type": "string"}, "\uc0dd\ub144\uc6d4\uc77c": {"type": "string"}, "\uc815\ub2f9": {"type": "string"}, "\uc120\uac70\uad6c": {"type": "string"}, "\ub2f9\uc120\ud69f\uc218": {"type": "string"}, "\ub2f9\uc120\ub300\uc218": {"type": "string"}}, "required": ["\uc774\ub984", "\ud55c\ubb38\uba85", "\uc0dd\ub144\uc6d4\uc77c", "\uc815\ub2f9", "\uc120\uac70\uad6c", "\ub2f9\uc120\ud69f\uc218", "\ub2f9\uc120\ub300\uc218"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"\uc774\ub984" : "\uae40\uc815\ud658", "\ud55c\ubb38\uba85" : "\u91d1\u6b63\u7165", "\uc0dd\ub144\uc6d4\uc77c" : "1904-09-24", "\uc815\ub2f9" : "\ubbfc\uc8fc\ub2f9", "\uc120\uac70\uad6c" : "\uacbd\ub0a8 \ubc00\uc591\uc744", "\ub2f9\uc120\ud69f\uc218" : "\ucd08\uc120", "\ub2f9\uc120\ub300\uc218" : "4"} | json_instruct | {"type": "object", "properties": {"\uc774\ub984": {"type": "string"}, "\ud55c\ubb38\uba85": {"type": "string"}, "\uc0dd\ub144\uc6d4\uc77c": {"type": "string"}, "\uc815\ub2f9": {"type": "string"}, "\uc120\uac70\uad6c": {"type": "string"}, "\ub2f9\uc120\ud69f\uc218": {"type": "string"}, "\ub2f9\uc120\ub300\uc218": {"type": "string"}}, "required": ["\uc774\ub984", "\ud55c\ubb38\uba85", "\uc0dd\ub144\uc6d4\uc77c", "\uc815\ub2f9", "\uc120\uac70\uad6c", "\ub2f9\uc120\ud69f\uc218", "\ub2f9\uc120\ub300\uc218"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1997, 8], [2002, 6], [2003, 8], [2004, 5], [2007, 6], [2009, 6]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1971, 6], [1972, 5], [1973, 10], [1974, 5], [1975, 8], [1976, 8], [1977, 11], [1978, 13], [1979, 5], [1980, 5], [1981, 9], [1982, 11], [1983, 7], [1984, 9], [1985, 6], [1986, 11], [1987, 17], [1988, 9], [1989, 7], [1990, 9], [1991, 12], [1992, 8], [1993, 14], [1994, 7], [1995, 5], [1996, 8], [1997, 7], [1998, 5], [1999, 8], [2000, 6], [2001, 8], [2003, 10], [2004, 8], [2006, 5], [2007, 5], [2010, 6], [2011, 7], [2012, 5], [2013, 7], [2014, 10]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "version", "description", "main", "files", "scripts", "repository", "keywords", "author", "license"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "hyper-relaxed", "version" : "1.0.7", "description" : "A relaxed theme to take a more relaxed view of things.", "main" : "index.js", "files" : ["index.js"], "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "repository" : "mischah/relaxed", "keywords" : ["hyper", "theme", "hyperterm", "hyper.app", "relaxed"], "author" : "Michael K\u00fchnel", "license" : "MIT"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "version", "description", "main", "files", "scripts", "repository", "keywords", "author", "license"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"text": {"type": "string"}, "modifier_class": {"type": "string"}}, "required": ["text", "modifier_class"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"text" : "Button", "modifier_class" : ""} | json_instruct | {"type": "object", "properties": {"text": {"type": "string"}, "modifier_class": {"type": "string"}}, "required": ["text", "modifier_class"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "description", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "msysGit", "description" : "A Windows version of Git built on MSys.", "url" : "https://github.com/msysgit/msysgit/"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "description", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"0-19": {"type": "string"}, "20-29": {"type": "string"}, "30-39": {"type": "string"}, "40-49": {"type": "string"}, "50-59": {"type": "string"}, "60-69": {"type": "string"}, "70-79": {"type": "string"}, "80+": {"type": "string"}, "Unknown": {"type": "string"}}, "required": ["0-19", "20-29", "30-39", "40-49", "50-59", "60-69", "70-79", "80+", "Unknown"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"0-19" : "4", "20-29" : "23", "30-39" : "56", "40-49" : "190", "50-59" : "480", "60-69" : "1,068", "70-79" : "1,607", "80+" : "2,538", "Unknown" : "0"} | json_instruct | {"type": "object", "properties": {"0-19": {"type": "string"}, "20-29": {"type": "string"}, "30-39": {"type": "string"}, "40-49": {"type": "string"}, "50-59": {"type": "string"}, "60-69": {"type": "string"}, "70-79": {"type": "string"}, "80+": {"type": "string"}, "Unknown": {"type": "string"}}, "required": ["0-19", "20-29", "30-39", "40-49", "50-59", "60-69", "70-79", "80+", "Unknown"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"contract" : "0x72eff9e6d24e9078a87f51e569ad5560bfb3fd40", "tool" : "slither", "start" : 1563545024.9757214, "end" : 1563545033.1223419, "duration" : 8.146620512008667, "analysis" : []} | json_instruct | {"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 404393669, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes", "src:geom" : "quattroshapes", "wof:geomhash" : "04b4d9fdd99efee9caedd65df8c61a38", "wof:id" : 404393669, "wof:repo" : "whosonfirst-data-admin-fr"}, "bbox" : [0.17542728720494, 43.33529491942387, 0.2078000236938, 43.34813072337563], "geometry" : {"coordinates" : [[[0.17659696944491, 43.33529491942387], [0.17542728720494, 43.34053935779235], [0.20777888755588, 43.34813072337563], [0.2078000236938, 43.34056992803508], [0.17659696944491, 43.33529491942387]]], "type" : "Polygon"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"host": {"type": "string"}, "port": {"type": "integer"}}, "required": ["host", "port"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"host" : "10.0.0.5", "port" : 8456} | json_instruct | {"type": "object", "properties": {"host": {"type": "string"}, "port": {"type": "integer"}}, "required": ["host", "port"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "FeatureCollection", "features" : [{"geometry" : {"type" : "Polygon", "coordinates" : [[[-73.737539, 40.768402], [-73.733893, 40.772527], [-73.720713, 40.764532], [-73.726322, 40.76356], [-73.731862, 40.760542], [-73.737539, 40.768402]]]}, "type" : "Feature", "properties" : {"cartodb_id" : 45493}}]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "short_description": {"type": "string"}, "category": {"type": "string"}, "sub_category": {"type": "string"}, "version": {"type": "string"}, "require": {"type": "object", "properties": {"lobby": {"type": "string"}}, "required": ["lobby"]}, "logo": {"type": "string"}, "author": {"type": "string"}, "author_page": {"type": "string"}, "app_page": {"type": "string"}}, "required": ["name", "short_description", "category", "sub_category", "version", "require", "logo", "author", "author_page", "app_page"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "T Rex", "short_description" : "Navigate your T-Rex through the obstacles and score !", "category" : "games", "sub_category" : "arcade", "version" : "0.1.1", "require" : {"lobby" : ">=0.9.3"}, "logo" : "true", "author" : "Subin Siby", "author_page" : "http://subinsb.com", "app_page" : "http://subinsb.com"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "short_description": {"type": "string"}, "category": {"type": "string"}, "sub_category": {"type": "string"}, "version": {"type": "string"}, "require": {"type": "object", "properties": {"lobby": {"type": "string"}}, "required": ["lobby"]}, "logo": {"type": "string"}, "author": {"type": "string"}, "author_page": {"type": "string"}, "app_page": {"type": "string"}}, "required": ["name", "short_description", "category", "sub_category", "version", "require", "logo", "author", "author_page", "app_page"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"replace": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "string"}}}, "required": ["replace", "values"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"replace" : false, "values" : ["swampexpansion:willow_trapdoor"]} | json_instruct | {"type": "object", "properties": {"replace": {"type": "boolean"}, "values": {"type": "array", "items": {"type": "string"}}}, "required": ["replace", "values"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"asset": {"type": "string"}, "assetMap": {"type": "string"}, "officialSiteUrl": {"type": "string"}, "contactEmail": {"type": "string"}, "display": {"type": "boolean"}, "contact": {"type": "object", "properties": {"Telegram": {"type": "string"}, "GitHub": {"type": "string"}, "Twitter": {"type": "string"}, "Instagram": {"type": "string"}, "Discord": {"type": "string"}}, "required": ["Telegram", "GitHub", "Twitter", "Instagram", "Discord"]}}, "required": ["asset", "assetMap", "officialSiteUrl", "contactEmail", "display", "contact"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"asset" : "CTG-493", "assetMap" : "CTG", "officialSiteUrl" : "https://cryptorg.net", "contactEmail" : "support@cryptorg.net", "display" : true, "contact" : {"Telegram" : "https://telegram.me/cryptorg_eng", "GitHub" : "https://github.com/cryptorg-io", "Twitter" : "https://twitter.com/Cryptorg_trade", "Instagram" : "https://www.instagram.com/cryptorg_trading/", "Discord" : "https://discordapp.com/invite/qhhZ65K"}} | json_instruct | {"type": "object", "properties": {"asset": {"type": "string"}, "assetMap": {"type": "string"}, "officialSiteUrl": {"type": "string"}, "contactEmail": {"type": "string"}, "display": {"type": "boolean"}, "contact": {"type": "object", "properties": {"Telegram": {"type": "string"}, "GitHub": {"type": "string"}, "Twitter": {"type": "string"}, "Instagram": {"type": "string"}, "Discord": {"type": "string"}}, "required": ["Telegram", "GitHub", "Twitter", "Instagram", "Discord"]}}, "required": ["asset", "assetMap", "officialSiteUrl", "contactEmail", "display", "contact"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "regency_id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "regency_id", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "1115050", "regency_id" : "1115", "name" : "SEUNAGAN TIMUR"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "regency_id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "regency_id", "name"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"ID": {"type": "string"}, "Name": {"type": "string"}, "Type": {"type": "string"}, "Longitude": {"type": "number"}, "Latitude": {"type": "number"}, "AlarmCounter": {"type": "object", "properties": {"Level1": {"type": "integer"}, "Level2": {"type": "integer"}, "Level3": {"type": "integer"}, "Level4": {"type": "integer"}}, "required": ["Level1", "Level2", "Level3", "Level4"]}, "State": {"type": "integer"}, "DisplayAddress": {"type": "boolean"}, "SigDatas": {"type": "array", "items": {"type": "object", "properties": {"Name": {"type": "string"}, "Value": {"type": "string"}, "Desc": {"type": "string"}, "State": {"type": "integer"}}, "required": ["Name", "Value", "Desc", "State"]}}, "Remark": {"type": "string"}}, "required": ["ID", "Name", "Type", "Longitude", "Latitude", "AlarmCounter", "State", "DisplayAddress", "SigDatas", "Remark"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ID" : "1", "Name" : "#\u7ad9\u70b901", "Type" : "\u6838\u5fc3\u7ad9\u70b9", "Longitude" : 121.405801, "Latitude" : 31.294206, "AlarmCounter" : {"Level1" : 33, "Level2" : 24, "Level3" : 35, "Level4" : 46}, "State" : 2, "DisplayAddress" : true, "SigDatas" : [{"Name" : "\u4fe1\u53f71", "Value" : "4", "Desc" : "2\u7ea7\u544a\u8b66", "State" : 2}, {"Name" : "\u4fe1\u53f72", "Value" : "3", "Desc" : "1\u7ea7\u544a\u8b66", "State" : 1}, {"Name" : "\u4fe1\u53f73", "Value" : "2", "Desc" : "3\u7ea7\u544a\u8b66", "State" : 3}, {"Name" : "\u4fe1\u53f74", "Value" : "5", "Desc" : "3\u7ea7\u544a\u8b66", "State" : 3}, {"Name" : "\u4fe1\u53f75", "Value" : "8", "Desc" : "\u6b63\u5e38", "State" : 0}, {"Name" : "\u4fe1\u53f76", "Value" : "6", "Desc" : "\u6b63\u5e38", "State" : 0}, {"Name" : "\u4fe1\u53f77", "Value" : "2", "Desc" : "1\u7ea7\u544a\u8b66", "State" : 1}, {"Name" : "\u4fe1\u53f78", "Value" : "1", "Desc" : "3\u7ea7\u544a\u8b66", "State" : 6}, {"Name" : "\u4fe1\u53f79", "Value" : "3", "Desc" : "2\u7ea7\u544a\u8b66", "State" : 5}, {"Name" : "\u4fe1\u53f710", "Value" : "12", "Desc" : "3\u7ea7\u544a\u8b66", "State" : 3}], "Remark" : "xxx"} | json_instruct | {"type": "object", "properties": {"ID": {"type": "string"}, "Name": {"type": "string"}, "Type": {"type": "string"}, "Longitude": {"type": "number"}, "Latitude": {"type": "number"}, "AlarmCounter": {"type": "object", "properties": {"Level1": {"type": "integer"}, "Level2": {"type": "integer"}, "Level3": {"type": "integer"}, "Level4": {"type": "integer"}}, "required": ["Level1", "Level2", "Level3", "Level4"]}, "State": {"type": "integer"}, "DisplayAddress": {"type": "boolean"}, "SigDatas": {"type": "array", "items": {"type": "object", "properties": {"Name": {"type": "string"}, "Value": {"type": "string"}, "Desc": {"type": "string"}, "State": {"type": "integer"}}, "required": ["Name", "Value", "Desc", "State"]}}, "Remark": {"type": "string"}}, "required": ["ID", "Name", "Type", "Longitude", "Latitude", "AlarmCounter", "State", "DisplayAddress", "SigDatas", "Remark"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"address": {"type": "string"}, "cert_auth_type": {"type": "string"}, "cert_sign": {"type": "string"}, "cert_user_id": {"type": "string"}, "files": {"type": "object", "properties": {}, "required": []}, "inner_path": {"type": "string"}, "modified": {"type": "number"}, "signs": {"type": "object", "properties": {"1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw": {"type": "string"}}, "required": ["1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw"]}, "user": {"type": "array", "items": {"type": "object", "properties": {"avatar": {"type": "string"}, "date_added": {"type": "integer"}, "hub": {"type": "string"}, "intro": {"type": "string"}, "user_name": {"type": "string"}}, "required": ["avatar", "date_added", "hub", "intro", "user_name"]}}}, "required": ["address", "cert_auth_type", "cert_sign", "cert_user_id", "files", "inner_path", "modified", "signs", "user"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"address" : "1UDbADib99KE9d3qZ87NqJF2QLTHmMkoV", "cert_auth_type" : "web", "cert_sign" : "G9EGIBd7oxUNoi6SPyu8LmvW64UnGabyAkA8kiSIWWohySH2HxFBMX0VgVcLC22tibXCnM2eSXH/HdIK0aOZ2wk=", "cert_user_id" : "skoobar@zeroid.bit", "files" : {}, "inner_path" : "data/userdb/1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw/content.json", "modified" : 1473204950.064, "signs" : {"1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw" : "G0kHZUEeKhnf3kN2p75zvKauIArIG2qTO9g3SwZsPjxkA39rkN/m/+Vj9dZvnkGbjhQBzHwxTlm6lTeXaToMWfI="}, "user" : [{"avatar" : "generate", "date_added" : 1473204950, "hub" : "1BLueGvui1GdbtsjcKqCf4F67uKfritG49", "intro" : "Random ZeroNet user", "user_name" : "Skoobar"}]} | json_instruct | {"type": "object", "properties": {"address": {"type": "string"}, "cert_auth_type": {"type": "string"}, "cert_sign": {"type": "string"}, "cert_user_id": {"type": "string"}, "files": {"type": "object", "properties": {}, "required": []}, "inner_path": {"type": "string"}, "modified": {"type": "number"}, "signs": {"type": "object", "properties": {"1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw": {"type": "string"}}, "required": ["1FuM7LLAEyniquLFrozvB48X4YmAzcE6Sw"]}, "user": {"type": "array", "items": {"type": "object", "properties": {"avatar": {"type": "string"}, "date_added": {"type": "integer"}, "hub": {"type": "string"}, "intro": {"type": "string"}, "user_name": {"type": "string"}}, "required": ["avatar", "date_added", "hub", "intro", "user_name"]}}}, "required": ["address", "cert_auth_type", "cert_sign", "cert_user_id", "files", "inner_path", "modified", "signs", "user"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "district_id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "district_id", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "8109030003", "district_id" : "8109030", "name" : "LEKTAMA"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "district_id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "district_id", "name"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"survey.css": {"type": "string"}, "survey.ko.js": {"type": "string"}, "survey.ko.min.js": {"type": "string"}, "survey.min.css": {"type": "string"}}, "required": ["survey.css", "survey.ko.js", "survey.ko.min.js", "survey.min.css"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"survey.css" : "sha512-2RyJquH9IJgjYdbj43+a5uE0uVOfbprhIHmilTa3QzfP04nkoDpoRrvqLNeExrvEWGUQbKyOT39OyLuKRYDd5g==", "survey.ko.js" : "sha512-raXhzB6QHNoRiwg0BJ2PiIHh9IiMGyLEL4BCTHHYKQWxwF6YdeFuL5upMsMu/WN8aeT/Jh8UbDLc0pqxha0Rlg==", "survey.ko.min.js" : "sha512-ayU68oC4E9oA1G5QELSXCxRMQCgQx8yb5RwUJXRDwEeIePkTMr/E3iXPSLSVsSMIpez4J46xigIG1ecsAyG5Cg==", "survey.min.css" : "sha512-wu9owfM61n9cnLdY3a692WLY2yBaU3b0YdMFA4LNhqdcDdT2A+hC+lzeNVP7RAyY+xPiTwkzA0cyU2HA7WhxUA=="} | json_instruct | {"type": "object", "properties": {"survey.css": {"type": "string"}, "survey.ko.js": {"type": "string"}, "survey.ko.min.js": {"type": "string"}, "survey.min.css": {"type": "string"}}, "required": ["survey.css", "survey.ko.js", "survey.ko.min.js", "survey.min.css"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.