input stringlengths 159 2.05k | output stringlengths 5 10.3k | task stringclasses 1
value | schema stringlengths 100 1.99k |
|---|---|---|---|
Using the following JSON schema, generate a compatible JSON instance:
{"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" : 16326, "cartId" : "49dbcc8f-96bb-4b30-9746-c247c6ec5322", "preferredProducts" : [669, 35, 606, 1057, 2784, 3277], "productReviews" : [{"productId" : 1562, "reviewText" : "My goldfinch loves to play with it.", "reviewDate" : "2017-04-17T22:29:51.7150744+03:00"}, {"productId" : 1673, "reviewText" : "The box this comes in is 5 inch by 6 mile and weights 15 ton!!", "reviewDate" : "2019-11-18T18:44:31.0775699+02:00"}, {"productId" : 1575, "reviewText" : "My neighbor Allean has one of these. She works as a sky diver and she says it looks weedy.", "reviewDate" : "2017-12-02T00:02:34.8757023+02:00"}, {"productId" : 3575, "reviewText" : "It only works when I'm Martinique.", "reviewDate" : "2017-11-12T19:02:45.2178521+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#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "conquest:block/narrow_oak_wood_plank_slab_quarter_4"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"(0, 0)": {"type": "string"}, "(1, 0)": {"type": "string"}, "(1, 1)": {"type": "string"}, "(1, 2)": {"type": "string"}, "(1, 3)": {"type": "string"}, "(1, 4)": {"type": "string"}, "(2, 0)": {"type": "string"}, "(2, 1)": {"type": "string"}, "(2, 2)": {"type": "string"}, "(2, 3)": {"type": "string"}, "(2, 4)": {"type": "string"}, "(3, 0)": {"type": "string"}, "(3, 1)": {"type": "string"}, "(3, 2)": {"type": "string"}, "(3, 3)": {"type": "string"}, "(3, 4)": {"type": "string"}, "(4, 0)": {"type": "string"}, "(4, 1)": {"type": "string"}, "(4, 2)": {"type": "string"}, "(4, 3)": {"type": "string"}, "(4, 4)": {"type": "string"}, "(5, 0)": {"type": "string"}, "(5, 1)": {"type": "string"}, "(5, 2)": {"type": "string"}, "(5, 3)": {"type": "string"}, "(5, 4)": {"type": "string"}, "(6, 0)": {"type": "string"}, "(6, 1)": {"type": "string"}, "(6, 2)": {"type": "string"}, "(6, 3)": {"type": "string"}, "(6, 4)": {"type": "string"}, "(7, 0)": {"type": "string"}, "(7, 1)": {"type": "string"}, "(7, 2)": {"type": "string"}, "(7, 3)": {"type": "string"}, "(7, 4)": {"type": "string"}, "(8, 0)": {"type": "string"}, "(8, 1)": {"type": "string"}, "(8, 2)": {"type": "string"}, "(8, 3)": {"type": "string"}, "(8, 4)": {"type": "string"}}, "required": ["(0, 0)", "(1, 0)", "(1, 1)", "(1, 2)", "(1, 3)", "(1, 4)", "(2, 0)", "(2, 1)", "(2, 2)", "(2, 3)", "(2, 4)", "(3, 0)", "(3, 1)", "(3, 2)", "(3, 3)", "(3, 4)", "(4, 0)", "(4, 1)", "(4, 2)", "(4, 3)", "(4, 4)", "(5, 0)", "(5, 1)", "(5, 2)", "(5, 3)", "(5, 4)", "(6, 0)", "(6, 1)", "(6, 2)", "(6, 3)", "(6, 4)", "(7, 0)", "(7, 1)", "(7, 2)", "(7, 3)", "(7, 4)", "(8, 0)", "(8, 1)", "(8, 2)", "(8, 3)", "(8, 4)"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"(0, 0)" : "1986 - 87 seattle supersonics season", "(1, 0)" : "round", "(1, 1)" : "pick", "(1, 2)" : "player", "(1, 3)" : "nationality", "(1, 4)" : "college", "(2, 0)" : "2", "(2, 1)" : "30", "(2, 2)" : "nate mcmillan", "(2, 3)" : "united states", "(2, 4)" : "north carolina state", "(3, 0)" : "2", "(3, 1)" : "38", "(3, 2)" : "lemone lampley", "(3, 3)" : "united states", "(3, 4)" : "depaul", "(4, 0)" : "3", "(4, 1)" : "53", "(4, 2)" : "tod murphy", "(4, 3)" : "united states", "(4, 4)" : "uc irvine", "(5, 0)" : "4", "(5, 1)" : "76", "(5, 2)" : "michael graham", "(5, 3)" : "united states", "(5, 4)" : "georgetown", "(6, 0)" : "5", "(6, 1)" : "99", "(6, 2)" : "dominic pressley", "(6, 3)" : "united states", "(6, 4)" : "boston college", "(7, 0)" : "6", "(7, 1)" : "122", "(7, 2)" : "curtis kitchen", "(7, 3)" : "united states", "(7, 4)" : "south florida", "(8, 0)" : "7", "(8, 1)" : "145", "(8, 2)" : "glen mccants", "(8, 3)" : "united states", "(8, 4)" : "clemson"} | json_instruct | {"type": "object", "properties": {"(0, 0)": {"type": "string"}, "(1, 0)": {"type": "string"}, "(1, 1)": {"type": "string"}, "(1, 2)": {"type": "string"}, "(1, 3)": {"type": "string"}, "(1, 4)": {"type": "string"}, "(2, 0)": {"type": "string"}, "(2, 1)": {"type": "string"}, "(2, 2)": {"type": "string"}, "(2, 3)": {"type": "string"}, "(2, 4)": {"type": "string"}, "(3, 0)": {"type": "string"}, "(3, 1)": {"type": "string"}, "(3, 2)": {"type": "string"}, "(3, 3)": {"type": "string"}, "(3, 4)": {"type": "string"}, "(4, 0)": {"type": "string"}, "(4, 1)": {"type": "string"}, "(4, 2)": {"type": "string"}, "(4, 3)": {"type": "string"}, "(4, 4)": {"type": "string"}, "(5, 0)": {"type": "string"}, "(5, 1)": {"type": "string"}, "(5, 2)": {"type": "string"}, "(5, 3)": {"type": "string"}, "(5, 4)": {"type": "string"}, "(6, 0)": {"type": "string"}, "(6, 1)": {"type": "string"}, "(6, 2)": {"type": "string"}, "(6, 3)": {"type": "string"}, "(6, 4)": {"type": "string"}, "(7, 0)": {"type": "string"}, "(7, 1)": {"type": "string"}, "(7, 2)": {"type": "string"}, "(7, 3)": {"type": "string"}, "(7, 4)": {"type": "string"}, "(8, 0)": {"type": "string"}, "(8, 1)": {"type": "string"}, "(8, 2)": {"type": "string"}, "(8, 3)": {"type": "string"}, "(8, 4)": {"type": "string"}}, "required": ["(0, 0)", "(1, 0)", "(1, 1)", "(1, 2)", "(1, 3)", "(1, 4)", "(2, 0)", "(2, 1)", "(2, 2)", "(2, 3)", "(2, 4)", "(3, 0)", "(3, 1)", "(3, 2)", "(3, 3)", "(3, 4)", "(4, 0)", "(4, 1)", "(4, 2)", "(4, 3)", "(4, 4)", "(5, 0)", "(5, 1)", "(5, 2)", "(5, 3)", "(5, 4)", "(6, 0)", "(6, 1)", "(6, 2)", "(6, 3)", "(6, 4)", "(7, 0)", "(7, 1)", "(7, 2)", "(7, 3)", "(7, 4)", "(8, 0)", "(8, 1)", "(8, 2)", "(8, 3)", "(8, 4)"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"Name": {"type": "string"}, "Objects": {"type": "array", "items": {"type": "object", "properties": {"Length": {"type": "integer"}, "Height": {"type": "integer"}, "Stock": {"type": "null"}, "Cost": {"type": "integer"}}, "required": ["Length", "Height", "Stock", "Cost"]}}, "Items": {"type": "array", "items": {"type": "object", "properties": {"Length": {"type": "integer"}, "Height": {"type": "integer"}, "Demand": {"type": "integer"}, "DemandMax": {"type": "null"}, "Value": {"type": "integer"}}, "required": ["Length", "Height", "Demand", "DemandMax", "Value"]}}}, "required": ["Name", "Objects", "Items"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Name" : "C3_20_L_4", "Objects" : [{"Length" : 100, "Height" : 100, "Stock" : null, "Cost" : 10000}], "Items" : [{"Length" : 27, "Height" : 63, "Demand" : 1, "DemandMax" : null, "Value" : 1701}, {"Length" : 56, "Height" : 52, "Demand" : 1, "DemandMax" : null, "Value" : 2912}, {"Length" : 54, "Height" : 39, "Demand" : 1, "DemandMax" : null, "Value" : 2106}, {"Length" : 52, "Height" : 44, "Demand" : 1, "DemandMax" : null, "Value" : 2288}, {"Length" : 55, "Height" : 53, "Demand" : 1, "DemandMax" : null, "Value" : 2915}, {"Length" : 27, "Height" : 34, "Demand" : 1, "DemandMax" : null, "Value" : 918}, {"Length" : 29, "Height" : 48, "Demand" : 1, "DemandMax" : null, "Value" : 1392}, {"Length" : 71, "Height" : 60, "Demand" : 1, "DemandMax" : null, "Value" : 4260}, {"Length" : 34, "Height" : 70, "Demand" : 1, "DemandMax" : null, "Value" : 2380}, {"Length" : 57, "Height" : 55, "Demand" : 1, "DemandMax" : null, "Value" : 3135}, {"Length" : 59, "Height" : 25, "Demand" : 1, "DemandMax" : null, "Value" : 1475}, {"Length" : 25, "Height" : 25, "Demand" : 1, "DemandMax" : null, "Value" : 625}, {"Length" : 69, "Height" : 52, "Demand" : 1, "DemandMax" : null, "Value" : 3588}, {"Length" : 36, "Height" : 38, "Demand" : 1, "DemandMax" : null, "Value" : 1368}, {"Length" : 43, "Height" : 69, "Demand" : 1, "DemandMax" : null, "Value" : 2967}, {"Length" : 67, "Height" : 41, "Demand" : 1, "DemandMax" : null, "Value" : 2747}, {"Length" : 56, "Height" : 39, "Demand" : 1, "DemandMax" : null, "Value" : 2184}, {"Length" : 60, "Height" : 46, "Demand" : 1, "DemandMax" : null, "Value" : 2760}, {"Length" : 54, "Height" : 26, "Demand" : 1, "DemandMax" : null, "Value" : 1404}, {"Length" : 37, "Height" : 31, "Demand" : 1, "DemandMax" : null, "Value" : 1147}]} | json_instruct | {"type": "object", "properties": {"Name": {"type": "string"}, "Objects": {"type": "array", "items": {"type": "object", "properties": {"Length": {"type": "integer"}, "Height": {"type": "integer"}, "Stock": {"type": "null"}, "Cost": {"type": "integer"}}, "required": ["Length", "Height", "Stock", "Cost"]}}, "Items": {"type": "array", "items": {"type": "object", "properties": {"Length": {"type": "integer"}, "Height": {"type": "integer"}, "Demand": {"type": "integer"}, "DemandMax": {"type": "null"}, "Value": {"type": "integer"}}, "required": ["Length", "Height", "Demand", "DemandMax", "Value"]}}}, "required": ["Name", "Objects", "Items"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "type": {"type": "string"}, "img": {"type": "string"}, "imgdis": {"type": "string"}, "icon": {"type": "string"}, "name": {"type": "string"}, "hidden": {"type": "boolean"}, "pressed": {"type": "null"}, "onwhen": {"type": "null"}, "data": {"type": "null"}, "enabled": {"type": "boolean"}, "title": {"type": "string"}, "url_parms": {"type": "string"}, "url": {"type": "string"}}, "required": ["id", "type", "img", "imgdis", "icon", "name", "hidden", "pressed", "onwhen", "data", "enabled", "title", "url_parms", "url"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "view_grid", "type" : "buttonTwoState", "img" : "view_grid.png", "imgdis" : "view_grid.png", "icon" : "fa fa-th", "name" : "view_grid", "hidden" : false, "pressed" : null, "onwhen" : null, "data" : null, "enabled" : true, "title" : "Grid View", "url_parms" : "?type=grid", "url" : "/show_list"}, {"id" : "view_tile", "type" : "buttonTwoState", "img" : "view_tile.png", "imgdis" : "view_tile.png", "icon" : "fa fa-th-large", "name" : "view_tile", "hidden" : false, "pressed" : null, "onwhen" : null, "data" : null, "enabled" : true, "title" : "Tile View", "url_parms" : "?type=tile", "url" : "/show_list"}, {"id" : "view_list", "type" : "buttonTwoState", "img" : "view_list.png", "imgdis" : "view_list.png", "icon" : "fa fa-th-list", "name" : "view_list", "hidden" : false, "pressed" : null, "onwhen" : null, "data" : null, "enabled" : false, "title" : "List View", "url_parms" : "?type=list", "selected" : true, "url" : "/show_list"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "type": {"type": "string"}, "img": {"type": "string"}, "imgdis": {"type": "string"}, "icon": {"type": "string"}, "name": {"type": "string"}, "hidden": {"type": "boolean"}, "pressed": {"type": "null"}, "onwhen": {"type": "null"}, "data": {"type": "null"}, "enabled": {"type": "boolean"}, "title": {"type": "string"}, "url_parms": {"type": "string"}, "url": {"type": "string"}}, "required": ["id", "type", "img", "imgdis", "icon", "name", "hidden", "pressed", "onwhen", "data", "enabled", "title", "url_parms", "url"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"relation": {"type": "array", "items": {"type": "string"}}, "target": {"type": "object", "properties": {"namespace": {"type": "string"}, "package_name": {"type": "string"}, "sha256_cert_fingerprints": {"type": "array", "items": {"type": "string"}}}, "required": ["namespace", "package_name", "sha256_cert_fingerprints"]}}, "required": ["relation", "target"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"relation" : ["delegate_permission/common.handle_all_urls"], "target" : {"namespace" : "android_app", "package_name" : "app.pilotdev.flyclub", "sha256_cert_fingerprints" : ["F0:BB:6C:7A:EE:07:0F:29:73:92:98:36:FE:3A:C8:F4:F8:1D:D5:CE:30:E3:F5:BA:C7:BE:69:88:44:FC:C6:82"]}}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"relation": {"type": "array", "items": {"type": "string"}}, "target": {"type": "object", "properties": {"namespace": {"type": "string"}, "package_name": {"type": "string"}, "sha256_cert_fingerprints": {"type": "array", "items": {"type": "string"}}}, "required": ["namespace", "package_name", "sha256_cert_fingerprints"]}}, "required": ["relation", "target"]}, "$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"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"through2": {"type": "string"}}, "required": ["through2"]}, "devDependencies": {"type": "object", "properties": {"browserify": {"type": "string"}, "electron": {"type": "string"}, "faucet": {"type": "string"}, "tape": {"type": "string"}}, "required": ["browserify", "electron", "faucet", "tape"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}}, "required": ["name", "version", "description", "main", "scripts", "dependencies", "devDependencies", "repository", "author", "license", "bugs", "homepage"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "electron-renderify", "version" : "0.0.2", "description" : "electron-renderify", "main" : "index.js", "scripts" : {"test" : "faucet"}, "dependencies" : {"through2" : "^2.0.3"}, "devDependencies" : {"browserify" : "^14.4.0", "electron" : "^1.7.9", "faucet" : "0.0.1", "tape" : "^4.7.0"}, "repository" : {"type" : "git", "url" : "https://github.com/blahah/electron-renderify.git"}, "author" : "Rik Smith-Unna (@blahah)", "license" : "CC0-1.0", "bugs" : {"url" : "https://github.com/blahah/electron-renderify/issues"}, "homepage" : "https://github.com/blahah/electron-renderify"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"through2": {"type": "string"}}, "required": ["through2"]}, "devDependencies": {"type": "object", "properties": {"browserify": {"type": "string"}, "electron": {"type": "string"}, "faucet": {"type": "string"}, "tape": {"type": "string"}}, "required": ["browserify", "electron", "faucet", "tape"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}}, "required": ["name", "version", "description", "main", "scripts", "dependencies", "devDependencies", "repository", "author", "license", "bugs", "homepage"], "$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"}, "main": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"heroku-prebuild": {"type": "string"}}, "required": ["heroku-prebuild"]}, "cacheDirectories": {"type": "array", "items": {"type": "string"}}, "engines": {"type": "object", "properties": {"yarn": {"type": "string"}, "node": {"type": "string"}}, "required": ["yarn", "node"]}, "devDependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "version", "main", "repository", "author", "license", "private", "scripts", "cacheDirectories", "engines", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "libook-build", "version" : "1.0.0", "main" : "index.js", "repository" : "", "author" : "Alex Chi", "license" : "MIT", "private" : true, "scripts" : {"heroku-prebuild" : "NODE_ENV=production REACT_APP_GIT_SHA=$GIT_REV cd booklib/ && yarn install --immutable && yarn build && cd .. && rm Pipfile*"}, "cacheDirectories" : ["booklib/node_modules"], "engines" : {"yarn" : "1.x", "node" : "14.x"}, "devDependencies" : {}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"heroku-prebuild": {"type": "string"}}, "required": ["heroku-prebuild"]}, "cacheDirectories": {"type": "array", "items": {"type": "string"}}, "engines": {"type": "object", "properties": {"yarn": {"type": "string"}, "node": {"type": "string"}}, "required": ["yarn", "node"]}, "devDependencies": {"type": "object", "properties": {}, "required": []}}, "required": ["name", "version", "main", "repository", "author", "license", "private", "scripts", "cacheDirectories", "engines", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "javaType": {"type": "string"}, "properties": {"type": "object", "properties": {"effect": {"type": "object", "properties": {"type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "items"]}, "label": {"type": "object", "properties": {"type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "items"]}}, "required": ["effect", "label"]}}, "required": ["title", "description", "type", "javaType", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "LevelTip", "description" : "This object contains champion level tip data", "type" : "object", "javaType" : "gg.buff.dorans.objects.generated.lol_static.LevelTip", "properties" : {"effect" : {"type" : "array", "items" : {"type" : "string"}}, "label" : {"type" : "array", "items" : {"type" : "string"}}}} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "javaType": {"type": "string"}, "properties": {"type": "object", "properties": {"effect": {"type": "object", "properties": {"type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "items"]}, "label": {"type": "object", "properties": {"type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "items"]}}, "required": ["effect", "label"]}}, "required": ["title", "description", "type", "javaType", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"title": {"type": "string"}, "source": {"type": "string"}, "time": {"type": "string"}, "content": {"type": "string"}}, "required": ["title", "source", "time", "content"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "\u65af\u7279\u6797\u6885\u5f00\u4e8c\u5ea6\u798f\u767b\u62c9\u6ce2\u7279\u5efa\u529f\uff0c\u66fc\u57ce4-0\u6c83\u7279\u798f\u5fb7", "source" : "\u864e\u6251", "time" : "2020-07-22 02:53:07", "content" : "\u864e\u62517\u670822\u65e5\u8baf\u00a0\u5317\u4eac\u65f6\u95f4\u51cc\u666801:00\uff0c\u82f1\u8d85\u7b2c37\u8f6e\u7ee7\u7eed\u8fdb\u884c\uff0c\u6c83\u7279\u798f\u5fb7\u4e3b\u573a\u8fce\u6218\u66fc\u57ce\u3002\u4e0a\u534a\u573a\uff0c\u6c83\u514b\u52a9\u653b\u65af\u7279\u6797\u9996\u5f00\u7eaa\u5f55\uff0c\u968f\u540e\u65af\u7279\u6797\u70b9\u7403\u88ab\u6251\u51fa\u540e\u81ea\u5df1\u8865\u5c04\u7834\u95e8\u4e3a\u7403\u961f\u518d\u4e0b\u4e00\u57ce\uff1b\u4e0b\u534a\u573a\uff0c\u798f\u767b\u8865\u5c04\u7834\u95e8\uff0c\u5fb7\u5e03\u52b3\u5185\u52a9\u653b\u62c9\u6ce2\u7279\u7ee7\u7eed\u6269\u5927\u6bd4\u5206\u3002\u6700\u7ec8\uff0c\u66fc\u57ce4-0\u6218\u80dc\u6c83\u7279\u798f\u5fb7\u3002\n\u5f00\u573a\u7b2c11\u5206\u949f\uff0c \u7f57\u5fb7\u91cc\u63a5\u574e\u585e\u6d1b\u5206\u7403\u5916\u56f4\u52b2\u5c04\u88ab\u95e8\u5c06\u98de\u8eab\u6251\u51fa\u3002\n\n\u7b2c22\u5206\u949f\uff0c\u65af\u7279\u6797\u7981\u533a\u5de6\u4fa7\u5185\u5207\u5c04\u95e8\u88ab\u9632\u5b88\u7403\u5458\u6321\u51fa\u3002\n\n\u7b2c31\u5206\u949f\uff0c\u53f3\u8fb9\u8def\u7684\u6c83\u514b\u8d77\u811a\u4f20\u4e2d\u5230\u7981\u533a\uff0c\u65af\u7279\u6797\u63a5\u7403\u540e\u53f3\u811a\u5927\u529b\u62bd\u5c04\u7834\u95e8\uff01\u66fc\u57ce\u5ba2\u573a1-0\u6682\u65f6\u9886\u5148\u6c83\u7279\u798f\u5fb7\uff01\n\n\n\u7b2c39\u5206\u949f\uff0c\u65af\u7279\u6797\u5728\u7981\u533a\u5185\u88ab\u653e\u5012\u5728\u5730\u88c1\u5224\u679c\u65ad\u5224\u7f5a\u70b9\u7403\uff0c\u65af\u7279\u6797\u4eb2\u81ea\u4e3b\u7f5a\u88ab\u798f\u65af\u7279\u6251\u51fa\uff0c\u968f\u540e\u81ea\u5df1\u8ddf\u4e0a\u8865\u5c04\u7834\u95e8\uff01\u66fc\u57ce2-0\u9886\u5148\u6c83\u7279\u798f\u5fb7\uff01\n\n\n\n\u7b2c46\u5206\u949f\uff0c\u5e2d\u5c14\u74e6\u5206\u7981\u533a\u4e2d\u8def\u63d2\u4e0a\u7684\u5fb7\u5e03\u52b3\u5185\uff0c\u5fb7\u5e03\u52b3\u5185\u63a8\u5c04\u6253\u504f\u3002\n\n\u7b2c47\u5206\u949f\uff0c\u6c83\u7279\u798f\u5fb7\u83b7\u5f97\u524d\u573a\u5de6\u4fa7\u4efb\u610f\u7403\u673a\u4f1a\uff0c\u76ae\u7403\u5f00\u5230\u7981\u533a\u9053\u68ee\u9ad8\u9ad8\u8dc3\u8d77\u5934\u7403\u653b\u95e8\u88ab\u798f\u65af\u7279\u6ca1\u6536\u3002\n\n\u6613\u8fb9\u518d\u6218\u7b2c46\u5206\u949f\uff0c\u65af\u7279\u6797\u7981\u533a\u524d\u6cbf\u5927\u529b\u62bd\u5c04\u88ab\u95e8\u5c06\u98de\u8eab\u6251\u51fa\u3002\n\n\u7b2c47\u5206\u949f\uff0c\u6162\u955c\u5934\u56de\u653e\u663e\u793a\u8d1d\u5c14\u7eb3\u591a-\u5e2d\u5c14\u74e6\u7981\u533a\u5185\u5c04\u95e8\u65f6\u9632\u5b88\u7403\u5458\u7591\u4f3c\u624b\u7403\u3002\n\n\u7b2c49\u5206\u949f\uff0c \u8428\u5c14\u7981\u533a\u5de6\u4fa7\u88ab\u5305\u5939\u7684\u60c5\u51b5\u4e0b\u5c04\u95e8\u6253\u504f\u3002\n\n\u7b2c61\u5206\u949f\uff0c\u66fc\u57ce\u83b7\u5f97\u524d\u573a\u4efb\u610f\u7403\u673a\u4f1a\uff0c\u5fb7\u5e03\u52b3\u5185\u4e3b\u7f5a\u76f4\u63a5\u653b\u95e8\u88ab\u798f\u65af\u7279\u98de\u8eab\u6251\u51fa\u6a2a\u6881\u3002\n\n\u7b2c63\u5206\u949f\uff0c\u65af\u7279\u6797\u63a5\u5fb7\u5e03\u52b3\u5185\u76f4\u585e\u7403\u53f3\u811a\u63a8\u5c04\u88ab\u95e8\u5c06\u53f3\u811a\u6251\u51fa\uff0c\u968f\u540e\u8ddf\u4e0a\u7684\u798f\u767b\u8865\u5c04\u7834\u95e8\uff01\u66fc\u57ce3-0\u9886\u5148\u6c83\u7279\u798f\u5fb7\uff01\n\n\n\u7b2c66\u5206\u949f\uff0c\u66fc\u57ce\u83b7\u5f97\u524d\u573a\u53f3\u4fa7\u4efb\u610f\u7403\u673a\u4f1a\uff0c\u5fb7\u5e03\u52b3\u5185\u659c\u957f\u4f20\u5230\u7981\u533a\u5de6\u4fa7\u62c9\u6ce2\u7279\u9ad8\u9ad8\u8dc3\u8d77\u5934\u7403\u653b\u95e8\uff01\u66fc\u57ce4-0\u9886\u5148\u6c83\u7279\u798f\u5fb7\uff01\n\n\n\u7b2c70\u5206\u949f\uff0c\u574e\u585e\u6d1b\u957f\u4f20\u627e\u5230\u63d2\u4e0a\u7684\u70ed\u82cf\u65af\uff0c\u70ed\u82cf\u65af\u6311\u5c04\u6253\u9ad8\u3002\n\n\u7b2c76\u5206\u949f \uff0c\u798f\u767b\u5916\u56f4\u8f6c\u8eab\u5c04\u95e8\u6253\u9ad8\u3002\n\n\u5168\u573a\u6218\u7f62\uff0c \u66fc\u57ce4-0\u6218\u80dc\u6c83\u7279\u798f\u5fb7\u3002\n\u7403\u5458\u8bc4\u5206\uff1a\n\n\u8bc4\u5206\u65b9\u9762\uff0c\u5168\u573a\u8868\u73b0\u4f18\u5f02\u9001\u51fa\u4e00\u6b21\u52a9\u653b\u7684\u5fb7\u5e03\u52b3\u5185\u83b7\u5f97\u5168\u573a\u6700\u9ad8\u8bc4\u5206\uff0c\u65af\u7279\u6797\u548c\u574e\u585e\u6d1b\u7d27\u968f\u5176\u540e\uff1b\u6c83\u7279\u798f\u5fb7\u65b9\u9762\uff0c\u5c61\u6b21\u8d21\u732e\u7cbe\u5f69\u6251\u6551\u7684\u798f\u65af\u7279\u83b7\u5f97\u5168\u961f\u6700\u9ad8\u8bc4\u5206\u3002\n\u6280\u672f\u7edf\u8ba1\uff1a\n\n\u5168\u573a\u6570\u636e\u65b9\u9762\u66fc\u57ce\u5747\u9ad8\u4e8e\u6c83\u7279\u798f\u5fb7\uff0c\u63a7\u7403\u738776.6%\uff0c\u5c04\u95e826\u6b21\u5c04\u6b6310\u6b21\u521b\u90206\u6b21\u7edd\u4f73\u8fdb\u7403\u673a\u4f1a\u3002\n\u51fa\u573a\u9635\u5bb9\uff1a\n\u6c83\u7279\u798f\u5fb7\uff084-5-1\uff0926-\u798f\u65af\u7279\uff1b6-\u9a6c\u91cc\u4e9a\u5e15\u300127-\u5361\u5df4\u585e\u83b1\uff1b21-\u8d39\u6885\u5c3c\u4e9a\uff1b8-\u514b\u83b1\u7ef4\u5229\u300116-\u675c\u5e93\u96f7\uff0882\u2019\u5927\u67e5\u6d1b\u300119-\u4f11\u65af\uff1b23-\u4f0a\u65af\u6885\u62c9-\u8428\u5c14\u30019-\u8fea\u5c3c\uff0867\u2018\u7ef4\u5c14\u8d1d\u514b\uff09\u300137-\u4f69\u96f7\u62c9\uff0887\u2019\u9a6c\u897f\u7eb3\uff09\u30014-\u9053\u68ee\uff1b\n\u66fc\u57ce\u9996\u53d1\uff1a31-\u57c3\u5fb7\u677e\u30012-\u6c83\u514b\uff0864\u2019\u6d25\u7434\u79d1\uff09\u300150-\u52a0\u897f\u4e9a\u300114-\u62c9\u6ce2\u7279\uff0874\u2019\u65af\u901a\u65af\uff09\u300127-\u574e\u585e\u6d1b\uff1b16-\u7f57\u5fb7\u91cc\u300117-\u5fb7\u5e03\u52b3\u5185\u300147-\u798f\u767b\uff1b20-\u8d1d\u5c14\u7eb3\u591a-\u5e2d\u5c14\u74e6\u30019-\u70ed\u82cf\u65af\u30017-\u65af\u7279\u6797\uff0864\u2019\u9a6c\u8d6b\u96f7\u65af\uff09\uff1b (\u7f16\u8f91\uff1a\u59da\u51e1)"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "source": {"type": "string"}, "time": {"type": "string"}, "content": {"type": "string"}}, "required": ["title", "source", "time", "content"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "main": {"type": "string"}, "engines": {"type": "object", "properties": {"homebridge": {"type": "string"}, "node": {"type": "string"}}, "required": ["homebridge", "node"]}, "os": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"applescript": {"type": "string"}, "homebridge-lib": {"type": "string"}, "is-my-json-valid": {"type": "string"}, "semver": {"type": "string"}}, "required": ["applescript", "homebridge-lib", "is-my-json-valid", "semver"]}, "scripts": {"type": "object", "properties": {"prepare": {"type": "string"}, "test": {"type": "string"}}, "required": ["prepare", "test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "funding": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "description", "version", "author", "license", "keywords", "main", "engines", "os", "dependencies", "scripts", "repository", "bugs", "homepage", "funding"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "homebridge-music", "description" : "Homebridge plugin for iTunes with Airplay speakers", "version" : "0.4.10", "author" : "Erik Baauw", "license" : "Apache-2.0", "keywords" : ["homebridge-plugin"], "main" : "index.js", "engines" : {"homebridge" : "^1.3.5", "node" : "^14.18.1"}, "os" : ["darwin"], "dependencies" : {"applescript" : "^1.0.0", "homebridge-lib" : "~5.1.15", "is-my-json-valid" : "^2.20.5", "semver" : "^7.3.5"}, "scripts" : {"prepare" : "standard && (cd scripts; make catalina)", "test" : "standard && echo \"Error: no test specified\" && exit 1"}, "repository" : {"type" : "git", "url" : "git+https://github.com/ebaauw/homebridge-music.git"}, "bugs" : {"url" : "https://github.com/ebaauw/homebridge-music/issues"}, "homepage" : "https://github.com/ebaauw/homebridge-music#readme", "funding" : {"type" : "paypal", "url" : "https://www.paypal.me/ebaauw/EUR"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "main": {"type": "string"}, "engines": {"type": "object", "properties": {"homebridge": {"type": "string"}, "node": {"type": "string"}}, "required": ["homebridge", "node"]}, "os": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"applescript": {"type": "string"}, "homebridge-lib": {"type": "string"}, "is-my-json-valid": {"type": "string"}, "semver": {"type": "string"}}, "required": ["applescript", "homebridge-lib", "is-my-json-valid", "semver"]}, "scripts": {"type": "object", "properties": {"prepare": {"type": "string"}, "test": {"type": "string"}}, "required": ["prepare", "test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "funding": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "description", "version", "author", "license", "keywords", "main", "engines", "os", "dependencies", "scripts", "repository", "bugs", "homepage", "funding"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"type": {"type": "string"}, "level": {"type": "string"}, "label": {"type": "string"}, "locale": {"type": "string"}, "country_id": {"type": "integer"}, "country_reference": {"type": "integer"}, "country_name": {"type": "string"}, "region_id": {"type": "string"}, "region_reference": {"type": "string"}, "region_name": {"type": "string"}, "province_id": {"type": "string"}, "province_reference": {"type": "string"}, "province_name": {"type": "string"}, "city_id": {"type": "string"}, "city_reference": {"type": "string"}, "city_name": {"type": "string"}, "barangay_id": {"type": "string"}, "barangay_reference": {"type": "string"}, "barangay_name": {"type": "string"}}, "required": ["type", "level", "label", "locale", "country_id", "country_reference", "country_name", "region_id", "region_reference", "region_name", "province_id", "province_reference", "province_name", "city_id", "city_reference", "city_name", "barangay_id", "barangay_reference", "barangay_name"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "properties" : {"type" : "barangay", "level" : "4", "label" : "San Jose, Caraga, Davao Oriental, Davao Region (Region XI), PH", "locale" : "ph.davao-region-region-xi.davao-oriental.caraga.san-jose", "country_id" : 177, "country_reference" : 177, "country_name" : "Philippines", "region_id" : "9", "region_reference" : "11", "region_name" : "Davao Region (Region XI)", "province_id" : "29", "province_reference" : "29", "province_name" : "Davao Oriental", "city_id" : "321", "city_reference" : "535", "city_name" : "Caraga", "barangay_id" : "8815", "barangay_reference" : "12999", "barangay_name" : "San Jose"}, "geometry" : {"type" : "MultiPolygon", "coordinates" : [[[[126.529404, 7.33446], [126.530502, 7.33397], [126.53067, 7.33389], [126.532303, 7.33318], [126.533173, 7.33149], [126.534897, 7.33013], [126.538063, 7.32951], [126.539757, 7.32994], [126.539963, 7.32867], [126.539757, 7.32792], [126.539742, 7.32783], [126.539658, 7.32749], [126.540756, 7.32504], [126.541641, 7.32439], [126.54171, 7.32433], [126.542793, 7.32353], [126.543602, 7.3231], [126.544617, 7.32269], [126.544746, 7.32264], [126.548462, 7.32113], [126.550362, 7.32091], [126.551117, 7.32082], [126.556534, 7.32332], [126.556847, 7.32316], [126.55748, 7.3226], [126.557732, 7.3221], [126.557823, 7.32191], [126.557693, 7.32163], [126.556923, 7.32149], [126.555946, 7.32123], [126.555603, 7.32114], [126.554573, 7.3208], [126.554008, 7.3201], [126.553589, 7.31899], [126.553467, 7.31865], [126.553253, 7.31802], [126.552467, 7.31684], [126.552429, 7.31675], [126.551933, 7.31587], [126.551163, 7.31462], [126.551117, 7.31432], [126.549744, 7.3148], [126.547974, 7.31526], [126.546707, 7.31526], [126.54464, 7.31495], [126.544289, 7.31579], [126.542953, 7.31598], [126.542473, 7.31574], [126.541718, 7.31493], [126.540756, 7.31454], [126.5401, 7.31412], [126.539421, 7.31351], [126.538628, 7.31376], [126.538139, 7.31239], [126.538063, 7.31175], [126.537277, 7.31139], [126.536293, 7.31053], [126.535172, 7.3098], [126.534416, 7.31187], [126.530907, 7.31633], [126.524559, 7.32414], [126.524513, 7.32426], [126.527733, 7.33044], [126.529404, 7.33446]]]]}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"type": {"type": "string"}, "level": {"type": "string"}, "label": {"type": "string"}, "locale": {"type": "string"}, "country_id": {"type": "integer"}, "country_reference": {"type": "integer"}, "country_name": {"type": "string"}, "region_id": {"type": "string"}, "region_reference": {"type": "string"}, "region_name": {"type": "string"}, "province_id": {"type": "string"}, "province_reference": {"type": "string"}, "province_name": {"type": "string"}, "city_id": {"type": "string"}, "city_reference": {"type": "string"}, "city_name": {"type": "string"}, "barangay_id": {"type": "string"}, "barangay_reference": {"type": "string"}, "barangay_name": {"type": "string"}}, "required": ["type", "level", "label", "locale", "country_id", "country_reference", "country_name", "region_id", "region_reference", "region_name", "province_id", "province_reference", "province_name", "city_id", "city_reference", "city_name", "barangay_id", "barangay_reference", "barangay_name"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"$schema": {"type": "string"}, "additionalProperties": {"type": "boolean"}, "description": {"type": "string"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"priority": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}, "speed_modifier": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}}, "required": ["description", "type"]}, "potions": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}, "additionalProperties": {"type": "boolean"}, "properties": {"type": "object", "properties": {"id": {"type": "object", "properties": {"description": {"type": "string"}, "$ref": {"type": "string"}}, "required": ["description", "$ref"]}, "chance": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}}, "required": ["description", "type"]}, "filters": {"type": "object", "properties": {"description": {"type": "string"}, "$ref": {"type": "string"}}, "required": ["description", "$ref"]}}, "required": ["id", "chance", "filters"]}}, "required": ["type", "additionalProperties", "properties"]}}, "required": ["description", "type", "items"]}}, "required": ["priority", "speed_modifier", "potions"]}}, "required": ["$schema", "additionalProperties", "description", "type", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"$schema" : "http://json-schema.org/draft-07/schema", "additionalProperties" : false, "description" : "Allows the mob to drink potions based on specified environment conditions.", "type" : "object", "properties" : {"priority" : {"$ref" : "../../general/behaviorPriority.json"}, "speed_modifier" : {"description" : "The movement speed modifier to apply to the entity while it is drinking a potion. A value of 0 represents no change in speed.", "type" : "number"}, "potions" : {"description" : "A list of potions that this entity can drink.", "type" : "array", "items" : {"type" : "object", "additionalProperties" : false, "properties" : {"id" : {"description" : "The registry ID of the potion to use.", "$ref" : "../../../general/vanilla/potionIds.json"}, "chance" : {"description" : "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.", "type" : "number"}, "filters" : {"description" : "The filters to use when determining if this potion can be selected.", "$ref" : "../../general/filter.json"}}}}}} | json_instruct | {"type": "object", "properties": {"$schema": {"type": "string"}, "additionalProperties": {"type": "boolean"}, "description": {"type": "string"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"priority": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}, "speed_modifier": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}}, "required": ["description", "type"]}, "potions": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}, "items": {"type": "object", "properties": {"type": {"type": "string"}, "additionalProperties": {"type": "boolean"}, "properties": {"type": "object", "properties": {"id": {"type": "object", "properties": {"description": {"type": "string"}, "$ref": {"type": "string"}}, "required": ["description", "$ref"]}, "chance": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}}, "required": ["description", "type"]}, "filters": {"type": "object", "properties": {"description": {"type": "string"}, "$ref": {"type": "string"}}, "required": ["description", "$ref"]}}, "required": ["id", "chance", "filters"]}}, "required": ["type", "additionalProperties", "properties"]}}, "required": ["description", "type", "items"]}}, "required": ["priority", "speed_modifier", "potions"]}}, "required": ["$schema", "additionalProperties", "description", "type", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"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" : "7504041008", "district_id" : "7504041", "name" : "OLELE"} | 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": {"smithy": {"type": "string"}, "shapes": {"type": "object", "properties": {"com.foo#StructureA": {"type": "object", "properties": {"type": {"type": "string"}, "members": {"type": "object", "properties": {"a": {"type": "object", "properties": {"target": {"type": "string"}}, "required": ["target"]}}, "required": ["a"]}}, "required": ["type", "members"]}, "com.foo#ReferencedA": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}, "com.foo#StructureB": {"type": "object", "properties": {"type": {"type": "string"}, "members": {"type": "object", "properties": {"a": {"type": "object", "properties": {"target": {"type": "string"}}, "required": ["target"]}}, "required": ["a"]}}, "required": ["type", "members"]}, "com.foo#ReferencedB": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["com.foo#StructureA", "com.foo#ReferencedA", "com.foo#StructureB", "com.foo#ReferencedB"]}}, "required": ["smithy", "shapes"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"smithy" : "1.0", "shapes" : {"com.foo#StructureA" : {"type" : "structure", "members" : {"a" : {"target" : "com.foo#ReferencedA"}}}, "com.foo#ReferencedA" : {"type" : "structure"}, "com.foo#StructureB" : {"type" : "structure", "members" : {"a" : {"target" : "com.foo#ReferencedB"}}}, "com.foo#ReferencedB" : {"type" : "structure"}}} | json_instruct | {"type": "object", "properties": {"smithy": {"type": "string"}, "shapes": {"type": "object", "properties": {"com.foo#StructureA": {"type": "object", "properties": {"type": {"type": "string"}, "members": {"type": "object", "properties": {"a": {"type": "object", "properties": {"target": {"type": "string"}}, "required": ["target"]}}, "required": ["a"]}}, "required": ["type", "members"]}, "com.foo#ReferencedA": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}, "com.foo#StructureB": {"type": "object", "properties": {"type": {"type": "string"}, "members": {"type": "object", "properties": {"a": {"type": "object", "properties": {"target": {"type": "string"}}, "required": ["target"]}}, "required": ["a"]}}, "required": ["type", "members"]}, "com.foo#ReferencedB": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["com.foo#StructureA", "com.foo#ReferencedA", "com.foo#StructureB", "com.foo#ReferencedB"]}}, "required": ["smithy", "shapes"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}, "main": {"type": "string"}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "version", "description", "keywords", "author", "main", "engines", "repository"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "file-magik", "version" : "1.0.0", "description" : "Map file structure to object", "keywords" : ["require", "file-magik", "file map", "map for exports"], "author" : {"name" : "Austin Floyd", "email" : "texsc98@gmail.com"}, "main" : "index", "engines" : {"node" : ">= 0.8.x"}, "repository" : {"type" : "git", "url" : "git://github.com/afloyd/file-magik"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}, "main": {"type": "string"}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "version", "description", "keywords", "author", "main", "engines", "repository"], "$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"}, "url": {"type": "string"}, "license": {"type": "string"}, "tags": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "version": {"type": "string"}, "releasenote": {"type": "string"}, "contributors": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "url", "license", "tags", "description", "version", "releasenote", "contributors"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "hxpromise", "url" : "https://github.com/underscorediscovery/hxpromise/", "license" : "MIT", "tags" : ["cross", "promise", "promises", "es6"], "description" : "An es6 based Promise implementation for Haxe.", "version" : "1.0.0", "releasenote" : "1.0.0 - initial release", "contributors" : ["underscorediscovery"]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}, "license": {"type": "string"}, "tags": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "version": {"type": "string"}, "releasenote": {"type": "string"}, "contributors": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "url", "license", "tags", "description", "version", "releasenote", "contributors"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"contacts": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "designation": {"type": "string"}, "mobile": {"type": "array", "items": {}}}, "required": ["name", "email", "designation", "mobile"]}}, "guideStarURL": {"type": "string"}, "name": {"type": "string"}, "primaryEmail": {"type": "string"}, "organisationType": {"type": "array", "items": {"type": "string"}}, "telephone": {"type": "array", "items": {"type": "string"}}, "mainAddrress": {"type": "object", "properties": {"state": {"type": "string"}, "address": {"type": "array", "items": {"type": "string"}}}, "required": ["state", "address"]}, "briefDescription": {"type": "string"}, "yearOfEstablishment": {"type": "string"}, "regiseredAddrress": {"type": "object", "properties": {"state": {"type": "string"}, "address": {"type": "array", "items": {"type": "string"}}}, "required": ["state", "address"]}}, "required": ["contacts", "guideStarURL", "name", "primaryEmail", "organisationType", "telephone", "mainAddrress", "briefDescription", "yearOfEstablishment", "regiseredAddrress"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"contacts" : [{"name" : "Ajay Bandlamudi", "email" : "", "designation" : "CEO", "mobile" : []}], "guideStarURL" : "http://www.guidestarindia.org/Summary.aspx?CCReg=10532", "name" : "Ajay Foundation", "primaryEmail" : "AJAY@AJAY.CO", "organisationType" : ["Support"], "telephone" : ["918885555569"], "mainAddrress" : {"state" : "Andhra Pradesh", "address" : ["Guntur", "Andhra Pradesh", "522006"]}, "briefDescription" : "We are Educational Foundation", "yearOfEstablishment" : "2013", "regiseredAddrress" : {"state" : "Andhra Pradesh", "address" : ["3-30-14/1/A, Nalanda Nagar", "Guntur", "Andhra Pradesh", "522006"]}} | json_instruct | {"type": "object", "properties": {"contacts": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "designation": {"type": "string"}, "mobile": {"type": "array", "items": {}}}, "required": ["name", "email", "designation", "mobile"]}}, "guideStarURL": {"type": "string"}, "name": {"type": "string"}, "primaryEmail": {"type": "string"}, "organisationType": {"type": "array", "items": {"type": "string"}}, "telephone": {"type": "array", "items": {"type": "string"}}, "mainAddrress": {"type": "object", "properties": {"state": {"type": "string"}, "address": {"type": "array", "items": {"type": "string"}}}, "required": ["state", "address"]}, "briefDescription": {"type": "string"}, "yearOfEstablishment": {"type": "string"}, "regiseredAddrress": {"type": "object", "properties": {"state": {"type": "string"}, "address": {"type": "array", "items": {"type": "string"}}}, "required": ["state", "address"]}}, "required": ["contacts", "guideStarURL", "name", "primaryEmail", "organisationType", "telephone", "mainAddrress", "briefDescription", "yearOfEstablishment", "regiseredAddrress"], "$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"}, "description": {"type": "string"}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"lib": {"type": "string"}}, "required": ["lib"]}, "scripts": {"type": "object", "properties": {"build": {"type": "string"}}, "required": ["build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {}}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "version", "description", "main", "directories", "scripts", "repository", "keywords", "author", "license"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "jianpanxia", "version" : "1.0.0", "description" : "Convenient keyboard enhancement use AutoHotKey", "main" : "index.js", "directories" : {"lib" : "lib"}, "scripts" : {"build" : "./lib/ahk2exe/Ahk2Exe.exe /in ../../src/main.ahk /out ../dist/jpx.exe"}, "repository" : {"type" : "git", "url" : "https://gitee.com/imyyliang/jianpanxia.git"}, "keywords" : [], "author" : "", "license" : "ISC"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"lib": {"type": "string"}}, "required": ["lib"]}, "scripts": {"type": "object", "properties": {"build": {"type": "string"}}, "required": ["build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {}}, "author": {"type": "string"}, "license": {"type": "string"}}, "required": ["name", "version", "description", "main", "directories", "scripts", "repository", "keywords", "author", "license"], "$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"}, "description": {"type": "string"}, "license": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "homepage": {"type": "string"}, "bin": {"type": "string"}, "type": {"type": "string"}, "scripts": {"type": "object", "properties": {"prepare": {"type": "string"}, "build": {"type": "string"}, "start": {"type": "string"}}, "required": ["prepare", "build", "start"]}, "devDependencies": {"type": "object", "properties": {"@types/is-ci": {"type": "string"}, "@types/minimist": {"type": "string"}, "@types/node": {"type": "string"}, "desm": {"type": "string"}, "execa": {"type": "string"}, "lionconfig": {"type": "string"}, "sync-index": {"type": "string"}, "type-fest": {"type": "string"}, "typescript": {"type": "string"}, "vitest": {"type": "string"}}, "required": ["@types/is-ci", "@types/minimist", "@types/node", "desm", "execa", "lionconfig", "sync-index", "type-fest", "typescript", "vitest"]}, "dependencies": {"type": "object", "properties": {"cosmiconfig": {"type": "string"}, "find-up": {"type": "string"}, "globby": {"type": "string"}, "is-ci": {"type": "string"}, "is-heroku": {"type": "string"}, "map-obj": {"type": "string"}, "minimist": {"type": "string"}, "onetime": {"type": "string"}, "pkg-dir": {"type": "string"}}, "required": ["cosmiconfig", "find-up", "globby", "is-ci", "is-heroku", "map-obj", "minimist", "onetime", "pkg-dir"]}, "publishConfig": {"type": "object", "properties": {"directory": {"type": "string"}}, "required": ["directory"]}}, "required": ["name", "version", "description", "license", "repository", "homepage", "bin", "type", "scripts", "devDependencies", "dependencies", "publishConfig"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "lion-git-hooks", "version" : "1.0.13", "description" : "A fork of simple-git-hooks with additional features that fit my use case.", "license" : "MIT", "repository" : {"type" : "git", "url" : "https://github.com/leonzalion/lion-git-hooks.git"}, "homepage" : "https://github.com/leonzalion/lion-git-hooks#readme", "bin" : "./bin/cli.js", "type" : "module", "scripts" : {"prepare" : "pnpm start", "build" : "node-ts ./scripts/build.ts", "start" : "node-ts ./src/bin/cli.ts"}, "devDependencies" : {"@types/is-ci" : "^3.0.0", "@types/minimist" : "^1.2.2", "@types/node" : "^17.0.34", "desm" : "^1.2.0", "execa" : "^6.1.0", "lionconfig" : "^1.7.6", "sync-index" : "^1.0.13", "type-fest" : "^2.12.2", "typescript" : "^4.6.4", "vitest" : "^0.12.6"}, "dependencies" : {"cosmiconfig" : "^7.0.1", "find-up" : "^6.3.0", "globby" : "^13.1.1", "is-ci" : "^3.0.1", "is-heroku" : "^3.0.0", "map-obj" : "^5.0.1", "minimist" : "^1.2.6", "onetime" : "^6.0.0", "pkg-dir" : "^6.0.1"}, "publishConfig" : {"directory" : "dist"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "homepage": {"type": "string"}, "bin": {"type": "string"}, "type": {"type": "string"}, "scripts": {"type": "object", "properties": {"prepare": {"type": "string"}, "build": {"type": "string"}, "start": {"type": "string"}}, "required": ["prepare", "build", "start"]}, "devDependencies": {"type": "object", "properties": {"@types/is-ci": {"type": "string"}, "@types/minimist": {"type": "string"}, "@types/node": {"type": "string"}, "desm": {"type": "string"}, "execa": {"type": "string"}, "lionconfig": {"type": "string"}, "sync-index": {"type": "string"}, "type-fest": {"type": "string"}, "typescript": {"type": "string"}, "vitest": {"type": "string"}}, "required": ["@types/is-ci", "@types/minimist", "@types/node", "desm", "execa", "lionconfig", "sync-index", "type-fest", "typescript", "vitest"]}, "dependencies": {"type": "object", "properties": {"cosmiconfig": {"type": "string"}, "find-up": {"type": "string"}, "globby": {"type": "string"}, "is-ci": {"type": "string"}, "is-heroku": {"type": "string"}, "map-obj": {"type": "string"}, "minimist": {"type": "string"}, "onetime": {"type": "string"}, "pkg-dir": {"type": "string"}}, "required": ["cosmiconfig", "find-up", "globby", "is-ci", "is-heroku", "map-obj", "minimist", "onetime", "pkg-dir"]}, "publishConfig": {"type": "object", "properties": {"directory": {"type": "string"}}, "required": ["directory"]}}, "required": ["name", "version", "description", "license", "repository", "homepage", "bin", "type", "scripts", "devDependencies", "dependencies", "publishConfig"], "$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"}, "type": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "require": {"type": "object", "properties": {"sendgrid/sendgrid": {"type": "string"}}, "required": ["sendgrid/sendgrid"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"ethercreative\\sendgrid\\": {"type": "string"}}, "required": ["ethercreative\\sendgrid\\"]}}, "required": ["psr-4"]}}, "required": ["name", "description", "type", "keywords", "license", "authors", "require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "ethercreative/yii2-sendgrid", "description" : "Simple SendGrid wrapper for sending only", "type" : "yii2-extension", "keywords" : ["yii2", "extension", "sendgrid"], "license" : "MIT", "authors" : [{"name" : "Matt Edmonston", "email" : "matt@ethercreative.co.uk"}], "require" : {"sendgrid/sendgrid" : "~4.0"}, "autoload" : {"psr-4" : {"ethercreative\\sendgrid\\" : ""}}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "require": {"type": "object", "properties": {"sendgrid/sendgrid": {"type": "string"}}, "required": ["sendgrid/sendgrid"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"ethercreative\\sendgrid\\": {"type": "string"}}, "required": ["ethercreative\\sendgrid\\"]}}, "required": ["psr-4"]}}, "required": ["name", "description", "type", "keywords", "license", "authors", "require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["gridiron", "gridiron-example", "react-ai", "react-formula", "react-pre-test", "redux-grid-example", "webpack-react"] | json_instruct | {"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"@types/jest": {"type": "string"}, "@types/node": {"type": "string"}, "isomorphic-git": {"type": "string"}, "jest": {"type": "string"}}, "required": ["@types/jest", "@types/node", "isomorphic-git", "jest"]}}, "required": ["private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"private" : true, "scripts" : {"test" : "jest"}, "dependencies" : {"@types/jest" : "26.0.10", "@types/node" : "14.6.2", "isomorphic-git" : "1.7.4", "jest" : "26.4.2"}} | json_instruct | {"type": "object", "properties": {"private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"@types/jest": {"type": "string"}, "@types/node": {"type": "string"}, "isomorphic-git": {"type": "string"}, "jest": {"type": "string"}}, "required": ["@types/jest", "@types/node", "isomorphic-git", "jest"]}}, "required": ["private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"key": {"type": "string"}, "suffix": {"type": "string"}, "positions": {"type": "array", "items": {"type": "object", "properties": {"frets": {"type": "string"}, "fingers": {"type": "string"}}, "required": ["frets", "fingers"]}}}, "required": ["key", "suffix", "positions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"key" : "A#", "suffix" : "augmaj9/F#", "positions" : [{"frets" : "21021x", "fingers" : "310420"}, {"frets" : "200312", "fingers" : "200413"}, {"frets" : "eccfdx", "fingers" : "311420", "barres" : "12", "capo" : "true"}]} | json_instruct | {"type": "object", "properties": {"key": {"type": "string"}, "suffix": {"type": "string"}, "positions": {"type": "array", "items": {"type": "object", "properties": {"frets": {"type": "string"}, "fingers": {"type": "string"}}, "required": ["frets", "fingers"]}}}, "required": ["key", "suffix", "positions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"program": {"type": "string"}, "examples": {"type": "array", "items": {"type": "object", "properties": {"i": {"type": "array", "items": {"type": "integer"}}, "o": {"type": "array", "items": {"type": "integer"}}}, "required": ["i", "o"]}}}, "required": ["program", "examples"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"program" : "(lambda (cons 81 (cons 99 (cons 41 (cons 23 (cons 22 (cons 75 (cons 68 (cons 30 (cons 24 (singleton 69)))))))))))", "examples" : [{"i" : [3, 88, 88], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [6], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [61, 1, 59, 4, 5, 35, 48, 27, 9], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [72, 58, 56, 49, 40, 7, 25, 1], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [70, 5, 13, 31, 42, 99, 0], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [8, 5, 9, 8, 6, 8, 9, 42, 6, 5], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [25, 47, 92, 12, 45, 71, 4, 6, 92], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [94, 94, 43, 58, 58, 94], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [79, 85, 7, 79, 2, 0, 1, 60, 86, 81], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}, {"i" : [84, 65, 95, 80, 49, 65, 95, 95, 97, 19], "o" : [81, 99, 41, 23, 22, 75, 68, 30, 24, 69]}]} | json_instruct | {"type": "object", "properties": {"program": {"type": "string"}, "examples": {"type": "array", "items": {"type": "object", "properties": {"i": {"type": "array", "items": {"type": "integer"}}, "o": {"type": "array", "items": {"type": "integer"}}}, "required": ["i", "o"]}}}, "required": ["program", "examples"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"moduleName": {"type": "string"}, "moduleVersion": {"type": "string"}, "widgets": {"type": "array", "items": {"type": "object", "properties": {"moduleName": {"type": "string"}, "componentName": {"type": "string"}, "description": {"type": "string"}, "pythonStateKeys": {"type": "array", "items": {"type": "string"}}, "javaScriptStateKeys": {"type": "array", "items": {}}}, "required": ["moduleName", "componentName", "description", "pythonStateKeys", "javaScriptStateKeys"]}}}, "required": ["moduleName", "moduleVersion", "widgets"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"moduleName" : "reactopya_gallery_jupyter", "moduleVersion" : "0.1.0", "widgets" : [{"moduleName" : "reactopya_gallery", "componentName" : "PlotlyExample", "description" : "Plotly example", "pythonStateKeys" : ["series"], "javaScriptStateKeys" : []}, {"moduleName" : "reactopya_gallery", "componentName" : "InteractivePlotlyExample", "description" : "Interactive plotly example", "pythonStateKeys" : ["series"], "javaScriptStateKeys" : ["noise_level", "num_points"]}, {"moduleName" : "reactopya_gallery", "componentName" : "ElectrodeGeometry", "description" : "Electrode geometry", "pythonStateKeys" : ["locations", "labels", "status", "status_message"], "javaScriptStateKeys" : ["path", "download_from"]}]} | json_instruct | {"type": "object", "properties": {"moduleName": {"type": "string"}, "moduleVersion": {"type": "string"}, "widgets": {"type": "array", "items": {"type": "object", "properties": {"moduleName": {"type": "string"}, "componentName": {"type": "string"}, "description": {"type": "string"}, "pythonStateKeys": {"type": "array", "items": {"type": "string"}}, "javaScriptStateKeys": {"type": "array", "items": {}}}, "required": ["moduleName", "componentName", "description", "pythonStateKeys", "javaScriptStateKeys"]}}}, "required": ["moduleName", "moduleVersion", "widgets"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "author": {"type": "string"}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"hyphenation.el-monoton": {"type": "string"}, "hypher": {"type": "string"}}, "required": ["hyphenation.el-monoton", "hypher"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "version", "description", "keywords", "main", "scripts", "author", "license", "dependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "greek-name-klitiki", "version" : "1.0.3", "description" : "Greek name from Onomastiki to Klikiti", "keywords" : ["greek", "klitiki", "vocative", "names", "greek-language"], "main" : "index.js", "scripts" : {"test" : "node ./tests"}, "author" : "Christos Panagiotakopoulos <chrispanag@gmail.com>", "license" : "MIT", "dependencies" : {"hyphenation.el-monoton" : "^0.2.1", "hypher" : "^0.2.5"}, "engines" : {"node" : ">=8.11.4"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "author": {"type": "string"}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"hyphenation.el-monoton": {"type": "string"}, "hypher": {"type": "string"}}, "required": ["hyphenation.el-monoton", "hypher"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "version", "description", "keywords", "main", "scripts", "author", "license", "dependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"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" : "1116060037", "district_id" : "1116060", "name" : "LAMBAROH"} | 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#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "logoURI": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}, "tags": {"type": "array", "items": {"type": "string"}}, "extensions": {"type": "object", "properties": {"twitter": {"type": "string"}}, "required": ["twitter"]}}, "required": ["name", "symbol", "logoURI", "decimals", "address", "chainId", "tags", "extensions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Corrupted Dogs OG Free Mint", "symbol" : "CDFM", "logoURI" : "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/dogNpVvUavBx65BXETRFhwByMw65cAzFxTjbc7uD8br/logo.png", "decimals" : 0, "address" : "dogNpVvUavBx65BXETRFhwByMw65cAzFxTjbc7uD8br", "chainId" : 101, "tags" : ["whitelist-token"], "extensions" : {"twitter" : "https://twitter.com/CorruptedDogs"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "logoURI": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}, "tags": {"type": "array", "items": {"type": "string"}}, "extensions": {"type": "object", "properties": {"twitter": {"type": "string"}}, "required": ["twitter"]}}, "required": ["name", "symbol", "logoURI", "decimals", "address", "chainId", "tags", "extensions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "object", "properties": {"DeniedAlternatives": {"type": "array", "items": {}}, "Files": {"type": "object", "properties": {"objects/doorprops/wizardsdoorprop/wizardsdoorprop.object": {"type": "array", "items": {"type": "string"}}}, "required": ["objects/doorprops/wizardsdoorprop/wizardsdoorprop.object"]}, "Texts": {"type": "object", "properties": {"Chs": {"type": "string"}, "Eng": {"type": "string"}}, "required": ["Chs", "Eng"]}}, "required": ["DeniedAlternatives", "Files", "Texts"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"DeniedAlternatives" : [], "Files" : {"objects/doorprops/wizardsdoorprop/wizardsdoorprop.object" : ["/shortdescription"]}, "Texts" : {"Chs" : "\u5deb\u5e08\u95e8", "Eng" : "Wizard's Door Prop"}}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"DeniedAlternatives": {"type": "array", "items": {}}, "Files": {"type": "object", "properties": {"objects/doorprops/wizardsdoorprop/wizardsdoorprop.object": {"type": "array", "items": {"type": "string"}}}, "required": ["objects/doorprops/wizardsdoorprop/wizardsdoorprop.object"]}, "Texts": {"type": "object", "properties": {"Chs": {"type": "string"}, "Eng": {"type": "string"}}, "required": ["Chs", "Eng"]}}, "required": ["DeniedAlternatives", "Files", "Texts"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}, "dependencies": {"type": "object", "properties": {"express": {"type": "string"}, "hogan.js": {"type": "string"}, "hogan-express": {"type": "string"}, "midi": {"type": "string"}, "ws": {"type": "string"}}, "required": ["express", "hogan.js", "hogan-express", "midi", "ws"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "readmeFilename": {"type": "string"}}, "required": ["name", "description", "author", "dependencies", "repository", "engines", "readmeFilename"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Modular_Webaudio", "description" : "", "author" : {"name" : "Torben Hartmann", "email" : "torben.hartmann@gmail.com"}, "dependencies" : {"express" : "3.2.1", "hogan.js" : "2.0.0", "hogan-express" : "0.3.3", "midi" : "*", "ws" : "0.4.25"}, "repository" : {"type" : "git", "url" : "git://://github.com/corwynt/Modular_Webaudio"}, "engines" : {"node" : "*"}, "readmeFilename" : "Readme.md"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}, "dependencies": {"type": "object", "properties": {"express": {"type": "string"}, "hogan.js": {"type": "string"}, "hogan-express": {"type": "string"}, "midi": {"type": "string"}, "ws": {"type": "string"}}, "required": ["express", "hogan.js", "hogan-express", "midi", "ws"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "readmeFilename": {"type": "string"}}, "required": ["name", "description", "author", "dependencies", "repository", "engines", "readmeFilename"], "$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": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "659010400498", "text" : "\u80e1\u6768\u6cb3\u5e02\u6838\u5fc3\u533a\u865a\u62df\u793e\u533a"}] | 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#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"nom": {"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": {"panneau": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["panneau", "voix"]}}}, "required": ["nom", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"nom" : "Cavillon", "dpt" : "Somme", "inscrits" : 91, "abs" : 12, "votants" : 79, "blancs" : 1, "nuls" : 0, "exp" : 78, "res" : [{"panneau" : "1", "voix" : 44}, {"panneau" : "2", "voix" : 34}]} | json_instruct | {"type": "object", "properties": {"nom": {"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": {"panneau": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["panneau", "voix"]}}}, "required": ["nom", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "object", "properties": {"year": {"type": "integer"}, "sex": {"type": "string"}, "n": {"type": "integer"}, "prop": {"type": "number"}}, "required": ["year", "sex", "n", "prop"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"year" : 1951, "sex" : "M", "n" : 5, "prop" : 2.62e-06}, {"year" : 1954, "sex" : "F", "n" : 5, "prop" : 2.51e-06}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"year": {"type": "integer"}, "sex": {"type": "string"}, "n": {"type": "integer"}, "prop": {"type": "number"}}, "required": ["year", "sex", "n", "prop"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Polygon", "coordinates" : [[[131.125, 28.833333333333332], [131.125, 28.916666666666668], [131.25, 28.916666666666668], [131.25, 28.833333333333332], [131.125, 28.833333333333332]]]}, "properties" : {"code" : 433121, "url" : "http://madefor.github.io/0410/api/v1/433121.geojson", "view" : "https://github.com/madefor/0410/blob/gh-pages/api/v1/433121.geojson"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"canisters": {"type": "object", "properties": {"packtool_missing": {"type": "object", "properties": {"type": {"type": "string"}, "main": {"type": "string"}}, "required": ["type", "main"]}, "m_o_c_missing": {"type": "object", "properties": {"type": {"type": "string"}, "main": {"type": "string"}}, "required": ["type", "main"]}, "npm_missing": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}, "asset_bad_source_path": {"type": "object", "properties": {"type": {"type": "string"}, "source": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "source"]}, "custom_bad_build_step": {"type": "object", "properties": {"type": {"type": "string"}, "wasm": {"type": "string"}, "candid": {"type": "string"}, "build": {"type": "string"}}, "required": ["type", "wasm", "candid", "build"]}}, "required": ["packtool_missing", "m_o_c_missing", "npm_missing", "asset_bad_source_path", "custom_bad_build_step"]}}, "required": ["canisters"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"canisters" : {"packtool_missing" : {"type" : "motoko", "main" : "main.mo"}, "m_o_c_missing" : {"type" : "motoko", "main" : "main.mo"}, "npm_missing" : {"type" : "assets"}, "asset_bad_source_path" : {"type" : "assets", "source" : ["src/does/not/exist"]}, "custom_bad_build_step" : {"type" : "custom", "wasm" : "not used", "candid" : "not used", "build" : "not-the-name-of-an-executable-that-exists oh no certainly not"}}} | json_instruct | {"type": "object", "properties": {"canisters": {"type": "object", "properties": {"packtool_missing": {"type": "object", "properties": {"type": {"type": "string"}, "main": {"type": "string"}}, "required": ["type", "main"]}, "m_o_c_missing": {"type": "object", "properties": {"type": {"type": "string"}, "main": {"type": "string"}}, "required": ["type", "main"]}, "npm_missing": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}, "asset_bad_source_path": {"type": "object", "properties": {"type": {"type": "string"}, "source": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "source"]}, "custom_bad_build_step": {"type": "object", "properties": {"type": {"type": "string"}, "wasm": {"type": "string"}, "candid": {"type": "string"}, "build": {"type": "string"}}, "required": ["type", "wasm", "candid", "build"]}}, "required": ["packtool_missing", "m_o_c_missing", "npm_missing", "asset_bad_source_path", "custom_bad_build_step"]}}, "required": ["canisters"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"en": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "integer"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "isReferenceLanguage", "translated"]}, "de-CH": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "region": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "number"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "region", "isReferenceLanguage", "translated"]}, "it": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "integer"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "isReferenceLanguage", "translated"]}}, "required": ["en", "de-CH", "it"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"en" : {"name" : "English", "nativeName" : "English", "isReferenceLanguage" : true, "translated" : {"latest" : 1, "production" : 1}}, "de-CH" : {"name" : "German", "nativeName" : "Deutsch", "region" : "CH", "isReferenceLanguage" : false, "translated" : {"latest" : 1, "production" : 0.521}}, "it" : {"name" : "Italian", "nativeName" : "Italiano", "isReferenceLanguage" : false, "translated" : {"latest" : 1, "production" : 1}}} | json_instruct | {"type": "object", "properties": {"en": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "integer"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "isReferenceLanguage", "translated"]}, "de-CH": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "region": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "number"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "region", "isReferenceLanguage", "translated"]}, "it": {"type": "object", "properties": {"name": {"type": "string"}, "nativeName": {"type": "string"}, "isReferenceLanguage": {"type": "boolean"}, "translated": {"type": "object", "properties": {"latest": {"type": "integer"}, "production": {"type": "integer"}}, "required": ["latest", "production"]}}, "required": ["name", "nativeName", "isReferenceLanguage", "translated"]}}, "required": ["en", "de-CH", "it"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "score": {"type": "string"}}, "required": ["type", "score"]}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {"type": "string"}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"schema_version" : "1.2.0", "id" : "GHSA-m7cf-9jqx-8xrq", "modified" : "2022-05-13T01:44:36Z", "published" : "2022-05-13T01:44:36Z", "aliases" : ["CVE-2017-18196"], "details" : "Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.", "severity" : [{"type" : "CVSS_V3", "score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}], "affected" : [], "references" : [{"type" : "ADVISORY", "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-18196"}, {"type" : "WEB", "url" : "https://bugs.debian.org/885704"}], "database_specific" : {"cwe_ids" : ["CWE-22"], "severity" : "LOW", "github_reviewed" : false}} | json_instruct | {"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "score": {"type": "string"}}, "required": ["type", "score"]}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {"type": "string"}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"electron-is-dev": {"type": "string"}, "emojilib": {"type": "string"}, "menubar": {"type": "string"}}, "required": ["electron-is-dev", "emojilib", "menubar"]}, "devDependencies": {"type": "object", "properties": {"electron": {"type": "string"}, "electron-builder": {"type": "string"}, "electron-packager": {"type": "string"}, "standard": {"type": "string"}}, "required": ["electron", "electron-builder", "electron-packager", "standard"]}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}, "test": {"type": "string"}, "pack": {"type": "string"}}, "required": ["start", "build", "test", "pack"]}, "build": {"type": "object", "properties": {"appId": {"type": "string"}, "productName": {"type": "string"}, "mac": {"type": "object", "properties": {"category": {"type": "string"}}, "required": ["category"]}, "linux": {"type": "object", "properties": {"target": {"type": "string"}, "category": {"type": "string"}}, "required": ["target", "category"]}}, "required": ["appId", "productName", "mac", "linux"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}}, "required": ["name", "version", "description", "main", "dependencies", "devDependencies", "scripts", "build", "repository", "author", "license", "bugs", "homepage"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "mojibar", "version" : "2.7.0", "description" : "A menubar app adaptation of Emoji searcher.", "main" : "index.js", "dependencies" : {"electron-is-dev" : "^0.1.2", "emojilib" : "^2.4.0", "menubar" : "^5.1.0"}, "devDependencies" : {"electron" : "^1.8.8", "electron-builder" : "^22.9.1", "electron-packager" : "^8.0.0", "standard" : "^10.0.2"}, "scripts" : {"start" : "electron .", "build" : "electron-builder -l -o", "test" : "standard index.js app/search.js app/settings.js", "pack" : "electron-builder --dir"}, "build" : {"appId" : "com.electron.mojibar", "productName" : "Mojibar", "mac" : {"category" : "public.app-category.developer-tools"}, "linux" : {"target" : "tar.gz", "category" : "Utility"}}, "repository" : {"type" : "git", "url" : "git+https://github.com/muan/mojibar.git"}, "author" : "Mu-An Chiou <me@muanchiou.com>", "license" : "MIT", "bugs" : {"url" : "https://github.com/muan/mojibar/issues"}, "homepage" : "https://github.com/muan/mojibar#readme"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"electron-is-dev": {"type": "string"}, "emojilib": {"type": "string"}, "menubar": {"type": "string"}}, "required": ["electron-is-dev", "emojilib", "menubar"]}, "devDependencies": {"type": "object", "properties": {"electron": {"type": "string"}, "electron-builder": {"type": "string"}, "electron-packager": {"type": "string"}, "standard": {"type": "string"}}, "required": ["electron", "electron-builder", "electron-packager", "standard"]}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}, "test": {"type": "string"}, "pack": {"type": "string"}}, "required": ["start", "build", "test", "pack"]}, "build": {"type": "object", "properties": {"appId": {"type": "string"}, "productName": {"type": "string"}, "mac": {"type": "object", "properties": {"category": {"type": "string"}}, "required": ["category"]}, "linux": {"type": "object", "properties": {"target": {"type": "string"}, "category": {"type": "string"}}, "required": ["target", "category"]}}, "required": ["appId", "productName", "mac", "linux"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}}, "required": ["name", "version", "description", "main", "dependencies", "devDependencies", "scripts", "build", "repository", "author", "license", "bugs", "homepage"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "QmXeQ3DeiNvKmnw9x94SpeGeb6PXzi6HnaQSrqAKf3GtNt", "title" : "Test 6", "body" : "Test 6, new config", "choices" : ["Yes", "No"], "start" : 1632052800, "end" : 1632055200, "snapshot" : "9319932", "state" : "closed", "author" : "0xd9Ae20877fE022FF453299a945CAcfcd2192350d", "space" : {"id" : "vote-rinkeby.gro.xyz", "name" : "Gro rinkeby governance"}, "votes" : 1, "votes_data" : [{"id" : "QmTs17PeBvSb4BFUiPoRcYSeewtRWBrisMxSGNH4bXQ46d", "voter" : "0xd9Ae20877fE022FF453299a945CAcfcd2192350d", "created" : 1632054802, "choice" : 1, "space" : {"id" : "vote-rinkeby.gro.xyz"}}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"difficulty": {"type": "string"}, "url": {"type": "string"}}, "required": ["difficulty", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"difficulty" : "interview", "url" : "https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays/"} | json_instruct | {"type": "object", "properties": {"difficulty": {"type": "string"}, "url": {"type": "string"}}, "required": ["difficulty", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}}, "required": ["start", "build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {}, "required": []}, "devDependencies": {"type": "object", "properties": {"typescript": {"type": "string"}, "html-webpack-plugin": {"type": "string"}, "raw-loader": {"type": "string"}, "rimraf": {"type": "string"}, "ts-loader": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}, "webpack-dev-server": {"type": "string"}}, "required": ["typescript", "html-webpack-plugin", "raw-loader", "rimraf", "ts-loader", "webpack", "webpack-cli", "webpack-dev-server"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "webgl-particles", "version" : "1.0.0", "description" : "Particle-Systems with WebGL", "main" : "index.js", "scripts" : {"start" : "webpack-dev-server --host 0.0.0.0", "build" : "rimraf dist && webpack --config webpack.production.config.js"}, "repository" : {"type" : "git", "url" : "git+https://github.com/BelTol3011/WebGL-particles.git"}, "author" : "", "license" : "MIT", "bugs" : {"url" : "https://github.com/BelTol3011/WebGL-particles/issues"}, "homepage" : "https://github.com/BelTol3011/WebGL-particles#readme", "dependencies" : {}, "devDependencies" : {"typescript" : "^3.7.4", "html-webpack-plugin" : "^3.2.0", "raw-loader" : "^4.0.0", "rimraf" : "^3.0.0", "ts-loader" : "^6.2.1", "webpack" : "^4.41.5", "webpack-cli" : "^3.3.10", "webpack-dev-server" : "^3.10.1"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}}, "required": ["start", "build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {}, "required": []}, "devDependencies": {"type": "object", "properties": {"typescript": {"type": "string"}, "html-webpack-plugin": {"type": "string"}, "raw-loader": {"type": "string"}, "rimraf": {"type": "string"}, "ts-loader": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}, "webpack-dev-server": {"type": "string"}}, "required": ["typescript", "html-webpack-plugin", "raw-loader", "rimraf", "ts-loader", "webpack", "webpack-cli", "webpack-dev-server"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"variants": {"type": "object", "properties": {"": {"type": "object", "properties": {"model": {"type": "string"}}, "required": ["model"]}}, "required": [""]}}, "required": ["variants"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"variants" : {"" : {"model" : "phc:block/chopping_board/spruce_chopping_board"}}} | json_instruct | {"type": "object", "properties": {"variants": {"type": "object", "properties": {"": {"type": "object", "properties": {"model": {"type": "string"}}, "required": ["model"]}}, "required": [""]}}, "required": ["variants"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"id": {"type": "string"}, "request": {"type": "object", "properties": {"url": {"type": "string"}, "method": {"type": "string"}}, "required": ["url", "method"]}, "response": {"type": "object", "properties": {"status": {"type": "integer"}, "bodyFileName": {"type": "string"}, "headers": {"type": "object", "properties": {"Content-Type": {"type": "string"}, "X-Cloud-Trace-Context": {"type": "string"}, "Date": {"type": "string"}, "Server": {"type": "string"}}, "required": ["Content-Type", "X-Cloud-Trace-Context", "Date", "Server"]}}, "required": ["status", "bodyFileName", "headers"]}, "uuid": {"type": "string"}}, "required": ["id", "request", "response", "uuid"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "8af34a37-2c6b-3f4a-8033-d7e7cb549b78", "request" : {"url" : "/9682/9683/9684/9685", "method" : "GET"}, "response" : {"status" : 200, "bodyFileName" : "body-9682-9683-9684-9685-8pV2N.json", "headers" : {"Content-Type" : "application/json", "X-Cloud-Trace-Context" : "f4e855d78ec8ad835e2ae853b67cc15d", "Date" : "Fri, 21 Aug 2020 15:57:51 GMT", "Server" : "Google Frontend"}}, "uuid" : "8af34a37-2c6b-3f4a-8033-d7e7cb549b78"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "request": {"type": "object", "properties": {"url": {"type": "string"}, "method": {"type": "string"}}, "required": ["url", "method"]}, "response": {"type": "object", "properties": {"status": {"type": "integer"}, "bodyFileName": {"type": "string"}, "headers": {"type": "object", "properties": {"Content-Type": {"type": "string"}, "X-Cloud-Trace-Context": {"type": "string"}, "Date": {"type": "string"}, "Server": {"type": "string"}}, "required": ["Content-Type", "X-Cloud-Trace-Context", "Date", "Server"]}}, "required": ["status", "bodyFileName", "headers"]}, "uuid": {"type": "string"}}, "required": ["id", "request", "response", "uuid"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"general": {"type": "object", "properties": {"true": {"type": "string"}, "false": {"type": "string"}, "loading": {"type": "string"}, "noData": {"type": "string"}}, "required": ["true", "false", "loading", "noData"]}, "button": {"type": "object", "properties": {"label": {"type": "object", "properties": {"search": {"type": "string"}, "cancel": {"type": "string"}}, "required": ["search", "cancel"]}}, "required": ["label"]}, "tree": {"type": "object", "properties": {"noResultsForFilter": {"type": "string"}}, "required": ["noResultsForFilter"]}}, "required": ["general", "button", "tree"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"general" : {"true" : "true", "false" : "false", "loading" : "loading", "noData" : "No data"}, "button" : {"label" : {"search" : "Search", "cancel" : "Cancel"}}, "tree" : {"noResultsForFilter" : "0 matches found for \"{{searchText}}\""}} | json_instruct | {"type": "object", "properties": {"general": {"type": "object", "properties": {"true": {"type": "string"}, "false": {"type": "string"}, "loading": {"type": "string"}, "noData": {"type": "string"}}, "required": ["true", "false", "loading", "noData"]}, "button": {"type": "object", "properties": {"label": {"type": "object", "properties": {"search": {"type": "string"}, "cancel": {"type": "string"}}, "required": ["search", "cancel"]}}, "required": ["label"]}, "tree": {"type": "object", "properties": {"noResultsForFilter": {"type": "string"}}, "required": ["noResultsForFilter"]}}, "required": ["general", "button", "tree"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"Protein II": {"type": "string"}, "CP-H": {"type": "string"}, "Penton base protein": {"type": "string"}, "Protein III": {"type": "string"}, "CP-P": {"type": "string"}, "Adenain": {"type": "string"}, "Adenovirus protease": {"type": "string"}, "Adenovirus proteinase": {"type": "string"}, "Endoprotease": {"type": "string"}, "AVP": {"type": "string"}, "Pre-protein VIII": {"type": "string"}, "pVIII": {"type": "string"}, "Pre-core protein VII": {"type": "string"}, "pVII": {"type": "string"}, "P35985": {"type": "string"}, "CAPSH_ADECU": {"type": "string"}, "Hexon protein": {"type": "string"}, "P35987": {"type": "string"}, "CAPSP_ADECU": {"type": "string"}, "Penton protein": {"type": "string"}, "P68958": {"type": "string"}, "E313_ADECU": {"type": "string"}, "Early E3 13.3 kDa protein": {"type": "string"}, "P68986": {"type": "string"}, "PRO_ADECU": {"type": "string"}, "Protease": {"type": "string"}, "L3": {"type": "string"}, "P68963": {"type": "string"}, "CAP8_ADECU": {"type": "string"}, "Pre-hexon-linking protein VIII": {"type": "string"}, "L4": {"type": "string"}, "P68965": {"type": "string"}, "NP_ADECU": {"type": "string"}, "Pre-histone-like nucleoprotein": {"type": "string"}, "L2": {"type": "string"}}, "required": ["Protein II", "CP-H", "Penton base protein", "Protein III", "CP-P", "Adenain", "Adenovirus protease", "Adenovirus proteinase", "Endoprotease", "AVP", "Pre-protein VIII", "pVIII", "Pre-core protein VII", "pVII", "P35985", "CAPSH_ADECU", "Hexon protein", "P35987", "CAPSP_ADECU", "Penton protein", "P68958", "E313_ADECU", "Early E3 13.3 kDa protein", "P68986", "PRO_ADECU", "Protease", "L3", "P68963", "CAP8_ADECU", "Pre-hexon-linking protein VIII", "L4", "P68965", "NP_ADECU", "Pre-histone-like nucleoprotein", "L2"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Protein II" : "P35985", "CP-H" : "P35985", "Penton base protein" : "P35987", "Protein III" : "P35987", "CP-P" : "P35987", "Adenain" : "P68986", "Adenovirus protease" : "P68986", "Adenovirus proteinase" : "P68986", "Endoprotease" : "P68986", "AVP" : "P68986", "Pre-protein VIII" : "P68963", "pVIII" : "P68963", "Pre-core protein VII" : "P68965", "pVII" : "P68965", "P35985" : "P35985", "CAPSH_ADECU" : "P35985", "Hexon protein" : "P35985", "P35987" : "P35987", "CAPSP_ADECU" : "P35987", "Penton protein" : "P35987", "P68958" : "P68958", "E313_ADECU" : "P68958", "Early E3 13.3 kDa protein" : "P68958", "P68986" : "P68986", "PRO_ADECU" : "P68986", "Protease" : "P68986", "L3" : "P68986", "P68963" : "P68963", "CAP8_ADECU" : "P68963", "Pre-hexon-linking protein VIII" : "P68963", "L4" : "P68963", "P68965" : "P68965", "NP_ADECU" : "P68965", "Pre-histone-like nucleoprotein" : "P68965", "L2" : "P68965"} | json_instruct | {"type": "object", "properties": {"Protein II": {"type": "string"}, "CP-H": {"type": "string"}, "Penton base protein": {"type": "string"}, "Protein III": {"type": "string"}, "CP-P": {"type": "string"}, "Adenain": {"type": "string"}, "Adenovirus protease": {"type": "string"}, "Adenovirus proteinase": {"type": "string"}, "Endoprotease": {"type": "string"}, "AVP": {"type": "string"}, "Pre-protein VIII": {"type": "string"}, "pVIII": {"type": "string"}, "Pre-core protein VII": {"type": "string"}, "pVII": {"type": "string"}, "P35985": {"type": "string"}, "CAPSH_ADECU": {"type": "string"}, "Hexon protein": {"type": "string"}, "P35987": {"type": "string"}, "CAPSP_ADECU": {"type": "string"}, "Penton protein": {"type": "string"}, "P68958": {"type": "string"}, "E313_ADECU": {"type": "string"}, "Early E3 13.3 kDa protein": {"type": "string"}, "P68986": {"type": "string"}, "PRO_ADECU": {"type": "string"}, "Protease": {"type": "string"}, "L3": {"type": "string"}, "P68963": {"type": "string"}, "CAP8_ADECU": {"type": "string"}, "Pre-hexon-linking protein VIII": {"type": "string"}, "L4": {"type": "string"}, "P68965": {"type": "string"}, "NP_ADECU": {"type": "string"}, "Pre-histone-like nucleoprotein": {"type": "string"}, "L2": {"type": "string"}}, "required": ["Protein II", "CP-H", "Penton base protein", "Protein III", "CP-P", "Adenain", "Adenovirus protease", "Adenovirus proteinase", "Endoprotease", "AVP", "Pre-protein VIII", "pVIII", "Pre-core protein VII", "pVII", "P35985", "CAPSH_ADECU", "Hexon protein", "P35987", "CAPSP_ADECU", "Penton protein", "P68958", "E313_ADECU", "Early E3 13.3 kDa protein", "P68986", "PRO_ADECU", "Protease", "L3", "P68963", "CAP8_ADECU", "Pre-hexon-linking protein VIII", "L4", "P68965", "NP_ADECU", "Pre-histone-like nucleoprotein", "L2"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following 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" : "\uc6d0\uc6a9\uade0", "\ud55c\ubb38\uba85" : "\u5143\u5bb9\u5747", "\uc0dd\ub144\uc6d4\uc77c" : "1892-12-24", "\uc815\ub2f9" : "\ub300\ud55c\ub3c5\ub9bd\ucd09\uc131\uad6d\ubbfc\ud68c", "\uc120\uac70\uad6c" : "\uac15\uc6d0 \ud6a1\uc131", "\ub2f9\uc120\ud69f\uc218" : "\ucd08\uc120", "\ub2f9\uc120\ub300\uc218" : "\ud5cc"} | 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#"} |
Generate sample JSON data that conforms to the following schema definition:
{"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" : 1125849407, "type" : "Feature", "properties" : {"src:alt_label" : "qs_pg", "src:geom" : "qs_pg", "wof:geomhash" : "bd5f8b25836d66a1bcc41da6103625c5", "wof:id" : 1125849407, "wof:repo" : "whosonfirst-data-admin-gb"}, "bbox" : [-1.317157, 53.382529, -1.317157, 53.382529], "geometry" : {"coordinates" : [-1.317157, 53.382529], "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#"} |
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" : "Fixes #9065 by adding `@rpath` to the list of paths in `CMAKE_INSTALL_RPATH` and setting `CMAKE_MACOSX_RPATH` to `ON`.", "user" : "goxberry", "url" : "https://api.github.com/repos/spack/spack/issues/9249", "updated_at" : "2020-08-28 21:12:48", "created_at" : "2018-09-13 23:57:35", "closed_at" : "2020-08-28 21:12:47", "state" : "closed", "title" : "CMakePackage: use `@rpath` for shared libs on macOS", "number" : 9249, "milestone" : null, "labels" : ["macOS", "rpath", "cmake"], "id" : 360108243, "html_url" : "https://github.com/spack/spack/pull/9249", "assignees" : [], "comments" : 14} | 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#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "config": {"type": "object", "properties": {"sort-packages": {"type": "boolean"}}, "required": ["sort-packages"]}, "extra": {"type": "object", "properties": {"branch-alias": {"type": "object", "properties": {"dev-master": {"type": "string"}}, "required": ["dev-master"]}}, "required": ["branch-alias"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"LilleBitte\\Emitter\\": {"type": "string"}}, "required": ["LilleBitte\\Emitter\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"files": {"type": "array", "items": {"type": "string"}}, "psr-4": {"type": "object", "properties": {"LilleBitte\\Emitter\\Tests\\": {"type": "string"}}, "required": ["LilleBitte\\Emitter\\Tests\\"]}}, "required": ["files", "psr-4"]}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "psr/http-message": {"type": "string"}}, "required": ["php", "psr/http-message"]}, "require-dev": {"type": "object", "properties": {"lille-bitte/messenger": {"type": "string"}, "phpunit/phpunit": {"type": "string"}}, "required": ["lille-bitte/messenger", "phpunit/phpunit"]}}, "required": ["name", "type", "description", "license", "keywords", "config", "extra", "autoload", "autoload-dev", "require", "require-dev"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "lille-bitte/emitter", "type" : "library", "description" : "HTTP Response Emitter", "license" : "BSD-3-Clause", "keywords" : ["emitter", "http-emitter", "response-emitter", "http-response-emitter"], "config" : {"sort-packages" : true}, "extra" : {"branch-alias" : {"dev-master" : "1.0-dev"}}, "autoload" : {"psr-4" : {"LilleBitte\\Emitter\\" : "src/"}}, "autoload-dev" : {"files" : ["tests/functions.php"], "psr-4" : {"LilleBitte\\Emitter\\Tests\\" : "tests/"}}, "require" : {"php" : "^7.1", "psr/http-message" : "^1.0"}, "require-dev" : {"lille-bitte/messenger" : "^1.0", "phpunit/phpunit" : "^7.5"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "config": {"type": "object", "properties": {"sort-packages": {"type": "boolean"}}, "required": ["sort-packages"]}, "extra": {"type": "object", "properties": {"branch-alias": {"type": "object", "properties": {"dev-master": {"type": "string"}}, "required": ["dev-master"]}}, "required": ["branch-alias"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"LilleBitte\\Emitter\\": {"type": "string"}}, "required": ["LilleBitte\\Emitter\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"files": {"type": "array", "items": {"type": "string"}}, "psr-4": {"type": "object", "properties": {"LilleBitte\\Emitter\\Tests\\": {"type": "string"}}, "required": ["LilleBitte\\Emitter\\Tests\\"]}}, "required": ["files", "psr-4"]}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "psr/http-message": {"type": "string"}}, "required": ["php", "psr/http-message"]}, "require-dev": {"type": "object", "properties": {"lille-bitte/messenger": {"type": "string"}, "phpunit/phpunit": {"type": "string"}}, "required": ["lille-bitte/messenger", "phpunit/phpunit"]}}, "required": ["name", "type", "description", "license", "keywords", "config", "extra", "autoload", "autoload-dev", "require", "require-dev"], "$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"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "QmVkfC9D5NFLVtxD54F7oGgoMV42AoGYVwofHRWnMGZ1tn", "title" : "Pay our new Community Manager 300 SNAFU per week", "body" : "# We would like to pay Reem 300 SNAFU per week, taken from the DAO funds, for his services as Community Manager.\n\nWe opened a thread on our forum to discuss it and there was no contrary feedback, so we are now putting this to vote.\nYou can find the discussion [here]( https://forum.nftsnafu.org/t/pay-reem-300-snafu-per-week-for-the-work-as-community-manager/31).\n\n-----\n\n### Do you agree to pay Reem 300 SNAFU per week using the DAO funds?", "choices" : ["Yes", "No"], "start" : 1622124000, "end" : 1622296800, "snapshot" : "16269210", "state" : "closed", "author" : "0x52eB606f94091A2BA4f985D98C62880a9BA591B6", "space" : {"id" : "nftsnafu.eth", "name" : "SNAFU Collective"}, "votes" : 5, "votes_data" : [{"id" : "QmNYaj4u7fWTqk9NugswTt1KZorVzTddh1UsZJsmhRtzh9", "voter" : "0x7a791fDA775B399f4A78f68a0b66498e6bcD3492", "created" : 1622237674, "choice" : 1, "space" : {"id" : "nftsnafu.eth"}}, {"id" : "QmdDmko9Sm7e6BWkXyovk3yY4HmCSRXuLc7XqB8eXJWFyw", "voter" : "0x439789819ff8B3Ea949A7622E529022d5935D499", "created" : 1622199013, "choice" : 1, "space" : {"id" : "nftsnafu.eth"}}, {"id" : "QmdBMr2fEapxMizJL4Smxr76b6VhZyN5vfY76JvQeK6tBv", "voter" : "0x5a977499e4cfB5659cfbcc1013016156D0cf7AeE", "created" : 1622191531, "choice" : 1, "space" : {"id" : "nftsnafu.eth"}}, {"id" : "QmY1hZwywu1wczBmgGNDfKcMPBgqqwNisQ8sT8DGbeXAsd", "voter" : "0x79411510315e819A36a731aA384C866a1dbA2806", "created" : 1622167187, "choice" : 1, "space" : {"id" : "nftsnafu.eth"}}, {"id" : "QmaA5vEGApBA4swzzvdRc4UGtyP1CicDvLsGVduHtjaXhe", "voter" : "0x52eB606f94091A2BA4f985D98C62880a9BA591B6", "created" : 1622124031, "choice" : 1, "space" : {"id" : "nftsnafu.eth"}}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "unity": {"type": "string"}, "type": {"type": "string"}, "enableLockFile": {"type": "boolean"}, "resolutionStrategy": {"type": "string"}}, "required": ["name", "displayName", "version", "description", "author", "license", "unity", "type", "enableLockFile", "resolutionStrategy"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "com.cb.lwframeworkasset", "displayName" : "LWFrameworkAsset", "version" : "5.1.3", "description" : "\u81ea\u7528\u5de5\u5177", "author" : "chenbin", "license" : "MIT", "unity" : "2018.4", "type" : "library", "enableLockFile" : true, "resolutionStrategy" : "highest"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "unity": {"type": "string"}, "type": {"type": "string"}, "enableLockFile": {"type": "boolean"}, "resolutionStrategy": {"type": "string"}}, "required": ["name", "displayName", "version", "description", "author", "license", "unity", "type", "enableLockFile", "resolutionStrategy"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["visionr-server"] | json_instruct | {"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"@reactivex/rxjs": {"type": "string"}, "falcor": {"type": "string"}, "falcor-http-datasource": {"type": "string"}, "jsonpath-plus": {"type": "string"}, "pipertron": {"type": "string"}, "pouchdb": {"type": "string"}, "request": {"type": "string"}}, "required": ["@reactivex/rxjs", "falcor", "falcor-http-datasource", "jsonpath-plus", "pipertron", "pouchdb", "request"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "pipertron-job", "version" : "1.0.0", "description" : "", "main" : "index.js", "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "repository" : {"type" : "git", "url" : "git+https://github.com/stierma1/job-runner.git"}, "author" : "", "license" : "ISC", "bugs" : {"url" : "https://github.com/stierma1/job-runner/issues"}, "homepage" : "https://github.com/stierma1/job-runner#readme", "dependencies" : {"@reactivex/rxjs" : "^5.4.1", "falcor" : "^0.1.17", "falcor-http-datasource" : "^0.1.3", "jsonpath-plus" : "^0.16.0", "pipertron" : "^1.0.3", "pouchdb" : "^6.2.0", "request" : "^2.81.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"@reactivex/rxjs": {"type": "string"}, "falcor": {"type": "string"}, "falcor-http-datasource": {"type": "string"}, "jsonpath-plus": {"type": "string"}, "pipertron": {"type": "string"}, "pouchdb": {"type": "string"}, "request": {"type": "string"}}, "required": ["@reactivex/rxjs", "falcor", "falcor-http-datasource", "jsonpath-plus", "pipertron", "pouchdb", "request"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "score": {"type": "string"}}, "required": ["type", "score"]}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"schema_version" : "1.2.0", "id" : "GHSA-gvqg-4vgr-vq39", "modified" : "2022-05-13T01:32:02Z", "published" : "2022-05-13T01:32:02Z", "aliases" : ["CVE-2018-6346"], "details" : "A potential denial-of-service issue in the Proxygen handling of invalid HTTP2 priority settings (specifically a circular dependency). This affects Proxygen prior to v2018.12.31.00.", "severity" : [{"type" : "CVSS_V3", "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}], "affected" : [], "references" : [{"type" : "ADVISORY", "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-6346"}, {"type" : "WEB", "url" : "https://github.com/facebook/proxygen/commit/52cf331743ebd74194d6343a6c2ec52bb917c982"}], "database_specific" : {"cwe_ids" : [], "severity" : "HIGH", "github_reviewed" : false}} | json_instruct | {"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "score": {"type": "string"}}, "required": ["type", "score"]}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"Lambda": {"type": "object", "properties": {"Handler": {"type": "string"}, "MemorySize": {"type": "integer"}, "TimeoutSecs": {"type": "integer"}, "Layers": {"type": "array", "items": {"type": "string"}}}, "required": ["Handler", "MemorySize", "TimeoutSecs", "Layers"]}, "MRE": {"type": "object", "properties": {"Plugin": {"type": "object", "properties": {"Name": {"type": "string"}, "Description": {"type": "string"}, "Class": {"type": "string"}, "ExecutionType": {"type": "string"}, "SupportedMediaType": {"type": "string"}, "ContentGroups": {"type": "array", "items": {"type": "string"}}, "ExecuteLambdaQualifiedARN": {"type": "string"}, "Configuration": {"type": "object", "properties": {"silence_threshold_db": {"type": "string"}, "silence_duration_sec": {"type": "string"}}, "required": ["silence_threshold_db", "silence_duration_sec"]}, "OutputAttributes": {"type": "object", "properties": {"Label": {"type": "object", "properties": {"Description": {"type": "string"}}, "required": ["Description"]}}, "required": ["Label"]}}, "required": ["Name", "Description", "Class", "ExecutionType", "SupportedMediaType", "ContentGroups", "ExecuteLambdaQualifiedARN", "Configuration", "OutputAttributes"]}}, "required": ["Plugin"]}}, "required": ["Lambda", "MRE"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Lambda" : {"Handler" : "DetectAudioSilence.lambda_handler", "MemorySize" : 256, "TimeoutSecs" : 60, "Layers" : ["ffmpeg"]}, "MRE" : {"Plugin" : {"Name" : "DetectAudioSilence", "Description" : "This plugin attempts to detect where silence is occurring in an audio track by using FFMPEG.", "Class" : "Featurer", "ExecutionType" : "Sync", "SupportedMediaType" : "Audio", "ContentGroups" : ["All"], "ExecuteLambdaQualifiedARN" : "", "Configuration" : {"silence_threshold_db" : "-50", "silence_duration_sec" : "2"}, "OutputAttributes" : {"Label" : {"Description" : ""}}}}} | json_instruct | {"type": "object", "properties": {"Lambda": {"type": "object", "properties": {"Handler": {"type": "string"}, "MemorySize": {"type": "integer"}, "TimeoutSecs": {"type": "integer"}, "Layers": {"type": "array", "items": {"type": "string"}}}, "required": ["Handler", "MemorySize", "TimeoutSecs", "Layers"]}, "MRE": {"type": "object", "properties": {"Plugin": {"type": "object", "properties": {"Name": {"type": "string"}, "Description": {"type": "string"}, "Class": {"type": "string"}, "ExecutionType": {"type": "string"}, "SupportedMediaType": {"type": "string"}, "ContentGroups": {"type": "array", "items": {"type": "string"}}, "ExecuteLambdaQualifiedARN": {"type": "string"}, "Configuration": {"type": "object", "properties": {"silence_threshold_db": {"type": "string"}, "silence_duration_sec": {"type": "string"}}, "required": ["silence_threshold_db", "silence_duration_sec"]}, "OutputAttributes": {"type": "object", "properties": {"Label": {"type": "object", "properties": {"Description": {"type": "string"}}, "required": ["Description"]}}, "required": ["Label"]}}, "required": ["Name", "Description", "Class", "ExecutionType", "SupportedMediaType", "ContentGroups", "ExecuteLambdaQualifiedARN", "Configuration", "OutputAttributes"]}}, "required": ["Plugin"]}}, "required": ["Lambda", "MRE"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"title": {"type": "string"}, "explanation": {"type": "string"}, "date": {"type": "string"}, "service_version": {"type": "string"}, "copyright": {"type": "string"}, "media_type": {"type": "string"}, "url": {"type": "string"}}, "required": ["title", "explanation", "date", "service_version", "copyright", "media_type", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Jupiter Rotation Movie from Pic du Midi", "explanation" : "Observe the graceful twirl of the Solar System's largest planet. Many interesting features of Jupiter's enigmatic atmosphere, including dark bands and light zones, can be followed in detail. A careful inspection will reveal that central clouds rotate slightly faster than clouds toward the poles. The famous Great Red Spot is visible at first but soon rotates out of view, only to return near the movie's end. Other smaller storm systems ocassionally appear. As large as Jupiter is, it rotates in only 10 hours. Our small Earth, by comparison, takes 24 hours to complete a spin cycle. The above high-resolution time-lapse movie was captured over the past year by the one-meter Telescope at the Pic du Midi Observatory in the French Pyrenees. Since hydrogen and helium gas are colorless, and those elements compose most of Jupiter's expansive atmosphere, what trace elements create the observed colors of Jupiter's clouds remains unknown.", "date" : "2011-12-06", "service_version" : "v1", "copyright" : "S2P / IMCCE / OPM / JL Dauvergne et al.", "media_type" : "video", "url" : "https://player.vimeo.com/video/31747706?title=0&byline=0&portrait=0"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "explanation": {"type": "string"}, "date": {"type": "string"}, "service_version": {"type": "string"}, "copyright": {"type": "string"}, "media_type": {"type": "string"}, "url": {"type": "string"}}, "required": ["title", "explanation", "date", "service_version", "copyright", "media_type", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"type": {"type": "string"}, "objects": {"type": "object", "properties": {"E01016963": {"type": "object", "properties": {"type": {"type": "string"}, "crs": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "required": ["type", "properties"]}, "geometries": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"OA11CD": {"type": "string"}, "LAD11CD": {"type": "string"}}, "required": ["OA11CD", "LAD11CD"]}, "arcs": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["type", "properties", "arcs"]}}}, "required": ["type", "crs", "geometries"]}}, "required": ["E01016963"]}, "arcs": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "transform": {"type": "object", "properties": {"scale": {"type": "array", "items": {"type": "number"}}, "translate": {"type": "array", "items": {"type": "number"}}}, "required": ["scale", "translate"]}}, "required": ["type", "objects", "arcs", "transform"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Topology", "objects" : {"E01016963" : {"type" : "GeometryCollection", "crs" : {"type" : "name", "properties" : {"name" : "urn:ogc:def:crs:OGC:1.3:CRS84"}}, "geometries" : [{"type" : "Polygon", "properties" : {"OA11CD" : "E00085605", "LAD11CD" : "E06000043"}, "arcs" : [[0, 1, 2, 3]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085606", "LAD11CD" : "E06000043"}, "arcs" : [[4, 5, 6]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085607", "LAD11CD" : "E06000043"}, "arcs" : [[7, -3, 8, -6, 9, 10]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085608", "LAD11CD" : "E06000043"}, "arcs" : [[11, 12]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085615", "LAD11CD" : "E06000043"}, "arcs" : [[-12, 13, -10, -5, 14, 15]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085616", "LAD11CD" : "E06000043"}, "arcs" : [[16, -15, -7, -9, -2]]}, {"type" : "Polygon", "properties" : {"OA11CD" : "E00085617", "LAD11CD" : "E06000043"}, "arcs" : [[-4, -8, 17]]}]}}, "arcs" : [[[781, 8282], [271, 1717], [1529, -1188]], [[2581, 8811], [-199, -976], [-493, 282]], [[1889, 8117], [-538, 498], [-178, -1055]], [[1173, 7560], [-392, 722]], [[3107, 7567], [627, -170], [-52, -1637], [-259, 40], [-173, -1760], [-288, -115]], [[2962, 3925], [-86, -527], [-683, 554], [-194, 1715], [147, 1128]], [[2146, 6795], [1127, -884], [-312, 1326], [146, 330]], [[10, 4877], [891, 1048], [272, 1635]], [[1889, 8117], [-159, -997], [416, -325]], [[2962, 3925], [478, -382], [-164, -1197]], [[3276, 2346], [-3271, 2132], [5, 399]], [[4593, 4123], [256, 1398], [-19, -387], [200, 199], [240, 755], [-791, 1369], [399, 964]], [[4878, 8421], [368, -270], [-169, -1120], [2183, -1241], [1122, 1107], [-15, -2127], [729, -1053], [655, -1772], [248, -1771], [-587, 505], [82, -502], [-273, -177], [-2045, 1355], [-1091, 596], [-486, 1750], [-1006, 422]], [[4593, 4123], [-190, -884], [-1127, -893]], [[3107, 7567], [180, 690]], [[3287, 8257], [268, -216], [186, 1269], [1137, -889]], [[2581, 8811], [288, -218], [202, -161], [216, -175]], [[10, 4877], [-10, 1060], [262, 256], [356, 443], [163, 1646]]], "transform" : {"scale" : [1.7918898673005302e-06, 5.066913882731376e-07], "translate" : [-0.113101576381099, 50.813345111852335]}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "objects": {"type": "object", "properties": {"E01016963": {"type": "object", "properties": {"type": {"type": "string"}, "crs": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "required": ["type", "properties"]}, "geometries": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"OA11CD": {"type": "string"}, "LAD11CD": {"type": "string"}}, "required": ["OA11CD", "LAD11CD"]}, "arcs": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["type", "properties", "arcs"]}}}, "required": ["type", "crs", "geometries"]}}, "required": ["E01016963"]}, "arcs": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "transform": {"type": "object", "properties": {"scale": {"type": "array", "items": {"type": "number"}}, "translate": {"type": "array", "items": {"type": "number"}}}, "required": ["scale", "translate"]}}, "required": ["type", "objects", "arcs", "transform"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"Version": {"type": "integer"}, "FileReferences": {"type": "object", "properties": {"Moc": {"type": "string"}, "Textures": {"type": "array", "items": {"type": "string"}}, "DisplayInfo": {"type": "string"}}, "required": ["Moc", "Textures", "DisplayInfo"]}}, "required": ["Version", "FileReferences"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Version" : 3, "FileReferences" : {"Moc" : "d.moc3", "Textures" : ["d.1024/texture_00.png"], "DisplayInfo" : "d.cdi3.json"}} | json_instruct | {"type": "object", "properties": {"Version": {"type": "integer"}, "FileReferences": {"type": "object", "properties": {"Moc": {"type": "string"}, "Textures": {"type": "array", "items": {"type": "string"}}, "DisplayInfo": {"type": "string"}}, "required": ["Moc", "Textures", "DisplayInfo"]}}, "required": ["Version", "FileReferences"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"results": {"type": "array", "items": {"type": "object", "properties": {"tech": {"type": "integer"}, "pts": {"type": "integer"}, "connections": {"type": "integer"}, "capacity": {"type": "integer"}, "investments": {"type": "integer"}}, "required": ["tech", "pts", "connections", "capacity", "investments"]}}}, "required": ["results"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"results" : [{"tech" : 7, "pts" : 5, "connections" : 516, "capacity" : 56810, "investments" : 421731}, {"tech" : 1, "pts" : 924, "connections" : 209913, "capacity" : 17455366, "investments" : 111807762}]}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"results": {"type": "array", "items": {"type": "object", "properties": {"tech": {"type": "integer"}, "pts": {"type": "integer"}, "connections": {"type": "integer"}, "capacity": {"type": "integer"}, "investments": {"type": "integer"}}, "required": ["tech", "pts", "connections", "capacity", "investments"]}}}, "required": ["results"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "symbol": {"type": "string"}, "name": {"type": "string"}, "platforms": {"type": "object", "properties": {"ethereum": {"type": "string"}}, "required": ["ethereum"]}, "hashing_algorithm": {"type": "string"}, "categories": {"type": "array", "items": {"type": "string"}}, "description": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country_origin": {"type": "string"}, "genesis_date": {"type": "null"}, "contract_address": {"type": "string"}, "url": {"type": "string"}, "explorers": {"type": "array", "items": {"type": "string"}}, "twitter": {"type": "string"}, "facebook": {"type": "string"}, "telegram": {"type": "string"}, "github_org": {"type": "string"}}, "required": ["id", "symbol", "name", "platforms", "hashing_algorithm", "categories", "description", "country_origin", "genesis_date", "contract_address", "url", "explorers", "twitter", "facebook", "telegram", "github_org"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "cryptobucks", "symbol" : "CBUCKS", "name" : "CRYPTOBUCKS", "platforms" : {"ethereum" : "0x0d2bb9d68dd4451a09ec94c05e20bd395022bd8e"}, "hashing_algorithm" : "Keccak", "categories" : ["Cryptocurrency"], "description" : {"en" : "Cryptobucks enables its users to do peer to peer exchange on all the local currencies and other cryptocurrencies. It empowers peer to peer trading and copy trade."}, "country_origin" : "US", "genesis_date" : null, "contract_address" : "0x0d2bb9d68dd4451a09ec94c05e20bd395022bd8e", "url" : "https://www.cryptobuckslimited.com/", "explorers" : ["https://etherscan.io/token/0x0d2BB9D68dD4451A09ec94C05E20Bd395022bd8e", "https://ethplorer.io/address/0x0d2bb9d68dd4451a09ec94c05e20bd395022bd8e"], "twitter" : "CBUCKSOfficial", "facebook" : "CRYPTOBUCKSLimited", "telegram" : "cbucksofficial", "github_org" : "cbucks"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "symbol": {"type": "string"}, "name": {"type": "string"}, "platforms": {"type": "object", "properties": {"ethereum": {"type": "string"}}, "required": ["ethereum"]}, "hashing_algorithm": {"type": "string"}, "categories": {"type": "array", "items": {"type": "string"}}, "description": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country_origin": {"type": "string"}, "genesis_date": {"type": "null"}, "contract_address": {"type": "string"}, "url": {"type": "string"}, "explorers": {"type": "array", "items": {"type": "string"}}, "twitter": {"type": "string"}, "facebook": {"type": "string"}, "telegram": {"type": "string"}, "github_org": {"type": "string"}}, "required": ["id", "symbol", "name", "platforms", "hashing_algorithm", "categories", "description", "country_origin", "genesis_date", "contract_address", "url", "explorers", "twitter", "facebook", "telegram", "github_org"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"nom": {"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": {"panneau": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["panneau", "voix"]}}}, "required": ["nom", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"nom" : "Beaucamps-Ligny", "dpt" : "Nord", "inscrits" : 742, "abs" : 139, "votants" : 603, "blancs" : 43, "nuls" : 11, "exp" : 549, "res" : [{"panneau" : "1", "voix" : 397}, {"panneau" : "2", "voix" : 152}]} | json_instruct | {"type": "object", "properties": {"nom": {"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": {"panneau": {"type": "string"}, "voix": {"type": "integer"}}, "required": ["panneau", "voix"]}}}, "required": ["nom", "dpt", "inscrits", "abs", "votants", "blancs", "nuls", "exp", "res"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "string"}, "scripts": {"type": "object", "properties": {"lint": {"type": "string"}, "test": {"type": "string"}, "coverage": {"type": "string"}, "extract-dependencies": {"type": "string"}}, "required": ["lint", "test", "coverage", "extract-dependencies"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bin": {"type": "object", "properties": {"extract-dependencies": {"type": "string"}}, "required": ["extract-dependencies"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}, "eslint-config-airbnb-base": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "eslint-plugin-jest": {"type": "string"}, "jest": {"type": "string"}}, "required": ["eslint", "eslint-config-airbnb-base", "eslint-plugin-import", "eslint-plugin-jest", "jest"]}, "dependencies": {"type": "object", "properties": {"chalk": {"type": "string"}, "commander": {"type": "string"}, "fs-extra": {"type": "string"}}, "required": ["chalk", "commander", "fs-extra"]}}, "required": ["name", "version", "description", "main", "repository", "scripts", "author", "license", "bin", "keywords", "devDependencies", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "npm-dependencies-extractor", "version" : "0.1.0", "description" : "Retrieves the (flat) list of package dependencies for Javascript projects using npm", "main" : "index.js", "repository" : "philips-software/npm-dependencies-extractor", "scripts" : {"lint" : "eslint src/**", "test" : "jest src", "coverage" : "jest --collectCoverageFrom=src/**.js --coverage src", "extract-dependencies" : "node ./src/index.js"}, "author" : "Sanda Contiu <sanda.contiu@philips.com>", "license" : "ISC", "bin" : {"extract-dependencies" : "./src/index.js"}, "keywords" : ["dependencies", "npm", "sbom", "software bill of material", "flat list", "extract", "retrieve", "dependencies flat list", "extract dependencies", "list dependencies"], "devDependencies" : {"eslint" : "^6.8.0", "eslint-config-airbnb-base" : "^14.1.0", "eslint-plugin-import" : "^2.20.2", "eslint-plugin-jest" : "^23.8.2", "jest" : "^25.3.0"}, "dependencies" : {"chalk" : "^4.0.0", "commander" : "^5.0.0", "fs-extra" : "^9.0.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "string"}, "scripts": {"type": "object", "properties": {"lint": {"type": "string"}, "test": {"type": "string"}, "coverage": {"type": "string"}, "extract-dependencies": {"type": "string"}}, "required": ["lint", "test", "coverage", "extract-dependencies"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bin": {"type": "object", "properties": {"extract-dependencies": {"type": "string"}}, "required": ["extract-dependencies"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}, "eslint-config-airbnb-base": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "eslint-plugin-jest": {"type": "string"}, "jest": {"type": "string"}}, "required": ["eslint", "eslint-config-airbnb-base", "eslint-plugin-import", "eslint-plugin-jest", "jest"]}, "dependencies": {"type": "object", "properties": {"chalk": {"type": "string"}, "commander": {"type": "string"}, "fs-extra": {"type": "string"}}, "required": ["chalk", "commander", "fs-extra"]}}, "required": ["name", "version", "description", "main", "repository", "scripts", "author", "license", "bin", "keywords", "devDependencies", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"manifest_version": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "chrome_url_overrides": {"type": "object", "properties": {"newtab": {"type": "string"}}, "required": ["newtab"]}, "icons": {"type": "object", "properties": {"16": {"type": "string"}, "48": {"type": "string"}, "128": {"type": "string"}}, "required": ["16", "48", "128"]}}, "required": ["manifest_version", "name", "description", "version", "chrome_url_overrides", "icons"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"manifest_version" : 2, "name" : "Fashionable New Tab Page", "description" : "When opening a new tab, see a beautiful image from Gilt.com", "version" : "1.0", "chrome_url_overrides" : {"newtab" : "newTab.html"}, "icons" : {"16" : "images/icon-16.png", "48" : "images/icon-48.png", "128" : "images/icon-128.png"}} | json_instruct | {"type": "object", "properties": {"manifest_version": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "chrome_url_overrides": {"type": "object", "properties": {"newtab": {"type": "string"}}, "required": ["newtab"]}, "icons": {"type": "object", "properties": {"16": {"type": "string"}, "48": {"type": "string"}, "128": {"type": "string"}}, "required": ["16", "48", "128"]}}, "required": ["manifest_version", "name", "description", "version", "chrome_url_overrides", "icons"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"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": {"name": {"type": "string"}, "start-date": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "ownership-status": {"type": "string"}, "planning-permission-date": {"type": "string"}, "hectares": {"type": "string"}, "notes": {"type": "string"}, "site-address": {"type": "string"}, "planning-permission-status": {"type": "string"}, "point": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "site": {"type": "string"}, "organisation": {"type": "string"}, "planning-permission-type": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}, "site-plan-url": {"type": "string"}, "end-date": {"type": "string"}}, "required": ["name", "start-date", "minimum-net-dwellings", "ownership-status", "planning-permission-date", "hectares", "notes", "site-address", "planning-permission-status", "point", "maximum-net-dwellings", "site", "organisation", "planning-permission-type", "slug", "entity", "entry-date", "site-plan-url", "end-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [-3.515432, 50.507011]}, "properties" : {"name" : "C811", "start-date" : "2019-12-11", "minimum-net-dwellings" : "10", "ownership-status" : "not owned by a public authority", "planning-permission-date" : "2019-02-15", "hectares" : "0.12", "notes" : "P/2018/1216", "site-address" : "Suite Dreams Hotel, Steep Hill, Torquay", "planning-permission-status" : "permissioned", "point" : "POINT(-3.515432 50.507011)", "maximum-net-dwellings" : "10", "site" : "C811", "organisation" : "local-authority-eng:TOB", "planning-permission-type" : "full planning permission", "slug" : "/brownfield-land/local-authority-eng/TOB/C811", "entity" : 496806, "entry-date" : "2020-12-09", "site-plan-url" : "http://torbay.addresscafe.com/app/exploreit/default.aspx", "end-date" : "2020-12-09"}} | 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": {"name": {"type": "string"}, "start-date": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "ownership-status": {"type": "string"}, "planning-permission-date": {"type": "string"}, "hectares": {"type": "string"}, "notes": {"type": "string"}, "site-address": {"type": "string"}, "planning-permission-status": {"type": "string"}, "point": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "site": {"type": "string"}, "organisation": {"type": "string"}, "planning-permission-type": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}, "site-plan-url": {"type": "string"}, "end-date": {"type": "string"}}, "required": ["name", "start-date", "minimum-net-dwellings", "ownership-status", "planning-permission-date", "hectares", "notes", "site-address", "planning-permission-status", "point", "maximum-net-dwellings", "site", "organisation", "planning-permission-type", "slug", "entity", "entry-date", "site-plan-url", "end-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"width": {"type": "integer"}, "filename": {"type": "string"}}, "required": ["width", "filename"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"width" : 864, "filename" : "kip met tuinbonen.jpeg"} | json_instruct | {"type": "object", "properties": {"width": {"type": "integer"}, "filename": {"type": "string"}}, "required": ["width", "filename"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Polygon", "coordinates" : [[[132.0, 34.833333333333336], [132.0, 34.916666666666664], [132.125, 34.916666666666664], [132.125, 34.833333333333336], [132.0, 34.833333333333336]]]}, "properties" : {"code" : 523220, "url" : "http://madefor.github.io/0410/api/v1/523220.geojson", "view" : "https://github.com/madefor/0410/blob/gh-pages/api/v1/523220.geojson"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "array", "items": {"type": "object", "properties": {"period_id": {"type": "integer"}, "rest_mode_state": {"type": "integer"}, "score": {"type": "integer"}, "score_activity_balance": {"type": "integer"}, "score_previous_day": {"type": "integer"}, "score_previous_night": {"type": "integer"}, "score_recovery_index": {"type": "integer"}, "score_resting_hr": {"type": "integer"}, "score_sleep_balance": {"type": "integer"}, "score_temperature": {"type": "integer"}, "summary_date": {"type": "string"}}, "required": ["period_id", "rest_mode_state", "score", "score_activity_balance", "score_previous_day", "score_previous_night", "score_recovery_index", "score_resting_hr", "score_sleep_balance", "score_temperature", "summary_date"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"period_id" : 2, "rest_mode_state" : 0, "score" : 79, "score_activity_balance" : 80, "score_previous_day" : 88, "score_previous_night" : 76, "score_recovery_index" : 79, "score_resting_hr" : 81, "score_sleep_balance" : 76, "score_temperature" : 97, "summary_date" : "2021-02-25"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"period_id": {"type": "integer"}, "rest_mode_state": {"type": "integer"}, "score": {"type": "integer"}, "score_activity_balance": {"type": "integer"}, "score_previous_day": {"type": "integer"}, "score_previous_night": {"type": "integer"}, "score_recovery_index": {"type": "integer"}, "score_resting_hr": {"type": "integer"}, "score_sleep_balance": {"type": "integer"}, "score_temperature": {"type": "integer"}, "summary_date": {"type": "string"}}, "required": ["period_id", "rest_mode_state", "score", "score_activity_balance", "score_previous_day", "score_previous_night", "score_recovery_index", "score_resting_hr", "score_sleep_balance", "score_temperature", "summary_date"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"NoEnderPick": {"type": "boolean"}, "NoExplodeBreak": {"type": "boolean"}, "NoFarm": {"type": "boolean"}}, "required": ["NoEnderPick", "NoExplodeBreak", "NoFarm"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"NoEnderPick" : true, "NoExplodeBreak" : true, "NoFarm" : true} | json_instruct | {"type": "object", "properties": {"NoEnderPick": {"type": "boolean"}, "NoExplodeBreak": {"type": "boolean"}, "NoFarm": {"type": "boolean"}}, "required": ["NoEnderPick", "NoExplodeBreak", "NoFarm"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"appref": {"type": "string"}}, "required": ["appref"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"appref" : "v3.0.61"} | json_instruct | {"type": "object", "properties": {"appref": {"type": "string"}}, "required": ["appref"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"Time": {"type": "string"}, "Temp": {"type": "number"}, "RelHum": {"type": "integer"}, "WindSpeed": {"type": "number"}, "WindDir": {"type": "integer"}}, "required": ["Time", "Temp", "RelHum", "WindSpeed", "WindDir"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Time" : "2021-10-22T00:00:00Z", "Temp" : 17.8, "RelHum" : 79, "WindSpeed" : 1.9, "WindDir" : 344} | json_instruct | {"type": "object", "properties": {"Time": {"type": "string"}, "Temp": {"type": "number"}, "RelHum": {"type": "integer"}, "WindSpeed": {"type": "number"}, "WindDir": {"type": "integer"}}, "required": ["Time", "Temp", "RelHum", "WindSpeed", "WindDir"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"watch": {"type": "array", "items": {"type": "string"}}, "ext": {"type": "string"}, "ignore": {"type": "array", "items": {"type": "string"}}, "exec": {"type": "string"}}, "required": ["watch", "ext", "ignore", "exec"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"watch" : ["app"], "ext" : "js", "ignore" : ["tests", "dist", "node_modules"], "exec" : "node app/starter.js"} | json_instruct | {"type": "object", "properties": {"watch": {"type": "array", "items": {"type": "string"}}, "ext": {"type": "string"}, "ignore": {"type": "array", "items": {"type": "string"}}, "exec": {"type": "string"}}, "required": ["watch", "ext", "ignore", "exec"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "10e1ac0515ac61b915346f76f7c5f00910c52265"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$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"}, "private": {"type": "string"}, "scripts": {"type": "object", "properties": {"build:proofs": {"type": "string"}, "deploy:testnet": {"type": "string"}, "deploy:mainnet": {"type": "string"}, "build:addresses": {"type": "string"}}, "required": ["build:proofs", "deploy:testnet", "deploy:mainnet", "build:addresses"]}, "dependencies": {"type": "object", "properties": {"@truffle/hdwallet-provider": {"type": "string"}, "dotenv": {"type": "string"}, "eol": {"type": "string"}, "ethers": {"type": "string"}, "ts-node": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["@truffle/hdwallet-provider", "dotenv", "eol", "ethers", "ts-node", "typescript"]}}, "required": ["name", "version", "private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "@foxcookieco/airdrop", "version" : "1.0.0", "private" : "true", "scripts" : {"build:proofs" : "rm -rf merkle_proofs && mkdir merkle_proofs && node --max_old_space_size=8192 -r ts-node/register ./src/generateProofs.ts", "deploy:testnet" : "rm -rf build && truffle migrate --network ropsten", "deploy:mainnet" : "rm -rf build && truffle migrate --network mainnet", "build:addresses" : "rm -f final-airdrop-addresses.csv && node --max_old_space_size=8192 -r ts-node/register ./src/addTestAddresses.ts"}, "dependencies" : {"@truffle/hdwallet-provider" : "^1.3.0", "dotenv" : "^8.5.1", "eol" : "^0.9.1", "ethers" : "^5.1.4", "ts-node" : "^9.1.1", "typescript" : "^4.2.4"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "private": {"type": "string"}, "scripts": {"type": "object", "properties": {"build:proofs": {"type": "string"}, "deploy:testnet": {"type": "string"}, "deploy:mainnet": {"type": "string"}, "build:addresses": {"type": "string"}}, "required": ["build:proofs", "deploy:testnet", "deploy:mainnet", "build:addresses"]}, "dependencies": {"type": "object", "properties": {"@truffle/hdwallet-provider": {"type": "string"}, "dotenv": {"type": "string"}, "eol": {"type": "string"}, "ethers": {"type": "string"}, "ts-node": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["@truffle/hdwallet-provider", "dotenv", "eol", "ethers", "ts-node", "typescript"]}}, "required": ["name", "version", "private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "object", "properties": {"TEST_PREDICTIONS_PATHS": {"type": "array", "items": {"type": "string"}}, "OOF_PREDICTIONS_PATHS": {"type": "array", "items": {"type": "string"}}, "OUT_DIR": {"type": "string"}}, "required": ["TEST_PREDICTIONS_PATHS", "OOF_PREDICTIONS_PATHS", "OUT_DIR"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"TEST_PREDICTIONS_PATHS" : ["wavenet_1/test_wavenet_proba.npy", "wavenet_2/test_wavenet_proba.npy"], "OOF_PREDICTIONS_PATHS" : ["wavenet_1/train_wavenet_proba.npy", "wavenet_2/train_wavenet_proba.npy"], "OUT_DIR" : "wavenet_blend/"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"TEST_PREDICTIONS_PATHS": {"type": "array", "items": {"type": "string"}}, "OOF_PREDICTIONS_PATHS": {"type": "array", "items": {"type": "string"}}, "OUT_DIR": {"type": "string"}}, "required": ["TEST_PREDICTIONS_PATHS", "OOF_PREDICTIONS_PATHS", "OUT_DIR"]}, "$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"}, "description": {"type": "string"}, "license": {"type": "null"}, "starNum": {"type": "integer"}, "folkNum": {"type": "integer"}, "watchNum": {"type": "integer"}, "topic": {"type": "array", "items": {}}}, "required": ["name", "description", "license", "starNum", "folkNum", "watchNum", "topic"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "python", "description" : "Some python projects that I've created over the years.", "license" : null, "starNum" : 182, "folkNum" : 106, "watchNum" : 182, "topic" : []} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "null"}, "starNum": {"type": "integer"}, "folkNum": {"type": "integer"}, "watchNum": {"type": "integer"}, "topic": {"type": "array", "items": {}}}, "required": ["name", "description", "license", "starNum", "folkNum", "watchNum", "topic"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"configuration": {"type": "array", "items": {"type": "string"}}, "regionsToProcessedPerformance": {"type": "object", "properties": {"b9d60924-9573-4fb1-b339-28123e3d00f8": {"type": "integer"}, "program": {"type": "integer"}}, "required": ["b9d60924-9573-4fb1-b339-28123e3d00f8", "program"]}}, "required": ["configuration", "regionsToProcessedPerformance"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"configuration" : ["INVERTMATCH", "WHOLELINE", "MATCHINGFILES"], "regionsToProcessedPerformance" : {"b9d60924-9573-4fb1-b339-28123e3d00f8" : 1623770962, "program" : 602735980}} | json_instruct | {"type": "object", "properties": {"configuration": {"type": "array", "items": {"type": "string"}}, "regionsToProcessedPerformance": {"type": "object", "properties": {"b9d60924-9573-4fb1-b339-28123e3d00f8": {"type": "integer"}, "program": {"type": "integer"}}, "required": ["b9d60924-9573-4fb1-b339-28123e3d00f8", "program"]}}, "required": ["configuration", "regionsToProcessedPerformance"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"v": {"type": "array", "items": {"type": "string"}}, "l": {"type": "array", "items": {"type": "integer"}}, "c": {"type": "array", "items": {"type": "integer"}}, "m": {"type": "array", "items": {"type": "null"}}}, "required": ["v", "l", "c", "m"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"v" : ["laighs", "langue", "lathes", "launce", "leaves", "length", "liangs", "lichts", "lignes", "lithos", "loaves", "loughs", "loupes", "lymphs"], "l" : [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], "c" : [2526, 2534, 2548, 2551, 2568, 2585, 2593, 2597, 2609, 2630, 2638, 2677, 2680, 2724], "m" : [null, null, null, null, null, null, null, null, null, null, null, null, null, null]} | json_instruct | {"type": "object", "properties": {"v": {"type": "array", "items": {"type": "string"}}, "l": {"type": "array", "items": {"type": "integer"}}, "c": {"type": "array", "items": {"type": "integer"}}, "m": {"type": "array", "items": {"type": "null"}}}, "required": ["v", "l", "c", "m"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "string"}, "originalId": {"type": "integer"}, "rarity": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "load": {"type": "integer"}, "energy": {"type": "integer"}, "category": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "category": {"type": "string"}, "type": {"type": "string"}}, "required": ["id", "category", "type"]}}}, "required": ["id", "originalId", "rarity", "name", "description", "load", "energy", "category"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "thoughts_beyond_the_pale", "originalId" : 372331, "rarity" : 3, "name" : "\"Rencana Masuk Lubang Buaya\"", "description" : "Pohon sakura dengan warna yang unik karena tumbuh di wilayah dengan saturasi Electro yang tinggi. Warnanya lebih ringan dan pucat dari biasanya,\\nPohon sakura seperti ini sering ditemani monster yang siap menyergap atau teka-teki yang rumit. Tapi bagi siapa pun yang ingin mendapatkan inspirasi dari pohon ini, risiko seperti itu bukan masalah sama sekali.", "load" : 50, "energy" : 20, "category" : [{"id" : 10003, "category" : "Pohon", "type" : "Exterior"}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "originalId": {"type": "integer"}, "rarity": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "load": {"type": "integer"}, "energy": {"type": "integer"}, "category": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "category": {"type": "string"}, "type": {"type": "string"}}, "required": ["id", "category", "type"]}}}, "required": ["id", "originalId", "rarity", "name", "description", "load", "energy", "category"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"$schema": {"type": "string"}, "name": {"type": "string"}, "scopeName": {"type": "string"}, "fileTypes": {"type": "array", "items": {"type": "string"}}, "patterns": {"type": "array", "items": {"type": "object", "properties": {"include": {"type": "string"}}, "required": ["include"]}}, "repository": {"type": "object", "properties": {"keywords": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"match": {"type": "string"}, "name": {"type": "string"}}, "required": ["match", "name"]}}}, "required": ["patterns"]}, "variables": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"match": {"type": "string"}, "name": {"type": "string"}}, "required": ["match", "name"]}}}, "required": ["patterns"]}, "comments": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "match": {"type": "string"}}, "required": ["name", "match"]}}}, "required": ["patterns"]}}, "required": ["keywords", "variables", "comments"]}}, "required": ["$schema", "name", "scopeName", "fileTypes", "patterns", "repository"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"$schema" : "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name" : "tree", "scopeName" : "source.tree", "fileTypes" : ["tree"], "patterns" : [{"include" : "#comments"}, {"include" : "#variables"}, {"include" : "#keywords"}], "repository" : {"keywords" : {"patterns" : [{"match" : "(?<=\u251c\u2500\u2500|\u2514\u2500\u2500)[^/]+", "name" : "keyword.filename"}]}, "variables" : {"patterns" : [{"match" : "(\u251c\u2500\u2500|\u2502|\u2514\u2500\u2500)", "name" : "variable.trunk.tree"}]}, "comments" : {"patterns" : [{"name" : "comment.line.documentation.tree", "match" : "//.*"}]}}} | json_instruct | {"type": "object", "properties": {"$schema": {"type": "string"}, "name": {"type": "string"}, "scopeName": {"type": "string"}, "fileTypes": {"type": "array", "items": {"type": "string"}}, "patterns": {"type": "array", "items": {"type": "object", "properties": {"include": {"type": "string"}}, "required": ["include"]}}, "repository": {"type": "object", "properties": {"keywords": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"match": {"type": "string"}, "name": {"type": "string"}}, "required": ["match", "name"]}}}, "required": ["patterns"]}, "variables": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"match": {"type": "string"}, "name": {"type": "string"}}, "required": ["match", "name"]}}}, "required": ["patterns"]}, "comments": {"type": "object", "properties": {"patterns": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "match": {"type": "string"}}, "required": ["name", "match"]}}}, "required": ["patterns"]}}, "required": ["keywords", "variables", "comments"]}}, "required": ["$schema", "name", "scopeName", "fileTypes", "patterns", "repository"], "$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"}, "dependencies": {"type": "object", "properties": {}, "required": []}, "devDependencies": {"type": "object", "properties": {"gulp": {"type": "string"}, "gulp-sass": {"type": "string"}, "gulp-minify-css": {"type": "string"}, "gulp-rename": {"type": "string"}}, "required": ["gulp", "gulp-sass", "gulp-minify-css", "gulp-rename"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "dependencies", "devDependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "{{ project_name }}", "dependencies" : {}, "devDependencies" : {"gulp" : "^3.5.6", "gulp-sass" : "~2.0.1", "gulp-minify-css" : "^0.3.0", "gulp-rename" : "^1.2.0"}, "engines" : {"node" : ">=0.10.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "dependencies": {"type": "object", "properties": {}, "required": []}, "devDependencies": {"type": "object", "properties": {"gulp": {"type": "string"}, "gulp-sass": {"type": "string"}, "gulp-minify-css": {"type": "string"}, "gulp-rename": {"type": "string"}}, "required": ["gulp", "gulp-sass", "gulp-minify-css", "gulp-rename"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "dependencies", "devDependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1996, 5], [1998, 5], [1999, 7], [2002, 6], [2003, 5], [2004, 5], [2005, 7], [2006, 6], [2012, 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": {"compilerOptions": {"type": "object", "properties": {"allowJs": {"type": "boolean"}, "checkJs": {"type": "boolean"}, "noEmit": {"type": "boolean"}, "strict": {"type": "boolean"}, "noImplicitAny": {"type": "boolean"}, "strictNullChecks": {"type": "boolean"}, "moduleResolution": {"type": "string"}, "esModuleInterop": {"type": "boolean"}, "lib": {"type": "array", "items": {"type": "string"}}}, "required": ["allowJs", "checkJs", "noEmit", "strict", "noImplicitAny", "strictNullChecks", "moduleResolution", "esModuleInterop", "lib"]}, "include": {"type": "array", "items": {"type": "string"}}}, "required": ["compilerOptions", "include"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"compilerOptions" : {"allowJs" : true, "checkJs" : true, "noEmit" : true, "strict" : true, "noImplicitAny" : true, "strictNullChecks" : true, "moduleResolution" : "node", "esModuleInterop" : true, "lib" : ["esnext", "DOM", "webworker"]}, "include" : ["src"]} | json_instruct | {"type": "object", "properties": {"compilerOptions": {"type": "object", "properties": {"allowJs": {"type": "boolean"}, "checkJs": {"type": "boolean"}, "noEmit": {"type": "boolean"}, "strict": {"type": "boolean"}, "noImplicitAny": {"type": "boolean"}, "strictNullChecks": {"type": "boolean"}, "moduleResolution": {"type": "string"}, "esModuleInterop": {"type": "boolean"}, "lib": {"type": "array", "items": {"type": "string"}}}, "required": ["allowJs", "checkJs", "noEmit", "strict", "noImplicitAny", "strictNullChecks", "moduleResolution", "esModuleInterop", "lib"]}, "include": {"type": "array", "items": {"type": "string"}}}, "required": ["compilerOptions", "include"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"edges": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}, "features": {"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}, "16": {"type": "string"}, "17": {"type": "string"}, "18": {"type": "string"}, "19": {"type": "string"}, "20": {"type": "string"}, "21": {"type": "string"}, "22": {"type": "string"}, "23": {"type": "string"}, "24": {"type": "string"}, "25": {"type": "string"}, "26": {"type": "string"}, "27": {"type": "string"}, "28": {"type": "string"}, "29": {"type": "string"}, "30": {"type": "string"}, "31": {"type": "string"}, "32": {"type": "string"}, "33": {"type": "string"}, "34": {"type": "string"}, "35": {"type": "string"}, "36": {"type": "string"}, "37": {"type": "string"}, "38": {"type": "string"}, "39": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39"]}}, "required": ["edges", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"edges" : [[22, 8], [35, 5], [35, 19], [35, 20], [32, 35], [35, 3], [35, 24], [39, 31], [25, 35], [31, 35], [35, 17], [35, 0], [12, 13], [35, 5], [8, 35], [7, 35], [35, 15], [35, 11], [33, 35], [8, 6], [22, 30], [34, 18], [31, 35], [35, 31], [2, 35], [23, 10], [15, 35], [15, 35], [16, 9], [35, 21], [35, 5], [8, 35], [8, 35], [26, 29], [35, 24], [35, 4], [31, 35], [35, 5], [28, 35], [5, 35], [24, 35], [27, 36], [14, 35], [8, 35], [35, 37], [1, 35], [13, 38], [11, 35], [28, 35]], "features" : {"0" : "1", "1" : "1", "2" : "1", "3" : "1", "4" : "1", "5" : "5", "6" : "1", "7" : "1", "8" : "6", "9" : "1", "10" : "1", "11" : "2", "12" : "1", "13" : "2", "14" : "1", "15" : "3", "16" : "1", "17" : "1", "18" : "1", "19" : "1", "20" : "1", "21" : "1", "22" : "2", "23" : "1", "24" : "3", "25" : "1", "26" : "1", "27" : "1", "28" : "2", "29" : "1", "30" : "1", "31" : "5", "32" : "1", "33" : "1", "34" : "1", "35" : "38", "36" : "1", "37" : "1", "38" : "1", "39" : "1"}} | json_instruct | {"type": "object", "properties": {"edges": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}, "features": {"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}, "16": {"type": "string"}, "17": {"type": "string"}, "18": {"type": "string"}, "19": {"type": "string"}, "20": {"type": "string"}, "21": {"type": "string"}, "22": {"type": "string"}, "23": {"type": "string"}, "24": {"type": "string"}, "25": {"type": "string"}, "26": {"type": "string"}, "27": {"type": "string"}, "28": {"type": "string"}, "29": {"type": "string"}, "30": {"type": "string"}, "31": {"type": "string"}, "32": {"type": "string"}, "33": {"type": "string"}, "34": {"type": "string"}, "35": {"type": "string"}, "36": {"type": "string"}, "37": {"type": "string"}, "38": {"type": "string"}, "39": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39"]}}, "required": ["edges", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "patternId": {"type": "string"}, "severity": {"type": "integer"}, "line": {"type": "integer"}, "column": {"type": "integer"}, "content": {"type": "string"}}, "required": ["name", "patternId", "severity", "line", "column", "content"]}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"contract" : "0x91f5f7fa8c7030f4d1ce841142386ebed7589ced", "tool" : "smartcheck", "start" : 1563564096.454344, "end" : 1563564104.3067071, "duration" : 7.852363109588623, "analysis" : [{"name" : "SOLIDITY_PRAGMAS_VERSION", "patternId" : "23fc32", "severity" : 1, "line" : 1, "column" : 16, "content" : "^"}, {"name" : "SOLIDITY_UPGRADE_TO_050", "patternId" : "341gim", "severity" : 1, "line" : 20, "column" : 8, "content" : "string_tokenName"}, {"name" : "SOLIDITY_UPGRADE_TO_050", "patternId" : "341gim", "severity" : 1, "line" : 22, "column" : 8, "content" : "string_tokenSymbol"}]} | json_instruct | {"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "patternId": {"type": "string"}, "severity": {"type": "integer"}, "line": {"type": "integer"}, "column": {"type": "integer"}, "content": {"type": "string"}}, "required": ["name", "patternId", "severity", "line", "column", "content"]}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"limit": {"type": "integer"}, "name": {"type": "string"}, "value": {"type": "integer"}, "highalch": {"type": "integer"}, "id": {"type": "integer"}, "lowalch": {"type": "integer"}, "name_pt": {"type": "string"}, "price": {"type": "integer"}, "last": {"type": "integer"}}, "required": ["limit", "name", "value", "highalch", "id", "lowalch", "name_pt", "price", "last"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"limit" : 10000, "name" : "Clean harralander", "value" : 20, "highalch" : 12, "id" : 255, "lowalch" : 8, "name_pt" : "Harralander limpo", "price" : 1655, "last" : 1655} | json_instruct | {"type": "object", "properties": {"limit": {"type": "integer"}, "name": {"type": "string"}, "value": {"type": "integer"}, "highalch": {"type": "integer"}, "id": {"type": "integer"}, "lowalch": {"type": "integer"}, "name_pt": {"type": "string"}, "price": {"type": "integer"}, "last": {"type": "integer"}}, "required": ["limit", "name", "value", "highalch", "id", "lowalch", "name_pt", "price", "last"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"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" : 101928025, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes_pg", "src:geom" : "quattroshapes_pg", "wof:geomhash" : "ffa67897e5d0c766bd0629ba06e9e1e9", "wof:id" : 101928025, "wof:repo" : "whosonfirst-data-admin-za"}, "bbox" : [18.38167, -33.96045, 18.38167, -33.96045], "geometry" : {"coordinates" : [18.38167, -33.96045], "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#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "string"}, "url": {"type": "string"}, "name": {"type": "string"}, "count_objects": {"type": "string"}, "supersedes": {"type": "string"}, "superseded_by": {"type": "string"}}, "required": ["id", "url", "name", "count_objects", "supersedes", "superseded_by"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "35460627", "url" : "http://collection.cooperhewitt.org/types/35460627/", "name" : "Shallow Bowl", "count_objects" : "1", "supersedes" : "0", "superseded_by" : "0"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "url": {"type": "string"}, "name": {"type": "string"}, "count_objects": {"type": "string"}, "supersedes": {"type": "string"}, "superseded_by": {"type": "string"}}, "required": ["id", "url", "name", "count_objects", "supersedes", "superseded_by"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "abv": {"type": "number"}, "ibu": {"type": "number"}, "srm": {"type": "number"}, "upc": {"type": "integer"}, "type": {"type": "string"}, "brewery_id": {"type": "string"}, "updated": {"type": "string"}, "description": {"type": "string"}, "style": {"type": "string"}, "category": {"type": "string"}}, "required": ["name", "abv", "ibu", "srm", "upc", "type", "brewery_id", "updated", "description", "style", "category"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Poe Paddy Porter", "abv" : 0.0, "ibu" : 0.0, "srm" : 0.0, "upc" : 0, "type" : "beer", "brewery_id" : "elk_creek_cafe_and_aleworks", "updated" : "2010-07-22 20:00:20", "description" : "Named for our beloved State Park this Robust Porter draws its uniquely enticing roasted character from a thoughtful combination of malts. Generous hop additions ensure a satisfying beer drinking experience.", "style" : "Porter", "category" : "Irish Ale"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "abv": {"type": "number"}, "ibu": {"type": "number"}, "srm": {"type": "number"}, "upc": {"type": "integer"}, "type": {"type": "string"}, "brewery_id": {"type": "string"}, "updated": {"type": "string"}, "description": {"type": "string"}, "style": {"type": "string"}, "category": {"type": "string"}}, "required": ["name", "abv", "ibu", "srm", "upc", "type", "brewery_id", "updated", "description", "style", "category"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"manifest_version": {"type": "integer"}, "name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "short_name": {"type": "string"}, "homepage_url": {"type": "string"}, "minimum_chrome_version": {"type": "string"}, "permissions": {"type": "array", "items": {"type": "string"}}, "content_scripts": {"type": "array", "items": {"type": "object", "properties": {"run_at": {"type": "string"}, "matches": {"type": "array", "items": {"type": "string"}}, "css": {"type": "array", "items": {"type": "string"}}, "js": {"type": "array", "items": {"type": "string"}}}, "required": ["run_at", "matches", "css", "js"]}}, "browser_action": {"type": "object", "properties": {"default_icon": {"type": "object", "properties": {"16": {"type": "string"}, "32": {"type": "string"}}, "required": ["16", "32"]}}, "required": ["default_icon"]}, "icons": {"type": "object", "properties": {"16": {"type": "string"}, "48": {"type": "string"}, "128": {"type": "string"}}, "required": ["16", "48", "128"]}, "web_accessible_resources": {"type": "array", "items": {"type": "string"}}, "options_page": {"type": "string"}, "content_security_policy": {"type": "string"}, "key": {"type": "string"}}, "required": ["manifest_version", "name", "version", "description", "short_name", "homepage_url", "minimum_chrome_version", "permissions", "content_scripts", "browser_action", "icons", "web_accessible_resources", "options_page", "content_security_policy", "key"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"manifest_version" : 2, "name" : "Orbit", "version" : "0.3.3", "description" : "Get Orbit insights on your community members, directly on GitHub issues and Pull Requests.", "short_name" : "Orbit", "homepage_url" : "https://orbit.love", "minimum_chrome_version" : "42", "permissions" : ["storage"], "content_scripts" : [{"run_at" : "document_start", "matches" : ["https://github.com/*/*/pull/*", "https://github.com/*/*/issues/*"], "css" : ["src/github/orbit-action.css"], "js" : ["src/github/background.js"]}], "browser_action" : {"default_icon" : {"16" : "icons/icon16.png", "32" : "icons/icon32.png"}}, "icons" : {"16" : "icons/icon16.png", "48" : "icons/icon48.png", "128" : "icons/icon128.png"}, "web_accessible_resources" : ["icons/*.png"], "options_page" : "src/options/options.html", "content_security_policy" : "script-src 'self' https://cdn.jsdelivr.net 'unsafe-eval'; object-src 'self'", "key" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjhINKsJLOLT7AkGSNZrD/3TG96SLKOFgik5v7k/Mu4Erkmvead50nzdQkUZaJYx1EUVzlKFebFkCqvFw6RfrPkzUmiaOJVBQOo2BIvlrIIHpXsUctRp7nfeOrhO3OKCQugUrHivBYWcgqabJCXJjvhAKY9LKBjyZMyzoaipNoNGk15O2NGRAm2uDQntnJupf4m7lH1ot2NHtb/4rU02FRVWpb8AxC6FFSJ7JzDob6Y8CmmD9oIFt2DrN2i4b0v5KH0XbveKLiNICQs1KNZYYsn2kckwjV2HOP9x0tRrQK6RIwRGOWTYi6jgPv0S3pQkqTa6Vd0OWWvRozlDdZhU2WwIDAQAB"} | json_instruct | {"type": "object", "properties": {"manifest_version": {"type": "integer"}, "name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "short_name": {"type": "string"}, "homepage_url": {"type": "string"}, "minimum_chrome_version": {"type": "string"}, "permissions": {"type": "array", "items": {"type": "string"}}, "content_scripts": {"type": "array", "items": {"type": "object", "properties": {"run_at": {"type": "string"}, "matches": {"type": "array", "items": {"type": "string"}}, "css": {"type": "array", "items": {"type": "string"}}, "js": {"type": "array", "items": {"type": "string"}}}, "required": ["run_at", "matches", "css", "js"]}}, "browser_action": {"type": "object", "properties": {"default_icon": {"type": "object", "properties": {"16": {"type": "string"}, "32": {"type": "string"}}, "required": ["16", "32"]}}, "required": ["default_icon"]}, "icons": {"type": "object", "properties": {"16": {"type": "string"}, "48": {"type": "string"}, "128": {"type": "string"}}, "required": ["16", "48", "128"]}, "web_accessible_resources": {"type": "array", "items": {"type": "string"}}, "options_page": {"type": "string"}, "content_security_policy": {"type": "string"}, "key": {"type": "string"}}, "required": ["manifest_version", "name", "version", "description", "short_name", "homepage_url", "minimum_chrome_version", "permissions", "content_scripts", "browser_action", "icons", "web_accessible_resources", "options_page", "content_security_policy", "key"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "homepage": {"type": "string"}, "publishConfig": {"type": "object", "properties": {"registry": {"type": "string"}}, "required": ["registry"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"compile": {"type": "string"}, "precompile": {"type": "string"}, "lint": {"type": "string"}, "prepublish": {"type": "string"}}, "required": ["compile", "precompile", "lint", "prepublish"]}, "devDependencies": {"type": "object", "properties": {"@babel/cli": {"type": "string"}, "@babel/core": {"type": "string"}, "@babel/preset-env": {"type": "string"}, "babel-eslint": {"type": "string"}, "eslint": {"type": "string"}, "eslint-config-airbnb": {"type": "string"}, "eslint-plugin-compat": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "eslint-plugin-jsx-a11y": {"type": "string"}, "eslint-plugin-react": {"type": "string"}, "fs-extra": {"type": "string"}}, "required": ["@babel/cli", "@babel/core", "@babel/preset-env", "babel-eslint", "eslint", "eslint-config-airbnb", "eslint-plugin-compat", "eslint-plugin-import", "eslint-plugin-jsx-a11y", "eslint-plugin-react", "fs-extra"]}}, "required": ["name", "version", "description", "main", "author", "license", "repository", "homepage", "publishConfig", "keywords", "scripts", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "gemfile-parser", "version" : "0.1.0", "description" : "Delightful Node.js Ruby Gemfile and gemspec parser. Converts Gemfiles and gemspecs into easily consumable JSON.", "main" : "lib/index.js", "author" : "dev-cprice", "license" : "MIT", "repository" : {"type" : "git", "url" : "https://github.com/dev-cprice/gemfile-parser.git"}, "homepage" : "https://github.com/dev-cprice/gemfile-parser", "publishConfig" : {"registry" : "https://registry.npmjs.org"}, "keywords" : ["Ruby", "Gemfile", "gemspec", "parser", "Node", "JSON"], "scripts" : {"compile" : "babel src --out-dir lib --copy-files", "precompile" : "rm -rf lib", "lint" : "eslint .", "prepublish" : "yarn run lint && yarn run compile"}, "devDependencies" : {"@babel/cli" : "^7.2.0", "@babel/core" : "^7.2.0", "@babel/preset-env" : "^7.2.0", "babel-eslint" : "^10.0.1", "eslint" : "^5.10.0", "eslint-config-airbnb" : "^17.1.0", "eslint-plugin-compat" : "^2.6.3", "eslint-plugin-import" : "^2.14.0", "eslint-plugin-jsx-a11y" : "^6.1.2", "eslint-plugin-react" : "^7.11.1", "fs-extra" : "^7.0.1"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "homepage": {"type": "string"}, "publishConfig": {"type": "object", "properties": {"registry": {"type": "string"}}, "required": ["registry"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"compile": {"type": "string"}, "precompile": {"type": "string"}, "lint": {"type": "string"}, "prepublish": {"type": "string"}}, "required": ["compile", "precompile", "lint", "prepublish"]}, "devDependencies": {"type": "object", "properties": {"@babel/cli": {"type": "string"}, "@babel/core": {"type": "string"}, "@babel/preset-env": {"type": "string"}, "babel-eslint": {"type": "string"}, "eslint": {"type": "string"}, "eslint-config-airbnb": {"type": "string"}, "eslint-plugin-compat": {"type": "string"}, "eslint-plugin-import": {"type": "string"}, "eslint-plugin-jsx-a11y": {"type": "string"}, "eslint-plugin-react": {"type": "string"}, "fs-extra": {"type": "string"}}, "required": ["@babel/cli", "@babel/core", "@babel/preset-env", "babel-eslint", "eslint", "eslint-config-airbnb", "eslint-plugin-compat", "eslint-plugin-import", "eslint-plugin-jsx-a11y", "eslint-plugin-react", "fs-extra"]}}, "required": ["name", "version", "description", "main", "author", "license", "repository", "homepage", "publishConfig", "keywords", "scripts", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "15", "provinceId" : "73", "regencyId" : "06", "name" : "Bontolempangang"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"areas": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "game_indices": {"type": "array", "items": {"type": "object", "properties": {"game_index": {"type": "integer"}, "generation": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "required": ["game_index", "generation"]}}, "id": {"type": "integer"}, "name": {"type": "string"}, "names": {"type": "array", "items": {"type": "object", "properties": {"language": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}, "name": {"type": "string"}}, "required": ["language", "name"]}}, "region": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "required": ["areas", "game_indices", "id", "name", "names", "region"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"areas" : [{"name" : "iron-room-area", "url" : "/api/v2/location-area/699/"}], "game_indices" : [{"game_index" : 152, "generation" : {"name" : "generation-v", "url" : "/api/v2/generation/5/"}}], "id" : 565, "name" : "iron-room", "names" : [{"language" : {"name" : "ja-Hrkt", "url" : "/api/v2/language/1/"}, "name" : "\u9244\u306e\u9593"}, {"language" : {"name" : "fr", "url" : "/api/v2/language/5/"}, "name" : "Salle Fer"}, {"language" : {"name" : "en", "url" : "/api/v2/language/9/"}, "name" : "Iron Room"}], "region" : {"name" : "unova", "url" : "/api/v2/region/5/"}} | json_instruct | {"type": "object", "properties": {"areas": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "game_indices": {"type": "array", "items": {"type": "object", "properties": {"game_index": {"type": "integer"}, "generation": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "required": ["game_index", "generation"]}}, "id": {"type": "integer"}, "name": {"type": "string"}, "names": {"type": "array", "items": {"type": "object", "properties": {"language": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}, "name": {"type": "string"}}, "required": ["language", "name"]}}, "region": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}, "required": ["areas", "game_indices", "id", "name", "names", "region"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"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" : 101835593, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes", "src:geom" : "quattroshapes", "wof:geomhash" : "28bad9949d913c04bc13f7c63fbbf23a", "wof:id" : 101835593, "wof:repo" : "whosonfirst-data-admin-ro"}, "bbox" : [26.112175, 44.289469, 26.1329, 44.308662], "geometry" : {"coordinates" : [[[26.1329, 44.291074], [26.130169, 44.289469], [26.130224, 44.28966], [26.128996, 44.289853], [26.12925, 44.290731], [26.128022, 44.290925], [26.128276, 44.291803], [26.125819, 44.292189], [26.126073, 44.293067], [26.123616, 44.293454], [26.12387, 44.294332], [26.121414, 44.294719], [26.121668, 44.295597], [26.120439, 44.29579], [26.120693, 44.296668], [26.119465, 44.296861], [26.119718, 44.297739], [26.11849, 44.297933], [26.118744, 44.298811], [26.117515, 44.299004], [26.117769, 44.299882], [26.116541, 44.300075], [26.116795, 44.300953], [26.115566, 44.301147], [26.116074, 44.302903], [26.114845, 44.303096], [26.115099, 44.303974], [26.113871, 44.304167], [26.114125, 44.305045], [26.112896, 44.305238], [26.113404, 44.306994], [26.112175, 44.307188], [26.112429, 44.308066], [26.114886, 44.307679], [26.11514, 44.308557], [26.120055, 44.307784], [26.120309, 44.308662], [26.125223, 44.307889], [26.124969, 44.307011], [26.129884, 44.306238], [26.12963, 44.30536], [26.130858, 44.305166], [26.130604, 44.304288], [26.131833, 44.304095], [26.131578, 44.303217], [26.13035, 44.30341], [26.130096, 44.302532], [26.128867, 44.302726], [26.128613, 44.301848], [26.127385, 44.302041], [26.127131, 44.301163], [26.125902, 44.301356], [26.125394, 44.2996], [26.124166, 44.299794], [26.123404, 44.297159], [26.124632, 44.296966], [26.124378, 44.296088], [26.128063, 44.295508], [26.127555, 44.293752], [26.130012, 44.293365], [26.129758, 44.292487], [26.132215, 44.2921], [26.131961, 44.291222], [26.1329, 44.291074]]], "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#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"word" : "arable", "definition" : "Fit for plowing or tillage; -- hence, often applied to land which has been plowed or tilled.\n\nArable land; plow land."} | json_instruct | {"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"require": {"type": "object", "properties": {"illuminate/console": {"type": "string"}, "illuminate/events": {"type": "string"}}, "required": ["illuminate/console", "illuminate/events"]}, "autoload": {"type": "object", "properties": {"classmap": {"type": "array", "items": {"type": "string"}}}, "required": ["classmap"]}}, "required": ["require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"require" : {"illuminate/console" : "^8.0", "illuminate/events" : "^8.0"}, "autoload" : {"classmap" : ["commands"]}} | json_instruct | {"type": "object", "properties": {"require": {"type": "object", "properties": {"illuminate/console": {"type": "string"}, "illuminate/events": {"type": "string"}}, "required": ["illuminate/console", "illuminate/events"]}, "autoload": {"type": "object", "properties": {"classmap": {"type": "array", "items": {"type": "string"}}}, "required": ["classmap"]}}, "required": ["require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "array", "items": {"type": "object", "properties": {"manufacturer": {"type": "string"}, "market_name": {"type": "string"}, "codename": {"type": "string"}, "model": {"type": "string"}}, "required": ["manufacturer", "market_name", "codename", "model"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"manufacturer" : "Zebra", "market_name" : "Pollux", "codename" : "TC70", "model" : "TC700H"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"manufacturer": {"type": "string"}, "market_name": {"type": "string"}, "codename": {"type": "string"}, "model": {"type": "string"}}, "required": ["manufacturer", "market_name", "codename", "model"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"type": {"type": "string"}, "modid": {"type": "string"}, "name": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "version": {"type": "string"}, "side": {"type": "string"}, "dependencies": {"type": "object", "properties": {"game": {"type": "string"}}, "required": ["game"]}}, "required": ["type", "modid", "name", "authors", "description", "version", "side", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "code", "modid" : "discordbot", "name" : "Discord Bot", "authors" : ["bluelightning32"], "description" : "Server side discord chat integration.", "version" : "1.0.4", "side" : "Server", "dependencies" : {"game" : "1.15.5"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "modid": {"type": "string"}, "name": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "version": {"type": "string"}, "side": {"type": "string"}, "dependencies": {"type": "object", "properties": {"game": {"type": "string"}}, "required": ["game"]}}, "required": ["type", "modid", "name", "authors", "description", "version", "side", "dependencies"], "$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"}, "engineStrict": {"type": "boolean"}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "bin": {"type": "object", "properties": {"httptrace": {"type": "string"}}, "required": ["httptrace"]}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"lib": {"type": "string"}}, "required": ["lib"]}, "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": {"@pureproxy/mitmproxy": {"type": "string"}, "@pureproxy/pureproxy": {"type": "string"}, "@pureproxy/utils": {"type": "string"}}, "required": ["@pureproxy/mitmproxy", "@pureproxy/pureproxy", "@pureproxy/utils"]}}, "required": ["name", "version", "description", "engineStrict", "engines", "bin", "main", "directories", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "@pureproxy/httptrace", "version" : "1.1.0", "description" : "Mitm, intercepting proxy server designed with simplicity and extensibility in mind", "engineStrict" : true, "engines" : {"node" : ">= 11"}, "bin" : {"httptrace" : "bin/httptrace.js"}, "main" : "lib/index.js", "directories" : {"lib" : "lib"}, "scripts" : {"test" : "true"}, "repository" : {"type" : "git", "url" : "git+https://github.com/pureproxy/httptrace.git"}, "keywords" : ["proxy", "server", "stream", "http", "https", "websocket", "websockets", "mitm", "tls", "ssl"], "author" : "pdparchitect", "license" : "MIT", "bugs" : {"url" : "https://github.com/pureproxy/httptrace/issues"}, "homepage" : "https://github.com/pureproxy/httptrace#readme", "dependencies" : {"@pureproxy/mitmproxy" : "^1.1.0", "@pureproxy/pureproxy" : "^1.1.0", "@pureproxy/utils" : "^1.0.1"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "engineStrict": {"type": "boolean"}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "bin": {"type": "object", "properties": {"httptrace": {"type": "string"}}, "required": ["httptrace"]}, "main": {"type": "string"}, "directories": {"type": "object", "properties": {"lib": {"type": "string"}}, "required": ["lib"]}, "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": {"@pureproxy/mitmproxy": {"type": "string"}, "@pureproxy/pureproxy": {"type": "string"}, "@pureproxy/utils": {"type": "string"}}, "required": ["@pureproxy/mitmproxy", "@pureproxy/pureproxy", "@pureproxy/utils"]}}, "required": ["name", "version", "description", "engineStrict", "engines", "bin", "main", "directories", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"965": {"type": "string"}, "967": {"type": "string"}}, "required": ["965", "967"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"965" : "966", "967" : "968"} | json_instruct | {"type": "object", "properties": {"965": {"type": "string"}, "967": {"type": "string"}}, "required": ["965", "967"], "$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.