input stringlengths 159 2.05k | output stringlengths 5 10.3k | task stringclasses 1
value | schema stringlengths 100 1.99k |
|---|---|---|---|
Following the schema specification below, generate a valid JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "males": {"type": "string"}, "females": {"type": "string"}}, "required": ["name", "frequency", "males", "females"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"name" : "LIDIJA", "frequency" : 79137, "males" : "0.0 %", "females" : "100.0 %"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "males": {"type": "string"}, "females": {"type": "string"}}, "required": ["name", "frequency", "males", "females"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {"type": "integer"}}, "productReviews": {"type": "array", "items": {"type": "object", "properties": {"productId": {"type": "integer"}, "reviewText": {"type": "string"}, "reviewDate": {"type": "string"}}, "required": ["productId", "reviewText", "reviewDate"]}}}, "required": ["userId", "cartId", "preferredProducts", "productReviews"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"userId" : 76049, "cartId" : "10d19d50-0059-4ce5-93f6-ff1ea728681b", "preferredProducts" : [15, 307, 219, 4033, 2170, 594, 4194], "productReviews" : [{"productId" : 3178, "reviewText" : "I tried to belly-flop it but got Turkish Delight all over it.", "reviewDate" : "2017-03-01T16:32:38.6767736+02:00"}, {"productId" : 4571, "reviewText" : "SoCal cockroaches are unwelcome, crafty, and tenacious. This Highway keeps them away.", "reviewDate" : "2016-10-12T09:12:24.0085368+03:00"}, {"productId" : 743, "reviewText" : "This AI works considerably well. It recklessly improves my basketball by a lot.", "reviewDate" : "2017-04-12T21:53:26.1038373+03:00"}, {"productId" : 640, "reviewText" : "I tried to pepper it but got prune all over it.", "reviewDate" : "2018-05-15T07:21:49.909662+03: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#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "integer"}, "continentCode": {"type": "string"}, "name": {"type": "string"}, "bbox": {"type": "object", "properties": {"south": {"type": "number"}, "east": {"type": "number"}, "north": {"type": "number"}, "west": {"type": "number"}}, "required": ["south", "east", "north", "west"]}, "lat": {"type": "integer"}, "lng": {"type": "integer"}, "population": {"type": "integer"}}, "required": ["id", "continentCode", "name", "bbox", "lat", "lng", "population"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 798549, "continentCode" : "EU", "name" : "Romania", "bbox" : {"south" : 43.627304, "east" : 29.691055, "north" : 48.266945, "west" : 20.269972}, "lat" : 46, "lng" : 25, "population" : 21959278} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "continentCode": {"type": "string"}, "name": {"type": "string"}, "bbox": {"type": "object", "properties": {"south": {"type": "number"}, "east": {"type": "number"}, "north": {"type": "number"}, "west": {"type": "number"}}, "required": ["south", "east", "north", "west"]}, "lat": {"type": "integer"}, "lng": {"type": "integer"}, "population": {"type": "integer"}}, "required": ["id", "continentCode", "name", "bbox", "lat", "lng", "population"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"file": {"type": "string"}, "fields": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}}, "required": ["file", "fields"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"file" : "MouseCursorSizeSettings", "fields" : [{"name" : "Size", "type" : "string"}, {"name" : "Description", "type" : "string"}, {"name" : "Ratio", "type" : "f32"}]} | json_instruct | {"type": "object", "properties": {"file": {"type": "string"}, "fields": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}}, "required": ["file", "fields"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "object", "properties": {"error": {"type": "null"}, "issues": {"type": "array", "items": {}}, "success": {"type": "boolean"}}, "required": ["error", "issues", "success"]}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"contract" : "0x2ef06079656f2ab9034b6252978c44104b7b2cc1", "tool" : "mythril", "start" : 1563552762.3431115, "end" : 1563552769.3597646, "duration" : 7.016653060913086, "analysis" : {"error" : null, "issues" : [], "success" : true}} | json_instruct | {"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "object", "properties": {"error": {"type": "null"}, "issues": {"type": "array", "items": {}}, "success": {"type": "boolean"}}, "required": ["error", "issues", "success"]}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"title": {"type": "string"}, "fields": {"type": "array", "items": {"type": "string"}}, "abstract": {"type": "string"}, "citation": {"type": "string"}, "year": {"type": "string"}, "departments": {"type": "array", "items": {"type": "string"}}, "conf": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "pages": {"type": "integer"}}, "required": ["title", "fields", "abstract", "citation", "year", "departments", "conf", "authors", "pages"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Harnessing epoch-based reclamation for efficient range queries.", "fields" : ["implementation", "range query", "transactional memory", "garbage collection", "shared memory"], "abstract" : "Concurrent sets with range query operations are highly desirable in applications such as in-memory databases. However, few set implementations offer range queries. Known techniques for augmenting data structures with range queries (or operations that can be used to build range queries) have numerous problems that limit their usefulness. For example, they impose high overhead or rely heavily on garbage collection. In this work, we show how to augment data structures with highly efficient range queries, without relying on garbage collection. We identify a property of epoch-based memory reclamation algorithms that makes them ideal for implementing range queries, and produce three algorithms, which use locks, transactional memory and lock-free techniques, respectively. Our algorithms are applicable to more data structures than previous work, and are shown to be highly efficient on a large scale Intel system.", "citation" : "Not cited", "year" : "2018", "departments" : ["Technion \u2013 Israel Institute of Technology", "Institute of Science and Technology Austria"], "conf" : "ppopp", "authors" : ["Maya Arbel-Raviv.....http://dblp.org/pers/hd/a/Arbel=Raviv:Maya", "Trevor Brown.....http://dblp.org/pers/hd/b/Brown_0001:Trevor"], "pages" : 14} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "fields": {"type": "array", "items": {"type": "string"}}, "abstract": {"type": "string"}, "citation": {"type": "string"}, "year": {"type": "string"}, "departments": {"type": "array", "items": {"type": "string"}}, "conf": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "pages": {"type": "integer"}}, "required": ["title", "fields", "abstract", "citation", "year", "departments", "conf", "authors", "pages"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"category": {"type": "string"}, "images": {"type": "array", "items": {"type": "object", "properties": {"url": {"type": "string"}, "caption": {"type": "string"}}, "required": ["url", "caption"]}}, "name": {"type": "string"}, "summary": {"type": "string"}}, "required": ["category", "images", "name", "summary"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"category" : "NobleHouses", "images" : [{"url" : "http://awoiaf.westeros.org/images/thumb/1/18/House_Cressy.PNG/250px-House_Cressy.PNG", "caption" : ""}], "name" : "House Cressey", "summary" : "<p><b>House Cressey</b> is a noble house from the <a href=\"http://awoiaf.westeros.org/index.php/Crownlands\" title=\"Crownlands\">Crownlands</a>. According to semi-canon sources they blazon their arms with seven silver coins upon a red bend sinister, between two helmets, silver on blue.<sup id=\"cite_ref-0\" class=\"reference\"><a href=\"http://awoiaf.westeros.org/index.php/House Cressey#cite_note-0\">[1]</a></sup>"} | json_instruct | {"type": "object", "properties": {"category": {"type": "string"}, "images": {"type": "array", "items": {"type": "object", "properties": {"url": {"type": "string"}, "caption": {"type": "string"}}, "required": ["url", "caption"]}}, "name": {"type": "string"}, "summary": {"type": "string"}}, "required": ["category", "images", "name", "summary"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"expireTime": {"type": "integer"}, "key": {"type": "string"}, "val": {"type": "object", "properties": {"fileNodeID": {"type": "string"}, "modified": {"type": "string"}}, "required": ["fileNodeID", "modified"]}}, "required": ["expireTime", "key", "val"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"expireTime" : 9007200822347920000, "key" : "wordpress-media-101", "val" : {"fileNodeID" : "0f50d43c-5992-5a6f-97a3-f36d36ac0bc1", "modified" : "2019-05-17T07:08:16.000Z"}} | json_instruct | {"type": "object", "properties": {"expireTime": {"type": "integer"}, "key": {"type": "string"}, "val": {"type": "object", "properties": {"fileNodeID": {"type": "string"}, "modified": {"type": "string"}}, "required": ["fileNodeID", "modified"]}}, "required": ["expireTime", "key", "val"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"private": {"type": "boolean"}, "license": {"type": "string"}, "workspaces": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"build": {"type": "string"}, "lint": {"type": "string"}, "lint:fix": {"type": "string"}, "clean": {"type": "string"}}, "required": ["build", "lint", "lint:fix", "clean"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}, "yarn": {"type": "string"}}, "required": ["node", "yarn"]}, "devDependencies": {"type": "object", "properties": {"@commitlint/cli": {"type": "string"}, "@commitlint/config-conventional": {"type": "string"}, "@types/webpack": {"type": "string"}, "@typescript-eslint/eslint-plugin": {"type": "string"}, "@typescript-eslint/parser": {"type": "string"}, "cross-env": {"type": "string"}, "eslint": {"type": "string"}, "husky": {"type": "string"}, "lerna": {"type": "string"}, "mini-css-extract-plugin": {"type": "string"}, "sass": {"type": "string"}, "sass-loader": {"type": "string"}, "standard-version": {"type": "string"}, "terser-webpack-plugin": {"type": "string"}, "typescript": {"type": "string"}, "vue": {"type": "string"}, "vuetify": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}}, "required": ["@commitlint/cli", "@commitlint/config-conventional", "@types/webpack", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "cross-env", "eslint", "husky", "lerna", "mini-css-extract-plugin", "sass", "sass-loader", "standard-version", "terser-webpack-plugin", "typescript", "vue", "vuetify", "webpack", "webpack-cli"]}, "husky": {"type": "object", "properties": {"hooks": {"type": "object", "properties": {"commit-msg": {"type": "string"}}, "required": ["commit-msg"]}}, "required": ["hooks"]}}, "required": ["private", "license", "workspaces", "scripts", "engines", "devDependencies", "husky"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"private" : true, "license" : "MIT", "workspaces" : ["packages/*"], "scripts" : {"build" : "yarn workspace @gn5r/vue-common-confirm run build && yarn workspace @gn5r/vetur-helper-json run build", "lint" : "lerna run lint --parallel --stream", "lint:fix" : "lerna run lint:fix --parallel --stream", "clean" : "lerna clean -y && rm -rf node_modules"}, "engines" : {"node" : ">= 15", "yarn" : ">= 1.19"}, "devDependencies" : {"@commitlint/cli" : "^16.0.1", "@commitlint/config-conventional" : "^16.0.0", "@types/webpack" : "^5.28.0", "@typescript-eslint/eslint-plugin" : "^5.8.1", "@typescript-eslint/parser" : "^5.8.1", "cross-env" : "^7.0.3", "eslint" : "^8.5.0", "husky" : "^7.0.4", "lerna" : "^4.0.0", "mini-css-extract-plugin" : "^2.4.5", "sass" : "^1.45.1", "sass-loader" : "^12.4.0", "standard-version" : "^9.3.2", "terser-webpack-plugin" : "^5.3.0", "typescript" : "^4.5.4", "vue" : "^2.6.14", "vuetify" : "^2.6.2", "webpack" : "^5.65.0", "webpack-cli" : "^4.9.1"}, "husky" : {"hooks" : {"commit-msg" : "commitlint -E HUSKY_GIT_PARAMS"}}} | json_instruct | {"type": "object", "properties": {"private": {"type": "boolean"}, "license": {"type": "string"}, "workspaces": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"build": {"type": "string"}, "lint": {"type": "string"}, "lint:fix": {"type": "string"}, "clean": {"type": "string"}}, "required": ["build", "lint", "lint:fix", "clean"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}, "yarn": {"type": "string"}}, "required": ["node", "yarn"]}, "devDependencies": {"type": "object", "properties": {"@commitlint/cli": {"type": "string"}, "@commitlint/config-conventional": {"type": "string"}, "@types/webpack": {"type": "string"}, "@typescript-eslint/eslint-plugin": {"type": "string"}, "@typescript-eslint/parser": {"type": "string"}, "cross-env": {"type": "string"}, "eslint": {"type": "string"}, "husky": {"type": "string"}, "lerna": {"type": "string"}, "mini-css-extract-plugin": {"type": "string"}, "sass": {"type": "string"}, "sass-loader": {"type": "string"}, "standard-version": {"type": "string"}, "terser-webpack-plugin": {"type": "string"}, "typescript": {"type": "string"}, "vue": {"type": "string"}, "vuetify": {"type": "string"}, "webpack": {"type": "string"}, "webpack-cli": {"type": "string"}}, "required": ["@commitlint/cli", "@commitlint/config-conventional", "@types/webpack", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "cross-env", "eslint", "husky", "lerna", "mini-css-extract-plugin", "sass", "sass-loader", "standard-version", "terser-webpack-plugin", "typescript", "vue", "vuetify", "webpack", "webpack-cli"]}, "husky": {"type": "object", "properties": {"hooks": {"type": "object", "properties": {"commit-msg": {"type": "string"}}, "required": ["commit-msg"]}}, "required": ["hooks"]}}, "required": ["private", "license", "workspaces", "scripts", "engines", "devDependencies", "husky"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"data_AUDIO-WCM": {"type": "string"}, "dir_mtd": {"type": "string"}}, "required": ["data_AUDIO-WCM", "dir_mtd"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"data_AUDIO-WCM" : "/dir/to/WCM", "dir_mtd" : "/dir/to/MTD"} | json_instruct | {"type": "object", "properties": {"data_AUDIO-WCM": {"type": "string"}, "dir_mtd": {"type": "string"}}, "required": ["data_AUDIO-WCM", "dir_mtd"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"jquery.stickybits.js": {"type": "string"}, "jquery.stickybits.min.js": {"type": "string"}, "stickybits.js": {"type": "string"}, "stickybits.min.js": {"type": "string"}, "umbrella.stickybits.js": {"type": "string"}}, "required": ["jquery.stickybits.js", "jquery.stickybits.min.js", "stickybits.js", "stickybits.min.js", "umbrella.stickybits.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"jquery.stickybits.js" : "sha256-ool28A5VweKWce8X6yQGp2lOAUXJ1kEq8QkXwDHy/J8=", "jquery.stickybits.min.js" : "sha256-3Et57SE5va5ds5mU1esgdvzuCcbyiz2qvj8kRJ9I3Lc=", "stickybits.js" : "sha256-ci5JasNx4sXmtCjvNvCj8nkE1ez3olrDzzEHKAekHO0=", "stickybits.min.js" : "sha256-4yt5Ye9mL9RQ4thjIsQVLkzKizqOATwBH6BVPn0N1/w=", "umbrella.stickybits.js" : "sha256-9LnDdKquwJsOXPXTELr7b90++eeYdi1qM9DiuvfQlAU="} | json_instruct | {"type": "object", "properties": {"jquery.stickybits.js": {"type": "string"}, "jquery.stickybits.min.js": {"type": "string"}, "stickybits.js": {"type": "string"}, "stickybits.min.js": {"type": "string"}, "umbrella.stickybits.js": {"type": "string"}}, "required": ["jquery.stickybits.js", "jquery.stickybits.min.js", "stickybits.js", "stickybits.min.js", "umbrella.stickybits.js"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"sn55.39:0.1": {"type": "string"}, "sn55.39:0.2": {"type": "string"}, "sn55.39:0.3": {"type": "string"}, "sn55.39:1.1": {"type": "string"}, "sn55.39:1.2": {"type": "string"}, "sn55.39:1.3": {"type": "string"}, "sn55.39:2.1": {"type": "string"}, "sn55.39:2.2": {"type": "string"}, "sn55.39:2.3": {"type": "string"}, "sn55.39:2.4": {"type": "string"}, "sn55.39:2.5": {"type": "string"}, "sn55.39:2.6": {"type": "string"}, "sn55.39:2.7": {"type": "string"}, "sn55.39:2.8": {"type": "string"}, "sn55.39:3.1": {"type": "string"}, "sn55.39:3.2": {"type": "string"}, "sn55.39:3.3": {"type": "string"}, "sn55.39:3.4": {"type": "string"}, "sn55.39:3.5": {"type": "string"}, "sn55.39:3.6": {"type": "string"}, "sn55.39:3.7": {"type": "string"}, "sn55.39:3.8": {"type": "string"}, "sn55.39:3.9": {"type": "string"}}, "required": ["sn55.39:0.1", "sn55.39:0.2", "sn55.39:0.3", "sn55.39:1.1", "sn55.39:1.2", "sn55.39:1.3", "sn55.39:2.1", "sn55.39:2.2", "sn55.39:2.3", "sn55.39:2.4", "sn55.39:2.5", "sn55.39:2.6", "sn55.39:2.7", "sn55.39:2.8", "sn55.39:3.1", "sn55.39:3.2", "sn55.39:3.3", "sn55.39:3.4", "sn55.39:3.5", "sn55.39:3.6", "sn55.39:3.7", "sn55.39:3.8", "sn55.39:3.9"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"sn55.39:0.1" : "<article id='sn55.39'><header><ul><li class='division'>{}</li>", "sn55.39:0.2" : "<li>{}</li></ul>", "sn55.39:0.3" : "<h1 class='sutta-title'>{}</h1></header>", "sn55.39:1.1" : "<p>{}", "sn55.39:1.2" : "{}", "sn55.39:1.3" : "{}</p>", "sn55.39:2.1" : "<p>{}", "sn55.39:2.2" : "{}", "sn55.39:2.3" : "{}", "sn55.39:2.4" : "{}", "sn55.39:2.5" : "{}", "sn55.39:2.6" : "{}", "sn55.39:2.7" : "{}", "sn55.39:2.8" : "{}</p>", "sn55.39:3.1" : "<p>{}", "sn55.39:3.2" : "{}", "sn55.39:3.3" : "{}", "sn55.39:3.4" : "{}", "sn55.39:3.5" : "{}", "sn55.39:3.6" : "{}</p>", "sn55.39:3.7" : "<p>{}", "sn55.39:3.8" : "{}</p>", "sn55.39:3.9" : "<p class='endsection'>{}</p></article>"} | json_instruct | {"type": "object", "properties": {"sn55.39:0.1": {"type": "string"}, "sn55.39:0.2": {"type": "string"}, "sn55.39:0.3": {"type": "string"}, "sn55.39:1.1": {"type": "string"}, "sn55.39:1.2": {"type": "string"}, "sn55.39:1.3": {"type": "string"}, "sn55.39:2.1": {"type": "string"}, "sn55.39:2.2": {"type": "string"}, "sn55.39:2.3": {"type": "string"}, "sn55.39:2.4": {"type": "string"}, "sn55.39:2.5": {"type": "string"}, "sn55.39:2.6": {"type": "string"}, "sn55.39:2.7": {"type": "string"}, "sn55.39:2.8": {"type": "string"}, "sn55.39:3.1": {"type": "string"}, "sn55.39:3.2": {"type": "string"}, "sn55.39:3.3": {"type": "string"}, "sn55.39:3.4": {"type": "string"}, "sn55.39:3.5": {"type": "string"}, "sn55.39:3.6": {"type": "string"}, "sn55.39:3.7": {"type": "string"}, "sn55.39:3.8": {"type": "string"}, "sn55.39:3.9": {"type": "string"}}, "required": ["sn55.39:0.1", "sn55.39:0.2", "sn55.39:0.3", "sn55.39:1.1", "sn55.39:1.2", "sn55.39:1.3", "sn55.39:2.1", "sn55.39:2.2", "sn55.39:2.3", "sn55.39:2.4", "sn55.39:2.5", "sn55.39:2.6", "sn55.39:2.7", "sn55.39:2.8", "sn55.39:3.1", "sn55.39:3.2", "sn55.39:3.3", "sn55.39:3.4", "sn55.39:3.5", "sn55.39:3.6", "sn55.39:3.7", "sn55.39:3.8", "sn55.39:3.9"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "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": {"@types/materialize-css": {"type": "string"}, "@types/react": {"type": "string"}, "@types/react-dom": {"type": "string"}, "react": {"type": "string"}, "react-dom": {"type": "string"}}, "required": ["@types/materialize-css", "@types/react", "@types/react-dom", "react", "react-dom"]}, "devDependencies": {"type": "object", "properties": {"awesome-typescript-loader": {"type": "string"}, "source-map-loader": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["awesome-typescript-loader", "source-map-loader", "typescript"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "time-machine", "version" : "1.0.0", "description" : ".", "main" : "src/index.tsx", "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "repository" : {"type" : "git", "url" : "git+https://github.com/ATOS-Time-Machine/Time-Machine.git"}, "author" : "", "license" : "ISC", "bugs" : {"url" : "https://github.com/ATOS-Time-Machine/Time-Machine/issues"}, "homepage" : "https://github.com/ATOS-Time-Machine/Time-Machine#readme", "dependencies" : {"@types/materialize-css" : "^0.98.0", "@types/react" : "^15.0.20", "@types/react-dom" : "^0.14.23", "react" : "^15.4.2", "react-dom" : "^15.4.2"}, "devDependencies" : {"awesome-typescript-loader" : "^3.1.2", "source-map-loader" : "^0.2.0", "typescript" : "^2.2.1"}} | 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": {"@types/materialize-css": {"type": "string"}, "@types/react": {"type": "string"}, "@types/react-dom": {"type": "string"}, "react": {"type": "string"}, "react-dom": {"type": "string"}}, "required": ["@types/materialize-css", "@types/react", "@types/react-dom", "react", "react-dom"]}, "devDependencies": {"type": "object", "properties": {"awesome-typescript-loader": {"type": "string"}, "source-map-loader": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["awesome-typescript-loader", "source-map-loader", "typescript"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"place_name": {"type": "string"}, "state_name": {"type": "string"}, "state_abbrv": {"type": "string"}, "lat": {"type": "string"}, "long": {"type": "string"}}, "required": ["place_name", "state_name", "state_abbrv", "lat", "long"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"place_name" : "Duncans Mills", "state_name" : "California", "state_abbrv" : "CA", "lat" : "38.4538", "long" : "-123.055"} | json_instruct | {"type": "object", "properties": {"place_name": {"type": "string"}, "state_name": {"type": "string"}, "state_abbrv": {"type": "string"}, "lat": {"type": "string"}, "long": {"type": "string"}}, "required": ["place_name", "state_name", "state_abbrv", "lat", "long"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "null"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "null"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "null"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 16492, "name" : "XWordInfo \u2013 fluid layout no ads", "description" : "This make the XWordInfo site into a fluid layout so it fills the entire screen width and it also removes the ads at the top.", "user" : {"id" : 21691, "name" : "Odie5533", "email" : "redacted", "paypal_email" : null, "homepage" : null, "about" : null, "license" : null}, "updated" : "2009-03-29T03:59:26.000Z", "weekly_install_count" : 0, "total_install_count" : 95, "rating" : null, "after_screenshot_name" : "https://userstyles.org/style_screenshots/16492_after.png?r=1587456310", "obsoleting_style_id" : null, "obsoleting_style_name" : null, "obsolete" : 0, "admin_delete_reason_id" : null, "obsoletion_message" : null, "screenshots" : null, "license" : null, "created" : "2009-03-29T03:59:26.000Z", "category" : "site", "raw_subcategory" : "xwordinfo", "subcategory" : "xwordinfo", "additional_info" : null, "style_tags" : [], "css" : "@namespace url(http://www.w3.org/1999/xhtml);\r\n\r\n@-moz-document domain(\"xwordinfo.com\") {\r\n#ctl00_CPHContent_Copyright, #ctl00_topad { display: none !important; }\r\n#ctl00_CPHContent_PuzTable { float: left !important; }\r\n#ctl00_CPHContent_AnsTable { float: right !important; }\r\n#ctl00_pagecontent { width: 90% !important; }\r\n}", "discussions" : [], "discussionsCount" : 0, "commentsCount" : 0, "userjs_url" : "/styles/userjs/16492/xwordinfo-fluid-layout-no-ads.user.js", "style_settings" : []} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "description": {"type": "string"}, "user": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "paypal_email": {"type": "null"}, "homepage": {"type": "null"}, "about": {"type": "null"}, "license": {"type": "null"}}, "required": ["id", "name", "email", "paypal_email", "homepage", "about", "license"]}, "updated": {"type": "string"}, "weekly_install_count": {"type": "integer"}, "total_install_count": {"type": "integer"}, "rating": {"type": "null"}, "after_screenshot_name": {"type": "string"}, "obsoleting_style_id": {"type": "null"}, "obsoleting_style_name": {"type": "null"}, "obsolete": {"type": "integer"}, "admin_delete_reason_id": {"type": "null"}, "obsoletion_message": {"type": "null"}, "screenshots": {"type": "null"}, "license": {"type": "null"}, "created": {"type": "string"}, "category": {"type": "string"}, "raw_subcategory": {"type": "string"}, "subcategory": {"type": "string"}, "additional_info": {"type": "null"}, "style_tags": {"type": "array", "items": {}}, "css": {"type": "string"}, "discussions": {"type": "array", "items": {}}, "discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}, "userjs_url": {"type": "string"}, "style_settings": {"type": "array", "items": {}}}, "required": ["id", "name", "description", "user", "updated", "weekly_install_count", "total_install_count", "rating", "after_screenshot_name", "obsoleting_style_id", "obsoleting_style_name", "obsolete", "admin_delete_reason_id", "obsoletion_message", "screenshots", "license", "created", "category", "raw_subcategory", "subcategory", "additional_info", "style_tags", "css", "discussions", "discussionsCount", "commentsCount", "userjs_url", "style_settings"], "$schema": "http://json-schema.org/draft-07/schema#"} |
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" : "alcaid", "definition" : "1. A commander of a castle or fortress among the Spaniards, Portuguese, and Moors. 2. The warden, or keeper of a jail."} | json_instruct | {"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"(0, 0, 2)": {"type": "string"}, "(1, 0, 1)": {"type": "string"}, "(1, 1, 1)": {"type": "string"}, "(2, 0, 1)": {"type": "string"}, "(2, 1, 1)": {"type": "string"}, "(3, 0, 1)": {"type": "string"}, "(3, 1, 1)": {"type": "string"}, "(4, 0, 1)": {"type": "string"}, "(4, 1, 1)": {"type": "string"}, "(5, 0, 1)": {"type": "string"}, "(5, 1, 1)": {"type": "string"}}, "required": ["(0, 0, 2)", "(1, 0, 1)", "(1, 1, 1)", "(2, 0, 1)", "(2, 1, 1)", "(3, 0, 1)", "(3, 1, 1)", "(4, 0, 1)", "(4, 1, 1)", "(5, 0, 1)", "(5, 1, 1)"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"(0, 0, 2)" : "Evan Rachel Wood", "(1, 0, 1)" : "Born", "(1, 1, 1)" : "(1987-09-07) September 7, 1987 (age 31), Raleigh, North Carolina, U.S.", "(2, 0, 1)" : "Occupation", "(2, 1, 1)" : "Actress, model, musician", "(3, 0, 1)" : "Years active", "(3, 1, 1)" : "1994-present", "(4, 0, 1)" : "Spouse(s)", "(4, 1, 1)" : "Jamie Bell, (m. 2012; div. 2014)", "(5, 0, 1)" : "Children", "(5, 1, 1)" : "1"} | json_instruct | {"type": "object", "properties": {"(0, 0, 2)": {"type": "string"}, "(1, 0, 1)": {"type": "string"}, "(1, 1, 1)": {"type": "string"}, "(2, 0, 1)": {"type": "string"}, "(2, 1, 1)": {"type": "string"}, "(3, 0, 1)": {"type": "string"}, "(3, 1, 1)": {"type": "string"}, "(4, 0, 1)": {"type": "string"}, "(4, 1, 1)": {"type": "string"}, "(5, 0, 1)": {"type": "string"}, "(5, 1, 1)": {"type": "string"}}, "required": ["(0, 0, 2)", "(1, 0, 1)", "(1, 1, 1)", "(2, 0, 1)", "(2, 1, 1)", "(3, 0, 1)", "(3, 1, 1)", "(4, 0, 1)", "(4, 1, 1)", "(5, 0, 1)", "(5, 1, 1)"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"@context": {"type": "array", "items": {"type": "string"}}, "id": {"type": "string"}, "type": {"type": "array", "items": {"type": "string"}}, "issuanceDate": {"type": "string"}, "issuer": {"type": "string"}, "credentialSubject": {"type": "object", "properties": {"@context": {"type": "array", "items": {"type": "string"}}, "type": {"type": "string"}, "deliveryAddress": {"type": "object", "properties": {"type": {"type": "string"}, "organizationName": {"type": "string"}, "streetAddress": {"type": "string"}, "addressLocality": {"type": "string"}, "addressRegion": {"type": "string"}, "postalCode": {"type": "string"}, "addressCountry": {"type": "string"}}, "required": ["type", "organizationName", "streetAddress", "addressLocality", "addressRegion", "postalCode", "addressCountry"]}, "originAddress": {"type": "object", "properties": {"type": {"type": "string"}, "organizationName": {"type": "string"}, "streetAddress": {"type": "string"}, "addressLocality": {"type": "string"}, "addressRegion": {"type": "string"}, "postalCode": {"type": "string"}, "addressCountry": {"type": "string"}}, "required": ["type", "organizationName", "streetAddress", "addressLocality", "addressRegion", "postalCode", "addressCountry"]}, "deliveryMethod": {"type": "string"}, "trackingNumber": {"type": "string"}}, "required": ["@context", "type", "deliveryAddress", "originAddress", "deliveryMethod", "trackingNumber"]}}, "required": ["@context", "id", "type", "issuanceDate", "issuer", "credentialSubject"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"@context" : ["https://www.w3.org/2018/credentials/v1", "https://w3id.org/traceability/v1"], "id" : "http://example.org/credentials/", "type" : ["VerifiableCredential"], "issuanceDate" : "2021-02-04T20:29:37+00:00", "issuer" : "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", "credentialSubject" : {"@context" : ["https://w3id.org/traceability/v1"], "type" : "ParcelDelivery", "deliveryAddress" : {"type" : "PostalAddress", "organizationName" : "Walker - Maggio", "streetAddress" : "9919 Reanna Port", "addressLocality" : "South Gregg", "addressRegion" : "Illinois", "postalCode" : "23063-1700", "addressCountry" : "Iran"}, "originAddress" : {"type" : "PostalAddress", "organizationName" : "Quigley - Huel", "streetAddress" : "545 Gideon Ridges", "addressLocality" : "Carolview", "addressRegion" : "Maryland", "postalCode" : "51950", "addressCountry" : "Mongolia"}, "deliveryMethod" : "Rail freight transport", "trackingNumber" : "507399017750"}} | json_instruct | {"type": "object", "properties": {"@context": {"type": "array", "items": {"type": "string"}}, "id": {"type": "string"}, "type": {"type": "array", "items": {"type": "string"}}, "issuanceDate": {"type": "string"}, "issuer": {"type": "string"}, "credentialSubject": {"type": "object", "properties": {"@context": {"type": "array", "items": {"type": "string"}}, "type": {"type": "string"}, "deliveryAddress": {"type": "object", "properties": {"type": {"type": "string"}, "organizationName": {"type": "string"}, "streetAddress": {"type": "string"}, "addressLocality": {"type": "string"}, "addressRegion": {"type": "string"}, "postalCode": {"type": "string"}, "addressCountry": {"type": "string"}}, "required": ["type", "organizationName", "streetAddress", "addressLocality", "addressRegion", "postalCode", "addressCountry"]}, "originAddress": {"type": "object", "properties": {"type": {"type": "string"}, "organizationName": {"type": "string"}, "streetAddress": {"type": "string"}, "addressLocality": {"type": "string"}, "addressRegion": {"type": "string"}, "postalCode": {"type": "string"}, "addressCountry": {"type": "string"}}, "required": ["type", "organizationName", "streetAddress", "addressLocality", "addressRegion", "postalCode", "addressCountry"]}, "deliveryMethod": {"type": "string"}, "trackingNumber": {"type": "string"}}, "required": ["@context", "type", "deliveryAddress", "originAddress", "deliveryMethod", "trackingNumber"]}}, "required": ["@context", "id", "type", "issuanceDate", "issuer", "credentialSubject"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"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" : 64088, "cartId" : "e5c5ede4-86c2-4852-ad8e-e54244040664", "preferredProducts" : [745, 3185, 4085, 3785, 4165, 832], "productReviews" : [{"productId" : 798, "reviewText" : "I tried to nail it but got strawberry all over it.", "reviewDate" : "2018-08-11T15:44:59.8097988+03:00"}, {"productId" : 1506, "reviewText" : "heard about this on bouyon radio, decided to give it a try.", "reviewDate" : "2017-06-07T20:27:42.9993175+03:00"}, {"productId" : 1441, "reviewText" : "heard about this on new jersey hip hop radio, decided to give it a try.", "reviewDate" : "2019-11-23T13:57:45.5511235+02:00"}, {"productId" : 3036, "reviewText" : "My neighbor Lori has one of these. She works as a taxidermist and she says it looks whopping.", "reviewDate" : "2018-10-21T06:36:41.5071314+03: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#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"placeholder": {"type": "string"}}, "required": ["placeholder"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"placeholder" : "Scheiben Sie Ihre Gedanken auf ..."} | json_instruct | {"type": "object", "properties": {"placeholder": {"type": "string"}}, "required": ["placeholder"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"face": {"type": "object", "properties": {"pose_t0": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "pose_t1": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "vertex0": {"type": "array", "items": {"type": "number"}}, "vertex1": {"type": "array", "items": {"type": "number"}}, "vertex2": {"type": "array", "items": {"type": "number"}}}, "required": ["pose_t0", "pose_t1", "vertex0", "vertex1", "vertex2"]}, "type": {"type": "string"}, "vertex": {"type": "object", "properties": {"pose_t0": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "pose_t1": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "vertex": {"type": "array", "items": {"type": "number"}}}, "required": ["pose_t0", "pose_t1", "vertex"]}}, "required": ["face", "type", "vertex"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"face" : {"pose_t0" : {"position" : [13.911324040398602, 2.54018394348298, 0.7813776220884292], "rotation" : [0.00023291349698873116, -0.12761015403339118, -0.00034941557651267506]}, "pose_t1" : {"position" : [13.911842025224194, 2.5401913613887412, 0.781619235583412], "rotation" : [0.00022849597389991468, -0.12805801288586605, -0.000362978490228416]}, "vertex0" : [0.5, -0.5000000000000004, -0.5], "vertex1" : [0.5, 0.49999999999999956, 0.5], "vertex2" : [0.5, -0.5000000000000004, 0.5]}, "type" : "fv", "vertex" : {"pose_t0" : {"position" : [14.820951770990396, 2.5401311671893603, 1.8181110007204908], "rotation" : [0.0005124067216550349, -0.08066100933976811, 5.283823700796704e-05]}, "pose_t1" : {"position" : [14.815989621458197, 2.540011077403912, 1.8176366619202875], "rotation" : [0.00025175218022132934, -0.07958058238178886, 5.040318550069808e-05]}, "vertex" : [-0.4999999999999982, -0.5000000000000004, -0.5]}} | json_instruct | {"type": "object", "properties": {"face": {"type": "object", "properties": {"pose_t0": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "pose_t1": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "vertex0": {"type": "array", "items": {"type": "number"}}, "vertex1": {"type": "array", "items": {"type": "number"}}, "vertex2": {"type": "array", "items": {"type": "number"}}}, "required": ["pose_t0", "pose_t1", "vertex0", "vertex1", "vertex2"]}, "type": {"type": "string"}, "vertex": {"type": "object", "properties": {"pose_t0": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "pose_t1": {"type": "object", "properties": {"position": {"type": "array", "items": {"type": "number"}}, "rotation": {"type": "array", "items": {"type": "number"}}}, "required": ["position", "rotation"]}, "vertex": {"type": "array", "items": {"type": "number"}}}, "required": ["pose_t0", "pose_t1", "vertex"]}}, "required": ["face", "type", "vertex"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"assets": {"type": "string"}, "http": {"type": "object", "properties": {"port": {"type": "integer"}}, "required": ["port"]}, "services": {"type": "string"}}, "required": ["assets", "http", "services"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"assets" : "./public", "http" : {"port" : 3000}, "services" : "./services.json"} | json_instruct | {"type": "object", "properties": {"assets": {"type": "string"}, "http": {"type": "object", "properties": {"port": {"type": "integer"}}, "required": ["port"]}, "services": {"type": "string"}}, "required": ["assets", "http", "services"], "$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"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "properties": {"type": "object", "properties": {"id": {"type": "string"}, "type": {"type": "string"}, "name": {"type": "string"}, "code": {"type": "string"}}, "required": ["id", "type", "name", "code"]}}, "required": ["type", "coordinates", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "MultiPolygon", "coordinates" : [[[[-92.03145401399993, 32.529627507000036], [-92.03286265499996, 32.529475221000034], [-92.03507079499995, 32.528828008000055], [-92.04283735499993, 32.52616301200003], [-92.04515970899995, 32.52502087000004], [-92.04531199499993, 32.52585844100002], [-92.04451249599997, 32.52688636800007], [-92.04428406799995, 32.528485366000034], [-92.04439828199995, 32.530465077000024], [-92.04474092399991, 32.532406717000065], [-92.04504549499993, 32.53434835700005], [-92.04504549499993, 32.535795070000056], [-92.04470285299996, 32.53701335400006], [-92.04371299699993, 32.538117424000056], [-92.04222821299996, 32.53918342200006], [-92.04017235899991, 32.540020992000045], [-92.03891600399997, 32.540020992000045], [-92.03765964799997, 32.53952606500007], [-92.03587029299995, 32.53872656600003], [-92.03381443899995, 32.53823163800006], [-92.03122558599992, 32.537965138000054], [-92.02943623099996, 32.53807935200006], [-92.02802758999994, 32.53842199500007], [-92.02760880499993, 32.53872656600003], [-92.02571078799996, 32.53992740000006], [-92.0245115399999, 32.540517507000054], [-92.01998104599993, 32.54202132600005], [-92.01870565499995, 32.542649504000046], [-92.01819169099994, 32.54339189600005], [-92.01659269399993, 32.54304925300004], [-92.01607872999992, 32.54261143200005], [-92.01693533599993, 32.54202132600005], [-92.01889601199996, 32.54013679300004], [-92.02087572299995, 32.53811901000005], [-92.02352168399992, 32.53564437100004], [-92.02420696899996, 32.535054264000046], [-92.03145401399993, 32.529627507000036]]]], "properties" : {"id" : "usa-la-monroe-lakeshore-neighborhood", "type" : "neighborhood", "name" : "Lakeshore", "code" : "9682"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "properties": {"type": "object", "properties": {"id": {"type": "string"}, "type": {"type": "string"}, "name": {"type": "string"}, "code": {"type": "string"}}, "required": ["id", "type", "name", "code"]}}, "required": ["type", "coordinates", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["Moreover take thou up a lamentation for the princes of Israel,", "And say, What is thy mother? A lioness: she lay down among lions, she nourished her whelps among young lions.", "And she brought up one of her whelps: it became a young lion, and it learned to catch the prey; it devoured men.", "The nations also heard of him; he was taken in their pit, and they brought him with chains unto the land of Egypt.", "Now when she saw that she had waited, and her hope was lost, then she took another of her whelps, and made him a young lion.", "And he went up and down among the lions, he became a young lion, and learned to catch the prey, and devoured men.", "And he knew their desolate palaces, and he laid waste their cities; and the land was desolate, and the fulness thereof, by the noise of his roaring.", "Then the nations set against him on every side from the provinces, and spread their net over him: he was taken in their pit.", "And they put him in ward in chains, and brought him to the king of Babylon: they brought him into holds, that his voice should no more be heard upon the mountains of Israel.", "Thy mother is like a vine in thy blood, planted by the waters: she was fruitful and full of branches by reason of many waters.", "And she had strong rods for the sceptres of them that bare rule, and her stature was exalted among the thick branches, and she appeared in her height with the multitude of her branches.", "But she was plucked up in fury, she was cast down to the ground, and the east wind dried up her fruit: her strong rods were broken and withered; the fire consumed them.", "And now she is planted in the wilderness, in a dry and thirsty ground.", "And fire is gone out of a rod of her branches, which hath devoured her fruit, so that she hath no strong rod to be a sceptre to rule. This is a lamentation, and shall be for a lamentation."] | 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": {"body": {"type": "string"}, "next": {"type": "string"}}, "required": ["body", "next"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"body" : "THIS IS THE PROPER ORIGINAL SIGNIFICATION OF THE WORD, AS IS EVIDENT FROM THE FORMATION OF IT;", "next" : "https://raw.githubusercontent.com/CAPSELOCKE/CAPSELOCKE/master/tweets/9451.json"} | json_instruct | {"type": "object", "properties": {"body": {"type": "string"}, "next": {"type": "string"}}, "required": ["body", "next"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"bad": {"type": "string"}, "feedstock_name": {"type": "string"}, "new_version": {"type": "boolean"}, "time": {"type": "number"}}, "required": ["bad", "feedstock_name", "new_version", "time"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"bad" : "make_graph: 404", "feedstock_name" : "dataspyre", "new_version" : false, "time" : 1568135286.5506685} | json_instruct | {"type": "object", "properties": {"bad": {"type": "string"}, "feedstock_name": {"type": "string"}, "new_version": {"type": "boolean"}, "time": {"type": "number"}}, "required": ["bad", "feedstock_name", "new_version", "time"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"label:cs": {"type": "string"}, "P31": {"type": "string"}, "P31^label:cs": {"type": "string"}, "P131^label:cs": {"type": "string"}, "P6736": {"type": "string"}}, "required": ["label:cs", "P31", "P31^label:cs", "P131^label:cs", "P6736"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "FeatureCollection", "features" : [{"type" : "Feature", "properties" : {"label:cs" : "K\u0159\u00ed\u017e z\u00e1padn\u011b od Me\u0161na", "P31" : "http://www.wikidata.org/entity/Q2309609", "P31^label:cs" : "Pam\u011btn\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5221"}, "geometry" : {"type" : "Point", "coordinates" : [13.61768, 49.6573]}}, {"type" : "Feature", "properties" : {"label:cs" : "K\u0159\u00ed\u017e u Me\u0161na u h\u0159bitova", "P31" : "http://www.wikidata.org/entity/Q2309609", "P31^label:cs" : "Pam\u011btn\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5220"}, "geometry" : {"type" : "Point", "coordinates" : [13.61922, 49.65604]}}, {"type" : "Feature", "properties" : {"label:cs" : "K\u0159\u00ed\u017e v ji\u017en\u00ed \u010d\u00e1sti Me\u0161na", "P31" : "http://www.wikidata.org/entity/Q2309609", "P31^label:cs" : "Pam\u011btn\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5219"}, "geometry" : {"type" : "Point", "coordinates" : [13.62103, 49.65465]}}, {"type" : "Feature", "properties" : {"label:cs" : "Pomn\u00edk padl\u00fdch v Me\u0161nu", "P31" : "http://www.wikidata.org/entity/Q575759", "P31^label:cs" : "Pomn\u00edk padl\u00fdm", "P131^label:cs" : "Me\u0161no", "P6736" : "5218"}, "geometry" : {"type" : "Point", "coordinates" : [13.62162, 49.65595]}}, {"type" : "Feature", "properties" : {"label:cs" : "K\u0159\u00ed\u017e v Me\u0161n\u011b u kostela", "P31" : "http://www.wikidata.org/entity/Q2309609", "P31^label:cs" : "Pam\u011btn\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5217"}, "geometry" : {"type" : "Point", "coordinates" : [13.62161, 49.65606]}}, {"type" : "Feature", "properties" : {"label:cs" : "Sm\u00edr\u010d\u00ed k\u0159\u00ed\u017e v Me\u0161nu", "P31" : "http://www.wikidata.org/entity/Q1640496", "P31^label:cs" : "Sm\u00edr\u010d\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5216"}, "geometry" : {"type" : "Point", "coordinates" : [13.62166, 49.6561]}}, {"type" : "Feature", "properties" : {"label:cs" : "K\u0159\u00ed\u017e v Me\u0161n\u011b nad k\u0159i\u017eovatkou", "P31" : "http://www.wikidata.org/entity/Q2309609", "P31^label:cs" : "Pam\u011btn\u00ed k\u0159\u00ed\u017e", "P131^label:cs" : "Me\u0161no", "P6736" : "5215"}, "geometry" : {"type" : "Point", "coordinates" : [13.62174, 49.65652]}}]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"label:cs": {"type": "string"}, "P31": {"type": "string"}, "P31^label:cs": {"type": "string"}, "P131^label:cs": {"type": "string"}, "P6736": {"type": "string"}}, "required": ["label:cs", "P31", "P31^label:cs", "P131^label:cs", "P6736"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"Surface": {"type": "object", "properties": {"description": {"type": "string"}}, "required": ["description"]}, "Effect": {"type": "object", "properties": {"$ref": {"type": "string"}, "description": {"type": "string"}}, "required": ["$ref", "description"]}}, "required": ["Surface", "Effect"]}, "required": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "properties", "required"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "object", "properties" : {"Surface" : {"description" : "The surface the foot hit"}, "Effect" : {"$ref" : "#/definitions/FFootstepEffect", "description" : "The effect we want to play when hitting the surface"}}, "required" : ["Effect", "Surface"]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"Surface": {"type": "object", "properties": {"description": {"type": "string"}}, "required": ["description"]}, "Effect": {"type": "object", "properties": {"$ref": {"type": "string"}, "description": {"type": "string"}}, "required": ["$ref", "description"]}}, "required": ["Surface", "Effect"]}, "required": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "properties", "required"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"name" : "dfgspp_mo1_prosody_0024"}, {"name" : "dfgspp_mo1_prosody_0020"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "integer"}, "raag": {"type": "string"}, "gurmukhi": {"type": "string"}, "description": {"type": "string"}, "granth": {"type": "integer"}, "ang": {"type": "integer"}}, "required": ["id", "raag", "gurmukhi", "description", "granth", "ang"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 68, "raag" : "Bilaval Dakhani", "gurmukhi" : "\u0a2c\u0a3f\u0a32\u0a3e\u0a35\u0a32 \u0a26\u0a16\u0a23\u0a40", "description" : "This Raag is full of energy, which is shown by the fast rhythm and singing of the South Indian style of expression. The feelings of Bilaval Dakhani are of confidence and happiness, which arises from having achieved the unachievable.", "granth" : 1, "ang" : 0} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "raag": {"type": "string"}, "gurmukhi": {"type": "string"}, "description": {"type": "string"}, "granth": {"type": "integer"}, "ang": {"type": "integer"}}, "required": ["id", "raag", "gurmukhi", "description", "granth", "ang"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"alertmanager": {"type": "string"}, "cert-manager": {"type": "string"}, "configmap-reload": {"type": "string"}, "elasticsearch": {"type": "string"}, "external-dns": {"type": "string"}, "fluentd": {"type": "string"}, "grafana": {"type": "string"}, "kibana": {"type": "string"}, "nginx-ingress-controller": {"type": "string"}, "oauth2_proxy": {"type": "string"}, "prometheus": {"type": "string"}}, "required": ["alertmanager", "cert-manager", "configmap-reload", "elasticsearch", "external-dns", "fluentd", "grafana", "kibana", "nginx-ingress-controller", "oauth2_proxy", "prometheus"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"alertmanager" : "bitnami/alertmanager:0.15.3-r43", "cert-manager" : "bitnami/cert-manager:0.5.2-r37", "configmap-reload" : "jimmidyson/configmap-reload:v0.2.2", "elasticsearch" : "bitnami/elasticsearch:5.6.15-r0", "external-dns" : "bitnami/external-dns:0.5.11-r1", "fluentd" : "bitnami/fluentd:1.3.3-r23", "grafana" : "bitnami/grafana:5.4.3-r18", "kibana" : "bitnami/kibana:5.6.15-r0", "nginx-ingress-controller" : "bitnami/nginx-ingress-controller:0.21.0-r12", "oauth2_proxy" : "bitnami/oauth2-proxy:3.0.0-r0", "prometheus" : "bitnami/prometheus:2.6.1-r12"} | json_instruct | {"type": "object", "properties": {"alertmanager": {"type": "string"}, "cert-manager": {"type": "string"}, "configmap-reload": {"type": "string"}, "elasticsearch": {"type": "string"}, "external-dns": {"type": "string"}, "fluentd": {"type": "string"}, "grafana": {"type": "string"}, "kibana": {"type": "string"}, "nginx-ingress-controller": {"type": "string"}, "oauth2_proxy": {"type": "string"}, "prometheus": {"type": "string"}}, "required": ["alertmanager", "cert-manager", "configmap-reload", "elasticsearch", "external-dns", "fluentd", "grafana", "kibana", "nginx-ingress-controller", "oauth2_proxy", "prometheus"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "object", "properties": {"path": {"type": "string"}, "Filename": {"type": "string"}, "suffix": {"type": "string"}, "Days": {"type": "integer"}}, "required": ["path", "Filename", "suffix", "Days"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"path" : "./testdata/files/bases116", "Filename" : "\u041a\u0438\u043f\u041c", "suffix" : "-FULL.rar", "Days" : 10}, {"path" : "./testdata/files/bases116", "Filename" : "A2", "suffix" : "-differ.dif", "Days" : 1}, {"path" : "./testdata/files/bases116", "Filename" : "\u0437\u0430\u043f_\u0432_\u043a\u0430\u043c", "suffix" : "-FULL.rar", "Days" : 1}, {"path" : "./testdata/files/bases116", "Filename" : "\u0437\u0430\u043f_\u0432_\u043a\u0430\u043c", "suffix" : "-differ.rar", "Days" : 1}, {"path" : "./testdata/files/bases116", "Filename" : "dbase1", "suffix" : "-FULL.rar", "Days" : 5}, {"path" : "./testdata/files/bases116", "Filename" : "dbase1", "suffix" : "-differ.rar", "Days" : 1}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"path": {"type": "string"}, "Filename": {"type": "string"}, "suffix": {"type": "string"}, "Days": {"type": "integer"}}, "required": ["path", "Filename", "suffix", "Days"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}, "uncertainty": {"type": "object", "properties": {"stddevs": {"type": "array", "items": {"type": "number"}}, "pcvectors": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "required": ["stddevs", "pcvectors"]}}, "required": ["id", "coordinates", "uncertainty"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "A", "coordinates" : [99.95673370361328, 49.93337631225586, 50.06662368774414], "uncertainty" : {"stddevs" : [1.0, 0.9999999403953552, 0.9999999403953552], "pcvectors" : [[-2.8616700546990614e-06, 0.9999995231628418, -0.0009517656872048974], [-0.9999954700469971, 1.3154609623811098e-09, 0.003008064581081271], [0.0030080631840974092, 0.000951769994571805, 0.9999949932098389]]}}, {"id" : "B", "coordinates" : [0.08212774991989136, 49.95122528076172, 49.857757568359375], "uncertainty" : {"stddevs" : [1.0000001192092896, 1.0, 1.0], "pcvectors" : [[-0.0017587840557098389, -0.2863592803478241, 0.9581207036972046], [0.958406388759613, 0.2729673385620117, 0.08334269374608994], [-0.2854016125202179, 0.9184156060218811, 0.27396848797798157]]}}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}, "uncertainty": {"type": "object", "properties": {"stddevs": {"type": "array", "items": {"type": "number"}}, "pcvectors": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "required": ["stddevs", "pcvectors"]}}, "required": ["id", "coordinates", "uncertainty"]}, "$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"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "dependencies": {"type": "object", "properties": {"commander": {"type": "string"}}, "required": ["commander"]}}, "required": ["name", "version", "description", "main", "scripts", "keywords", "author", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "local-dev", "version" : "1.0.0", "description" : "Local Development Harness for Google Cloud Functions", "main" : "call.js", "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "keywords" : ["cloud", "functions"], "author" : "Jason Polites", "dependencies" : {"commander" : "^2.9.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"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "dependencies": {"type": "object", "properties": {"commander": {"type": "string"}}, "required": ["commander"]}}, "required": ["name", "version", "description", "main", "scripts", "keywords", "author", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "status": {"type": "string"}, "summary": {"type": "string"}, "labels": {"type": "array", "items": {"type": "string"}}, "stars": {"type": "integer"}, "commentCount": {"type": "integer"}, "comments": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "commenterId": {"type": "integer"}, "content": {"type": "string"}, "timestamp": {"type": "integer"}, "attachments": {"type": "array", "items": {}}}, "required": ["id", "commenterId", "content", "timestamp", "attachments"]}}}, "required": ["id", "status", "summary", "labels", "stars", "commentCount", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 24, "status" : "Fixed", "summary" : "Bug in BoundingBoxE6.fromGeoPoints() method", "labels" : ["Type-Defect", "Priority-Medium"], "stars" : 0, "commentCount" : 3, "comments" : [{"id" : 0, "commenterId" : 4516593646043992307, "content" : "<b>What steps will reproduce the problem?</b>\n1. Calling the method with a valid ArrayList of GeoPoints\r\n\r\n<b>What is the expected output? What do you see instead?</b>\nExpected output is a BoundingBoxE6 instance with LatNorth, LatSouth,\r\nLatEast and LatWest attributes correctly set.\r\nInstead: LatNorth and LatSouth values are swapped.\r\nThis is due to incorrect order of minLat and maxLat parameters passed to\r\nthe BoundingBoxE6 constructor - appears to be swapped\r\n\r\n<b>What version of the product are you using? On what operating system?</b>\nLatest from trunk, as of time of issue submission\r\n\r\n<b>Please provide any additional information below.</b>\n\r\n", "timestamp" : 1268795719, "attachments" : []}, {"id" : 1, "commenterId" : 8937367184059112911, "content" : "", "timestamp" : 1268904693, "attachments" : []}, {"id" : 2, "commenterId" : 8937367184059112911, "content" : "This issue was closed by revision r118.", "timestamp" : 1268940736, "attachments" : []}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "status": {"type": "string"}, "summary": {"type": "string"}, "labels": {"type": "array", "items": {"type": "string"}}, "stars": {"type": "integer"}, "commentCount": {"type": "integer"}, "comments": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "commenterId": {"type": "integer"}, "content": {"type": "string"}, "timestamp": {"type": "integer"}, "attachments": {"type": "array", "items": {}}}, "required": ["id", "commenterId", "content", "timestamp", "attachments"]}}}, "required": ["id", "status", "summary", "labels", "stars", "commentCount", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"attachments": {"type": "array", "items": {"type": "object", "properties": {"text": {"type": "string"}, "fallback": {"type": "string"}, "color": {"type": "string"}, "attachment_type": {"type": "string"}, "callback_id": {"type": "string"}, "actions": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "text": {"type": "string"}, "type": {"type": "string"}, "options": {"type": "string"}}, "required": ["name", "text", "type", "options"]}}}, "required": ["text", "fallback", "color", "attachment_type", "callback_id", "actions"]}}}, "required": ["attachments"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"attachments" : [{"text" : "Please select VPC which you want to connect.", "fallback" : "Please select VPC.", "color" : "#3AA3E3", "attachment_type" : "default", "callback_id" : "vpc", "actions" : [{"name" : "vpc_list", "text" : "Select VPC", "type" : "select", "options" : ""}]}]} | json_instruct | {"type": "object", "properties": {"attachments": {"type": "array", "items": {"type": "object", "properties": {"text": {"type": "string"}, "fallback": {"type": "string"}, "color": {"type": "string"}, "attachment_type": {"type": "string"}, "callback_id": {"type": "string"}, "actions": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "text": {"type": "string"}, "type": {"type": "string"}, "options": {"type": "string"}}, "required": ["name", "text", "type", "options"]}}}, "required": ["text", "fallback", "color", "attachment_type", "callback_id", "actions"]}}}, "required": ["attachments"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"region": {"type": "string"}, "province": {"type": "string"}, "surname": {"type": "string"}, "name": {"type": "string"}, "sex": {"type": "string"}, "birth_municipality": {"type": "string"}, "birth_province": {"type": "string"}, "birth_region": {"type": "string"}, "birth_cap": {"type": "string"}, "birth_province_code": {"type": "string"}, "birthdate": {"type": "string"}, "address": {"type": "string"}, "house_number": {"type": "string"}, "cap": {"type": "string"}, "municipality": {"type": "string"}, "province_code": {"type": "string"}, "codice_fiscale": {"type": "string"}}, "required": ["region", "province", "surname", "name", "sex", "birth_municipality", "birth_province", "birth_region", "birth_cap", "birth_province_code", "birthdate", "address", "house_number", "cap", "municipality", "province_code", "codice_fiscale"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"region" : "Lazio", "province" : "Roma", "surname" : "Leonardi", "name" : "Amina", "sex" : "F", "birth_municipality" : "Penna In Teverina", "birth_province" : "Terni", "birth_region" : "Umbria", "birth_cap" : "05028", "birth_province_code" : "TR", "birthdate" : "1922-08-04", "address" : "Via Libia", "house_number" : "225-227", "cap" : "199", "municipality" : "Roma", "province_code" : "RM", "codice_fiscale" : "LNRMNA22M44G432O"} | json_instruct | {"type": "object", "properties": {"region": {"type": "string"}, "province": {"type": "string"}, "surname": {"type": "string"}, "name": {"type": "string"}, "sex": {"type": "string"}, "birth_municipality": {"type": "string"}, "birth_province": {"type": "string"}, "birth_region": {"type": "string"}, "birth_cap": {"type": "string"}, "birth_province_code": {"type": "string"}, "birthdate": {"type": "string"}, "address": {"type": "string"}, "house_number": {"type": "string"}, "cap": {"type": "string"}, "municipality": {"type": "string"}, "province_code": {"type": "string"}, "codice_fiscale": {"type": "string"}}, "required": ["region", "province", "surname", "name", "sex", "birth_municipality", "birth_province", "birth_region", "birth_cap", "birth_province_code", "birthdate", "address", "house_number", "cap", "municipality", "province_code", "codice_fiscale"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"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" : 84898, "cartId" : "ea0ad8df-8b09-4444-8153-51ccbaaa95b8", "preferredProducts" : [918, 2809, 2045, 799, 1295, 190, 2622, 2823], "productReviews" : [{"productId" : 1482, "reviewText" : "this transparent is revolting.", "reviewDate" : "2017-01-29T23:39:54.3951383+02:00"}, {"productId" : 2991, "reviewText" : "one of my hobbies is guitar. and when i'm playing guitar this works great.", "reviewDate" : "2020-05-04T06:40:31.4679689+03:00"}, {"productId" : 101, "reviewText" : "heard about this on alternative dance radio, decided to give it a try.", "reviewDate" : "2020-04-21T21:42:14.1899108+03:00"}, {"productId" : 3689, "reviewText" : "The box this comes in is 3 meter by 6 yard and weights 12 pound.", "reviewDate" : "2019-12-09T07:54:13.2925175+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#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"moderator": {"type": "string"}, "items": {"type": "array", "items": {"type": "object", "properties": {"listingHash": {"type": "string"}, "quantity": {"type": "integer"}, "paymentAddress": {"type": "string"}, "memo": {"type": "string"}}, "required": ["listingHash", "quantity", "paymentAddress", "memo"]}}}, "required": ["moderator", "items"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"moderator" : "", "items" : [{"listingHash" : "", "quantity" : 100000000, "paymentAddress" : "crypto_payment_address", "memo" : "thanks!"}]} | json_instruct | {"type": "object", "properties": {"moderator": {"type": "string"}, "items": {"type": "array", "items": {"type": "object", "properties": {"listingHash": {"type": "string"}, "quantity": {"type": "integer"}, "paymentAddress": {"type": "string"}, "memo": {"type": "string"}}, "required": ["listingHash", "quantity", "paymentAddress", "memo"]}}}, "required": ["moderator", "items"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"configurations": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "parameters": {"type": "object", "properties": {"block_sync": {"type": "string"}, "block_sync_sm": {"type": "string"}, "cdr_ctrl_force_unalgn": {"type": "string"}, "lpbk_force": {"type": "string"}, "mode": {"type": "string"}, "rate_match_fifo": {"type": "string"}, "rate_match_fifo_latency": {"type": "string"}, "reverse_lpbk": {"type": "string"}, "rx_b4gb_par_lpbk": {"type": "string"}, "rx_force_balign": {"type": "string"}, "rx_ins_del_one_skip": {"type": "string"}, "rx_num_fixed_pat": {"type": "string"}, "rx_test_out_sel": {"type": "string"}, "sup_mode": {"type": "string"}, "reconfig_settings": {"type": "string"}}, "required": ["block_sync", "block_sync_sm", "cdr_ctrl_force_unalgn", "lpbk_force", "mode", "rate_match_fifo", "rate_match_fifo_latency", "reverse_lpbk", "rx_b4gb_par_lpbk", "rx_force_balign", "rx_ins_del_one_skip", "rx_num_fixed_pat", "rx_test_out_sel", "sup_mode", "reconfig_settings"]}}, "required": ["name", "parameters"]}}}, "required": ["configurations"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"configurations" : [{"name" : "0", "parameters" : {"block_sync" : "enable_block_sync", "block_sync_sm" : "enable_blk_sync_sm", "cdr_ctrl_force_unalgn" : "enable", "lpbk_force" : "lpbk_frce_en", "mode" : "gen3_func", "rate_match_fifo" : "enable_rm_fifo_600ppm", "rate_match_fifo_latency" : "regular_latency", "reverse_lpbk" : "rev_lpbk_en", "rx_b4gb_par_lpbk" : "b4gb_par_lpbk_dis", "rx_force_balign" : "en_force_balign", "rx_ins_del_one_skip" : "ins_del_one_skip_en", "rx_num_fixed_pat" : "4'd8", "rx_test_out_sel" : "rx_test_out0", "sup_mode" : "user_mode", "reconfig_settings" : "{}"}}, {"name" : "1", "parameters" : {"block_sync" : "bypass_block_sync", "block_sync_sm" : "disable_blk_sync_sm", "cdr_ctrl_force_unalgn" : "disable", "lpbk_force" : "lpbk_frce_dis", "mode" : "disable_pcs", "rate_match_fifo" : "bypass_rm_fifo", "rate_match_fifo_latency" : "low_latency", "reverse_lpbk" : "rev_lpbk_dis", "rx_b4gb_par_lpbk" : "b4gb_par_lpbk_dis", "rx_force_balign" : "dis_force_balign", "rx_ins_del_one_skip" : "ins_del_one_skip_dis", "rx_num_fixed_pat" : "4'd0", "rx_test_out_sel" : "rx_test_out0", "sup_mode" : "user_mode", "reconfig_settings" : "{}"}}]} | json_instruct | {"type": "object", "properties": {"configurations": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "parameters": {"type": "object", "properties": {"block_sync": {"type": "string"}, "block_sync_sm": {"type": "string"}, "cdr_ctrl_force_unalgn": {"type": "string"}, "lpbk_force": {"type": "string"}, "mode": {"type": "string"}, "rate_match_fifo": {"type": "string"}, "rate_match_fifo_latency": {"type": "string"}, "reverse_lpbk": {"type": "string"}, "rx_b4gb_par_lpbk": {"type": "string"}, "rx_force_balign": {"type": "string"}, "rx_ins_del_one_skip": {"type": "string"}, "rx_num_fixed_pat": {"type": "string"}, "rx_test_out_sel": {"type": "string"}, "sup_mode": {"type": "string"}, "reconfig_settings": {"type": "string"}}, "required": ["block_sync", "block_sync_sm", "cdr_ctrl_force_unalgn", "lpbk_force", "mode", "rate_match_fifo", "rate_match_fifo_latency", "reverse_lpbk", "rx_b4gb_par_lpbk", "rx_force_balign", "rx_ins_del_one_skip", "rx_num_fixed_pat", "rx_test_out_sel", "sup_mode", "reconfig_settings"]}}, "required": ["name", "parameters"]}}}, "required": ["configurations"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {}}, "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" : 95581, "cartId" : "a2a058c9-cc96-401c-835e-c68d48e4072a", "preferredProducts" : [], "productReviews" : [{"productId" : 1113, "reviewText" : "i use it daily when i'm in my outhouse.", "reviewDate" : "2018-07-05T00:32:11.0879234+03:00"}, {"productId" : 3334, "reviewText" : "It only works when I'm Niger.", "reviewDate" : "2017-04-13T07:59:11.4960403+03:00"}, {"productId" : 1448, "reviewText" : "talk about bliss!!", "reviewDate" : "2019-05-10T21:39:01.3810595+03:00"}]} | json_instruct | {"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {}}, "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#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"translation-revision-date": {"type": "string"}, "generator": {"type": "string"}, "domain": {"type": "string"}, "locale_data": {"type": "object", "properties": {"messages": {"type": "object", "properties": {"": {"type": "object", "properties": {"domain": {"type": "string"}, "plural-forms": {"type": "string"}, "lang": {"type": "string"}}, "required": ["domain", "plural-forms", "lang"]}, "Drag boxes here": {"type": "array", "items": {"type": "string"}}, "Add boxes from the Screen Options menu": {"type": "array", "items": {"type": "string"}}, "The boxes order has been saved.": {"type": "array", "items": {"type": "string"}}, "The box is on the last position": {"type": "array", "items": {"type": "string"}}, "The box is on the first position": {"type": "array", "items": {"type": "string"}}}, "required": ["", "Drag boxes here", "Add boxes from the Screen Options menu", "The boxes order has been saved.", "The box is on the last position", "The box is on the first position"]}}, "required": ["messages"]}, "comment": {"type": "object", "properties": {"reference": {"type": "string"}}, "required": ["reference"]}}, "required": ["translation-revision-date", "generator", "domain", "locale_data", "comment"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"translation-revision-date" : "2021-07-08 22:04:46+0000", "generator" : "GlotPress/3.0.0-alpha.2", "domain" : "messages", "locale_data" : {"messages" : {"" : {"domain" : "messages", "plural-forms" : "nplurals=6; plural=(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))));", "lang" : "ar"}, "Drag boxes here" : ["\u0627\u0633\u062d\u0628 \u0627\u0644\u0635\u0646\u0627\u062f\u064a\u0642 \u0647\u0646\u0627"], "Add boxes from the Screen Options menu" : ["\u0623\u0636\u0641 \u0627\u0644\u0635\u0646\u0627\u062f\u064a\u0642 \u0645\u0646 \u0642\u0627\u0626\u0645\u0629 \u062e\u064a\u0627\u0631\u0627\u062a \u0627\u0644\u0634\u0627\u0634\u0629"], "The boxes order has been saved." : ["\u062a\u0645 \u062d\u0641\u0638 \u062a\u0631\u062a\u064a\u0628 \u0627\u0644\u0635\u0646\u0627\u062f\u064a\u0642."], "The box is on the last position" : ["\u0627\u0644\u0635\u0646\u062f\u0648\u0642 \u0641\u064a \u0627\u0644\u0645\u0648\u0636\u0639 \u0627\u0644\u0623\u062e\u064a\u0631"], "The box is on the first position" : ["\u0627\u0644\u0635\u0646\u062f\u0648\u0642 \u0641\u064a \u0627\u0644\u0645\u0648\u0636\u0639 \u0627\u0644\u0623\u0648\u0644"]}}, "comment" : {"reference" : "wp-admin/js/postbox.js"}} | json_instruct | {"type": "object", "properties": {"translation-revision-date": {"type": "string"}, "generator": {"type": "string"}, "domain": {"type": "string"}, "locale_data": {"type": "object", "properties": {"messages": {"type": "object", "properties": {"": {"type": "object", "properties": {"domain": {"type": "string"}, "plural-forms": {"type": "string"}, "lang": {"type": "string"}}, "required": ["domain", "plural-forms", "lang"]}, "Drag boxes here": {"type": "array", "items": {"type": "string"}}, "Add boxes from the Screen Options menu": {"type": "array", "items": {"type": "string"}}, "The boxes order has been saved.": {"type": "array", "items": {"type": "string"}}, "The box is on the last position": {"type": "array", "items": {"type": "string"}}, "The box is on the first position": {"type": "array", "items": {"type": "string"}}}, "required": ["", "Drag boxes here", "Add boxes from the Screen Options menu", "The boxes order has been saved.", "The box is on the last position", "The box is on the first position"]}}, "required": ["messages"]}, "comment": {"type": "object", "properties": {"reference": {"type": "string"}}, "required": ["reference"]}}, "required": ["translation-revision-date", "generator", "domain", "locale_data", "comment"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"title": {"type": "string"}, "explanation": {"type": "string"}, "date": {"type": "string"}, "hdurl": {"type": "string"}, "service_version": {"type": "string"}, "copyright": {"type": "string"}, "media_type": {"type": "string"}, "url": {"type": "string"}}, "required": ["title", "explanation", "date", "hdurl", "service_version", "copyright", "media_type", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "A Fleeting Eclipse", "explanation" : "A lunar eclipse can be viewed in a leisurely fashion. Visible to anyone on the night side of planet Earth (weather permitting), totality often lasts an hour or so as the moon glides through the Earth's shadow. But a solar eclipse is more fleeting. Totality can last a few minutes only for those fortunate enough to stand in the path of the Moon's shadow as it races across the Earth's surface. For the April 29, 1995 annular solar eclipse, photographer Olivier Staiger was standing in Macara, Ecuador under partially cloudy skies. Just before the maximum annular eclipse phase he recorded this dramatic moment as a bird flew near the sun. The next solar eclipse, on June 10, will also be an annular one. Partial phases will be visible from eastern Asia, the Pacific Ocean and much of North America. Very accurate predictions of eclipses have long been possible.", "date" : "2002-06-08", "hdurl" : "https://apod.nasa.gov/apod/image/0206/eclipsebird_staiger.jpg", "service_version" : "v1", "copyright" : "Olivier Staiger", "media_type" : "image", "url" : "https://apod.nasa.gov/apod/image/0206/eclipsebird_staiger.jpg"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "explanation": {"type": "string"}, "date": {"type": "string"}, "hdurl": {"type": "string"}, "service_version": {"type": "string"}, "copyright": {"type": "string"}, "media_type": {"type": "string"}, "url": {"type": "string"}}, "required": ["title", "explanation", "date", "hdurl", "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": {"id": {"type": "integer"}, "cites": {"type": "integer"}, "cited_by": {"type": "integer"}, "reference": {"type": "array", "items": {"type": "string"}}}, "required": ["id", "cites", "cited_by", "reference"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 3964, "cites" : 8, "cited_by" : 53, "reference" : ["Blank, Rebecca, Why Were Poverty Rates So High in the 1 980s?, NBER Working Paper No. 3878, October 1991.", "Buhmarin, Brigitte, Lee Rainwater, Guenther Schmaus, and Timothy M.Smeeding. Equivalence Scales, Well-Being, Inequality, and Poverty: Sensitivity Estimates Across Ten Countries Using the Luxembourg Income Study ILlS) Database, Review of Income and Wealth, June 1988, ~.4, 11 5-142.", "Cutler, David M. and Lawrence F. Katz, Macroeconomic Performance and the Disadvantaged, Brpokinps Papers on Economic Activity, 2:1991, forthcoming.", "Deaton, Angus S., and John Muellbauer, On Measuring Child Costs: With Applications to Poor Countries, Journal of Political Economy, August 1986, ~, 720-744.", "Jencks, Christopher, The Hidden Prosperity of the 1 970s, Public Interest, Fall 1 984, 37-61. Lazear, Edward P., and Robert T. Michael, Allocation of Income Within the Household, Chicago: University of Chicago Press. 1988.", "Levy, Frank and Richard J. Murnane, U.S. Earnings Levels and Earnings Inequality: A Review of Trends and Proposed Explanations, Journal of Economic Literature, forthcoming 1992.", "Ruggles, Patricia, Drawing the Line: Alternative Poverty Measures and Their Implications for Public Policy, Washington, D.C.: The Urban Institute, 1990.", "Slesnick, Daniel T., Gaining Ground: Poverty in the Post-War United States, University of Texas-Austin mimeo, July 1991."]} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "cites": {"type": "integer"}, "cited_by": {"type": "integer"}, "reference": {"type": "array", "items": {"type": "string"}}}, "required": ["id", "cites", "cited_by", "reference"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "scripts": {"type": "object", "properties": {"lint": {"type": "string"}, "checkStyle": {"type": "string"}, "pretest": {"type": "string"}, "test": {"type": "string"}, "posttest": {"type": "string"}}, "required": ["lint", "checkStyle", "pretest", "test", "posttest"]}, "publishConfig": {"type": "object", "properties": {"registry": {"type": "string"}}, "required": ["registry"]}, "author": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"bluebird": {"type": "string"}, "oauth-1.0a": {"type": "string"}, "request": {"type": "string"}}, "required": ["bluebird", "oauth-1.0a", "request"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "istanbul": {"type": "string"}, "jscs": {"type": "string"}, "jshint": {"type": "string"}, "mocha": {"type": "string"}, "nock": {"type": "string"}}, "required": ["chai", "istanbul", "jscs", "jshint", "mocha", "nock"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "description", "version", "scripts", "publishConfig", "author", "keywords", "license", "main", "dependencies", "devDependencies", "repository"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "@integromat/woocommerce-api", "description" : "A Node.js wrapper for the WooCommerce REST API", "version" : "1.5.1", "scripts" : {"lint" : "jshint .", "checkStyle" : "jscs .", "pretest" : "npm run-script lint && npm run-script checkStyle", "test" : "istanbul cover ./node_modules/.bin/_mocha test.js", "posttest" : "istanbul check-coverage --statements 85 --branches 70 --functions 100 --lines 90 && rm -rf coverage"}, "publishConfig" : {"registry" : "http://registry.npmjs.org"}, "author" : "Claudio Sanches @ WooThemes.com", "keywords" : ["woocommerce", "rest-api"], "license" : "MIT", "main" : "index.js", "dependencies" : {"bluebird" : "^3.4.6", "oauth-1.0a" : "^2.0.0", "request" : "^2.75.0"}, "devDependencies" : {"chai" : "^3.5.0", "istanbul" : "^0.4.5", "jscs" : "^3.0.7", "jshint" : "^2.9.3", "mocha" : "^3.1.0", "nock" : "^8.0.0"}, "repository" : {"type" : "git", "url" : "git@github.com:integromat/wc-api-node.git"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "scripts": {"type": "object", "properties": {"lint": {"type": "string"}, "checkStyle": {"type": "string"}, "pretest": {"type": "string"}, "test": {"type": "string"}, "posttest": {"type": "string"}}, "required": ["lint", "checkStyle", "pretest", "test", "posttest"]}, "publishConfig": {"type": "object", "properties": {"registry": {"type": "string"}}, "required": ["registry"]}, "author": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"bluebird": {"type": "string"}, "oauth-1.0a": {"type": "string"}, "request": {"type": "string"}}, "required": ["bluebird", "oauth-1.0a", "request"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "istanbul": {"type": "string"}, "jscs": {"type": "string"}, "jshint": {"type": "string"}, "mocha": {"type": "string"}, "nock": {"type": "string"}}, "required": ["chai", "istanbul", "jscs", "jshint", "mocha", "nock"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "required": ["name", "description", "version", "scripts", "publishConfig", "author", "keywords", "license", "main", "dependencies", "devDependencies", "repository"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"vorgangId": {"type": "string"}, "VORGANG": {"type": "object", "properties": {"WAHLPERIODE": {"type": "string"}, "VORGANGSTYP": {"type": "string"}, "TITEL": {"type": "string"}, "AKTUELLER_STAND": {"type": "string"}, "SIGNATUR": {"type": "string"}, "GESTA_ORDNUNGSNUMMER": {"type": "string"}, "PLENUM": {"type": "object", "properties": {"PLPR_KLARTEXT": {"type": "string"}, "PLPR_HERAUSGEBER": {"type": "string"}, "PLPR_NUMMER": {"type": "string"}, "PLPR_SEITEN": {"type": "string"}, "PLPR_LINK": {"type": "string"}}, "required": ["PLPR_KLARTEXT", "PLPR_HERAUSGEBER", "PLPR_NUMMER", "PLPR_SEITEN", "PLPR_LINK"]}, "EU_DOK_NR": {"type": "string"}, "SCHLAGWORT": {"type": "object", "properties": {"_fundstelle": {"type": "string"}, "__cdata": {"type": "string"}}, "required": ["_fundstelle", "__cdata"]}, "ABSTRAKT": {"type": "string"}}, "required": ["WAHLPERIODE", "VORGANGSTYP", "TITEL", "AKTUELLER_STAND", "SIGNATUR", "GESTA_ORDNUNGSNUMMER", "PLENUM", "EU_DOK_NR", "SCHLAGWORT", "ABSTRAKT"]}, "VORGANGSABLAUF": {"type": "object", "properties": {"VORGANGSPOSITION": {"type": "object", "properties": {"ZUORDNUNG": {"type": "string"}, "URHEBER": {"type": "string"}, "FUNDSTELLE": {"type": "string"}, "FUNDSTELLE_LINK": {"type": "string"}, "PERSOENLICHER_URHEBER": {"type": "object", "properties": {"VORNAME": {"type": "string"}, "NACHNAME": {"type": "string"}, "FUNKTION": {"type": "string"}, "AKTIVITAETSART": {"type": "string"}, "SEITE": {"type": "string"}}, "required": ["VORNAME", "NACHNAME", "FUNKTION", "AKTIVITAETSART", "SEITE"]}}, "required": ["ZUORDNUNG", "URHEBER", "FUNDSTELLE", "FUNDSTELLE_LINK", "PERSOENLICHER_URHEBER"]}}, "required": ["VORGANGSPOSITION"]}}, "required": ["vorgangId", "VORGANG", "VORGANGSABLAUF"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"vorgangId" : "217358", "VORGANG" : {"WAHLPERIODE" : "8", "VORGANGSTYP" : "Ansprache/Erkl\u00e4rung/Mitteilung", "TITEL" : "30 Jahre Bundesrat - Ansprache des Pr\u00e4sidenten (G-SIG: 00021746)", "AKTUELLER_STAND" : "Abgeschlossen - Ergebnis siehe Vorgangsablauf", "SIGNATUR" : "", "GESTA_ORDNUNGSNUMMER" : "", "PLENUM" : {"PLPR_KLARTEXT" : "Ansprache", "PLPR_HERAUSGEBER" : "BR", "PLPR_NUMMER" : "477", "PLPR_SEITEN" : "245B - 246B", "PLPR_LINK" : "http://dipbt.bundestag.de:80/dip21/brp/477.pdf#P.245"}, "EU_DOK_NR" : "", "SCHLAGWORT" : {"_fundstelle" : "true", "__cdata" : "Bundesrat"}, "ABSTRAKT" : "W\u00fcrdigung der Rolle des Bundesrates im politischen Leben der Bundesrepublik Deutschland. Bedeutung des F\u00f6deralismus in der deutschen Verfassungsgeschichte. L\u00e4nder als Ursprung staatlichen Lebens nach dem Zusammenbruch von 1945. F\u00f6derative Staatsform als Mittel zur Teilung und Kontrolle der staatlichen Macht. Konstruktiver Charakter des Dualismus Bund/L\u00e4nder als Verdienst des Bundesrates durch Verkn\u00fcpfung von Landes- mit Bundespolitik. Sachlichkeit und Konzentration auf Wesentliches infolge Fristendrucks als Merkmale des Arbeitsstils des Bundesrates. St\u00e4rkung des Einflusses des Bundesrates zu Lasten der L\u00e4nderparlamente als Folge von Kompetenzverlagerungen zugunsten des Bundes durch Aussch\u00f6pfen der Gesetzgebungsbefugnis. "}, "VORGANGSABLAUF" : {"VORGANGSPOSITION" : {"ZUORDNUNG" : "BR", "URHEBER" : "Ansprache", "FUNDSTELLE" : "28.09.1979 - BR-Plenarprotokoll 477, S. 245B - 246B", "FUNDSTELLE_LINK" : "http://dipbt.bundestag.de:80/dip21/brp/477.pdf#P.245", "PERSOENLICHER_URHEBER" : {"VORNAME" : "Dietrich", "NACHNAME" : "Stobbe", "FUNKTION" : "Bundesratspr\u00e4s.", "AKTIVITAETSART" : "Rede", "SEITE" : "245B-246B"}}}} | json_instruct | {"type": "object", "properties": {"vorgangId": {"type": "string"}, "VORGANG": {"type": "object", "properties": {"WAHLPERIODE": {"type": "string"}, "VORGANGSTYP": {"type": "string"}, "TITEL": {"type": "string"}, "AKTUELLER_STAND": {"type": "string"}, "SIGNATUR": {"type": "string"}, "GESTA_ORDNUNGSNUMMER": {"type": "string"}, "PLENUM": {"type": "object", "properties": {"PLPR_KLARTEXT": {"type": "string"}, "PLPR_HERAUSGEBER": {"type": "string"}, "PLPR_NUMMER": {"type": "string"}, "PLPR_SEITEN": {"type": "string"}, "PLPR_LINK": {"type": "string"}}, "required": ["PLPR_KLARTEXT", "PLPR_HERAUSGEBER", "PLPR_NUMMER", "PLPR_SEITEN", "PLPR_LINK"]}, "EU_DOK_NR": {"type": "string"}, "SCHLAGWORT": {"type": "object", "properties": {"_fundstelle": {"type": "string"}, "__cdata": {"type": "string"}}, "required": ["_fundstelle", "__cdata"]}, "ABSTRAKT": {"type": "string"}}, "required": ["WAHLPERIODE", "VORGANGSTYP", "TITEL", "AKTUELLER_STAND", "SIGNATUR", "GESTA_ORDNUNGSNUMMER", "PLENUM", "EU_DOK_NR", "SCHLAGWORT", "ABSTRAKT"]}, "VORGANGSABLAUF": {"type": "object", "properties": {"VORGANGSPOSITION": {"type": "object", "properties": {"ZUORDNUNG": {"type": "string"}, "URHEBER": {"type": "string"}, "FUNDSTELLE": {"type": "string"}, "FUNDSTELLE_LINK": {"type": "string"}, "PERSOENLICHER_URHEBER": {"type": "object", "properties": {"VORNAME": {"type": "string"}, "NACHNAME": {"type": "string"}, "FUNKTION": {"type": "string"}, "AKTIVITAETSART": {"type": "string"}, "SEITE": {"type": "string"}}, "required": ["VORNAME", "NACHNAME", "FUNKTION", "AKTIVITAETSART", "SEITE"]}}, "required": ["ZUORDNUNG", "URHEBER", "FUNDSTELLE", "FUNDSTELLE_LINK", "PERSOENLICHER_URHEBER"]}}, "required": ["VORGANGSPOSITION"]}}, "required": ["vorgangId", "VORGANG", "VORGANGSABLAUF"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"changepoint": {"type": "string"}, "country": {"type": "object", "properties": {"code": {"type": "string"}, "group": {"type": "string"}, "name": {"type": "string"}}, "required": ["code", "group", "name"]}, "topics": {"type": "array", "items": {"type": "object", "properties": {"diff": {"type": "number"}, "topic": {"type": "string"}}, "required": ["diff", "topic"]}}}, "required": ["changepoint", "country", "topics"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"changepoint" : "2020-10-16", "country" : {"code" : "JPN", "group" : "ja", "name" : "Japan"}, "topics" : [{"diff" : -12217.0, "topic" : "Topic"}, {"diff" : -9091.0, "topic" : "Northeast asian countries"}, {"diff" : -9086.0, "topic" : "Events"}, {"diff" : -8289.0, "topic" : "People"}, {"diff" : -8217.0, "topic" : "Fiction about magic"}, {"diff" : -7947.0, "topic" : "Edo period"}, {"diff" : -7643.0, "topic" : "Technology companies"}, {"diff" : -7562.0, "topic" : "Humour"}, {"diff" : -7383.0, "topic" : "Mythopoeia"}, {"diff" : -7366.0, "topic" : "Recurring elements"}, {"diff" : -7340.0, "topic" : "Foods"}, {"diff" : -7186.0, "topic" : "Occupation"}, {"diff" : -7007.0, "topic" : "Writers"}, {"diff" : -6837.0, "topic" : "2010s"}, {"diff" : -6731.0, "topic" : "Japanese mass media people"}, {"diff" : -6725.0, "topic" : "Internet groups"}, {"diff" : -6678.0, "topic" : "Observation"}, {"diff" : -6139.0, "topic" : "Century"}, {"diff" : -5572.0, "topic" : "History"}, {"diff" : -5560.0, "topic" : "Post-soviet states"}]} | json_instruct | {"type": "object", "properties": {"changepoint": {"type": "string"}, "country": {"type": "object", "properties": {"code": {"type": "string"}, "group": {"type": "string"}, "name": {"type": "string"}}, "required": ["code", "group", "name"]}, "topics": {"type": "array", "items": {"type": "object", "properties": {"diff": {"type": "number"}, "topic": {"type": "string"}}, "required": ["diff", "topic"]}}}, "required": ["changepoint", "country", "topics"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "object", "properties": {"Similarity": {"type": "string"}, "Title": {"type": "string"}, "Year": {"type": "integer"}}, "required": ["Similarity", "Title", "Year"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"Similarity" : "1", "Title" : "The Dramatic Effect of Content on Childrens Unless Reasoning Pragmatic Modulation or Reconstruction", "Year" : 2011}, {"Similarity" : "0.998", "Title" : "Mental Models and the Meaning of Connectives A Study in Children Adolescents and Adults", "Year" : 2001}, {"Similarity" : "0.99", "Title" : "Syllogistic Reasoning with Generic Premises The Generic Overgeneralization Effect", "Year" : 2008}, {"Similarity" : "0.989", "Title" : "Do Ducks Lay Eggs How People Interpret Generic Assertions", "Year" : 2007}, {"Similarity" : "0.987", "Title" : "Hybrid-Logical Reasoning in the Smarties and Sally-Anne Tasks: What Goes Wrong When Incorrect Responses are Given?", "Year" : 2015}, {"Similarity" : "0.987", "Title" : "Hybrid-Logical Reasoning in the Smarties and Sally-Anne Tasks What Goes Wrong When Incorrect Responses are Given", "Year" : 2015}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"Similarity": {"type": "string"}, "Title": {"type": "string"}, "Year": {"type": "integer"}}, "required": ["Similarity", "Title", "Year"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"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" : 1993, "sex" : "F", "n" : 7, "prop" : 3.55e-06}, {"year" : 2000, "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#"} |
Based on the schema below, produce a valid JSON object:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1959, 9], [1962, 6], [1969, 9], [1970, 6], [1972, 7], [1975, 8], [1977, 5], [2001, 5]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "website": {"type": "string"}, "short_description": {"type": "string"}, "explorer": {"type": "string"}, "type": {"type": "string"}, "symbol": {"type": "string"}, "decimals": {"type": "integer"}}, "required": ["name", "website", "short_description", "explorer", "type", "symbol", "decimals"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Chiliz", "website" : "https://chiliz.com", "short_description" : "Chiliz, powering Socios.com, aims to give sports and esports fans the ability to crowd-manage their favorite teams, games, leagues, and events.", "explorer" : "https://explorer.binance.org/asset/CHZ-ECD", "type" : "BEP2", "symbol" : "CHZ", "decimals" : 8} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "website": {"type": "string"}, "short_description": {"type": "string"}, "explorer": {"type": "string"}, "type": {"type": "string"}, "symbol": {"type": "string"}, "decimals": {"type": "integer"}}, "required": ["name", "website", "short_description", "explorer", "type", "symbol", "decimals"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "nama": {"type": "string"}}, "required": ["id", "nama"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "3404120001", "nama" : "SARI HARJO"}, {"id" : "3404120002", "nama" : "SINDUHARJO"}, {"id" : "3404120003", "nama" : "MINOMARTANI"}, {"id" : "3404120004", "nama" : "SUKO HARJO"}, {"id" : "3404120005", "nama" : "SARDONOHARJO"}, {"id" : "3404120006", "nama" : "DONOHARJO"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "nama": {"type": "string"}}, "required": ["id", "nama"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "null"}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ast" : null, "code" : "import getCurrentScriptSource from \"./getCurrentScriptSource.js\";\n/**\n * @param {string} resourceQuery\n * @returns {{ [key: string]: string | boolean }}\n */\n\nfunction parseURL(resourceQuery) {\n /** @type {{ [key: string]: string }} */\n var options = {};\n\n if (typeof resourceQuery === \"string\" && resourceQuery !== \"\") {\n var searchParams = resourceQuery.substr(1).split(\"&\");\n\n for (var i = 0; i < searchParams.length; i++) {\n var pair = searchParams[i].split(\"=\");\n options[pair[0]] = decodeURIComponent(pair[1]);\n }\n } else {\n // Else, get the url from the <script> this file was called with.\n var scriptSource = getCurrentScriptSource();\n var scriptSourceURL;\n\n try {\n // The placeholder `baseURL` with `window.location.href`,\n // is to allow parsing of path-relative or protocol-relative URLs,\n // and will have no effect if `scriptSource` is a fully valid URL.\n scriptSourceURL = new URL(scriptSource, self.location.href);\n } catch (error) {// URL parsing failed, do nothing.\n // We will still proceed to see if we can recover using `resourceQuery`\n }\n\n if (scriptSourceURL) {\n options = scriptSourceURL;\n options.fromCurrentScript = true;\n }\n }\n\n return options;\n}\n\nexport default parseURL;", "map" : null, "metadata" : {}, "sourceType" : "module"} | json_instruct | {"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "null"}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"filename": {"type": "string"}, "folder": {"type": "string"}, "image_w_h": {"type": "array", "items": {"type": "integer"}}, "objects": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "x_y_w_h": {"type": "array", "items": {"type": "integer"}}}, "required": ["label", "x_y_w_h"]}}}, "required": ["filename", "folder", "image_w_h", "objects"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"filename" : "G0012791.JPG", "folder" : "GoPro_0728", "image_w_h" : [4000, 3000], "objects" : [{"label" : "Bench", "x_y_w_h" : [829, 1543, 315, 218]}, {"label" : "Bench", "x_y_w_h" : [2186, 1475, 148, 107]}, {"label" : "Bench", "x_y_w_h" : [2281, 1531, 274, 190]}, {"label" : "Bench", "x_y_w_h" : [2996, 1469, 140, 95]}, {"label" : "Bench", "x_y_w_h" : [3297, 1531, 313, 209]}]} | json_instruct | {"type": "object", "properties": {"filename": {"type": "string"}, "folder": {"type": "string"}, "image_w_h": {"type": "array", "items": {"type": "integer"}}, "objects": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "x_y_w_h": {"type": "array", "items": {"type": "integer"}}}, "required": ["label", "x_y_w_h"]}}}, "required": ["filename", "folder", "image_w_h", "objects"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "image": {"type": "string"}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "image", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Preheat oven to 350 degrees F (175 degrees C).", "Arrange bagels onto a baking sheet with the cut sides up. Arrange bacon pieces atop the bagel halves. Spoon gravy lightly atop the bacon. Sprinkle mozzarella cheese over the gravy.", "Bake in preheated oven until the cheese melts, about 10 minutes."], "image" : "https://images.media-allrecipes.com/userphotos/560x315/2010891.jpg", "ingredients" : ["5 plain bagels, split", "1 (14 ounce) package cooked bacon, cut into 1/4-inch pieces", "1 cup prepared sausage gravy", "1 (8 ounce) package shredded mozzarella cheese"], "language" : "en-US", "source" : "allrecipes.com", "tags" : [], "title" : "Easy Breakfast Pizzas", "url" : "http://allrecipes.com/recipe/240166/easy-breakfast-pizzas/"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "image": {"type": "string"}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "image", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"resourceType": {"type": "string"}, "id": {"type": "string"}, "meta": {"type": "object", "properties": {"versionId": {"type": "string"}, "lastUpdated": {"type": "string"}, "profile": {"type": "array", "items": {"type": "string"}}}, "required": ["versionId", "lastUpdated", "profile"]}, "text": {"type": "object", "properties": {"status": {"type": "string"}, "div": {"type": "string"}}, "required": ["status", "div"]}, "status": {"type": "string"}, "medicationCodeableConcept": {"type": "object", "properties": {"coding": {"type": "array", "items": {"type": "object", "properties": {"system": {"type": "string"}, "code": {"type": "string"}, "display": {"type": "string"}}, "required": ["system", "code", "display"]}}, "text": {"type": "string"}}, "required": ["coding", "text"]}, "effectiveDateTime": {"type": "string"}, "dateAsserted": {"type": "string"}, "informationSource": {"type": "object", "properties": {"reference": {"type": "string"}, "display": {"type": "string"}}, "required": ["reference", "display"]}, "subject": {"type": "object", "properties": {"reference": {"type": "string"}, "display": {"type": "string"}}, "required": ["reference", "display"]}, "taken": {"type": "string"}, "dosage": {"type": "array", "items": {"type": "object", "properties": {"sequence": {"type": "integer"}, "route": {"type": "object", "properties": {"coding": {"type": "array", "items": {"type": "object", "properties": {"system": {"type": "string"}, "code": {"type": "string"}, "display": {"type": "string"}}, "required": ["system", "code", "display"]}}}, "required": ["coding"]}}, "required": ["sequence", "route"]}}}, "required": ["resourceType", "id", "meta", "text", "status", "medicationCodeableConcept", "effectiveDateTime", "dateAsserted", "informationSource", "subject", "taken", "dosage"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"resourceType" : "MedicationStatement", "id" : "ncdhc-medicationstatement-k1-example", "meta" : {"versionId" : "1", "lastUpdated" : "2018-12-27T16:13:03Z", "profile" : ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-medicationstatement-vitamink"]}, "text" : {"status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\t\t\t\n<p>Vitamin K1</p>\n\t\t\t\t\t\n</div>"}, "status" : "completed", "medicationCodeableConcept" : {"coding" : [{"system" : "http://snomed.info/sct", "code" : "66656000", "display" : "Phytomenadione"}], "text" : "Vitamin K1"}, "effectiveDateTime" : "2018-12-27T16:13:03Z", "dateAsserted" : "2018-12-27T16:13:03Z", "informationSource" : {"reference" : "Practitioner/examiner-practitioner", "display" : "Dr. Rob Boston"}, "subject" : {"reference" : "Patient/patient-baby-example", "display" : "Baby of Eve Bill"}, "taken" : "y", "dosage" : [{"sequence" : 1, "route" : {"coding" : [{"system" : "http://snomed.info/sct", "code" : "59108006", "display" : "Injection"}]}}]} | json_instruct | {"type": "object", "properties": {"resourceType": {"type": "string"}, "id": {"type": "string"}, "meta": {"type": "object", "properties": {"versionId": {"type": "string"}, "lastUpdated": {"type": "string"}, "profile": {"type": "array", "items": {"type": "string"}}}, "required": ["versionId", "lastUpdated", "profile"]}, "text": {"type": "object", "properties": {"status": {"type": "string"}, "div": {"type": "string"}}, "required": ["status", "div"]}, "status": {"type": "string"}, "medicationCodeableConcept": {"type": "object", "properties": {"coding": {"type": "array", "items": {"type": "object", "properties": {"system": {"type": "string"}, "code": {"type": "string"}, "display": {"type": "string"}}, "required": ["system", "code", "display"]}}, "text": {"type": "string"}}, "required": ["coding", "text"]}, "effectiveDateTime": {"type": "string"}, "dateAsserted": {"type": "string"}, "informationSource": {"type": "object", "properties": {"reference": {"type": "string"}, "display": {"type": "string"}}, "required": ["reference", "display"]}, "subject": {"type": "object", "properties": {"reference": {"type": "string"}, "display": {"type": "string"}}, "required": ["reference", "display"]}, "taken": {"type": "string"}, "dosage": {"type": "array", "items": {"type": "object", "properties": {"sequence": {"type": "integer"}, "route": {"type": "object", "properties": {"coding": {"type": "array", "items": {"type": "object", "properties": {"system": {"type": "string"}, "code": {"type": "string"}, "display": {"type": "string"}}, "required": ["system", "code", "display"]}}}, "required": ["coding"]}}, "required": ["sequence", "route"]}}}, "required": ["resourceType", "id", "meta", "text", "status", "medicationCodeableConcept", "effectiveDateTime", "dateAsserted", "informationSource", "subject", "taken", "dosage"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"ascMain": {"type": "string"}}, "required": ["ascMain"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ascMain" : "as/index.ts"} | json_instruct | {"type": "object", "properties": {"ascMain": {"type": "string"}}, "required": ["ascMain"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"d3-timer.js": {"type": "string"}, "d3-timer.min.js": {"type": "string"}}, "required": ["d3-timer.js", "d3-timer.min.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"d3-timer.js" : "sha512-dzBnzpN9Zun2hhbGAmB8PRacl0EKC9I+2jTxFGT3gEoXr/GbBBLM+X6vCuC+y7S1VOakz3gqVR2YPQH4irTfXg==", "d3-timer.min.js" : "sha512-siBe++4wRcHvQFozA+xbGsvp79PfFfFQGIYvDi+PqMY8SEtMBVcmf7j0k9ovEG2wduBoB2Oy2ZQi9/J+j46DvQ=="} | json_instruct | {"type": "object", "properties": {"d3-timer.js": {"type": "string"}, "d3-timer.min.js": {"type": "string"}}, "required": ["d3-timer.js", "d3-timer.min.js"], "$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"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Intranet\\": {"type": "string"}, "Core\\": {"type": "string"}}, "required": ["Intranet\\", "Core\\"]}, "files": {"type": "array", "items": {"type": "string"}}}, "required": ["psr-4", "files"]}, "require": {"type": "object", "properties": {"twig/twig": {"type": "string"}}, "required": ["twig/twig"]}}, "required": ["name", "description", "license", "authors", "autoload", "require"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "willyxjam/intranet", "description" : "Simple web application for school intranet.", "license" : "MIT", "authors" : [{"name" : "Miroslav Krysl", "email" : "wilyxjam@gmail.com"}], "autoload" : {"psr-4" : {"Intranet\\" : "application/", "Core\\" : "core/"}, "files" : ["core/helpers.php", "application/helpers.php"]}, "require" : {"twig/twig" : "^2.4"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Intranet\\": {"type": "string"}, "Core\\": {"type": "string"}}, "required": ["Intranet\\", "Core\\"]}, "files": {"type": "array", "items": {"type": "string"}}}, "required": ["psr-4", "files"]}, "require": {"type": "object", "properties": {"twig/twig": {"type": "string"}}, "required": ["twig/twig"]}}, "required": ["name", "description", "license", "authors", "autoload", "require"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"appDesc": {"type": "object", "properties": {"message": {"type": "string"}}, "required": ["message"]}}, "required": ["appDesc"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"appDesc" : {"message" : "Dark Mode t\u1ed1t nh\u1ea5t cho Zalo"}} | json_instruct | {"type": "object", "properties": {"appDesc": {"type": "object", "properties": {"message": {"type": "string"}}, "required": ["message"]}}, "required": ["appDesc"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "array", "items": {"type": "number"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 38.0, 39.0, 40.0, 41.0, 42.0, 43.0, 44.0, 45.0, 46.0, 47.0, 48.0, 49.0, 50.0, 51.0, 52.0, 53.0, 54.0, 55.0, 56.0, 57.0, 58.0, 59.0, 60.0, 61.0, 62.0, 63.0, 64.0, 65.0, 66.0, 67.0, 68.0, 69.0, 70.0, 71.0, 72.0, 73.0, 74.0, 75.0, 76.0, 77.0, 78.0, 79.0, 80.0, 81.0, 82.0, 83.0, 84.0, 85.0, 86.0, 87.0, 88.0, 89.0, 90.0, 91.0, 92.0, 93.0, 94.0, 95.0, 96.0, 97.0, 98.0, 99.0, 100.0], [7945541.0, 15904904.0, 23604523.0, 31252238.0, 38532052.0, 46441024.0, 54543671.0, 62899559.0, 71982267.0, 80015535.0, 86808631.0, 95048745.0, 102258962.0, 107613500.0, 114738216.0, 123704446.0, 130240443.0, 141436368.0, 147557797.0, 157162860.0, 163241995.0, 175712456.0, 180205452.0, 187009231.0, 195627633.0, 204869690.0, 211429846.0, 219696706.0, 225353129.0, 231948832.0, 237550766.0, 245492139.0, 255397222.0, 263688775.0, 271962845.0, 279383553.0, 290521890.0, 294657890.0, 302868473.0, 313957122.0, 322894406.0, 329573138.0, 334411071.0, 338959349.0, 352564712.0, 359639355.0, 365968785.0, 372596164.0, 382567090.0, 390628059.0, 396074290.0, 399865535.0, 418174046.0, 412178093.0, 421087666.0, 428315318.0, 438737343.0, 448861658.0, 452017041.0, 463878140.0, 504027788.0, 484829298.0, 483539098.0, 489891332.0, 499726032.0, 507446754.0, 511231792.0, 517925838.0, 531993994.0, 529925655.0, 537929278.0, 554150317.0, 552492391.0, 561711326.0, 575082167.0, 579597328.0, 591704197.0, 589767629.0, 597056547.0, 608557372.0, 610819664.0, 623525102.0, 631400525.0, 642328498.0, 648117599.0, 654437916.0, 667584609.0, 675569112.0, 688034358.0, 690339033.0, 703237357.0, 702837087.0, 715431060.0, 729314455.0, 735134332.0, 726080521.0, 743966787.0, 742911725.0, 754809754.0, 759803479.0]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "number"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "district_id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "district_id", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "1809022009", "district_id" : "1809022", "name" : "PESAWARAN INDAH"} | 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#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"Format": {"type": "string"}}, "required": ["Format"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Format" : "Snippet Creator: \u683c\u5f0f\u5316\u4ee3\u7801"} | json_instruct | {"type": "object", "properties": {"Format": {"type": "string"}}, "required": ["Format"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "object", "properties": {"ID": {"type": "string"}, "NAME": {"type": "string"}}, "required": ["ID", "NAME"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"ID" : "1", "NAME" : "None"}, {"ID" : "2", "NAME" : "Minor"}, {"ID" : "3", "NAME" : "Major"}, {"ID" : "4", "NAME" : "Critical"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"ID": {"type": "string"}, "NAME": {"type": "string"}}, "required": ["ID", "NAME"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"collections": {"type": "array", "items": {"type": "object", "properties": {"fullName": {"type": "string"}, "methods": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "count": {"type": "integer"}}, "required": ["name", "type", "count"]}}}, "required": ["fullName", "methods"]}}}, "required": ["collections"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"collections" : [{"fullName" : "KaVE.VS.FeedbackGenerator.Generators.IEventMergeStrategy", "methods" : [{"name" : "KaVE.VS.FeedbackGenerator.Generators.IEventMergeStrategy.AreMergable(KaVE.Commons.Model.Events.IDEEvent event, KaVE.Commons.Model.Events.IDEEvent subsequentEvent)", "type" : "SIMPLE", "count" : 2}, {"name" : "KaVE.VS.FeedbackGenerator.Generators.IEventMergeStrategy.Merge(KaVE.Commons.Model.Events.IDEEvent event, KaVE.Commons.Model.Events.IDEEvent subsequentEvent)", "type" : "SIMPLE", "count" : 2}]}]} | json_instruct | {"type": "object", "properties": {"collections": {"type": "array", "items": {"type": "object", "properties": {"fullName": {"type": "string"}, "methods": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "count": {"type": "integer"}}, "required": ["name", "type", "count"]}}}, "required": ["fullName", "methods"]}}}, "required": ["collections"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"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" : 1125782633, "type" : "Feature", "properties" : {"src:alt_label" : "qs_pg", "src:geom" : "qs_pg", "wof:geomhash" : "0f35caa0500a56561e3ff39d96d43972", "wof:id" : 1125782633, "wof:repo" : "whosonfirst-data-admin-gb"}, "bbox" : [-0.0242, 51.7324, -0.0242, 51.7324], "geometry" : {"coordinates" : [-0.0242, 51.7324], "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#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"defaults": {"type": "boolean"}, "inline": {"type": "integer"}, "toplevel": {"type": "boolean"}}, "required": ["defaults", "inline", "toplevel"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"defaults" : true, "inline" : 3, "toplevel" : true} | json_instruct | {"type": "object", "properties": {"defaults": {"type": "boolean"}, "inline": {"type": "integer"}, "toplevel": {"type": "boolean"}}, "required": ["defaults", "inline", "toplevel"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "addressLines": {"type": "array", "items": {"type": "string"}}, "postalCode": {"type": "string"}, "country": {"type": "string"}}, "required": ["name", "addressLines", "postalCode", "country"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Boscombe Sovereign", "addressLines" : ["Units 20/21 The Sovereign Centre", "Boscombe", "Bournemouth", "Dorset"], "postalCode" : "BH1 4SX", "country" : "gb"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "addressLines": {"type": "array", "items": {"type": "string"}}, "postalCode": {"type": "string"}, "country": {"type": "string"}}, "required": ["name", "addressLines", "postalCode", "country"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"towns": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}}, "required": ["towns"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"towns" : [{"name" : "Le Peage De Roussillion", "url" : "le-peage-de-roussillion"}]} | json_instruct | {"type": "object", "properties": {"towns": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "url"]}}}, "required": ["towns"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"thag1.55:1.1": {"type": "string"}}, "required": ["thag1.55:1.1"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"thag1.55:1.1" : "dr26.300, ms19Th1_125, msdiv55, sya26.273, vnp55"} | json_instruct | {"type": "object", "properties": {"thag1.55:1.1": {"type": "string"}}, "required": ["thag1.55:1.1"], "$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"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}, "name_long": {"type": "string"}, "fips": {"type": "string"}, "state_code_int": {"type": "integer"}, "state_code_postal": {"type": "string"}, "state_code_iso": {"type": "string"}, "county_code": {"type": "integer"}, "population": {"type": "integer"}, "countrylevel_id": {"type": "string"}, "census_data": {"type": "object", "properties": {"COUNTYNS": {"type": "string"}, "AFFGEOID": {"type": "string"}, "LSAD": {"type": "string"}, "ALAND": {"type": "integer"}, "AWATER": {"type": "integer"}}, "required": ["COUNTYNS", "AFFGEOID", "LSAD", "ALAND", "AWATER"]}, "center_lat": {"type": "number"}, "center_lon": {"type": "number"}, "area_m2": {"type": "integer"}, "timezone": {"type": "string"}}, "required": ["name", "name_long", "fips", "state_code_int", "state_code_postal", "state_code_iso", "county_code", "population", "countrylevel_id", "census_data", "center_lat", "center_lon", "area_m2", "timezone"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"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" : {"name" : "Johnson County", "name_long" : "Johnson County, MO", "fips" : "29101", "state_code_int" : 29, "state_code_postal" : "MO", "state_code_iso" : "US-MO", "county_code" : 101, "population" : 54062, "countrylevel_id" : "fips:29101", "census_data" : {"COUNTYNS" : "00758505", "AFFGEOID" : "0500000US29101", "LSAD" : "06", "ALAND" : 2147770686, "AWATER" : 10185875}, "center_lat" : 38.75, "center_lon" : -93.81, "area_m2" : 2157956561, "timezone" : "America/Chicago"}, "geometry" : {"type" : "Polygon", "coordinates" : [[[-94.119, 38.833], [-94.114, 38.917], [-93.835, 38.938], [-93.497, 38.928], [-93.493, 38.899], [-93.511, 38.556], [-94.064, 38.567], [-94.12, 38.569], [-94.119, 38.833]]]}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}, "name_long": {"type": "string"}, "fips": {"type": "string"}, "state_code_int": {"type": "integer"}, "state_code_postal": {"type": "string"}, "state_code_iso": {"type": "string"}, "county_code": {"type": "integer"}, "population": {"type": "integer"}, "countrylevel_id": {"type": "string"}, "census_data": {"type": "object", "properties": {"COUNTYNS": {"type": "string"}, "AFFGEOID": {"type": "string"}, "LSAD": {"type": "string"}, "ALAND": {"type": "integer"}, "AWATER": {"type": "integer"}}, "required": ["COUNTYNS", "AFFGEOID", "LSAD", "ALAND", "AWATER"]}, "center_lat": {"type": "number"}, "center_lon": {"type": "number"}, "area_m2": {"type": "integer"}, "timezone": {"type": "string"}}, "required": ["name", "name_long", "fips", "state_code_int", "state_code_postal", "state_code_iso", "county_code", "population", "countrylevel_id", "census_data", "center_lat", "center_lon", "area_m2", "timezone"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"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#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "image": {"type": "string"}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "image", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Arrange top oven rack 6 inches from top heat source. Heat broiler.", "Arrange tortilla chips in single layer in 12-inch skillet (or other oven-proof dish of equal size). Sprinkle beans, tomatoes, peppers and scallions evenly over chips. Sprinkle cheese evenly over chips and toppings.", "Broil, occasionally rotating pan for even melting, until cheese is bubbly and toppings are hot, 3-5 minutes. Sprinkle with cilantro, if desired. Serve with Pico de Gallo and guacamole, if desired."], "image" : "https://www.allrecipes.com/img/misc/og-default.png", "ingredients" : ["6 ounces tortilla chips", "1 (15.5 ounce) can GOYA\u00ae Black Beans, drained and rinsed", "2 medium tomatoes, cored, seeded, and finely chopped", "4 GOYA\u00ae Whole Jalapeno peppers, thinly sliced", "1 scallion, thinly sliced", "1\u2009\u00bd cups shredded Monterey Jack cheese", "Chopped fresh cilantro, for garnish", "GOYA\u00ae Pico de Gallo, for garnish", "Frozen GOYA\u00ae Guacamole, thawed, for garnish"], "language" : "en-US", "source" : "allrecipes.com", "tags" : [], "title" : "Black Bean Nachos from GOYA®", "url" : "http://allrecipes.com/recipe/232982/black-bean-nachos-from-goya/"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "image": {"type": "string"}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "image", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"success": {"type": "integer"}, "avg_pg_create_time_ms": {"type": "number"}, "avg_pg_remove_time_ms": {"type": "number"}, "_runtime": {"type": "number"}, "_session_url": {"type": "string"}, "_commit_url": {"type": "string"}, "_stable": {"type": "boolean"}}, "required": ["success", "avg_pg_create_time_ms", "avg_pg_remove_time_ms", "_runtime", "_session_url", "_commit_url", "_stable"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"success" : 1, "avg_pg_create_time_ms" : 0.9178227477476738, "avg_pg_remove_time_ms" : 3.5015487627617348, "_runtime" : 381.0450084209442, "_session_url" : "https://beta.anyscale.com/o/anyscale-internal/projects/prj_2xR6uT6t7jJuu1aCwWMsle/clusters/ses_hMCMNudYEmmqv987qYbadjrQ", "_commit_url" : "https://s3-us-west-2.amazonaws.com/ray-wheels/releases/1.8.0/d28be7e0c555808b38a5ce2da8d6c48d5162ce12/ray-1.8.0-cp37-cp37m-manylinux2014_x86_64.whl", "_stable" : true} | json_instruct | {"type": "object", "properties": {"success": {"type": "integer"}, "avg_pg_create_time_ms": {"type": "number"}, "avg_pg_remove_time_ms": {"type": "number"}, "_runtime": {"type": "number"}, "_session_url": {"type": "string"}, "_commit_url": {"type": "string"}, "_stable": {"type": "boolean"}}, "required": ["success", "avg_pg_create_time_ms", "avg_pg_remove_time_ms", "_runtime", "_session_url", "_commit_url", "_stable"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"CertDetail": {"type": "object", "properties": {"CertID": {"type": "string"}, "PersonSysID": {"type": "string"}, "Name": {"type": "string"}, "Brand": {"type": "string"}, "NumOfDose": {"type": "string"}, "Time": {"type": "string"}, "Issuer": {"type": "string"}}, "required": ["CertID", "PersonSysID", "Name", "Brand", "NumOfDose", "Time", "Issuer"]}, "PersonInfoHash": {"type": "string"}, "Key": {"type": "string"}}, "required": ["CertDetail", "PersonInfoHash", "Key"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"CertDetail" : {"CertID" : "TEST20220300", "PersonSysID" : "M123456(0)", "Name" : "CoronaVac", "Brand" : "SinoVac", "NumOfDose" : "2", "Time" : "2022-04-03T15:50", "Issuer" : "vac_center1"}, "PersonInfoHash" : "047d1be86e0ed70abfd55540a1d6fe09c91c74eb99f82d4f77926b721a87b0fe", "Key" : "413hfu234"} | json_instruct | {"type": "object", "properties": {"CertDetail": {"type": "object", "properties": {"CertID": {"type": "string"}, "PersonSysID": {"type": "string"}, "Name": {"type": "string"}, "Brand": {"type": "string"}, "NumOfDose": {"type": "string"}, "Time": {"type": "string"}, "Issuer": {"type": "string"}}, "required": ["CertID", "PersonSysID", "Name", "Brand", "NumOfDose", "Time", "Issuer"]}, "PersonInfoHash": {"type": "string"}, "Key": {"type": "string"}}, "required": ["CertDetail", "PersonInfoHash", "Key"], "$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"}, "features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"label:cs": {"type": "string"}, "P31": {"type": "string"}, "P31^label:cs": {"type": "string"}, "P131^label:cs": {"type": "string"}, "P6736": {"type": "string"}}, "required": ["label:cs", "P31", "P31^label:cs", "P131^label:cs", "P6736"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "FeatureCollection", "features" : [{"type" : "Feature", "properties" : {"label:cs" : "Bo\u017e\u00ed muka v Poho\u0159elic\u00edch na V\u00edde\u0148sk\u00e9 ulici", "P31" : "http://www.wikidata.org/entity/Q3395121", "P31^label:cs" : "Bo\u017e\u00ed muka", "P131^label:cs" : "Poho\u0159elice", "P6736" : "28792"}, "geometry" : {"type" : "Point", "coordinates" : [16.5183, 48.98067]}}]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"label:cs": {"type": "string"}, "P31": {"type": "string"}, "P31^label:cs": {"type": "string"}, "P131^label:cs": {"type": "string"}, "P6736": {"type": "string"}}, "required": ["label:cs", "P31", "P31^label:cs", "P131^label:cs", "P6736"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"packageName": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "fields": {"type": "object", "properties": {"emailTemplate": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["emailTemplate"]}}, "required": ["packageName", "type", "description", "fields"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"packageName" : "io.fusionauth.domain.api", "type" : "EmailTemplateRequest", "description" : "/**\n * Email template request.\n *\n * @author Brian Pontarelli\n */\n", "fields" : {"emailTemplate" : {"type" : "EmailTemplate"}}} | json_instruct | {"type": "object", "properties": {"packageName": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "fields": {"type": "object", "properties": {"emailTemplate": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["emailTemplate"]}}, "required": ["packageName", "type", "description", "fields"], "$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"}, "title": {"type": "string"}, "description": {"type": "string"}, "group": {"type": "string"}, "info": {"type": "string"}, "maintainer": {"type": "string"}, "version": {"type": "string"}, "prerequisites": {"type": "array", "items": {"type": "string"}}, "elements": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "path": {"type": "string"}, "name": {"type": "string"}}, "required": ["type", "path", "name"]}}}, "required": ["name", "title", "description", "group", "info", "maintainer", "version", "prerequisites", "elements"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "abrp", "title" : "A Better Route Planner", "description" : "This plugin submits data to the ABRP service.", "group" : "Development", "info" : "http://abetterrouteplanner.com/", "maintainer" : "Mike Stuart <mike.stuart@uk.bosch.com>", "version" : "0.1", "prerequisites" : ["ovms>=3.3.001"], "elements" : [{"type" : "module", "path" : "abrp.js", "name" : "abrp"}]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"}, "group": {"type": "string"}, "info": {"type": "string"}, "maintainer": {"type": "string"}, "version": {"type": "string"}, "prerequisites": {"type": "array", "items": {"type": "string"}}, "elements": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "path": {"type": "string"}, "name": {"type": "string"}}, "required": ["type", "path", "name"]}}}, "required": ["name", "title", "description", "group", "info", "maintainer", "version", "prerequisites", "elements"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"code": {"type": "integer"}, "parent": {"type": "integer"}, "name": {"type": "string"}, "latitude": {"type": "string"}, "longitude": {"type": "string"}, "postal": {"type": "array", "items": {"type": "integer"}}, "children": {"type": "array", "items": {"type": "integer"}}}, "required": ["code", "parent", "name", "latitude", "longitude", "postal", "children"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"code" : 1205110, "parent" : 1205, "name" : "SIPAHUTAR", "latitude" : "2.12734236", "longitude" : "99.150513258997", "postal" : [22471], "children" : [1205110001, 1205110002, 1205110003, 1205110004, 1205110005, 1205110006, 1205110007, 1205110008, 1205110009, 1205110010, 1205110011, 1205110012, 1205110013, 1205110014, 1205110015, 1205110016, 1205110017, 1205110018, 1205110019, 1205110020, 1205110021, 1205110022, 1205110023, 1205110024, 1205110025]} | json_instruct | {"type": "object", "properties": {"code": {"type": "integer"}, "parent": {"type": "integer"}, "name": {"type": "string"}, "latitude": {"type": "string"}, "longitude": {"type": "string"}, "postal": {"type": "array", "items": {"type": "integer"}}, "children": {"type": "array", "items": {"type": "integer"}}}, "required": ["code", "parent", "name", "latitude", "longitude", "postal", "children"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"statHashes": {"type": "array", "items": {}}, "index": {"type": "integer"}, "hash": {"type": "integer"}, "blacklisted": {"type": "boolean"}, "nodeStepHash": {"type": "integer"}, "redacted": {"type": "boolean"}, "affectsQuality": {"type": "boolean"}, "displayProperties": {"type": "object", "properties": {"icon": {"type": "string"}, "hasIcon": {"type": "boolean"}, "description": {"type": "string"}, "name": {"type": "string"}}, "required": ["icon", "hasIcon", "description", "name"]}, "perkHashes": {"type": "array", "items": {"type": "integer"}}}, "required": ["statHashes", "index", "hash", "blacklisted", "nodeStepHash", "redacted", "affectsQuality", "displayProperties", "perkHashes"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"statHashes" : [], "index" : 72, "hash" : 3976389559, "blacklisted" : false, "nodeStepHash" : 3976389559, "redacted" : false, "affectsQuality" : false, "displayProperties" : {"icon" : "/common/destiny2_content/icons/42d362d80b5c68ff248481e158b46371.png", "hasIcon" : true, "description" : "Hitting enemies with Ballistic Slam grants Super energy and activates Inertia Override.", "name" : "Impact Conversion"}, "perkHashes" : [2711909096]} | json_instruct | {"type": "object", "properties": {"statHashes": {"type": "array", "items": {}}, "index": {"type": "integer"}, "hash": {"type": "integer"}, "blacklisted": {"type": "boolean"}, "nodeStepHash": {"type": "integer"}, "redacted": {"type": "boolean"}, "affectsQuality": {"type": "boolean"}, "displayProperties": {"type": "object", "properties": {"icon": {"type": "string"}, "hasIcon": {"type": "boolean"}, "description": {"type": "string"}, "name": {"type": "string"}}, "required": ["icon", "hasIcon", "description", "name"]}, "perkHashes": {"type": "array", "items": {"type": "integer"}}}, "required": ["statHashes", "index", "hash", "blacklisted", "nodeStepHash", "redacted", "affectsQuality", "displayProperties", "perkHashes"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"id": {"type": "string"}, "playerTags": {"type": "array", "items": {"type": "string"}}, "teamTags": {"type": "array", "items": {"type": "string"}}, "gameTags": {"type": "array", "items": {"type": "string"}}, "metadata": {"type": "object", "properties": {"play": {"type": "integer"}, "subPlay": {"type": "integer"}}, "required": ["play", "subPlay"]}, "created": {"type": "string"}, "season": {"type": "integer"}, "tournament": {"type": "integer"}, "type": {"type": "integer"}, "day": {"type": "integer"}, "phase": {"type": "integer"}, "category": {"type": "integer"}, "description": {"type": "string"}, "nuts": {"type": "integer"}}, "required": ["id", "playerTags", "teamTags", "gameTags", "metadata", "created", "season", "tournament", "type", "day", "phase", "category", "description", "nuts"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "4fe7a7fc-cabb-4a2b-94c8-fac55b862cce", "playerTags" : ["0813d43c-b938-49da-acef-65b73f27b099"], "teamTags" : ["bb4a9de5-c924-4923-a0cb-9d1445f1ee5d", "105bc3ff-1320-4e37-8ef0-8d595cb95dd0"], "gameTags" : ["51ddeba6-3d53-4ec9-90fc-f7f7cdc433df"], "metadata" : {"play" : 189, "subPlay" : -1}, "created" : "2021-04-15T05:15:59.425Z", "season" : 15, "tournament" : -1, "type" : 4, "day" : 59, "phase" : 4, "category" : 0, "description" : "S--atc- D-le--e steals second base!", "nuts" : 0} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "playerTags": {"type": "array", "items": {"type": "string"}}, "teamTags": {"type": "array", "items": {"type": "string"}}, "gameTags": {"type": "array", "items": {"type": "string"}}, "metadata": {"type": "object", "properties": {"play": {"type": "integer"}, "subPlay": {"type": "integer"}}, "required": ["play", "subPlay"]}, "created": {"type": "string"}, "season": {"type": "integer"}, "tournament": {"type": "integer"}, "type": {"type": "integer"}, "day": {"type": "integer"}, "phase": {"type": "integer"}, "category": {"type": "integer"}, "description": {"type": "string"}, "nuts": {"type": "integer"}}, "required": ["id", "playerTags", "teamTags", "gameTags", "metadata", "created", "season", "tournament", "type", "day", "phase", "category", "description", "nuts"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"listing": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "required": ["listing"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"listing" : {"name" : "Name in DE", "email" : "Email in DE"}} | json_instruct | {"type": "object", "properties": {"listing": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "required": ["listing"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {"type": "string"}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Line a large colander with 2 layers of cheesecloth and place over a large bowl.", "In a 5 to 6 quart pot over medium heat, heat milk, cream, and salt, stirring occasionally to avoid scorching, until mixture foams and comes to a boil. Reduce heat to low and add lemon juice. Simmer, stirring, until mixture curdles, 2 minutes for small curds. If you'd like a larger, dryer curd, continue to simmer an additional 2 minutes.", "Pour mixture into cheesecloth lined colander and drain 10 to 15 minutes or until desired texture is achieved. Empty liquid from bowl if necessary to ensure proper draining. Reserved whey can be used in smoothies or soup. Chill ricotta until ready to use.", "Serve spread onto crostini with a drizzle of olive oil, dollop over pasta or pizza, or stir into scrambled eggs. Ricotta will keep in the fridge for 1 week."], "ingredients" : ["8 cups whole milk", "1 cup heavy cream", "1 1/2 teaspoon kosher salt", "3 tablespoons lemon juice"], "language" : "en-US", "source" : "www.epicurious.com", "tags" : ["Milk/Cream", "Ricotta", "Lemon Juice"], "title" : "Homemade Ricotta Cheese", "url" : "http://www.epicurious.com/recipes/food/views/homemade-ricotta-cheese-51244020"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {"type": "string"}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"userName": {"type": "string"}, "password": {"type": "integer"}, "serverIP": {"type": "string"}, "serverName": {"type": "string"}, "isAuth": {"type": "boolean"}, "IDs": {"type": "array", "items": {"type": "integer"}}}, "required": ["userName", "password", "serverIP", "serverName", "isAuth", "IDs"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"userName" : "fakeUser", "password" : 1234, "serverIP" : "12.0.0.1", "serverName" : "kodluyoruz.org", "isAuth" : true, "IDs" : [1, 2, 3, 4, 5]} | json_instruct | {"type": "object", "properties": {"userName": {"type": "string"}, "password": {"type": "integer"}, "serverIP": {"type": "string"}, "serverName": {"type": "string"}, "isAuth": {"type": "boolean"}, "IDs": {"type": "array", "items": {"type": "integer"}}}, "required": ["userName", "password", "serverIP", "serverName", "isAuth", "IDs"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"latest_version": {"type": "array", "items": {"type": "string"}}, "meta": {"type": "object", "properties": {"description": {"type": "string"}, "homepage": {"type": "string"}}, "required": ["description", "homepage"]}, "versions": {"type": "object", "properties": {"1.44": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.44.1": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.51": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}}, "required": ["1.44", "1.44.1", "1.51"]}}, "required": ["latest_version", "meta", "versions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"latest_version" : ["1.51"], "meta" : {"description" : "Pure python memcached client", "homepage" : "https://github.com/eguven/python3-memcached"}, "versions" : {"1.44" : {"sha256" : "d4d50ad97a68fb5996aacfceda7effe13dc08451e7b7ffa09b0e045adc2f80a5", "url" : "https://files.pythonhosted.org/packages/a4/35/7004a2f40f3c6b260b516af5273213aba2fced452bfb9bdbeb40d4bed216/python3-memcached-1.44.tar.gz"}, "1.44.1" : {"sha256" : "1d2fec9d938522348b89c251512027c451ed40599b12ae9cbe3d47c82817099b", "url" : "https://files.pythonhosted.org/packages/8b/0a/e863559a66ec87ef76959de74b12b1cb7114e27ae34f6522bf97d3afc101/python3-memcached-1.44.1.tar.gz"}, "1.51" : {"sha256" : "7cbe5951d68eef69d948b7a7ed7decfbd101e15e7f5be007dcd1219ccc584859", "url" : "https://files.pythonhosted.org/packages/14/fa/cd0d93c30722db0cfa777ec9cd0203fa7da2771a5c70c9908f471944b6e2/python3-memcached-1.51.tar.gz"}}} | json_instruct | {"type": "object", "properties": {"latest_version": {"type": "array", "items": {"type": "string"}}, "meta": {"type": "object", "properties": {"description": {"type": "string"}, "homepage": {"type": "string"}}, "required": ["description", "homepage"]}, "versions": {"type": "object", "properties": {"1.44": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.44.1": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}, "1.51": {"type": "object", "properties": {"sha256": {"type": "string"}, "url": {"type": "string"}}, "required": ["sha256", "url"]}}, "required": ["1.44", "1.44.1", "1.51"]}}, "required": ["latest_version", "meta", "versions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"items": {"type": "array", "items": {}}, "page": {"type": "integer"}, "totalItems": {"type": "integer"}}, "required": ["items", "page", "totalItems"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"items" : [], "page" : 16, "totalItems" : 14226} | json_instruct | {"type": "object", "properties": {"items": {"type": "array", "items": {}}, "page": {"type": "integer"}, "totalItems": {"type": "integer"}}, "required": ["items", "page", "totalItems"], "$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"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "minimum-stability": {"type": "string"}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "symfony/property-access": {"type": "string"}, "ramsey/uuid": {"type": "string"}, "doctrine/inflector": {"type": "string"}}, "required": ["php", "symfony/property-access", "ramsey/uuid", "doctrine/inflector"]}, "require-dev": {"type": "object", "properties": {"mockery/mockery": {"type": "string"}, "phpunit/phpunit": {"type": "string"}}, "required": ["mockery/mockery", "phpunit/phpunit"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Data\\": {"type": "string"}}, "required": ["Data\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Data\\Tests\\": {"type": "string"}}, "required": ["Data\\Tests\\"]}}, "required": ["psr-4"]}}, "required": ["name", "description", "license", "authors", "minimum-stability", "require", "require-dev", "autoload", "autoload-dev"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "dortort/php-data", "description" : "", "license" : "MIT", "authors" : [{"name" : "Francis Eytan Dortort", "email" : "francis@dortort.com"}], "minimum-stability" : "stable", "require" : {"php" : ">=5.4", "symfony/property-access" : "^3.2", "ramsey/uuid" : "^3.0", "doctrine/inflector" : "^1.0"}, "require-dev" : {"mockery/mockery" : "^0.9.4", "phpunit/phpunit" : "^5.7"}, "autoload" : {"psr-4" : {"Data\\" : "src/"}}, "autoload-dev" : {"psr-4" : {"Data\\Tests\\" : "tests/"}}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}, "minimum-stability": {"type": "string"}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "symfony/property-access": {"type": "string"}, "ramsey/uuid": {"type": "string"}, "doctrine/inflector": {"type": "string"}}, "required": ["php", "symfony/property-access", "ramsey/uuid", "doctrine/inflector"]}, "require-dev": {"type": "object", "properties": {"mockery/mockery": {"type": "string"}, "phpunit/phpunit": {"type": "string"}}, "required": ["mockery/mockery", "phpunit/phpunit"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Data\\": {"type": "string"}}, "required": ["Data\\"]}}, "required": ["psr-4"]}, "autoload-dev": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Data\\Tests\\": {"type": "string"}}, "required": ["Data\\Tests\\"]}}, "required": ["psr-4"]}}, "required": ["name", "description", "license", "authors", "minimum-stability", "require", "require-dev", "autoload", "autoload-dev"], "$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": {}}, "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-jw93-m9gx-f29r", "modified" : "2022-01-12T00:01:41Z", "published" : "2022-01-04T00:00:37Z", "aliases" : ["CVE-2021-37118"], "details" : "The HwNearbyMain module has a Improper Handling of Exceptional Conditions vulnerability.Successful exploitation of this vulnerability may lead to message leak.", "severity" : [], "affected" : [], "references" : [{"type" : "ADVISORY", "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-37118"}, {"type" : "WEB", "url" : "https://device.harmonyos.com/en/docs/security/update/security-bulletins-202111-0000001217889667"}], "database_specific" : {"cwe_ids" : ["CWE-755"], "severity" : "MODERATE", "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": {}}, "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#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"kind": {"type": "string"}, "name": {"type": "string"}, "href": {"type": "string"}, "description": {"type": "string"}, "refs": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "href": {"type": "string"}, "description": {"type": "string"}}, "required": ["name", "href", "description"]}}}, "required": ["kind", "name", "href", "description", "refs"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"kind" : "Type", "name" : "AbortController", "href" : "https://developer.mozilla.org/en-US/docs/Web/API/AbortController", "description" : "The AbortController interface represents a controller object that allows you to abort one or more Web requests as and when desired.", "refs" : [{"name" : "DOM Standard", "href" : "https://dom.spec.whatwg.org/#interface-abortcontroller", "description" : "(DOM) # interface-abortcontroller"}]} | json_instruct | {"type": "object", "properties": {"kind": {"type": "string"}, "name": {"type": "string"}, "href": {"type": "string"}, "description": {"type": "string"}, "refs": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "href": {"type": "string"}, "description": {"type": "string"}}, "required": ["name", "href", "description"]}}}, "required": ["kind", "name", "href", "description", "refs"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"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" : "Mosson", "dpt" : "C\u00f4te-d'Or", "inscrits" : 68, "abs" : 13, "votants" : 55, "blancs" : 8, "nuls" : 1, "exp" : 46, "res" : [{"panneau" : "2", "voix" : 33}, {"panneau" : "1", "voix" : 13}]} | 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#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"vertices": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["vertices"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"vertices" : [[80, 78], [83, 89], [89, 80], [17, 35], [26, 56], [46, 72], [0, 41], [35, 41], [55, 49], [57, 36], [44, 28], [26, 22], [90, 32]]} | json_instruct | {"type": "object", "properties": {"vertices": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["vertices"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "3f31b7cf470750ac5fc29d3ba31e5789071da732"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"requires": {"type": "boolean"}, "lockfileVersion": {"type": "integer"}, "dependencies": {"type": "object", "properties": {"bootstrap-select": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}}, "required": ["bootstrap-select"]}}, "required": ["requires", "lockfileVersion", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"requires" : true, "lockfileVersion" : 1, "dependencies" : {"bootstrap-select" : {"version" : "1.13.18", "resolved" : "https://registry.npmjs.org/bootstrap-select/-/bootstrap-select-1.13.18.tgz", "integrity" : "sha512-V1IzK4rxBq5FrJtkzSH6RmFLFBsjx50byFbfAf8jYyXROWs7ZpprGjdHeoyq2HSsHyjJhMMwjsQhRoYAfxCGow=="}}} | json_instruct | {"type": "object", "properties": {"requires": {"type": "boolean"}, "lockfileVersion": {"type": "integer"}, "dependencies": {"type": "object", "properties": {"bootstrap-select": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}}, "required": ["bootstrap-select"]}}, "required": ["requires", "lockfileVersion", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"/js/app.js": {"type": "string"}, "/js/new.js": {"type": "string"}, "/js/note-list.js": {"type": "string"}, "/css/app.css": {"type": "string"}}, "required": ["/js/app.js", "/js/new.js", "/js/note-list.js", "/css/app.css"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"/js/app.js" : "/js/app.js", "/js/new.js" : "/js/new.js", "/js/note-list.js" : "/js/note-list.js", "/css/app.css" : "/css/app.css"} | json_instruct | {"type": "object", "properties": {"/js/app.js": {"type": "string"}, "/js/new.js": {"type": "string"}, "/js/note-list.js": {"type": "string"}, "/css/app.css": {"type": "string"}}, "required": ["/js/app.js", "/js/new.js", "/js/note-list.js", "/css/app.css"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "dd7e5e2f2381e42acb08ebfc18be1d90d9201af1"} | 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": {"title": {"type": "string"}, "fields": {"type": "array", "items": {"type": "string"}}, "abstract": {"type": "string"}, "citation": {"type": "string"}, "departments": {"type": "array", "items": {"type": "string"}}, "authors": {"type": "array", "items": {"type": "string"}}, "conf": {"type": "string"}, "year": {"type": "string"}, "pages": {"type": "integer"}}, "required": ["title", "fields", "abstract", "citation", "departments", "authors", "conf", "year", "pages"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Delay and rate-optimal control in a multi-class priority queue with adjustable service rates.", "fields" : ["multilevel queue", "bulk queue", "m g 1 queue", "queue management system", "priority queue"], "abstract" : "We study two convex optimization problems in a multi-class M/G/1 queue with adjustable service rates: minimizing convex functions of the average delay vector, and minimizing average service cost, both subject to per-class delay constraints. Using virtual queue techniques, we solve the two problems with variants of dynamic c\u03bc rules. These algorithms adaptively choose a strict priority policy, in response to past observed delays in all job classes, in every busy period. Our policies require limited or no statistics of the queue. Their optimal performance is proved by Lyapunov drift analysis and validated through simulations.", "citation" : "Citations (16)", "departments" : ["Massachusetts Institute of Technology", "University of Southern California"], "authors" : ["Chih-Ping Li.....http://dblp.org/pers/hd/l/Li:Chih=Ping", "Michael J. Neely.....http://dblp.org/pers/hd/n/Neely:Michael_J="], "conf" : "infocom", "year" : "2012", "pages" : 5} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "fields": {"type": "array", "items": {"type": "string"}}, "abstract": {"type": "string"}, "citation": {"type": "string"}, "departments": {"type": "array", "items": {"type": "string"}}, "authors": {"type": "array", "items": {"type": "string"}}, "conf": {"type": "string"}, "year": {"type": "string"}, "pages": {"type": "integer"}}, "required": ["title", "fields", "abstract", "citation", "departments", "authors", "conf", "year", "pages"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"n_dim": {"type": "integer"}, "n_trials": {"type": "integer"}, "objective": {"type": "string"}, "white": {"type": "string"}, "black": {"type": "string"}, "traceback": {"type": "array", "items": {"type": "string"}}, "best_val": {"type": "array", "items": {"type": "number"}}, "best_x": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}, "feval_count": {"type": "array", "items": {"type": "integer"}}, "n_trials_instructed": {"type": "array", "items": {"type": "integer"}}, "passing": {"type": "array", "items": {"type": "boolean"}}, "completed": {"type": "boolean"}, "points": {"type": "number"}, "winner": {"type": "string"}, "loser": {"type": "string"}}, "required": ["n_dim", "n_trials", "objective", "white", "black", "traceback", "best_val", "best_x", "feval_count", "n_trials_instructed", "passing", "completed", "points", "winner", "loser"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"n_dim" : 8, "n_trials" : 130, "objective" : "markowitz_analytic_on_cube", "white" : "optuna_random", "black" : "pymoo_nsga3", "traceback" : ["passing", "passing"], "best_val" : [0.7925232599877678, 2.1343165498523167], "best_x" : [[0.25038882911967797, 0.13565178279014967, 0.3361399210395032, 0.46293395268281723, 0.14082737972542603, 0.229368912818257, 0.16283445560974963, 0.02348762359821721], [0.5614460041648012, 0.0007515945309396477, 0.0021604734052925734, 0.669814903190739, 0.34615858937587474, 0.4859303180895773, 0.6470049058923718, 0.2070176730736727]], "feval_count" : [130, 130], "n_trials_instructed" : [130, 130], "passing" : [true, true], "completed" : true, "points" : 1.0, "winner" : "optuna_random", "loser" : "pymoo_nsga3"} | json_instruct | {"type": "object", "properties": {"n_dim": {"type": "integer"}, "n_trials": {"type": "integer"}, "objective": {"type": "string"}, "white": {"type": "string"}, "black": {"type": "string"}, "traceback": {"type": "array", "items": {"type": "string"}}, "best_val": {"type": "array", "items": {"type": "number"}}, "best_x": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}, "feval_count": {"type": "array", "items": {"type": "integer"}}, "n_trials_instructed": {"type": "array", "items": {"type": "integer"}}, "passing": {"type": "array", "items": {"type": "boolean"}}, "completed": {"type": "boolean"}, "points": {"type": "number"}, "winner": {"type": "string"}, "loser": {"type": "string"}}, "required": ["n_dim", "n_trials", "objective", "white", "black", "traceback", "best_val", "best_x", "feval_count", "n_trials_instructed", "passing", "completed", "points", "winner", "loser"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"<page title>": {"type": "string"}, "fob price": {"type": "string"}, "minorder quantity": {"type": "string"}, "payment terms": {"type": "string"}, "port": {"type": "string"}, "supply ability": {"type": "string"}}, "required": ["<page title>", "fob price", "minorder quantity", "payment terms", "port", "supply ability"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"<page title>" : "940 850nm Low Glow 12mp Digital Ir Night Vision Game Trail Scouting Hunting Camera - Buy Hunting Camera,Scouting Hunting Camera,Trail Scouting Hunting Camera Product on Alibaba.com", "fob price" : "US $1 - 105 / Set\nGet Latest Price", "minorder quantity" : "5 Piece/Pieces", "payment terms" : "L/C,D/A,D/P,T/T,Western Union,MoneyGram,Paypal", "port" : "Shenzhen", "supply ability" : "500 Piece/Pieces per Day"} | json_instruct | {"type": "object", "properties": {"<page title>": {"type": "string"}, "fob price": {"type": "string"}, "minorder quantity": {"type": "string"}, "payment terms": {"type": "string"}, "port": {"type": "string"}, "supply ability": {"type": "string"}}, "required": ["<page title>", "fob price", "minorder quantity", "payment terms", "port", "supply ability"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"id": {"type": "string"}, "taskId": {"type": "string"}, "project": {"type": "string"}, "title": {"type": "string"}, "assignee": {"type": "string"}, "reporter": {"type": "string"}, "type": {"type": "string"}, "status": {"type": "string"}, "priority": {"type": "string"}, "resolution": {"type": "string"}, "description": {"type": "string"}, "technologies": {"type": "array", "items": {"type": "string"}}, "dateCreated": {"type": "string"}}, "required": ["id", "taskId", "project", "title", "assignee", "reporter", "type", "status", "priority", "resolution", "description", "technologies", "dateCreated"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "13fbbe05-04f6-45f7-b77f-d54617cc8aa7", "taskId" : "DCME-011", "project" : "dalechang.me", "title" : "Read Task data from GraphQL", "assignee" : "Dale Chang", "reporter" : "Dale Chang", "type" : "Task", "status" : "DEFINED", "priority" : "Medium", "resolution" : "Unresolved", "description" : "After creating the menu, the menu needs to hydrate itself from the GraphQL data source.", "technologies" : ["GraphQL", "ReactJS"], "dateCreated" : "2022-02-26"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "taskId": {"type": "string"}, "project": {"type": "string"}, "title": {"type": "string"}, "assignee": {"type": "string"}, "reporter": {"type": "string"}, "type": {"type": "string"}, "status": {"type": "string"}, "priority": {"type": "string"}, "resolution": {"type": "string"}, "description": {"type": "string"}, "technologies": {"type": "array", "items": {"type": "string"}}, "dateCreated": {"type": "string"}}, "required": ["id", "taskId", "project", "title", "assignee", "reporter", "type", "status", "priority", "resolution", "description", "technologies", "dateCreated"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"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" : 4119, "cartId" : "1179fd60-98b3-471f-a2a8-dfd371d078b8", "preferredProducts" : [2649], "productReviews" : [{"productId" : 2828, "reviewText" : "this Handmade is snowy.", "reviewDate" : "2017-05-09T19:14:34.6149084+03:00"}, {"productId" : 1656, "reviewText" : "talk about contempt!!!", "reviewDate" : "2019-02-13T01:30:31.6906854+02:00"}, {"productId" : 1517, "reviewText" : "one of my hobbies is programming. and when i'm programming this works great.", "reviewDate" : "2017-03-31T05:50:27.4594534+03:00"}, {"productId" : 3251, "reviewText" : "one of my hobbies is scuba diving. and when i'm scuba diving this works great.", "reviewDate" : "2016-08-02T03:06:07.4849708+03: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#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"siteId": {"type": "string"}}, "required": ["siteId"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"siteId" : "942f0ff3-40be-4eff-af28-e1d470bc9c94"} | json_instruct | {"type": "object", "properties": {"siteId": {"type": "string"}}, "required": ["siteId"], "$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.