input stringlengths 159 2.05k | output stringlengths 5 10.3k | task stringclasses 1
value | schema stringlengths 100 1.99k |
|---|---|---|---|
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"c": {"type": "object", "properties": {"victoria falls": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}, "hwange": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}, "gokwe": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}}, "required": ["victoria falls", "hwange", "gokwe"]}, "l": {"type": "array", "items": {}}}, "required": ["c", "l"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"c" : {"victoria falls" : {"z" : {}, "l" : ["-17.9333", "25.8333"]}, "hwange" : {"z" : {}, "l" : ["-18.3667", "26.4833"]}, "gokwe" : {"z" : {}, "l" : ["-18.2167", "28.9333"]}}, "l" : []} | json_instruct | {"type": "object", "properties": {"c": {"type": "object", "properties": {"victoria falls": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}, "hwange": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}, "gokwe": {"type": "object", "properties": {"z": {"type": "object", "properties": {}, "required": []}, "l": {"type": "array", "items": {"type": "string"}}}, "required": ["z", "l"]}}, "required": ["victoria falls", "hwange", "gokwe"]}, "l": {"type": "array", "items": {}}}, "required": ["c", "l"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}, "lint": {"type": "string"}, "build-css": {"type": "string"}, "test": {"type": "string"}}, "required": ["start", "build", "lint", "build-css", "test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"express": {"type": "string"}, "handlebars": {"type": "string"}}, "required": ["express", "handlebars"]}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}, "less": {"type": "string"}, "nodemon": {"type": "string"}}, "required": ["eslint", "less", "nodemon"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "quasar", "version" : "0.1.0", "description" : "The next generation re-write of the Phase Shift Software homepage.", "main" : "src/server.js", "scripts" : {"start" : "node src/server.js", "build" : "npm run lint && npm run build-css", "lint" : "eslint -c eslint.json src", "build-css" : "lessc src/css/main.less src/public/css/all.css", "test" : "mocha test"}, "repository" : {"type" : "git", "url" : "git+ssh://git@bitbucket.org/qheaden/quasar.git"}, "author" : "Quentin A. Headen", "license" : "MIT", "homepage" : "https://bitbucket.org/qheaden/quasar#readme", "dependencies" : {"express" : "^4.17.1", "handlebars" : "^4.7.6"}, "devDependencies" : {"eslint" : "^7.0.0", "less" : "^3.11.1", "nodemon" : "^2.0.3"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}, "build": {"type": "string"}, "lint": {"type": "string"}, "build-css": {"type": "string"}, "test": {"type": "string"}}, "required": ["start", "build", "lint", "build-css", "test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "homepage": {"type": "string"}, "dependencies": {"type": "object", "properties": {"express": {"type": "string"}, "handlebars": {"type": "string"}}, "required": ["express", "handlebars"]}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}, "less": {"type": "string"}, "nodemon": {"type": "string"}}, "required": ["eslint", "less", "nodemon"]}}, "required": ["name", "version", "description", "main", "scripts", "repository", "author", "license", "homepage", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"liveSassCompile.settings.formats": {"type": "array", "items": {"type": "object", "properties": {"format": {"type": "string"}, "savePath": {"type": "string"}, "extensionName": {"type": "string"}}, "required": ["format", "savePath", "extensionName"]}}, "liveSassCompile.settings.generateMap": {"type": "boolean"}, "yaml.schemas": {"type": "object", "properties": {"https://json.schemastore.org/electron-builder": {"type": "array", "items": {"type": "string"}}}, "required": ["https://json.schemastore.org/electron-builder"]}}, "required": ["liveSassCompile.settings.formats", "liveSassCompile.settings.generateMap", "yaml.schemas"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"liveSassCompile.settings.formats" : [{"format" : "expanded", "savePath" : "/frontend/assets/stylesheets/css", "extensionName" : ".css"}], "liveSassCompile.settings.generateMap" : false, "yaml.schemas" : {"https://json.schemastore.org/electron-builder" : ["electron-builder.yml"]}} | json_instruct | {"type": "object", "properties": {"liveSassCompile.settings.formats": {"type": "array", "items": {"type": "object", "properties": {"format": {"type": "string"}, "savePath": {"type": "string"}, "extensionName": {"type": "string"}}, "required": ["format", "savePath", "extensionName"]}}, "liveSassCompile.settings.generateMap": {"type": "boolean"}, "yaml.schemas": {"type": "object", "properties": {"https://json.schemastore.org/electron-builder": {"type": "array", "items": {"type": "string"}}}, "required": ["https://json.schemastore.org/electron-builder"]}}, "required": ["liveSassCompile.settings.formats", "liveSassCompile.settings.generateMap", "yaml.schemas"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"pr": {"type": "integer"}, "time": {"type": "integer"}}, "required": ["pr", "time"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Polygon", "coordinates" : [[[114.25, 22.25], [114.25, 22.75], [114.75, 22.75], [114.75, 22.25], [114.25, 22.25]]]}, "properties" : {"pr" : 266, "time" : 1370361600000}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"pr": {"type": "integer"}, "time": {"type": "integer"}}, "required": ["pr", "time"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"dateSelected": {"type": "string"}, "finishRangeSelectionPrompt": {"type": "string"}, "next": {"type": "string"}, "previous": {"type": "string"}, "selectedDateDescription": {"type": "string"}, "selectedRangeDescription": {"type": "string"}, "startRangeSelectionPrompt": {"type": "string"}, "todayDate": {"type": "string"}, "todayDateSelected": {"type": "string"}, "dateRange": {"type": "string"}}, "required": ["dateSelected", "finishRangeSelectionPrompt", "next", "previous", "selectedDateDescription", "selectedRangeDescription", "startRangeSelectionPrompt", "todayDate", "todayDateSelected", "dateRange"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"dateSelected" : "izbrano: {date}", "finishRangeSelectionPrompt" : "Kliknite za dokon\u010danje izbire datumskega obsega", "next" : "Naprej", "previous" : "Nazaj", "selectedDateDescription" : "Izbrani datum: {date}", "selectedRangeDescription" : "Izbrani razpon: {dateRange}", "startRangeSelectionPrompt" : "Kliknite za za\u010detek izbire datumskega obsega", "todayDate" : "Danes, {date}", "todayDateSelected" : "Danes, izbrano: {date}", "dateRange" : "{startDate} do {endDate}"} | json_instruct | {"type": "object", "properties": {"dateSelected": {"type": "string"}, "finishRangeSelectionPrompt": {"type": "string"}, "next": {"type": "string"}, "previous": {"type": "string"}, "selectedDateDescription": {"type": "string"}, "selectedRangeDescription": {"type": "string"}, "startRangeSelectionPrompt": {"type": "string"}, "todayDate": {"type": "string"}, "todayDateSelected": {"type": "string"}, "dateRange": {"type": "string"}}, "required": ["dateSelected", "finishRangeSelectionPrompt", "next", "previous", "selectedDateDescription", "selectedRangeDescription", "startRangeSelectionPrompt", "todayDate", "todayDateSelected", "dateRange"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"dev": {"type": "string"}, "start": {"type": "string"}, "postinstall": {"type": "string"}, "test": {"type": "string"}}, "required": ["dev", "start", "postinstall", "test"]}, "dependencies": {"type": "object", "properties": {"dotenv": {"type": "string"}, "express": {"type": "string"}, "socket.io": {"type": "string"}}, "required": ["dotenv", "express", "socket.io"]}}, "required": ["name", "version", "description", "main", "repository", "author", "license", "private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "webrtc-paint-chat", "version" : "0.1.5", "description" : "PAINT.OK - Example of an app for drawing and communicating together.", "main" : "./server/index.js", "repository" : "https://github.com/GrafSoul/webrtc-paint-chat.git", "author" : "GrafSoul <grafsoul@gmail.com>", "license" : "MIT", "private" : true, "scripts" : {"dev" : "node ./server/index.js", "start" : "PROD=true node ./server/index.js", "postinstall" : "cd ./client && yarn", "test" : "echo \"Error: no test specified\" && exit 1"}, "dependencies" : {"dotenv" : "^8.2.0", "express" : "^4.17.1", "socket.io" : "^2.3.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "scripts": {"type": "object", "properties": {"dev": {"type": "string"}, "start": {"type": "string"}, "postinstall": {"type": "string"}, "test": {"type": "string"}}, "required": ["dev", "start", "postinstall", "test"]}, "dependencies": {"type": "object", "properties": {"dotenv": {"type": "string"}, "express": {"type": "string"}, "socket.io": {"type": "string"}}, "required": ["dotenv", "express", "socket.io"]}}, "required": ["name", "version", "description", "main", "repository", "author", "license", "private", "scripts", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "chipped:block/nether_wart_block_3"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"devDependencies": {"type": "object", "properties": {"@serverless/serverless-event-gateway-plugin": {"type": "string"}}, "required": ["@serverless/serverless-event-gateway-plugin"]}}, "required": ["devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"devDependencies" : {"@serverless/serverless-event-gateway-plugin" : ">=0.6.0"}} | json_instruct | {"type": "object", "properties": {"devDependencies": {"type": "object", "properties": {"@serverless/serverless-event-gateway-plugin": {"type": "string"}}, "required": ["@serverless/serverless-event-gateway-plugin"]}}, "required": ["devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"base": {"type": "object", "properties": {"enabled": {"type": "boolean"}, "template": {"type": "string"}}, "required": ["enabled", "template"]}, "display": {"type": "object", "properties": {"posX": {"type": "integer"}, "posY": {"type": "integer"}, "posZ": {"type": "integer"}}, "required": ["posX", "posY", "posZ"]}}, "required": ["base", "display"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"base" : {"enabled" : true, "template" : "bar"}, "display" : {"posX" : 120, "posY" : 200, "posZ" : 0}} | json_instruct | {"type": "object", "properties": {"base": {"type": "object", "properties": {"enabled": {"type": "boolean"}, "template": {"type": "string"}}, "required": ["enabled", "template"]}, "display": {"type": "object", "properties": {"posX": {"type": "integer"}, "posY": {"type": "integer"}, "posZ": {"type": "integer"}}, "required": ["posX", "posY", "posZ"]}}, "required": ["base", "display"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"type": {"type": "string"}, "shader": {"type": "string"}, "count": {"type": "integer"}, "vertexSize": {"type": "integer"}, "vertices": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "required": ["type", "shader", "count", "vertexSize", "vertices"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "jr::geometry::triangle-strip", "shader" : "jr::shader::simple", "count" : 2, "vertexSize" : 3, "vertices" : [[0.0, 1.0, 0.0], [-1.0, -1.0, 0.0], [1.0, -1.0, 0.0], [0.0, -2.0, 0.0]]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "shader": {"type": "string"}, "count": {"type": "integer"}, "vertexSize": {"type": "integer"}, "vertices": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "required": ["type", "shader", "count", "vertexSize", "vertices"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "summary": {"type": "string"}, "homepage": {"type": "string"}, "license": {"type": "object", "properties": {"type": {"type": "string"}, "file": {"type": "string"}}, "required": ["type", "file"]}, "authors": {"type": "object", "properties": {"Sebastien THIEBAUD": {"type": "string"}}, "required": ["Sebastien THIEBAUD"]}, "source": {"type": "object", "properties": {"git": {"type": "string"}, "tag": {"type": "string"}}, "required": ["git", "tag"]}, "platforms": {"type": "object", "properties": {"ios": {"type": "string"}}, "required": ["ios"]}, "source_files": {"type": "array", "items": {"type": "string"}}, "resources": {"type": "string"}, "requires_arc": {"type": "boolean"}}, "required": ["name", "version", "summary", "homepage", "license", "authors", "source", "platforms", "source_files", "resources", "requires_arc"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "STColorPicker", "version" : "1.0.0", "summary" : "A color picker presented in a UIView.", "homepage" : "https://github.com/SebastienThiebaud/STColorPicker", "license" : {"type" : "MIT", "file" : "LICENSE"}, "authors" : {"Sebastien THIEBAUD" : "sthiebaud@icloud.com"}, "source" : {"git" : "https://github.com/SebastienThiebaud/STColorPicker.git", "tag" : "1.0.0"}, "platforms" : {"ios" : "6.0"}, "source_files" : ["STColorPicker/STColorPicker.{h,m}", "STColorPicker/STGlass.{h,m}"], "resources" : "Resources/*.png", "requires_arc" : true} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "summary": {"type": "string"}, "homepage": {"type": "string"}, "license": {"type": "object", "properties": {"type": {"type": "string"}, "file": {"type": "string"}}, "required": ["type", "file"]}, "authors": {"type": "object", "properties": {"Sebastien THIEBAUD": {"type": "string"}}, "required": ["Sebastien THIEBAUD"]}, "source": {"type": "object", "properties": {"git": {"type": "string"}, "tag": {"type": "string"}}, "required": ["git", "tag"]}, "platforms": {"type": "object", "properties": {"ios": {"type": "string"}}, "required": ["ios"]}, "source_files": {"type": "array", "items": {"type": "string"}}, "resources": {"type": "string"}, "requires_arc": {"type": "boolean"}}, "required": ["name", "version", "summary", "homepage", "license", "authors", "source", "platforms", "source_files", "resources", "requires_arc"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"schemaVersion": {"type": "integer"}, "id": {"type": "string"}, "version": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "contact": {"type": "object", "properties": {"sources": {"type": "string"}}, "required": ["sources"]}, "license": {"type": "string"}, "_icon": {"type": "string"}, "environment": {"type": "string"}, "entrypoints": {"type": "object", "properties": {"main": {"type": "array", "items": {"type": "string"}}}, "required": ["main"]}, "mixins": {"type": "array", "items": {"type": "string"}}, "depends": {"type": "object", "properties": {"fabricloader": {"type": "string"}, "minecraft": {"type": "string"}, "java": {"type": "string"}}, "required": ["fabricloader", "minecraft", "java"]}, "accessWidener": {"type": "string"}}, "required": ["schemaVersion", "id", "version", "name", "description", "authors", "contact", "license", "_icon", "environment", "entrypoints", "mixins", "depends", "accessWidener"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"schemaVersion" : 1, "id" : "betterloading", "version" : "${version}", "name" : "BetterLoading Mod", "description" : "A mod that speeds up Minecraft resource loading", "authors" : ["xDark"], "contact" : {"sources" : "https://github.com/xxDark/BetterParsing"}, "license" : "MIT", "_icon" : "assets/betterparsing/icon.png", "environment" : "client", "entrypoints" : {"main" : ["dev.xdark.betterloading.BetterLoadingMod"]}, "mixins" : ["betterloading.mixins.json", "betterloading_optional.mixins.json"], "depends" : {"fabricloader" : ">=0.11.3", "minecraft" : "1.17.x", "java" : ">=16"}, "accessWidener" : "betterloading.accesswidener"} | json_instruct | {"type": "object", "properties": {"schemaVersion": {"type": "integer"}, "id": {"type": "string"}, "version": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "contact": {"type": "object", "properties": {"sources": {"type": "string"}}, "required": ["sources"]}, "license": {"type": "string"}, "_icon": {"type": "string"}, "environment": {"type": "string"}, "entrypoints": {"type": "object", "properties": {"main": {"type": "array", "items": {"type": "string"}}}, "required": ["main"]}, "mixins": {"type": "array", "items": {"type": "string"}}, "depends": {"type": "object", "properties": {"fabricloader": {"type": "string"}, "minecraft": {"type": "string"}, "java": {"type": "string"}}, "required": ["fabricloader", "minecraft", "java"]}, "accessWidener": {"type": "string"}}, "required": ["schemaVersion", "id", "version", "name", "description", "authors", "contact", "license", "_icon", "environment", "entrypoints", "mixins", "depends", "accessWidener"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"body": {"type": "string"}, "next": {"type": "string"}}, "required": ["body", "next"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"body" : "WHICH PUTS THE DISTINCTION BETWIXT THE ANIMAL KINGDOM AND THE INFERIOR PARTS OF NATURE.", "next" : "https://raw.githubusercontent.com/CAPSELOCKE/CAPSELOCKE/master/tweets/8275.json"} | json_instruct | {"type": "object", "properties": {"body": {"type": "string"}, "next": {"type": "string"}}, "required": ["body", "next"], "$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"}, "text": {"type": "string"}}, "required": ["id", "text"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "500111005001", "text" : "\u9752\u6625\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "500111005002", "text" : "\u8305\u5e97\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "500111005003", "text" : "\u5929\u6865\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "500111005004", "text" : "\u5929\u661f\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}, {"id" : "500111005005", "text" : "\u5c71\u6e56\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "text": {"type": "string"}}, "required": ["id", "text"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "address": {"type": "string"}, "decimals": {"type": "integer"}, "dharmaVerificationStatus": {"type": "string"}}, "required": ["name", "symbol", "address", "decimals", "dharmaVerificationStatus"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Yearn Finance V2", "symbol" : "YFIv2", "address" : "0x53d345839E7dF5a6c8Cf590C5c703AE255E44816", "decimals" : 18, "dharmaVerificationStatus" : "UNVERIFIED"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "address": {"type": "string"}, "decimals": {"type": "integer"}, "dharmaVerificationStatus": {"type": "string"}}, "required": ["name", "symbol", "address", "decimals", "dharmaVerificationStatus"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"meta": {"type": "object", "properties": {"generated_at": {"type": "string"}, "location": {"type": "string"}, "api_version": {"type": "string"}, "total_events": {"type": "integer"}}, "required": ["generated_at", "location", "api_version", "total_events"]}, "events": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "location": {"type": "string"}, "rsvp_count": {"type": "integer"}, "url": {"type": "string"}, "group_id": {"type": "integer"}, "group_name": {"type": "string"}, "group_url": {"type": "string"}, "formatted_time": {"type": "string"}, "start_time": {"type": "string"}, "end_time": {"type": "string"}, "latitude": {"type": "number"}, "longitude": {"type": "number"}}, "required": ["id", "name", "description", "location", "rsvp_count", "url", "group_id", "group_name", "group_url", "formatted_time", "start_time", "end_time", "latitude", "longitude"]}}}, "required": ["meta", "events"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"meta" : {"generated_at" : "2016-03-26T19:01:04.710Z", "location" : "Singapore", "api_version" : "v1", "total_events" : 1}, "events" : [{"id" : "229536602", "name" : "Spectate at the FutureMe Drone Race!!!", "description" : "This isn't an organised meetup, don't bring your quads to fly etc...! This is just to advertise the FutureMe drone race happening in Marina Bay on 27th March. Registration is already closed, but come and support your hobby and encourage those that are competing! Introduce your friends to your cool hobby! Lots of entertainment for everyone! I'll be competing - as will a couple of others members, so do come and support us!!! Looking forward to a great 2016, there are many moves afoot to make drone racing a permanent fixture on the Singaporean calendars! I'll make sure the good ones are shared through meetup.com!", "location" : "Marina Bay Floating Platform, Raffles Avenue, Singapore", "rsvp_count" : 20, "url" : "http://www.meetup.com/dronesg/events/229536602/", "group_id" : 18318692, "group_name" : "Singapore FPV Fun Meetup (Drone Fun)", "group_url" : "http://meetup.com/dronesg", "formatted_time" : "27 Mar 2016, Sun, 9:00 am", "start_time" : "2016-03-27T01:00:00.000Z", "end_time" : "2016-03-27T08:00:00.000Z", "latitude" : 1.290316, "longitude" : 103.859466}]} | json_instruct | {"type": "object", "properties": {"meta": {"type": "object", "properties": {"generated_at": {"type": "string"}, "location": {"type": "string"}, "api_version": {"type": "string"}, "total_events": {"type": "integer"}}, "required": ["generated_at", "location", "api_version", "total_events"]}, "events": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "location": {"type": "string"}, "rsvp_count": {"type": "integer"}, "url": {"type": "string"}, "group_id": {"type": "integer"}, "group_name": {"type": "string"}, "group_url": {"type": "string"}, "formatted_time": {"type": "string"}, "start_time": {"type": "string"}, "end_time": {"type": "string"}, "latitude": {"type": "number"}, "longitude": {"type": "number"}}, "required": ["id", "name", "description", "location", "rsvp_count", "url", "group_id", "group_name", "group_url", "formatted_time", "start_time", "end_time", "latitude", "longitude"]}}}, "required": ["meta", "events"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "stages": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}}}, "required": ["name", "stages"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Mania 7K French Tournament 2021", "stages" : [{"id" : "1.week1", "name" : "Week 1: RO16 + Quarterfinals"}]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "stages": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}}}, "required": ["name", "stages"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"config": {"type": "object", "properties": {"abort": {"type": "object", "properties": {"already_configured": {"type": "string"}, "reauth_successful": {"type": "string"}, "reauth_wrong_account": {"type": "string"}}, "required": ["already_configured", "reauth_successful", "reauth_wrong_account"]}, "error": {"type": "object", "properties": {"cannot_connect": {"type": "string"}, "invalid_auth": {"type": "string"}, "server_in_maintenance": {"type": "string"}, "too_many_requests": {"type": "string"}, "unknown": {"type": "string"}}, "required": ["cannot_connect", "invalid_auth", "server_in_maintenance", "too_many_requests", "unknown"]}, "step": {"type": "object", "properties": {"user": {"type": "object", "properties": {"data": {"type": "object", "properties": {"host": {"type": "string"}, "hub": {"type": "string"}, "password": {"type": "string"}, "username": {"type": "string"}}, "required": ["host", "hub", "password", "username"]}, "description": {"type": "string"}}, "required": ["data", "description"]}}, "required": ["user"]}}, "required": ["abort", "error", "step"]}}, "required": ["config"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"config" : {"abort" : {"already_configured" : "L'account \u00e8 gi\u00e0 configurato", "reauth_successful" : "La nuova autenticazione \u00e8 stata eseguita correttamente", "reauth_wrong_account" : "Puoi riautenticare questa voce solo con lo stesso account e hub Overkiz"}, "error" : {"cannot_connect" : "Impossibile connettersi", "invalid_auth" : "Autenticazione non valida", "server_in_maintenance" : "Il server \u00e8 inattivo per manutenzione", "too_many_requests" : "Troppe richieste, riprova pi\u00f9 tardi.", "unknown" : "Errore imprevisto"}, "step" : {"user" : {"data" : {"host" : "Host", "hub" : "Hub", "password" : "Password", "username" : "Nome utente"}, "description" : "La piattaforma Overkiz \u00e8 utilizzata da vari fornitori come Somfy (Connexoon / TaHoma), Hitachi (Hi Kumo), Rexel (Energeasy Connect) e Atlantic (Cozytouch). Inserisci le credenziali dell'applicazione e seleziona il tuo hub."}}}} | json_instruct | {"type": "object", "properties": {"config": {"type": "object", "properties": {"abort": {"type": "object", "properties": {"already_configured": {"type": "string"}, "reauth_successful": {"type": "string"}, "reauth_wrong_account": {"type": "string"}}, "required": ["already_configured", "reauth_successful", "reauth_wrong_account"]}, "error": {"type": "object", "properties": {"cannot_connect": {"type": "string"}, "invalid_auth": {"type": "string"}, "server_in_maintenance": {"type": "string"}, "too_many_requests": {"type": "string"}, "unknown": {"type": "string"}}, "required": ["cannot_connect", "invalid_auth", "server_in_maintenance", "too_many_requests", "unknown"]}, "step": {"type": "object", "properties": {"user": {"type": "object", "properties": {"data": {"type": "object", "properties": {"host": {"type": "string"}, "hub": {"type": "string"}, "password": {"type": "string"}, "username": {"type": "string"}}, "required": ["host", "hub", "password", "username"]}, "description": {"type": "string"}}, "required": ["data", "description"]}}, "required": ["user"]}}, "required": ["abort", "error", "step"]}}, "required": ["config"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"LineItem": {"type": "array", "items": {"type": "object", "properties": {"ItemDescription": {"type": "string"}, "ItemTotal": {"type": "string"}, "ItemUnitCount": {"type": "string"}, "ItemUnitValue": {"type": "string"}}, "required": ["ItemDescription", "ItemTotal", "ItemUnitCount", "ItemUnitValue"]}}, "InvoiceNumber": {"type": "string"}, "TotalAmount": {"type": "string"}, "IssuedDate": {"type": "string"}}, "required": ["LineItem", "InvoiceNumber", "TotalAmount", "IssuedDate"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"LineItem" : [{"ItemDescription" : "Grant for Coalition programs", "ItemTotal" : "$ 50,000.00", "ItemUnitCount" : "", "ItemUnitValue" : ""}], "InvoiceNumber" : "", "TotalAmount" : "", "IssuedDate" : ""} | json_instruct | {"type": "object", "properties": {"LineItem": {"type": "array", "items": {"type": "object", "properties": {"ItemDescription": {"type": "string"}, "ItemTotal": {"type": "string"}, "ItemUnitCount": {"type": "string"}, "ItemUnitValue": {"type": "string"}}, "required": ["ItemDescription", "ItemTotal", "ItemUnitCount", "ItemUnitValue"]}}, "InvoiceNumber": {"type": "string"}, "TotalAmount": {"type": "string"}, "IssuedDate": {"type": "string"}}, "required": ["LineItem", "InvoiceNumber", "TotalAmount", "IssuedDate"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "lint": {"type": "string"}, "fix": {"type": "string"}}, "required": ["test", "lint", "fix"]}, "author": {"type": "string"}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"nodeplotlib": {"type": "string"}, "prismarine-block": {"type": "string"}, "prismarine-physics": {"type": "string"}, "seedrandom": {"type": "string"}}, "required": ["nodeplotlib", "prismarine-block", "prismarine-physics", "seedrandom"]}, "devDependencies": {"type": "object", "properties": {"standard": {"type": "string"}}, "required": ["standard"]}}, "required": ["name", "version", "description", "main", "scripts", "author", "license", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "mineflayer-gym", "version" : "1.0.0", "description" : "Environement for training RL agents for mineflayer", "main" : "index.js", "scripts" : {"test" : "npm run lint", "lint" : "standard", "fix" : "standard --fix"}, "author" : "Karang", "license" : "MIT", "dependencies" : {"nodeplotlib" : "^0.7.5", "prismarine-block" : "^1.10.3", "prismarine-physics" : "^1.3.1", "seedrandom" : "^3.0.5"}, "devDependencies" : {"standard" : "^16.0.3"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "lint": {"type": "string"}, "fix": {"type": "string"}}, "required": ["test", "lint", "fix"]}, "author": {"type": "string"}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"nodeplotlib": {"type": "string"}, "prismarine-block": {"type": "string"}, "prismarine-physics": {"type": "string"}, "seedrandom": {"type": "string"}}, "required": ["nodeplotlib", "prismarine-block", "prismarine-physics", "seedrandom"]}, "devDependencies": {"type": "object", "properties": {"standard": {"type": "string"}}, "required": ["standard"]}}, "required": ["name", "version", "description", "main", "scripts", "author", "license", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"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" : 25114, "cartId" : "4686b17f-2d54-4d0f-ad2f-74d39715e25e", "preferredProducts" : [3728, 3234, 2922, 1412, 3856, 86], "productReviews" : [{"productId" : 1716, "reviewText" : "My co-worker Kazuo has one of these. He says it looks transparent.", "reviewDate" : "2019-05-19T17:38:31.751983+03:00"}, {"productId" : 2919, "reviewText" : "My co-worker Skylar has one of these. He says it looks sweaty.", "reviewDate" : "2018-08-21T14:32:46.2719847+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#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"version": {"type": "number"}, "people": {"type": "array", "items": {"type": "object", "properties": {"pose_keypoints_2d": {"type": "array", "items": {"type": "number"}}, "face_keypoints_2d": {"type": "array", "items": {}}, "hand_left_keypoints_2d": {"type": "array", "items": {}}, "hand_right_keypoints_2d": {"type": "array", "items": {}}, "pose_keypoints_3d": {"type": "array", "items": {}}, "face_keypoints_3d": {"type": "array", "items": {}}, "hand_left_keypoints_3d": {"type": "array", "items": {}}, "hand_right_keypoints_3d": {"type": "array", "items": {}}}, "required": ["pose_keypoints_2d", "face_keypoints_2d", "hand_left_keypoints_2d", "hand_right_keypoints_2d", "pose_keypoints_3d", "face_keypoints_3d", "hand_left_keypoints_3d", "hand_right_keypoints_3d"]}}}, "required": ["version", "people"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"version" : 1.2, "people" : [{"pose_keypoints_2d" : [290.519, 212.183, 0.928027, 288.39, 266.926, 0.879338, 243.414, 266.929, 0.823418, 225.735, 335.503, 0.78253, 227.8, 402.105, 0.703203, 325.737, 263.005, 0.830894, 361.002, 321.734, 0.798814, 400.178, 368.88, 0.840114, 286.447, 402.118, 0.754439, 253.229, 404.059, 0.722499, 198.359, 494.28, 0.791696, 151.399, 584.306, 0.786264, 317.808, 400.214, 0.760094, 360.969, 488.328, 0.767931, 376.62, 582.365, 0.748476, 284.544, 208.085, 0.862217, 302.197, 206.189, 0.877378, 268.874, 210.102, 0.879415, 310.075, 208.145, 0.776805, 382.593, 609.781, 0.732096, 398.113, 603.978, 0.813318, 368.815, 590.173, 0.722298, 147.389, 617.642, 0.765681, 133.691, 611.715, 0.725518, 153.29, 586.346, 0.622329], "face_keypoints_2d" : [], "hand_left_keypoints_2d" : [], "hand_right_keypoints_2d" : [], "pose_keypoints_3d" : [], "face_keypoints_3d" : [], "hand_left_keypoints_3d" : [], "hand_right_keypoints_3d" : []}]} | json_instruct | {"type": "object", "properties": {"version": {"type": "number"}, "people": {"type": "array", "items": {"type": "object", "properties": {"pose_keypoints_2d": {"type": "array", "items": {"type": "number"}}, "face_keypoints_2d": {"type": "array", "items": {}}, "hand_left_keypoints_2d": {"type": "array", "items": {}}, "hand_right_keypoints_2d": {"type": "array", "items": {}}, "pose_keypoints_3d": {"type": "array", "items": {}}, "face_keypoints_3d": {"type": "array", "items": {}}, "hand_left_keypoints_3d": {"type": "array", "items": {}}, "hand_right_keypoints_3d": {"type": "array", "items": {}}}, "required": ["pose_keypoints_2d", "face_keypoints_2d", "hand_left_keypoints_2d", "hand_right_keypoints_2d", "pose_keypoints_3d", "face_keypoints_3d", "hand_left_keypoints_3d", "hand_right_keypoints_3d"]}}}, "required": ["version", "people"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"disk": {"type": "object", "properties": {"I": {"type": "number"}, "Re": {"type": "number"}, "c": {"type": "number"}, "mux": {"type": "number"}, "muy": {"type": "number"}, "n": {"type": "number"}, "q": {"type": "number"}, "roll": {"type": "number"}}, "required": ["I", "Re", "c", "mux", "muy", "n", "q", "roll"]}, "bulge": {"type": "object", "properties": {"I": {"type": "number"}, "Re": {"type": "number"}, "c": {"type": "number"}, "mux": {"type": "number"}, "muy": {"type": "number"}, "n": {"type": "number"}, "q": {"type": "number"}, "roll": {"type": "number"}}, "required": ["I", "Re", "c", "mux", "muy", "n", "q", "roll"]}, "bar": {"type": "null"}, "spiral": {"type": "array", "items": {}}}, "required": ["disk", "bulge", "bar", "spiral"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"disk" : {"I" : 0.03341692535595821, "Re" : 17.014523738487142, "c" : 2.0, "mux" : 60.38739057617948, "muy" : 60.20954173228861, "n" : 1.0, "q" : 0.7129994481727052, "roll" : 0.12525843421339067}, "bulge" : {"I" : 0.5426489307087856, "Re" : 1.6215606413411323, "c" : 2.0, "mux" : 60.37537983202888, "muy" : 60.24701889546181, "n" : 1.9618961814481142, "q" : 0.8333333333333334, "roll" : 0.29922142190328005}, "bar" : null, "spiral" : []} | json_instruct | {"type": "object", "properties": {"disk": {"type": "object", "properties": {"I": {"type": "number"}, "Re": {"type": "number"}, "c": {"type": "number"}, "mux": {"type": "number"}, "muy": {"type": "number"}, "n": {"type": "number"}, "q": {"type": "number"}, "roll": {"type": "number"}}, "required": ["I", "Re", "c", "mux", "muy", "n", "q", "roll"]}, "bulge": {"type": "object", "properties": {"I": {"type": "number"}, "Re": {"type": "number"}, "c": {"type": "number"}, "mux": {"type": "number"}, "muy": {"type": "number"}, "n": {"type": "number"}, "q": {"type": "number"}, "roll": {"type": "number"}}, "required": ["I", "Re", "c", "mux", "muy", "n", "q", "roll"]}, "bar": {"type": "null"}, "spiral": {"type": "array", "items": {}}}, "required": ["disk", "bulge", "bar", "spiral"], "$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"}, "Name": {"type": "string"}, "MoveId": {"type": "integer"}, "Description": {"type": "string"}, "Category": {"type": "integer"}, "BasePower": {"type": "integer"}, "Type": {"type": "integer"}, "BasePP": {"type": "integer"}, "Accuracy": {"type": "integer"}}, "required": ["Id", "Name", "MoveId", "Description", "Category", "BasePower", "Type", "BasePP", "Accuracy"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Id" : "mega-drain", "Name" : "Mega Drain", "MoveId" : 320, "Description" : "Inflicts damage on the target, then restores the user's HP based on the damage inflicted.\nRange: Enemy in front", "Category" : 1, "BasePower" : 8, "Type" : 4, "BasePP" : 17, "Accuracy" : 88} | json_instruct | {"type": "object", "properties": {"Id": {"type": "string"}, "Name": {"type": "string"}, "MoveId": {"type": "integer"}, "Description": {"type": "string"}, "Category": {"type": "integer"}, "BasePower": {"type": "integer"}, "Type": {"type": "integer"}, "BasePP": {"type": "integer"}, "Accuracy": {"type": "integer"}}, "required": ["Id", "Name", "MoveId", "Description", "Category", "BasePower", "Type", "BasePP", "Accuracy"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"src2dstTxHash": {"type": "string"}, "dst2srcTxHash": {"type": "string"}, "accountAddress": {"type": "string"}, "validatorOprAddress": {"type": "string"}}, "required": ["src2dstTxHash", "dst2srcTxHash", "accountAddress", "validatorOprAddress"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"src2dstTxHash" : "3A9358924FC55CA7614A57596C77D8514926D981D00B7E13B8FEE785F53444EE", "dst2srcTxHash" : "894960D60BA3E8B1AF2C45EAF358ED57373F414A6128CD145561C2243A815759", "accountAddress" : "coho1fdcyrsy08layl9xagdm6k89jfcm7y9w0ajr55v", "validatorOprAddress" : "cohovaloper1fdcyrsy08layl9xagdm6k89jfcm7y9w0dxppvn"} | json_instruct | {"type": "object", "properties": {"src2dstTxHash": {"type": "string"}, "dst2srcTxHash": {"type": "string"}, "accountAddress": {"type": "string"}, "validatorOprAddress": {"type": "string"}}, "required": ["src2dstTxHash", "dst2srcTxHash", "accountAddress", "validatorOprAddress"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "decorative_blocks:block/birch_seat_inventory"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"name": {"type": "string"}, "id": {"type": "string"}, "address": {"type": "string"}, "school_type": {"type": "string"}, "phone": {"type": "string"}, "full_time_school": {"type": "boolean"}, "email": {"type": "string"}, "programs": {"type": "object", "properties": {"programs": {"type": "array", "items": {}}}, "required": ["programs"]}, "state": {"type": "string"}, "lon": {"type": "number"}, "lat": {"type": "number"}}, "required": ["name", "id", "address", "school_type", "phone", "full_time_school", "email", "programs", "state", "lon", "lat"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Grundschule Bramsche", "id" : "NI-20941-0", "address" : "Mundersumer Str. 4, 49811\u00a0Lingen", "school_type" : "Grundschule", "phone" : "05906 333", "full_time_school" : true, "email" : "sekretariat@grundschule-bramsche.de", "programs" : {"programs" : []}, "state" : "NI", "lon" : 7.36697, "lat" : 52.457322} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "id": {"type": "string"}, "address": {"type": "string"}, "school_type": {"type": "string"}, "phone": {"type": "string"}, "full_time_school": {"type": "boolean"}, "email": {"type": "string"}, "programs": {"type": "object", "properties": {"programs": {"type": "array", "items": {}}}, "required": ["programs"]}, "state": {"type": "string"}, "lon": {"type": "number"}, "lat": {"type": "number"}}, "required": ["name", "id", "address", "school_type", "phone", "full_time_school", "email", "programs", "state", "lon", "lat"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"ELTZ": {"type": "object", "properties": {"short_name": {"type": "string"}, "long_name": {"type": "string"}, "summary": {"type": "string"}, "currency": {"type": "string"}, "sector": {"type": "string"}, "industry": {"type": "string"}, "exchange": {"type": "string"}, "market": {"type": "string"}, "country": {"type": "string"}, "state": {"type": "string"}, "city": {"type": "string"}, "zipcode": {"type": "string"}, "website": {"type": "null"}, "market_cap": {"type": "string"}}, "required": ["short_name", "long_name", "summary", "currency", "sector", "industry", "exchange", "market", "country", "state", "city", "zipcode", "website", "market_cap"]}}, "required": ["ELTZ"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ELTZ" : {"short_name" : "ELITE GROUP INC", "long_name" : "Elite Group, Inc.", "summary" : "Elite Group, Inc. engages in acquiring water properties for the oilfield service sector. It holds a Salt Water Disposal (Kypo) property in oil and gas land located in Carrizo Springs, Texas. The company was formerly known as Elite Books, Inc. and changed its name to Elite Group, Inc. in July 2016. Elite Group, Inc. was founded in 2013 and is based in Frisco, Texas.", "currency" : "USD", "sector" : "Services", "industry" : "Specialty Retail, Other", "exchange" : "PNK", "market" : "us_market", "country" : "United States", "state" : "TX", "city" : "Frisco", "zipcode" : "75034", "website" : null, "market_cap" : "Nano Cap"}} | json_instruct | {"type": "object", "properties": {"ELTZ": {"type": "object", "properties": {"short_name": {"type": "string"}, "long_name": {"type": "string"}, "summary": {"type": "string"}, "currency": {"type": "string"}, "sector": {"type": "string"}, "industry": {"type": "string"}, "exchange": {"type": "string"}, "market": {"type": "string"}, "country": {"type": "string"}, "state": {"type": "string"}, "city": {"type": "string"}, "zipcode": {"type": "string"}, "website": {"type": "null"}, "market_cap": {"type": "string"}}, "required": ["short_name", "long_name", "summary", "currency", "sector", "industry", "exchange", "market", "country", "state", "city", "zipcode", "website", "market_cap"]}}, "required": ["ELTZ"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}}, "desc": {"type": "string"}, "details": {"type": "object", "properties": {"authors": {"type": "string"}, "format": {"type": "string"}, "isbn-10": {"type": "string"}, "isbn-13": {"type": "string"}, "pages": {"type": "string"}, "publication date": {"type": "string"}, "publisher": {"type": "string"}, "size": {"type": "string"}}, "required": ["authors", "format", "isbn-10", "isbn-13", "pages", "publication date", "publisher", "size"]}, "img": {"type": "string"}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["categories", "desc", "details", "img", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"categories" : ["Programming", "Web Development"], "desc" : " Part of Packt\u2019s Beginner\u2019s Guide Series, this book follows a sample application, with lots of screenshots, to help you get to grips with the techniques as quickly as possible. Moderately experienced Python programmers who want to learn how to create fairly complex, database-driven, cross browser compatible web apps that are maintainable and look good will find this book of most use. All key technologies except for Python 3 are explained in detail.", "details" : {"authors" : "Michel Anders", "format" : "pdf", "isbn-10" : "1849513740", "isbn-13" : "978-1849513746", "pages" : "336 pages", "publication date" : "May 12, 2011", "publisher" : "Packt Publishing", "size" : "2.67Mb"}, "img" : "http://23.95.221.108/covers/16/166bae0db474af10ffb9ef58e50eb1b2.jpg", "link" : "https://rapidhosting.info/files/aw2", "title" : "Python 3 Web Development Beginner\u2019s Guide"} | json_instruct | {"type": "object", "properties": {"categories": {"type": "array", "items": {"type": "string"}}, "desc": {"type": "string"}, "details": {"type": "object", "properties": {"authors": {"type": "string"}, "format": {"type": "string"}, "isbn-10": {"type": "string"}, "isbn-13": {"type": "string"}, "pages": {"type": "string"}, "publication date": {"type": "string"}, "publisher": {"type": "string"}, "size": {"type": "string"}}, "required": ["authors", "format", "isbn-10", "isbn-13", "pages", "publication date", "publisher", "size"]}, "img": {"type": "string"}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["categories", "desc", "details", "img", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"parent": {"type": "string"}, "name": {"type": "string"}, "flags": {"type": "integer"}, "props": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "name": {"type": "string"}, "flags": {"type": "integer"}}, "required": ["type", "name", "flags"]}}}, "required": ["parent", "name", "flags", "props"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "inkLayerDefinition", "name" : "inkSystemNotificationsLayerDefinition", "flags" : 2, "props" : [{"type" : "rRef:inkWidgetLibraryResource", "name" : "cursorResource", "flags" : 6627016705}]} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}, "name": {"type": "string"}, "flags": {"type": "integer"}, "props": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "name": {"type": "string"}, "flags": {"type": "integer"}}, "required": ["type", "name", "flags"]}}}, "required": ["parent", "name", "flags", "props"], "$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"}, "ingredients": {"type": "array", "items": {"type": "object", "properties": {"item": {"type": "string"}}, "required": ["item"]}}, "result": {"type": "object", "properties": {"item": {"type": "string"}, "count": {"type": "integer"}}, "required": ["item", "count"]}}, "required": ["type", "ingredients", "result"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "minecraft:crafting_shapeless", "ingredients" : [{"item" : "stormysbakery:teacup"}, {"item" : "minecraft:water_bucket"}, {"item" : "minecraft:grass"}], "result" : {"item" : "stormysbakery:green_tea", "count" : 1}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "ingredients": {"type": "array", "items": {"type": "object", "properties": {"item": {"type": "string"}}, "required": ["item"]}}, "result": {"type": "object", "properties": {"item": {"type": "string"}, "count": {"type": "integer"}}, "required": ["item", "count"]}}, "required": ["type", "ingredients", "result"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "districtId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "districtId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "2003", "provinceId" : "65", "regencyId" : "01", "districtId" : "10", "name" : "Bunyu Timur"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "districtId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "districtId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "2starname": {"type": "string"}, "3starname": {"type": "string"}, "4starname": {"type": "string"}, "day": {"type": "array", "items": {"type": "string"}}, "location": {"type": "string"}, "region": {"type": "string"}, "domainofmastery": {"type": "string"}}, "required": ["name", "2starname", "3starname", "4starname", "day", "location", "region", "domainofmastery"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Freedom", "2starname" : "Teachings of Freedom", "3starname" : "Guide to Freedom", "4starname" : "Philosophies of Freedom", "day" : ["Monday", "Thursday", "Sunday"], "location" : "Springvale", "region" : "Mondstadt", "domainofmastery" : "Forsaken Rift"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "2starname": {"type": "string"}, "3starname": {"type": "string"}, "4starname": {"type": "string"}, "day": {"type": "array", "items": {"type": "string"}}, "location": {"type": "string"}, "region": {"type": "string"}, "domainofmastery": {"type": "string"}}, "required": ["name", "2starname", "3starname", "4starname", "day", "location", "region", "domainofmastery"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {"type": "integer"}}, "productReviews": {"type": "array", "items": {"type": "object", "properties": {"productId": {"type": "integer"}, "reviewText": {"type": "string"}, "reviewDate": {"type": "string"}}, "required": ["productId", "reviewText", "reviewDate"]}}}, "required": ["userId", "cartId", "preferredProducts", "productReviews"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"userId" : 71576, "cartId" : "15d0f2f6-7e61-4c34-898e-ad9f737988d2", "preferredProducts" : [4220, 1990, 4586, 4565, 3905, 1977, 2611, 1356, 68, 352], "productReviews" : [{"productId" : 3401, "reviewText" : "I saw one of these in Saint Lucia and I bought one.", "reviewDate" : "2019-08-28T16:01:48.651387+03:00"}, {"productId" : 4000, "reviewText" : "one of my hobbies is cooking. and when i'm cooking this works great.", "reviewDate" : "2020-05-04T08:46:03.3250496+03:00"}, {"productId" : 1542, "reviewText" : "heard about this on brazilian radio, decided to give it a try.", "reviewDate" : "2017-03-20T05:45:25.1524951+02:00"}, {"productId" : 3941, "reviewText" : "I tried to nab it but got biscuit all over it.", "reviewDate" : "2017-01-08T00:22:01.6630055+02:00"}]} | json_instruct | {"type": "object", "properties": {"userId": {"type": "integer"}, "cartId": {"type": "string"}, "preferredProducts": {"type": "array", "items": {"type": "integer"}}, "productReviews": {"type": "array", "items": {"type": "object", "properties": {"productId": {"type": "integer"}, "reviewText": {"type": "string"}, "reviewDate": {"type": "string"}}, "required": ["productId", "reviewText", "reviewDate"]}}}, "required": ["userId", "cartId", "preferredProducts", "productReviews"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"symptoms": {"type": "array", "items": {"type": "object", "properties": {"title": {"type": "object", "properties": {"en-GB": {"type": "string"}}, "required": ["en-GB"]}, "description": {"type": "object", "properties": {"en-GB": {"type": "string"}}, "required": ["en-GB"]}, "riskWeight": {"type": "integer"}}, "required": ["title", "description", "riskWeight"]}}, "riskThreshold": {"type": "number"}, "symptomsOnsetWindowDays": {"type": "integer"}}, "required": ["symptoms", "riskThreshold", "symptomsOnsetWindowDays"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"symptoms" : [{"title" : {"en-GB" : "A high temperature (fever)"}, "description" : {"en-GB" : "This means that you feel hot to touch on your chest or back (you do not need to measure your temperature)."}, "riskWeight" : 1}, {"title" : {"en-GB" : "A new continuous cough"}, "description" : {"en-GB" : "This means coughing a lot for more than an hour, or 3 or more coughing episodes in 24 hours (if you usually have a cough, it may be worse than usual)."}, "riskWeight" : 1}, {"title" : {"en-GB" : "A new loss or change to your sense of smell or taste"}, "description" : {"en-GB" : "This means you have noticed you cannot smell or taste anything, or things smell or taste different to normal."}, "riskWeight" : 1}], "riskThreshold" : 0.5, "symptomsOnsetWindowDays" : 5} | json_instruct | {"type": "object", "properties": {"symptoms": {"type": "array", "items": {"type": "object", "properties": {"title": {"type": "object", "properties": {"en-GB": {"type": "string"}}, "required": ["en-GB"]}, "description": {"type": "object", "properties": {"en-GB": {"type": "string"}}, "required": ["en-GB"]}, "riskWeight": {"type": "integer"}}, "required": ["title", "description", "riskWeight"]}}, "riskThreshold": {"type": "number"}, "symptomsOnsetWindowDays": {"type": "integer"}}, "required": ["symptoms", "riskThreshold", "symptomsOnsetWindowDays"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 1225897307, "type" : "Feature", "properties" : {"src:alt_label" : "geonames", "src:geom" : "geonames", "wof:geomhash" : "fabb67bce319453d8e50a32c64dfc80a", "wof:id" : 1225897307, "wof:repo" : "whosonfirst-data-admin-ro"}, "bbox" : [21.87319, 45.93103, 21.87319, 45.93103], "geometry" : {"coordinates" : [21.87319, 45.93103], "type" : "Point"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"index": {"type": "object", "properties": {"max_result_window": {"type": "integer"}, "analysis": {"type": "object", "properties": {"analyzer": {"type": "object", "properties": {"ftp_url": {"type": "object", "properties": {"type": {"type": "string"}, "tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "tokenizer", "filter"]}, "autocomp": {"type": "object", "properties": {"tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["tokenizer", "filter"]}, "case_insensitive_sort": {"type": "object", "properties": {"tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["tokenizer", "filter"]}}, "required": ["ftp_url", "autocomp", "case_insensitive_sort"]}, "tokenizer": {"type": "object", "properties": {"alphanumeric": {"type": "object", "properties": {"type": {"type": "string"}, "pattern": {"type": "string"}}, "required": ["type", "pattern"]}, "autocomplete": {"type": "object", "properties": {"type": {"type": "string"}, "min_gram": {"type": "integer"}, "max_gram": {"type": "integer"}, "token_chars": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "min_gram", "max_gram", "token_chars"]}}, "required": ["alphanumeric", "autocomplete"]}, "filter": {"type": "object", "properties": {"file_stopwords": {"type": "object", "properties": {"type": {"type": "string"}, "stopwords": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "stopwords"]}}, "required": ["file_stopwords"]}}, "required": ["analyzer", "tokenizer", "filter"]}}, "required": ["max_result_window", "analysis"]}}, "required": ["index"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"index" : {"max_result_window" : 1000000, "analysis" : {"analyzer" : {"ftp_url" : {"type" : "custom", "tokenizer" : "alphanumeric", "filter" : ["lowercase", "file_stopwords"]}, "autocomp" : {"tokenizer" : "autocomplete", "filter" : ["lowercase"]}, "case_insensitive_sort" : {"tokenizer" : "keyword", "filter" : ["lowercase"]}}, "tokenizer" : {"alphanumeric" : {"type" : "pattern", "pattern" : "[^A-Za-z0-9]([^A-Za-z]*([^A-Za-z0-9]|$))?"}, "autocomplete" : {"type" : "edgeNGram", "min_gram" : 3, "max_gram" : 20, "token_chars" : ["letter", "digit"]}}, "filter" : {"file_stopwords" : {"type" : "stop", "stopwords" : ["ftp", "sra", "ebi", "ac", "uk", "faang", "gz"]}}}}} | json_instruct | {"type": "object", "properties": {"index": {"type": "object", "properties": {"max_result_window": {"type": "integer"}, "analysis": {"type": "object", "properties": {"analyzer": {"type": "object", "properties": {"ftp_url": {"type": "object", "properties": {"type": {"type": "string"}, "tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "tokenizer", "filter"]}, "autocomp": {"type": "object", "properties": {"tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["tokenizer", "filter"]}, "case_insensitive_sort": {"type": "object", "properties": {"tokenizer": {"type": "string"}, "filter": {"type": "array", "items": {"type": "string"}}}, "required": ["tokenizer", "filter"]}}, "required": ["ftp_url", "autocomp", "case_insensitive_sort"]}, "tokenizer": {"type": "object", "properties": {"alphanumeric": {"type": "object", "properties": {"type": {"type": "string"}, "pattern": {"type": "string"}}, "required": ["type", "pattern"]}, "autocomplete": {"type": "object", "properties": {"type": {"type": "string"}, "min_gram": {"type": "integer"}, "max_gram": {"type": "integer"}, "token_chars": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "min_gram", "max_gram", "token_chars"]}}, "required": ["alphanumeric", "autocomplete"]}, "filter": {"type": "object", "properties": {"file_stopwords": {"type": "object", "properties": {"type": {"type": "string"}, "stopwords": {"type": "array", "items": {"type": "string"}}}, "required": ["type", "stopwords"]}}, "required": ["file_stopwords"]}}, "required": ["analyzer", "tokenizer", "filter"]}}, "required": ["max_result_window", "analysis"]}}, "required": ["index"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"stationId": {"type": "integer"}, "stationGroupId": {"type": "integer"}, "name": {"type": "string"}, "lineId": {"type": "integer"}, "zipCode": {"type": "string"}, "pref": {"type": "string"}, "city": {"type": "string"}, "town": {"type": "string"}, "longitude": {"type": "number"}, "latitude": {"type": "number"}, "status": {"type": "integer"}}, "required": ["stationId", "stationGroupId", "name", "lineId", "zipCode", "pref", "city", "town", "longitude", "latitude", "status"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"stationId" : 1170514, "stationGroupId" : 1170514, "name" : "\u4e0a\u9053", "lineId" : 11705, "zipCode" : "684-0041", "pref" : "\u9ce5\u53d6\u770c", "city" : "\u5883\u6e2f\u5e02", "town" : "\u4e2d\u91ce\u753a", "longitude" : 133.230748, "latitude" : 35.531148, "status" : 0} | json_instruct | {"type": "object", "properties": {"stationId": {"type": "integer"}, "stationGroupId": {"type": "integer"}, "name": {"type": "string"}, "lineId": {"type": "integer"}, "zipCode": {"type": "string"}, "pref": {"type": "string"}, "city": {"type": "string"}, "town": {"type": "string"}, "longitude": {"type": "number"}, "latitude": {"type": "number"}, "status": {"type": "integer"}}, "required": ["stationId", "stationGroupId", "name", "lineId", "zipCode", "pref", "city", "town", "longitude", "latitude", "status"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"time": {"type": "number"}, "validation_metric": {"type": "number"}, "test_metric": {"type": "number"}}, "required": ["time", "validation_metric", "test_metric"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"time" : 4.998, "validation_metric" : 0.320660456750811, "test_metric" : 0.34} | json_instruct | {"type": "object", "properties": {"time": {"type": "number"}, "validation_metric": {"type": "number"}, "test_metric": {"type": "number"}}, "required": ["time", "validation_metric", "test_metric"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"number": {"type": "string"}, "title": {"type": "string"}, "url": {"type": "string"}, "difficulty": {"type": "string"}, "question": {"type": "string"}, "code": {"type": "string"}}, "required": ["number", "title", "url", "difficulty", "question", "code"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"number" : "677", "title" : "Map Sum Pairs", "url" : "https://leetcode.com/problems/map-sum-pairs", "difficulty" : "Medium", "question" : "\nImplement a MapSum class with insert, and sum methods.\n\n\n\nFor the method insert, you'll be given a pair of (string, integer). The string represents the key and the integer represents the value. If the key already existed, then the original key-value pair will be overridden to the new one.\n\n\n\nFor the method sum, you'll be given a string representing the prefix, and you need to return the sum of all the pairs' value whose key starts with the prefix.\n\n\nExample 1:\nInput: insert("apple", 3), Output: Null\nInput: sum("ap"), Output: 3\nInput: insert("app", 2), Output: Null\nInput: sum("ap"), Output: 5\n\n\n", "code" : "undefinedpublic class MapSum {\u200b \u00a0 \u00a0/** Initialize your data structure here. */ \u00a0 \u00a0public MapSum() { \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0 \u00a0 \u00a0 \u00a0public void Insert(string key, int val) { \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0 \u00a0 \u00a0 \u00a0public int Sum(string prefix) { \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 }}\u200b/** * Your MapSum object will be instantiated and called as such: * MapSum obj = new MapSum(); * obj.Insert(key,val); * int param_2 = obj.Sum(prefix); */"} | json_instruct | {"type": "object", "properties": {"number": {"type": "string"}, "title": {"type": "string"}, "url": {"type": "string"}, "difficulty": {"type": "string"}, "question": {"type": "string"}, "code": {"type": "string"}}, "required": ["number", "title", "url", "difficulty", "question", "code"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "type": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"@tervis/adobescene7js": {"type": "string"}, "@tervis/tervisproductmetadata": {"type": "string"}, "@tervis/tervisutilityjs": {"type": "string"}}, "required": ["@tervis/adobescene7js", "@tervis/tervisproductmetadata", "@tervis/tervisutilityjs"]}}, "required": ["name", "version", "type", "main", "repository", "license", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "@tervis/tervisadobescene7js", "version" : "0.1.99-0", "type" : "module", "main" : "TervisAdobeScene7JS.js", "repository" : {"type" : "git", "url" : "https://github.com/Tervis-Tumbler/TervisAdobeScene7JS"}, "license" : "MIT", "dependencies" : {"@tervis/adobescene7js" : "^0.1.8", "@tervis/tervisproductmetadata" : "^1.0.46", "@tervis/tervisutilityjs" : "^0.1.12"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "type": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "license": {"type": "string"}, "dependencies": {"type": "object", "properties": {"@tervis/adobescene7js": {"type": "string"}, "@tervis/tervisproductmetadata": {"type": "string"}, "@tervis/tervisutilityjs": {"type": "string"}}, "required": ["@tervis/adobescene7js", "@tervis/tervisproductmetadata", "@tervis/tervisutilityjs"]}}, "required": ["name", "version", "type", "main", "repository", "license", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"title": {"type": "string"}}, "required": ["title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Instellingen"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}}, "required": ["title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"username": {"type": "string"}, "additional_items": {"type": "array", "items": {}}, "items": {"type": "object", "properties": {"1": {"type": "string"}, "3": {"type": "string"}, "2": {"type": "string"}, "4": {"type": "string"}}, "required": ["1", "3", "2", "4"]}, "tweet_id": {"type": "string"}, "timespent": {"type": "number"}, "starttime": {"type": "number"}, "itemcount": {"type": "string"}, "savingtime": {"type": "number"}}, "required": ["username", "additional_items", "items", "tweet_id", "timespent", "starttime", "itemcount", "savingtime"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"username" : "user10", "additional_items" : [], "items" : {"1" : "positive", "3" : "positive", "2" : "neutral", "4" : "neutral"}, "tweet_id" : "565916965072797696", "timespent" : 29.485804080963, "starttime" : 1429715408.6243, "itemcount" : "4", "savingtime" : 1429715438.1101} | json_instruct | {"type": "object", "properties": {"username": {"type": "string"}, "additional_items": {"type": "array", "items": {}}, "items": {"type": "object", "properties": {"1": {"type": "string"}, "3": {"type": "string"}, "2": {"type": "string"}, "4": {"type": "string"}}, "required": ["1", "3", "2", "4"]}, "tweet_id": {"type": "string"}, "timespent": {"type": "number"}, "starttime": {"type": "number"}, "itemcount": {"type": "string"}, "savingtime": {"type": "number"}}, "required": ["username", "additional_items", "items", "tweet_id", "timespent", "starttime", "itemcount", "savingtime"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"edges": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}, "features": {"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}, "16": {"type": "string"}, "17": {"type": "string"}, "18": {"type": "string"}, "19": {"type": "string"}, "20": {"type": "string"}, "21": {"type": "string"}, "22": {"type": "string"}, "23": {"type": "string"}, "24": {"type": "string"}, "25": {"type": "string"}, "26": {"type": "string"}, "27": {"type": "string"}, "28": {"type": "string"}, "29": {"type": "string"}, "30": {"type": "string"}, "31": {"type": "string"}, "32": {"type": "string"}, "33": {"type": "string"}, "34": {"type": "string"}, "35": {"type": "string"}, "36": {"type": "string"}, "37": {"type": "string"}, "38": {"type": "string"}, "39": {"type": "string"}, "40": {"type": "string"}, "41": {"type": "string"}, "42": {"type": "string"}, "43": {"type": "string"}, "44": {"type": "string"}, "45": {"type": "string"}, "46": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46"]}}, "required": ["edges", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"edges" : [[14, 35], [46, 23], [22, 12], [28, 14], [45, 23], [16, 27], [5, 23], [23, 34], [23, 20], [23, 7], [14, 32], [21, 23], [23, 6], [2, 26], [23, 43], [23, 34], [14, 23], [23, 1], [24, 23], [34, 33], [40, 10], [11, 23], [39, 23], [23, 6], [15, 22], [37, 9], [23, 6], [23, 33], [0, 23], [27, 8], [35, 23], [23, 13], [11, 23], [23, 9], [23, 44], [23, 7], [41, 18], [23, 30], [23, 11], [44, 23], [1, 23], [43, 23], [21, 23], [23, 29], [44, 23], [31, 23], [19, 36], [23, 38], [42, 4], [17, 3], [23, 35], [25, 23], [44, 23], [23, 38]], "features" : {"0" : "1", "1" : "2", "2" : "1", "3" : "1", "4" : "1", "5" : "1", "6" : "3", "7" : "2", "8" : "1", "9" : "2", "10" : "1", "11" : "3", "12" : "1", "13" : "1", "14" : "4", "15" : "1", "16" : "1", "17" : "1", "18" : "1", "19" : "1", "20" : "1", "21" : "2", "22" : "2", "23" : "39", "24" : "1", "25" : "1", "26" : "1", "27" : "2", "28" : "1", "29" : "1", "30" : "1", "31" : "1", "32" : "1", "33" : "2", "34" : "3", "35" : "3", "36" : "1", "37" : "1", "38" : "2", "39" : "1", "40" : "1", "41" : "1", "42" : "1", "43" : "2", "44" : "4", "45" : "1", "46" : "1"}} | json_instruct | {"type": "object", "properties": {"edges": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}, "features": {"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}, "16": {"type": "string"}, "17": {"type": "string"}, "18": {"type": "string"}, "19": {"type": "string"}, "20": {"type": "string"}, "21": {"type": "string"}, "22": {"type": "string"}, "23": {"type": "string"}, "24": {"type": "string"}, "25": {"type": "string"}, "26": {"type": "string"}, "27": {"type": "string"}, "28": {"type": "string"}, "29": {"type": "string"}, "30": {"type": "string"}, "31": {"type": "string"}, "32": {"type": "string"}, "33": {"type": "string"}, "34": {"type": "string"}, "35": {"type": "string"}, "36": {"type": "string"}, "37": {"type": "string"}, "38": {"type": "string"}, "39": {"type": "string"}, "40": {"type": "string"}, "41": {"type": "string"}, "42": {"type": "string"}, "43": {"type": "string"}, "44": {"type": "string"}, "45": {"type": "string"}, "46": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46"]}}, "required": ["edges", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "0x7607308efdb11c2e1aea43eaee899c3826326ec89a295b35ab55572715eba9bb", "title" : "\u5927\u5bb6\u6301\u6709\u591a\u5c11cake\uff1f", "body" : "", "choices" : ["1-10", "10-100", "100-1000", "1000-10000", "10000-100000"], "start" : 1636776000, "end" : 1636862400, "snapshot" : "12614543", "state" : "closed", "author" : "0x374cB27a8753520bb153906a0a34Cc823cEA3C3e", "space" : {"id" : "pancake", "name" : "PancakeSwap"}, "votes" : 4, "votes_data" : [{"id" : "0xb0379dba23c6f4ff34367859ffedc37300953fd9147e2b8df2ced800229b09b0", "voter" : "0x341d2d099d0ad1986CE5E549a1a15631163877D6", "created" : 1636809350, "choice" : 2, "space" : {"id" : "pancake"}}, {"id" : "0x3b2ee68bb21ad42609b533cd1b1d8bc4d5fa9fb0b84dece1b15246fd938f185f", "voter" : "0x68f7a11888f68E5Dc83Dd7dCb21Aa12910743C9B", "created" : 1636809063, "choice" : 2, "space" : {"id" : "pancake"}}, {"id" : "0x3c5b244651251794fa0ee1caeba539cc110e27a636e10a26b301081e727ac0dd", "voter" : "0x374cB27a8753520bb153906a0a34Cc823cEA3C3e", "created" : 1636809018, "choice" : 1, "space" : {"id" : "pancake"}}, {"id" : "0xe1d268a8d463df3289ce8a42f33b3c8687568dfb7de6213c7ed2e02c7d9f81c0", "voter" : "0x143484B693d8b56D405adFb41cFFB3B9d9B64F54", "created" : 1636808968, "choice" : 1, "space" : {"id" : "pancake"}}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "title": {"type": "string"}, "body": {"type": "string"}, "choices": {"type": "array", "items": {"type": "string"}}, "start": {"type": "integer"}, "end": {"type": "integer"}, "snapshot": {"type": "string"}, "state": {"type": "string"}, "author": {"type": "string"}, "space": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "name"]}, "votes": {"type": "integer"}, "votes_data": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "voter": {"type": "string"}, "created": {"type": "integer"}, "choice": {"type": "integer"}, "space": {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"]}}, "required": ["id", "voter", "created", "choice", "space"]}}}, "required": ["id", "title", "body", "choices", "start", "end", "snapshot", "state", "author", "space", "votes", "votes_data"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "bugs": {"type": "string"}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "email", "url"]}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"underscore.string": {"type": "string"}, "yeoman-generator": {"type": "string"}, "yeoman-welcome": {"type": "string"}}, "required": ["underscore.string", "yeoman-generator", "yeoman-welcome"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "mocha": {"type": "string"}}, "required": ["chai", "mocha"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}, "iojs": {"type": "string"}}, "required": ["node", "iojs"]}, "license": {"type": "string"}}, "required": ["name", "version", "description", "keywords", "homepage", "bugs", "author", "main", "repository", "scripts", "dependencies", "devDependencies", "engines", "license"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "generator-react-redux-kit", "version" : "0.0.8", "description" : "Yeoman Generator for building SPA with React, Redux, and React Router", "keywords" : ["yeoman-generator", "react", "reactjs", "webpack", "scaffold", "framework", "component", "frontend", "front-end", "app"], "homepage" : "https://github.com/mattludwigs/generator-react-redux-kit", "bugs" : "https://github.com/mattludwigs/generator-react-redux-kit/issues", "author" : {"name" : "Matt Ludwigs", "email" : "mattludwigs@gmail.com", "url" : "https://github.com/mattludwigs"}, "main" : "generators/app/index.js", "repository" : {"type" : "git", "url" : "git://github.com/mattludwigs/generator-react-redux-kit.git"}, "scripts" : {"test" : "mocha"}, "dependencies" : {"underscore.string" : "^3.2.2", "yeoman-generator" : "^0.20.3", "yeoman-welcome" : "^1.0.1"}, "devDependencies" : {"chai" : "^3.2.0", "mocha" : "^2.3.2"}, "engines" : {"node" : ">=4.0.0", "iojs" : ">=1.1.0"}, "license" : "MIT"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "bugs": {"type": "string"}, "author": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}, "url": {"type": "string"}}, "required": ["name", "email", "url"]}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "dependencies": {"type": "object", "properties": {"underscore.string": {"type": "string"}, "yeoman-generator": {"type": "string"}, "yeoman-welcome": {"type": "string"}}, "required": ["underscore.string", "yeoman-generator", "yeoman-welcome"]}, "devDependencies": {"type": "object", "properties": {"chai": {"type": "string"}, "mocha": {"type": "string"}}, "required": ["chai", "mocha"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}, "iojs": {"type": "string"}}, "required": ["node", "iojs"]}, "license": {"type": "string"}}, "required": ["name", "version", "description", "keywords", "homepage", "bugs", "author", "main", "repository", "scripts", "dependencies", "devDependencies", "engines", "license"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"code": {"type": "string"}, "messages": {"type": "string"}, "value": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "id_kecamatan": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "id_kecamatan", "name"]}}}, "required": ["code", "messages", "value"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"code" : "200", "messages" : "Successfully received data", "value" : [{"id" : "8205182001", "id_kecamatan" : "820518", "name" : "Man-Gega"}, {"id" : "8205182002", "id_kecamatan" : "820518", "name" : "Bajo"}, {"id" : "8205182003", "id_kecamatan" : "820518", "name" : "Pohea"}, {"id" : "8205182004", "id_kecamatan" : "820518", "name" : "Fukweu"}, {"id" : "8205182005", "id_kecamatan" : "820518", "name" : "Wainin"}, {"id" : "8205182006", "id_kecamatan" : "820518", "name" : "Malbufa"}, {"id" : "8205182007", "id_kecamatan" : "820518", "name" : "Fokalik"}]} | json_instruct | {"type": "object", "properties": {"code": {"type": "string"}, "messages": {"type": "string"}, "value": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "id_kecamatan": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "id_kecamatan", "name"]}}}, "required": ["code", "messages", "value"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "loadDefault": {"type": "boolean"}, "spawnEggName": {"type": "string"}}, "required": ["name", "loadDefault", "spawnEggName"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "dragon", "loadDefault" : true, "spawnEggName" : "dragonspawn"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "loadDefault": {"type": "boolean"}, "spawnEggName": {"type": "string"}}, "required": ["name", "loadDefault", "spawnEggName"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "object", "properties": {"version": {"type": "integer"}, "sources": {"type": "array", "items": {"type": "string"}}, "names": {"type": "array", "items": {"type": "string"}}, "mappings": {"type": "string"}, "sourcesContent": {"type": "array", "items": {"type": "string"}}}, "required": ["version", "sources", "names", "mappings", "sourcesContent"]}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ast" : null, "code" : "import './stylesheets/application.scss';\nconsole.log('saher from admin engine/webpacker');\n\n(function () {\n window.$ = $;\n window.jQuery = jQuery;\n window.moment = moment;\n})();", "map" : {"version" : 3, "sources" : ["/Users/saher/src/dlm/admin/app/javascript/packs/admin/application.js"], "names" : ["console", "log", "window", "$", "jQuery", "moment"], "mappings" : "AAAA,OAAO,gCAAP;AAEAA,OAAO,CAACC,GAAR,CAAY,mCAAZ;;AAEA,CAAC,YAAW;AACVC,EAAAA,MAAM,CAACC,CAAP,GAAWA,CAAX;AACAD,EAAAA,MAAM,CAACE,MAAP,GAAgBA,MAAhB;AACAF,EAAAA,MAAM,CAACG,MAAP,GAAgBA,MAAhB;AACD,CAJD", "sourcesContent" : ["import './stylesheets/application.scss';\n\nconsole.log('saher from admin engine/webpacker');\n\n(function() {\n window.$ = $;\n window.jQuery = jQuery;\n window.moment = moment;\n})();\n"]}, "metadata" : {}, "sourceType" : "module"} | json_instruct | {"type": "object", "properties": {"ast": {"type": "null"}, "code": {"type": "string"}, "map": {"type": "object", "properties": {"version": {"type": "integer"}, "sources": {"type": "array", "items": {"type": "string"}}, "names": {"type": "array", "items": {"type": "string"}}, "mappings": {"type": "string"}, "sourcesContent": {"type": "array", "items": {"type": "string"}}}, "required": ["version", "sources", "names", "mappings", "sourcesContent"]}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"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" : "Chippenham (bristol)", "url" : "chippenham-bristol"}]} | 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": {"src/folder/file.js": {"type": "string"}}, "required": ["src/folder/file.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"src/folder/file.js" : "src/index.js"} | json_instruct | {"type": "object", "properties": {"src/folder/file.js": {"type": "string"}}, "required": ["src/folder/file.js"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"0" : "rgb(20,20,20)", "1" : "rgb(192,109,68)", "2" : "rgb(175,185,122)", "3" : "rgb(194,168,108)", "4" : "rgb(68,71,74)", "5" : "rgb(180,190,124)", "6" : "rgb(119,131,133)", "7" : "rgb(255,255,212)", "8" : "rgb(38,38,38)", "9" : "rgb(222,124,76)", "10" : "rgb(204,216,140)", "11" : "rgb(226,196,126)", "12" : "rgb(90,94,98)", "13" : "rgb(208,220,142)", "14" : "rgb(138,152,155)", "15" : "rgb(255,255,212)"} | json_instruct | {"type": "object", "properties": {"0": {"type": "string"}, "1": {"type": "string"}, "2": {"type": "string"}, "3": {"type": "string"}, "4": {"type": "string"}, "5": {"type": "string"}, "6": {"type": "string"}, "7": {"type": "string"}, "8": {"type": "string"}, "9": {"type": "string"}, "10": {"type": "string"}, "11": {"type": "string"}, "12": {"type": "string"}, "13": {"type": "string"}, "14": {"type": "string"}, "15": {"type": "string"}}, "required": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"brief": {"type": "string"}, "long": {"type": "string"}}, "required": ["brief", "long"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"brief" : "distinguish", "long" : "<i>Meaning:</i> to \"distinguish\" (literally or figuratively).<br/><i>Usage:</i> put a difference, show marvellous, separate, set apart, sever, make wonderfully.<br/><i>Source:</i> a primitive root;"} | json_instruct | {"type": "object", "properties": {"brief": {"type": "string"}, "long": {"type": "string"}}, "required": ["brief", "long"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"visible": {"type": "boolean"}, "id": {"type": "string"}, "startDate": {"type": "string"}, "endDate": {"type": "string"}, "company": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"}}, "required": ["visible", "id", "startDate", "endDate", "company", "title", "description"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"visible" : true, "id" : "586ab50b-81ed-4302-8405-9a01a266b1ea", "startDate" : "2008-05-26", "endDate" : "2016-03-02", "company" : "15505e0e-0006-44a6-88de-ec2b34bed94f", "title" : "Web Developer", "description" : "During this time I worked on many different projects. I started with Sisal working on SuperEnalotto, WinForLife and Match-Point websites as Oracle Portal developer. Then I moved on to fashion e-commerce with Balenciaga and Stella McCartney when I first approached Demandware. Afterwards, I worked on a fully custom cms and e-commerce built in Ruby on Rails for Gucci. In the meantime I also worked on Gucci side-projects like Chime for Change and Gucci Museo, both with Ruby on Rails. Then I moved back to Demandware projects with OVS and Coin Casa, this time as a Team Leader. From this moment on I worked both as Team Leader and Architect on several projects.\n\nDuring these years I learned many many things. I started as Junior Developer on Java projects, and rapidly moved on to frontend development skills. Moreover, I didn't want to be stuck on something specific, I wanted to learn a little bit of everything on my way to be full-stack. As my skills grew, so did my responsibilities.\\\nI think that knowledge works better when shared so I spent a lot of my time coaching my team members and colleagues."} | json_instruct | {"type": "object", "properties": {"visible": {"type": "boolean"}, "id": {"type": "string"}, "startDate": {"type": "string"}, "endDate": {"type": "string"}, "company": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"}}, "required": ["visible", "id", "startDate", "endDate", "company", "title", "description"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"elapsed": {"type": "string"}, "endpoint-url": {"type": "string"}, "entry-date": {"type": "string"}, "exception": {"type": "string"}, "ssl-verify": {"type": "boolean"}}, "required": ["elapsed", "endpoint-url", "entry-date", "exception", "ssl-verify"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"elapsed" : "0.536", "endpoint-url" : "https://docs.tmbc.gov.uk/docs/S106/developer-agreement-contribution_20201231.csv", "entry-date" : "2022-01-04T01:06:27.858071", "exception" : "ConnectionError", "ssl-verify" : true} | json_instruct | {"type": "object", "properties": {"elapsed": {"type": "string"}, "endpoint-url": {"type": "string"}, "entry-date": {"type": "string"}, "exception": {"type": "string"}, "ssl-verify": {"type": "boolean"}}, "required": ["elapsed", "endpoint-url", "entry-date", "exception", "ssl-verify"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"__default__": {"type": "object", "properties": {"cpus-per-task": {"type": "integer"}, "partition": {"type": "string"}, "mem": {"type": "string"}, "time": {"type": "string"}}, "required": ["cpus-per-task", "partition", "mem", "time"]}, "trinity": {"type": "object", "properties": {"partition": {"type": "string"}}, "required": ["partition"]}, "trinityGG": {"type": "object", "properties": {"partition": {"type": "string"}}, "required": ["partition"]}}, "required": ["__default__", "trinity", "trinityGG"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"__default__" : {"cpus-per-task" : 1, "partition" : "compute", "mem" : "10G", "time" : "5-00:00:00"}, "trinity" : {"partition" : "largemem"}, "trinityGG" : {"partition" : "largemem"}} | json_instruct | {"type": "object", "properties": {"__default__": {"type": "object", "properties": {"cpus-per-task": {"type": "integer"}, "partition": {"type": "string"}, "mem": {"type": "string"}, "time": {"type": "string"}}, "required": ["cpus-per-task", "partition", "mem", "time"]}, "trinity": {"type": "object", "properties": {"partition": {"type": "string"}}, "required": ["partition"]}, "trinityGG": {"type": "object", "properties": {"partition": {"type": "string"}}, "required": ["partition"]}}, "required": ["__default__", "trinity", "trinityGG"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"accessurl": {"type": "string"}, "pointingtourl": {"type": "string"}}, "required": ["accessurl", "pointingtourl"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"accessurl" : "URL prieiga", "pointingtourl" : "URL \u0161altinis nurodo"} | json_instruct | {"type": "object", "properties": {"accessurl": {"type": "string"}, "pointingtourl": {"type": "string"}}, "required": ["accessurl", "pointingtourl"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"snippet": {"type": "string"}, "mime": {"type": "string"}, "image": {"type": "object", "properties": {"byteSize": {"type": "integer"}, "width": {"type": "integer"}, "height": {"type": "integer"}}, "required": ["byteSize", "width", "height"]}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["snippet", "mime", "image", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"snippet" : "Discussed 'round the office today: Not only did...", "mime" : "image/jpeg", "image" : {"byteSize" : 65711, "width" : 548, "height" : 335}, "link" : "http://68.media.tumblr.com/77b7324425b1d494f11743d8198c68cd/tumblr_n7ai29lPxg1qc9m1oo6_1280.jpg", "title" : "Discussed 'round the office today: Not only did..."} | json_instruct | {"type": "object", "properties": {"snippet": {"type": "string"}, "mime": {"type": "string"}, "image": {"type": "object", "properties": {"byteSize": {"type": "integer"}, "width": {"type": "integer"}, "height": {"type": "integer"}}, "required": ["byteSize", "width", "height"]}, "link": {"type": "string"}, "title": {"type": "string"}}, "required": ["snippet", "mime", "image", "link", "title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"token": {"type": "string"}, "client": {"type": "string"}, "tag": {"type": "string"}, "case": {"type": "string"}, "separator": {"type": "string"}, "ownerId": {"type": "string"}}, "required": ["token", "client", "tag", "case", "separator", "ownerId"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"token" : "NjA5Mjc2NTU1NTIwMzc2ODMz.XU0XGA.hUgfsh5cTznbbSK7xpv1YHvojAM", "client" : "609276555520376833", "tag" : "/", "case" : "true", "separator" : "\\s+", "ownerId" : "327817420255526912"} | json_instruct | {"type": "object", "properties": {"token": {"type": "string"}, "client": {"type": "string"}, "tag": {"type": "string"}, "case": {"type": "string"}, "separator": {"type": "string"}, "ownerId": {"type": "string"}}, "required": ["token", "client", "tag", "case", "separator", "ownerId"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "logoURI": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}, "tags": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "symbol", "logoURI", "decimals", "address", "chainId", "tags"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Booty Bucks", "symbol" : "BOOBS", "logoURI" : "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/ByQ9MXaamfBD8DraD5BKgXPffboJwfahknj1cmomawAi/BB.png", "decimals" : 0, "address" : "ByQ9MXaamfBD8DraD5BKgXPffboJwfahknj1cmomawAi", "chainId" : 101, "tags" : ["solana-token", "token", "social-token"]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "logoURI": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}, "tags": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "symbol", "logoURI", "decimals", "address", "chainId", "tags"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"scripts": {"type": "object", "properties": {"test": {"type": "string"}, "cover": {"type": "string"}, "compiler": {"type": "string"}, "fix": {"type": "string"}, "watch": {"type": "string"}}, "required": ["test", "cover", "compiler", "fix", "watch"]}, "pre-commit": {"type": "array", "items": {}}, "dependencies": {"type": "object", "properties": {"ensure-path": {"type": "string"}, "octonode": {"type": "string"}, "request": {"type": "string"}, "yargs": {"type": "string"}}, "required": ["ensure-path", "octonode", "request", "yargs"]}, "devDependencies": {"type": "object", "properties": {"cz-conventional-changelog": {"type": "string"}, "istanbul": {"type": "string"}, "mocha": {"type": "string"}, "pre-commit": {"type": "string"}, "tslint": {"type": "string"}, "tslint-config-standard": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["cz-conventional-changelog", "istanbul", "mocha", "pre-commit", "tslint", "tslint-config-standard", "typescript"]}, "config": {"type": "object", "properties": {"commitizen": {"type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"]}}, "required": ["commitizen"]}}, "required": ["scripts", "pre-commit", "dependencies", "devDependencies", "config"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"scripts" : {"test" : "mocha test/", "cover" : "istanbul cover _mocha", "compiler" : "tsc ./src/*.ts --outDir ./dist/", "fix" : "tslint --fix ./src/*.ts", "watch" : "tsc ./src/*.ts --watch --outDir ./dist/"}, "pre-commit" : [], "dependencies" : {"ensure-path" : "^0.0.1", "octonode" : "^0.9.2", "request" : "^2.87.0", "yargs" : "^11.0.0"}, "devDependencies" : {"cz-conventional-changelog" : "^2.1.0", "istanbul" : "^0.4.5", "mocha" : "^3.0.0", "pre-commit" : "^1.2.2", "tslint" : "^5.11.0", "tslint-config-standard" : "^7.1.0", "typescript" : "^2.9.2"}, "config" : {"commitizen" : {"path" : "./node_modules/cz-conventional-changelog"}}} | json_instruct | {"type": "object", "properties": {"scripts": {"type": "object", "properties": {"test": {"type": "string"}, "cover": {"type": "string"}, "compiler": {"type": "string"}, "fix": {"type": "string"}, "watch": {"type": "string"}}, "required": ["test", "cover", "compiler", "fix", "watch"]}, "pre-commit": {"type": "array", "items": {}}, "dependencies": {"type": "object", "properties": {"ensure-path": {"type": "string"}, "octonode": {"type": "string"}, "request": {"type": "string"}, "yargs": {"type": "string"}}, "required": ["ensure-path", "octonode", "request", "yargs"]}, "devDependencies": {"type": "object", "properties": {"cz-conventional-changelog": {"type": "string"}, "istanbul": {"type": "string"}, "mocha": {"type": "string"}, "pre-commit": {"type": "string"}, "tslint": {"type": "string"}, "tslint-config-standard": {"type": "string"}, "typescript": {"type": "string"}}, "required": ["cz-conventional-changelog", "istanbul", "mocha", "pre-commit", "tslint", "tslint-config-standard", "typescript"]}, "config": {"type": "object", "properties": {"commitizen": {"type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"]}}, "required": ["commitizen"]}}, "required": ["scripts", "pre-commit", "dependencies", "devDependencies", "config"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [-6.224176, 53.308366]}, "properties" : {"name" : "UCD"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}}, "required": ["name", "displayName"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "LastlastModuleExample", "displayName" : "LastlastModule Example"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}}, "required": ["name", "displayName"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"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" : "1223060006", "district_id" : "1223060", "name" : "TELUK PIAI"} | 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#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "author": {"type": "string"}, "contributors": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "main": {"type": "string"}, "licenses": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "description": {"type": "string"}, "peerDependencies": {"type": "object", "properties": {"angular": {"type": "string"}, "angular-formly": {"type": "string"}, "api-check": {"type": "string"}}, "required": ["angular", "angular-formly", "api-check"]}, "npmName": {"type": "string"}, "npmFileMap": {"type": "array", "items": {"type": "object", "properties": {"basePath": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}}, "required": ["basePath", "files"]}}, "filename": {"type": "string"}}, "required": ["name", "version", "author", "contributors", "homepage", "repository", "main", "licenses", "description", "peerDependencies", "npmName", "npmFileMap", "filename"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "angular-formly-templates-bootstrap", "version" : "4.4.1", "author" : "Astrism <astrisms@gmail.com>", "contributors" : ["Astrism <astrisms@gmail.com>", "Kent C. Dodds <kent@doddsfamily.us>"], "homepage" : "http://formly-js.github.io/angular-formly-templates-bootstrap/", "repository" : {"type" : "git", "url" : "git://github.com/formly-js/angular-formly-templates-bootstrap.git"}, "main" : "dist/angular-formly-templates-bootstrap.js", "licenses" : [{"type" : "MIT", "url" : "https://raw.githubusercontent.com/formly-js/angular-formly-templates-bootstrap/master/LICENSE"}], "description" : "Angular-Formly plugin which outputs bootstrap compatible form fields.", "peerDependencies" : {"angular" : "^1.2.x || >= 1.4.0-beta.0 || >= 1.5.0-beta.0", "angular-formly" : "^4.0.5", "api-check" : "^6.0.10"}, "npmName" : "angular-formly-templates-bootstrap", "npmFileMap" : [{"basePath" : "/dist", "files" : ["*"]}], "filename" : "angular-formly-templates-bootstrap.min.js"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "author": {"type": "string"}, "contributors": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "main": {"type": "string"}, "licenses": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "description": {"type": "string"}, "peerDependencies": {"type": "object", "properties": {"angular": {"type": "string"}, "angular-formly": {"type": "string"}, "api-check": {"type": "string"}}, "required": ["angular", "angular-formly", "api-check"]}, "npmName": {"type": "string"}, "npmFileMap": {"type": "array", "items": {"type": "object", "properties": {"basePath": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}}, "required": ["basePath", "files"]}}, "filename": {"type": "string"}}, "required": ["name", "version", "author", "contributors", "homepage", "repository", "main", "licenses", "description", "peerDependencies", "npmName", "npmFileMap", "filename"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"components": {"type": "object", "properties": {"schemas": {"type": "object", "properties": {"JSONIDModel": {"type": "object", "properties": {"description": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "format": {"type": "string"}, "example": {"type": "integer"}}, "required": ["description", "title", "type", "format", "example"]}, "JSONRPCVersionModel": {"type": "object", "properties": {"description": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "enum": {"type": "array", "items": {"type": "string"}}, "example": {"type": "string"}}, "required": ["description", "title", "type", "enum", "example"]}, "JSONRPCPayloadModel": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"id": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}, "jsonrpc": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}}, "required": ["id", "jsonrpc"]}, "required": {"type": "array", "items": {"type": "string"}}}, "required": ["description", "type", "properties", "required"]}}, "required": ["JSONIDModel", "JSONRPCVersionModel", "JSONRPCPayloadModel"]}}, "required": ["schemas"]}}, "required": ["components"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"components" : {"schemas" : {"JSONIDModel" : {"description" : "Request ID", "title" : "JSON-RPC Request ID", "type" : "integer", "format" : "int32", "example" : 1609070896412}, "JSONRPCVersionModel" : {"description" : "JSON-RPC Version", "title" : "JSON-RPC Version", "type" : "string", "enum" : ["2.0"], "example" : "2.0"}, "JSONRPCPayloadModel" : {"description" : "JSON-RPC Payload Structure", "type" : "object", "properties" : {"id" : {"$ref" : "#/components/schemas/JSONIDModel"}, "jsonrpc" : {"$ref" : "#/components/schemas/JSONRPCVersionModel"}}, "required" : ["id", "jsonrpc"]}}}} | json_instruct | {"type": "object", "properties": {"components": {"type": "object", "properties": {"schemas": {"type": "object", "properties": {"JSONIDModel": {"type": "object", "properties": {"description": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "format": {"type": "string"}, "example": {"type": "integer"}}, "required": ["description", "title", "type", "format", "example"]}, "JSONRPCVersionModel": {"type": "object", "properties": {"description": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "enum": {"type": "array", "items": {"type": "string"}}, "example": {"type": "string"}}, "required": ["description", "title", "type", "enum", "example"]}, "JSONRPCPayloadModel": {"type": "object", "properties": {"description": {"type": "string"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"id": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}, "jsonrpc": {"type": "object", "properties": {"$ref": {"type": "string"}}, "required": ["$ref"]}}, "required": ["id", "jsonrpc"]}, "required": {"type": "array", "items": {"type": "string"}}}, "required": ["description", "type", "properties", "required"]}}, "required": ["JSONIDModel", "JSONRPCVersionModel", "JSONRPCPayloadModel"]}}, "required": ["schemas"]}}, "required": ["components"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}}, "required": ["name", "symbol", "decimals", "address", "chainId"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "Token FaH1", "symbol" : "FaH1U", "decimals" : 6, "address" : "FaH1UoxYzTgvTTXfnjLVeMsistMwwLTreEjkkcYKHoZZ", "chainId" : 103} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "symbol": {"type": "string"}, "decimals": {"type": "integer"}, "address": {"type": "string"}, "chainId": {"type": "integer"}}, "required": ["name", "symbol", "decimals", "address", "chainId"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"text": {"type": "string"}, "image": {"type": "string"}}, "required": ["text", "image"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"text" : " 380 NOTE S O N TH E speech upon this occasion shows that he could think with dignity. See Suetonius, life of Otho, s. lO. Section XLVIII. (a) Augustus, Tiberius, and Caligula, were of the Julian line; Claudius, and Nero (by adoption) were of the Claudian; Galba was of the house of Servius; Otho, of the Salvian family. Section XLIX. (a) This was Verginius Rufus, who conquered Vindex in Gaul, and had the moderation to decline the imperial dignity when offered to him by the legions. See Appen- dix to Annals, xvi. s. 12. (A) Nero, in his last distress, fearing that his head would be exhibited as a public spectacle, gave directions for his funeral. Otho did the same: though tainted with Nero's vices, he closed the scene with dignity. (c) Plutarch tells us, that he himself visited Otho's tomb at <span class=\"place\" data-place-id=\"383602\">Brixellum</span>. Those perishable materials have long since mouldered away; but the epitaph, written by Martial, will never die. The poet admits that Otho led a dissolute life; but adds, that, in his end, he was no way inferior to Cato. Dum dubitaret adhuc belli civilis Enyo, Forsitan et posset vlncere mollis Otho; Damnavit multo staturum sanguine Martefn, Et fodit certa pectora nuda manu. Sit Cato dum vivit, san vel Caesare major; Dum moritur, numquid major Othone fuit? Lib. vi. epig. 31. Section L. (a) See Annals, xiii. s. 46 j Hist. i. s. IS; and Sueto- nius and Plutarch. 2", "image" : "http://books.google.com/books?id=2X5KAAAAYAAJ&pg=PA378&img=1&zoom=3&hl=en&sig=ACfU3U34UcZwa6K-u9CtHTl2VvYE8_ddGA&ci=0%2C0%2C1000%2C2000&edge=0"} | json_instruct | {"type": "object", "properties": {"text": {"type": "string"}, "image": {"type": "string"}}, "required": ["text", "image"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "symbol": {"type": "string"}, "name": {"type": "string"}, "platforms": {"type": "object", "properties": {"ethereum": {"type": "string"}}, "required": ["ethereum"]}, "hashing_algorithm": {"type": "null"}, "categories": {"type": "array", "items": {}}, "description": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country_origin": {"type": "string"}, "genesis_date": {"type": "null"}, "contract_address": {"type": "string"}, "url": {"type": "string"}, "explorers": {"type": "array", "items": {"type": "string"}}, "twitter": {"type": "string"}, "telegram": {"type": "string"}}, "required": ["id", "symbol", "name", "platforms", "hashing_algorithm", "categories", "description", "country_origin", "genesis_date", "contract_address", "url", "explorers", "twitter", "telegram"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "spaceballs", "symbol" : "balls", "name" : "SpaceBalls", "platforms" : {"ethereum" : "0x174ed6e64a5903b59ca7910081e1e3a2c551afc6"}, "hashing_algorithm" : null, "categories" : [], "description" : {"en" : "SpaceBalls is a decentralised cryptocurrency built securely on the Ethereum blockchain and created for those with some BALLS! \r\n\r\nOur mission is to create amazing cyber space exploration experiences through cutting-edge additions in the metaverse. SpaceBalls rewards its holders with passive income through native token reflections"}, "country_origin" : "", "genesis_date" : null, "contract_address" : "0x174ed6e64a5903b59ca7910081e1e3a2c551afc6", "url" : "https://spaceballs.club", "explorers" : ["https://etherscan.io/token/0x174ed6e64a5903b59ca7910081e1e3a2c551afc6", "https://ethplorer.io/address/0x174ed6e64a5903b59ca7910081e1e3a2c551afc6"], "twitter" : "spaceballset", "telegram" : "SpaceBallsETH"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "symbol": {"type": "string"}, "name": {"type": "string"}, "platforms": {"type": "object", "properties": {"ethereum": {"type": "string"}}, "required": ["ethereum"]}, "hashing_algorithm": {"type": "null"}, "categories": {"type": "array", "items": {}}, "description": {"type": "object", "properties": {"en": {"type": "string"}}, "required": ["en"]}, "country_origin": {"type": "string"}, "genesis_date": {"type": "null"}, "contract_address": {"type": "string"}, "url": {"type": "string"}, "explorers": {"type": "array", "items": {"type": "string"}}, "twitter": {"type": "string"}, "telegram": {"type": "string"}}, "required": ["id", "symbol", "name", "platforms", "hashing_algorithm", "categories", "description", "country_origin", "genesis_date", "contract_address", "url", "explorers", "twitter", "telegram"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"contract" : "0x0b7b9b8f3183191e3437a7f6d451163e437f9640", "tool" : "osiris", "start" : 1564587538.340157, "end" : 1564587541.4983327, "duration" : 3.1581757068634033, "analysis" : []} | json_instruct | {"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"assessment": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "weight": {"type": "integer"}}, "required": ["name", "weight"]}}}, "required": ["assessment"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"assessment" : [{"name" : "Smoking cessation", "weight" : 5}, {"name" : "Aboriginal Cultural Orientation ", "weight" : 10}, {"name" : "Development of oral health promotion material", "weight" : 35}, {"name" : "Social determinants of oral health", "weight" : 50}]} | json_instruct | {"type": "object", "properties": {"assessment": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "weight": {"type": "integer"}}, "required": ["name", "weight"]}}}, "required": ["assessment"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"xywh": {"type": "string"}}, "required": ["xywh"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"xywh" : "960,4864,3898,497"} | json_instruct | {"type": "object", "properties": {"xywh": {"type": "string"}}, "required": ["xywh"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 101778045, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes_pg", "src:geom" : "quattroshapes_pg", "wof:geomhash" : "2c9c3d8e5fc48e35f588856a574f20b5", "wof:id" : 101778045, "wof:repo" : "whosonfirst-data-admin-es"}, "bbox" : [-6.5595, 38.14751, -6.5595, 38.14751], "geometry" : {"coordinates" : [-6.5595, 38.14751], "type" : "Point"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"timestamp": {"type": "string"}, "data": {"type": "array", "items": {"type": "object", "properties": {"data_type": {"type": "string"}, "value": {"type": "string"}, "max": {"type": "string"}, "min": {"type": "string"}, "sd": {"type": "string"}}, "required": ["data_type", "value", "max", "min", "sd"]}}}, "required": ["timestamp", "data"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"timestamp" : "2020-12-22T13:23:37Z", "data" : [{"data_type" : "pm10", "value" : "33.50", "max" : "38.00", "min" : "28.00", "sd" : "2.41"}, {"data_type" : "pm2.5", "value" : "30.17", "max" : "34.00", "min" : "27.00", "sd" : "1.41"}, {"data_type" : "pm1", "value" : "20.82", "max" : "23.00", "min" : "19.00", "sd" : "0.95"}, {"data_type" : "pm10", "value" : "29.93", "max" : "35.00", "min" : "26.00", "sd" : "3.37", "sensor" : 2}, {"data_type" : "pm2.5", "value" : "28.93", "max" : "33.00", "min" : "26.00", "sd" : "1.52", "sensor" : 2}, {"data_type" : "pm1", "value" : "20.83", "max" : "23.00", "min" : "19.00", "sd" : "1.03", "sensor" : 2}, {"data_type" : "pm10", "value" : "3992.40", "max" : "4371.00", "min" : "3558.00", "sd" : "281.19", "sensor" : 3}, {"data_type" : "pm2.5", "value" : "1115.33", "max" : "1218.00", "min" : "973.00", "sd" : "88.62", "sensor" : 3}, {"data_type" : "pm1", "value" : "188.73", "max" : "215.00", "min" : "140.00", "sd" : "23.54", "sensor" : 3}, {"data_type" : "pm10", "value" : "23.07", "max" : "32.00", "min" : "15.00", "sd" : "4.46", "sensor" : 4}, {"data_type" : "pm2.5", "value" : "3.20", "max" : "5.00", "min" : "1.00", "sd" : "1.37", "sensor" : 4}, {"data_type" : "pm1", "value" : "2.93", "max" : "5.00", "min" : "0.00", "sd" : "1.71", "sensor" : 4}, {"data_type" : "pm10", "value" : "1982.17", "max" : "4434.00", "min" : "0.00", "sd" : "1981.47", "sensor" : 5}, {"data_type" : "pm2.5", "value" : "1079.53", "max" : "1262.00", "min" : "933.00", "sd" : "100.24", "sensor" : 5}, {"data_type" : "pm1", "value" : "165.47", "max" : "222.00", "min" : "124.00", "sd" : "33.22", "sensor" : 5}, {"data_type" : "pm10", "value" : "4.67", "max" : "9.00", "min" : "1.00", "sd" : "2.58", "sensor" : 6}, {"data_type" : "pm2.5", "value" : "0.73", "max" : "2.00", "min" : "0.00", "sd" : "0.59", "sensor" : 6}, {"data_type" : "noise", "value" : "37.12", "max" : "42.26", "min" : "33.56", "sd" : "1.33"}, {"data_type" : "illuminance", "value" : "2002.00", "max" : "2002.00", "min" : "2002.00", "sd" : "0.00"}, {"data_type" : "irradiance", "value" : "10621.44", "max" : "10812.08", "min" : "10442.35", "sd" : "20.53"}, {"data_type" : "temperature", "value" : "26.96", "max" : "27.03", "min" : "26.90", "sd" : "0.14"}, {"data_type" : "humidity", "value" : "60.23", "max" : "60.40", "min" : "60.00", "sd" : "0.32"}, {"data_type" : "presure", "value" : "910.51", "max" : "910.54", "min" : "910.46", "sd" : "0.13"}]} | json_instruct | {"type": "object", "properties": {"timestamp": {"type": "string"}, "data": {"type": "array", "items": {"type": "object", "properties": {"data_type": {"type": "string"}, "value": {"type": "string"}, "max": {"type": "string"}, "min": {"type": "string"}, "sd": {"type": "string"}}, "required": ["data_type", "value", "max", "min", "sd"]}}}, "required": ["timestamp", "data"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"code": {"type": "string"}, "lang": {"type": "string"}, "description": {"type": "string"}, "name": {"type": "string"}, "type": {"type": "string"}}, "required": ["code", "lang", "description", "name", "type"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"code" : "UMS010", "lang" : "de", "description" : "\nJahresbauleistung und sonstige Ums\u00e4tze\n\nErl\u00e4uterung f\u00fcr folgende Statistik(en):\n44200 Investitions- und Kostenstrukturerh. im Baugewerbe\n\nBegriffsinhalt:\nJahresbauleistung und sonstige Ums\u00e4tze ist die\nJahresbauleistung plus den Umsatz aus sonstigen eigenen\nErzeugnissen, Umsatz aus industriellen/handwerklichen\nDienstleistungen, dem Umsatz aus Handelsware und aus\nsonstigen T\u00e4tigkeiten.\n\n\u00a9 Statistisches Bundesamt, Wiesbaden 2006", "name" : "Jahresbauleistung und sonstige Ums\u00e4tze", "type" : "Merkmal"} | json_instruct | {"type": "object", "properties": {"code": {"type": "string"}, "lang": {"type": "string"}, "description": {"type": "string"}, "name": {"type": "string"}, "type": {"type": "string"}}, "required": ["code", "lang", "description", "name", "type"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Polygon", "coordinates" : [[[139.0, 33.333333333333336], [139.0, 33.416666666666664], [139.125, 33.416666666666664], [139.125, 33.333333333333336], [139.0, 33.333333333333336]]]}, "properties" : {"code" : 503900, "url" : "http://madefor.github.io/0410/api/v1/503900.geojson", "view" : "https://github.com/madefor/0410/blob/gh-pages/api/v1/503900.geojson"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"code": {"type": "integer"}, "url": {"type": "string"}, "view": {"type": "string"}}, "required": ["code", "url", "view"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "gender": {"type": "string"}}, "required": ["name", "frequency", "gender"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"name" : "TIERNEN", "frequency" : 0, "gender" : "female"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "frequency": {"type": "integer"}, "gender": {"type": "string"}}, "required": ["name", "frequency", "gender"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"324230": {"type": "object", "properties": {"success": {"type": "boolean"}}, "required": ["success"]}}, "required": ["324230"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"324230" : {"success" : false}} | json_instruct | {"type": "object", "properties": {"324230": {"type": "object", "properties": {"success": {"type": "boolean"}}, "required": ["success"]}}, "required": ["324230"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [["152528201200", "\u5e0c\u535a\u56fe\u560e\u67e5", "210", "0"], ["152528201201", "\u5b9d\u683c\u8fbe\u97f3\u9ad9\u52d2\u560e\u67e5", "220", "0"], ["152528201202", "\u989d\u5f88\u4e4c\u82cf\u560e\u67e5", "220", "0"], ["152528201203", "\u90a3\u65e5\u56fe\u560e\u67e5", "220", "0"], ["152528201204", "\u989d\u52d2\u82cf\u53f0\u560e\u67e5", "220", "0"], ["152528201205", "\u6d69\u5c3c\u94a6\u54c8\u590f\u56fe\u560e\u67e5", "220", "0"], ["152528201206", "\u624e\u6bd5\u62c9\u80e1\u560e\u67e5", "220", "0"], ["152528201207", "\u96c5\u65e5\u76d6\u560e\u67e5", "220", "0"], ["152528201208", "\u5854\u6797\u5b9d\u65e5\u560e\u67e5", "220", "0"], ["152528201209", "\u5b9d\u65e5\u8fbe\u5e03\u82cf\u560e\u67e5", "220", "0"], ["152528201210", "\u54c8\u97f3\u6dd6\u5c14\u560e\u67e5", "220", "0"], ["152528201211", "\u547c\u56fe\u52d2\u4e4c\u82cf\u560e\u67e5", "220", "0"], ["152528201212", "\u90fd\u65e5\u672c\u547c\u90fd\u560e\u560e\u67e5", "220", "0"], ["152528201213", "\u6556\u6069\u683c\u5176\u560e\u67e5", "220", "0"], ["152528201214", "\u67e5\u5e72\u5fb7\u65e5\u82cf\u560e\u67e5", "220", "0"], ["152528201215", "\u54c8\u767b\u82cf\u83ab\u560e\u67e5", "220", "0"], ["152528201216", "\u9676\u52d2\u76d6\u4e4c\u82cf\u560e\u67e5", "220", "0"], ["152528201217", "\u82cf\u5409\u560e\u67e5", "220", "0"], ["152528201218", "\u5df4\u5f66\u67e5\u5e72\u560e\u67e5", "220", "0"], ["152528201219", "\u5b9d\u529b\u56fe\u560e\u67e5", "220", "0"], ["152528201220", "\u54c8\u590f\u56fe\u560e\u67e5", "220", "0"]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"system_admin": {"type": "array", "items": {"type": "string"}}, "school_admin": {"type": "array", "items": {"type": "string"}}, "teacher": {"type": "array", "items": {"type": "string"}}, "parent": {"type": "array", "items": {"type": "string"}}}, "required": ["system_admin", "school_admin", "teacher", "parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"system_admin" : ["create_school", "read_school", "update_school", "delete_school"], "school_admin" : ["create_school", "read_school", "update_school", "delete_school"], "teacher" : ["create_assessment", "read_assessment", "update_assessment", "delete_assessment"], "parent" : ["create", "read", "update", "delete"]} | json_instruct | {"type": "object", "properties": {"system_admin": {"type": "array", "items": {"type": "string"}}, "school_admin": {"type": "array", "items": {"type": "string"}}, "teacher": {"type": "array", "items": {"type": "string"}}, "parent": {"type": "array", "items": {"type": "string"}}}, "required": ["system_admin", "school_admin", "teacher", "parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"oneLineDescription": {"type": "string"}, "tags": {"type": "array", "items": {}}}, "required": ["oneLineDescription", "tags"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"oneLineDescription" : "nop is supported", "tags" : []} | json_instruct | {"type": "object", "properties": {"oneLineDescription": {"type": "string"}, "tags": {"type": "array", "items": {}}}, "required": ["oneLineDescription", "tags"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"dbId": {"type": "string"}, "name": {"type": "string"}, "children": {"type": "array", "items": {}}, "size": {"type": "integer"}, "symbols": {"type": "array", "items": {"type": "string"}}, "gallusOrth": {"type": "object", "properties": {"sharedSymbols": {"type": "array", "items": {"type": "string"}}, "count": {"type": "integer"}, "type": {"type": "string"}}, "required": ["sharedSymbols", "count", "type"]}}, "required": ["dbId", "name", "children", "size", "symbols", "gallusOrth"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"dbId" : "444473", "name" : "Formyl peptide receptors bind formyl peptides and many other ligands", "children" : [], "size" : 1, "symbols" : ["FPR1", "FPR3", "FPR2", "ANXA1", "CCL23", "MT-RNR2", "APP", "SAA1", "HEBP1"], "gallusOrth" : {"sharedSymbols" : ["FPR1", "FPR3", "FPR2", "ANXA1", "CCL23", "MT-RNR2", "APP", "SAA1", "HEBP1"], "count" : 9, "type" : "Complete"}} | json_instruct | {"type": "object", "properties": {"dbId": {"type": "string"}, "name": {"type": "string"}, "children": {"type": "array", "items": {}}, "size": {"type": "integer"}, "symbols": {"type": "array", "items": {"type": "string"}}, "gallusOrth": {"type": "object", "properties": {"sharedSymbols": {"type": "array", "items": {"type": "string"}}, "count": {"type": "integer"}, "type": {"type": "string"}}, "required": ["sharedSymbols", "count", "type"]}}, "required": ["dbId", "name", "children", "size", "symbols", "gallusOrth"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "scripts": {"type": "object", "properties": {"sass": {"type": "string"}, "watch": {"type": "string"}, "prestart": {"type": "string"}, "start": {"type": "string"}, "prebuild": {"type": "string"}, "build": {"type": "string"}}, "required": ["sass", "watch", "prestart", "start", "prebuild", "build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"@11ty/eleventy": {"type": "string"}, "acorn": {"type": "string"}, "minimist": {"type": "string"}, "sass": {"type": "string"}}, "required": ["@11ty/eleventy", "acorn", "minimist", "sass"]}}, "required": ["name", "version", "description", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "good-frontender", "version" : "0.0.1", "description" : "Source code for the my frontend development blog - http://goodfrontender.com", "scripts" : {"sass" : "sass ./src/assets/css/site.scss:./src/assets/css/site.css --style=compressed", "watch" : "npm run sass -- --watch", "prestart" : "npm run sass", "start" : "eleventy --serve", "prebuild" : "npm run sass", "build" : "eleventy"}, "repository" : {"type" : "git", "url" : "git+https://github.com/mehtapratik/good-frontender.git"}, "keywords" : ["frontend", "blog", "static-site-generator", "11ty"], "author" : "Pratik Mehta", "license" : "MIT", "bugs" : {"url" : "https://github.com/mehtapratik/good-frontender/issues"}, "homepage" : "https://github.com/mehtapratik/good-frontender#readme", "devDependencies" : {"@11ty/eleventy" : "^0.10.0", "acorn" : "^7.1.1", "minimist" : ">=1.2.3", "sass" : "^1.26.5"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "scripts": {"type": "object", "properties": {"sass": {"type": "string"}, "watch": {"type": "string"}, "prestart": {"type": "string"}, "start": {"type": "string"}, "prebuild": {"type": "string"}, "build": {"type": "string"}}, "required": ["sass", "watch", "prestart", "start", "prebuild", "build"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"@11ty/eleventy": {"type": "string"}, "acorn": {"type": "string"}, "minimist": {"type": "string"}, "sass": {"type": "string"}}, "required": ["@11ty/eleventy", "acorn", "minimist", "sass"]}}, "required": ["name", "version", "description", "scripts", "repository", "keywords", "author", "license", "bugs", "homepage", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"dotenv": {"type": "string"}, "esm": {"type": "string"}, "express": {"type": "string"}}, "required": ["dotenv", "esm", "express"]}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}}, "required": ["name", "version", "description", "main", "dependencies", "scripts"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "harmony-erc20", "version" : "1.0.0", "description" : "Harmony sample ERC20 deploy", "main" : "truffle.js", "dependencies" : {"dotenv" : "^8.2.0", "esm" : "^3.2.25", "express" : "^4.17.1"}, "scripts" : {"start" : "cp ./../.env ./.env; node src/app.js"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "dependencies": {"type": "object", "properties": {"dotenv": {"type": "string"}, "esm": {"type": "string"}, "express": {"type": "string"}}, "required": ["dotenv", "esm", "express"]}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}}, "required": ["name", "version", "description", "main", "dependencies", "scripts"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"dependencies": {"type": "array", "items": {}}, "generated": {"type": "object", "properties": {"js": {"type": "string"}}, "required": ["js"]}, "hash": {"type": "string"}, "cacheData": {"type": "object", "properties": {}, "required": []}}, "required": ["dependencies", "generated", "hash", "cacheData"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"dependencies" : [], "generated" : {"js" : "module.exports=\"/instagram.b0541397.png\";"}, "hash" : "26b65b3c69220aba6edc015a20be9519", "cacheData" : {}} | json_instruct | {"type": "object", "properties": {"dependencies": {"type": "array", "items": {}}, "generated": {"type": "object", "properties": {"js": {"type": "string"}}, "required": ["js"]}, "hash": {"type": "string"}, "cacheData": {"type": "object", "properties": {}, "required": []}}, "required": ["dependencies", "generated", "hash", "cacheData"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"values": {"type": "array", "items": {"type": "string"}}}, "required": ["values"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"values" : ["luigis_mansion:room/hidden/hallway_16/load/set_loaded", "luigis_mansion:room/hidden/hallway_16/load/lights", "luigis_mansion:room/hidden/hallway_16/load/fake_doors", "luigis_mansion:room/hidden/hallway_16/load/vacuumable"]} | json_instruct | {"type": "object", "properties": {"values": {"type": "array", "items": {"type": "string"}}}, "required": ["values"], "$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"}, "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" : "Membership Inference Attacks Against Machine Learning Models.", "fields" : ["data modeling", "machine learning", "inference", "computer security", "inference attack"], "abstract" : "We quantitatively investigate how machine learning models leak information about the individual data records on which they were trained. We focus on the basic membership inference attack: given a data record and black-box access to a model, determine if the record was in the model's training dataset. To perform membership inference against a target model, we make adversarial use of machine learning and train our own inference model to recognize differences in the target model's predictions on the inputs that it trained on versus the inputs that it did not train on. We empirically evaluate our inference techniques on classification models trained by commercial \"machine learning as a service\" providers such as Google and Amazon. Using realistic datasets and classification tasks, including a hospital discharge dataset whose membership is sensitive from the privacy perspective, we show that these models can be vulnerable to membership inference attacks. We then investigate the factors that influence this leakage and evaluate mitigation strategies.", "citation" : "Citations (105)", "departments" : ["Cornell University", "French Institute for Research in Computer Science and Automation", "Cornell University", "Cornell University"], "authors" : ["Reza Shokri.....http://dblp.org/pers/hd/s/Shokri:Reza", "Marco Stronati.....http://dblp.org/pers/hd/s/Stronati:Marco", "Congzheng Song.....http://dblp.org/pers/hd/s/Song:Congzheng", "Vitaly Shmatikov.....http://dblp.org/pers/hd/s/Shmatikov:Vitaly"], "conf" : "sp", "year" : "2017", "pages" : 16} | 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#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "object", "properties": {"namaKab": {"type": "string"}, "originalFilename": {"type": "string"}, "namaPartai": {"type": "string"}, "id": {"type": "integer"}, "noUrut": {"type": "integer"}, "nama": {"type": "string"}, "stringJenisKelamin": {"type": "string"}}, "required": ["namaKab", "originalFilename", "namaPartai", "id", "noUrut", "nama", "stringJenisKelamin"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"namaKab" : "KOTA SURABAYA", "originalFilename" : "mustofa.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 175896, "noUrut" : 1, "nama" : "MUSTOFA, S.H.", "stringJenisKelamin" : "Laki-Laki"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "eka hernawati.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 175588, "noUrut" : 2, "nama" : "EKA HERNAWATI", "stringJenisKelamin" : "Perempuan"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "yan susanto.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 175243, "noUrut" : 3, "nama" : "YAN SUSANTO, S.E.", "stringJenisKelamin" : "Laki-Laki"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "imam nawawi.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 176859, "noUrut" : 4, "nama" : "IMAM NAWAWI", "stringJenisKelamin" : "Laki-Laki"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "uswatun c..jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 174888, "noUrut" : 5, "nama" : "USWATUN CHASANAH, S.S.", "stringJenisKelamin" : "Perempuan"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "siti sulaisah.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 176607, "noUrut" : 6, "nama" : "SITI SULAISAH", "stringJenisKelamin" : "Perempuan"}, {"namaKab" : "MOJOKERTO", "originalFilename" : "ari rahmanta.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 210249, "noUrut" : 7, "nama" : "ARI RAHMANTA, S.PdI.", "stringJenisKelamin" : "Laki-Laki"}, {"namaKab" : "MAGETAN", "originalFilename" : "bagus karjono.jpg", "namaPartai" : "Partai Keadilan Sejahtera", "id" : 178376, "noUrut" : 8, "nama" : "BAGUS KARJONO", "stringJenisKelamin" : "Laki-Laki"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"namaKab": {"type": "string"}, "originalFilename": {"type": "string"}, "namaPartai": {"type": "string"}, "id": {"type": "integer"}, "noUrut": {"type": "integer"}, "nama": {"type": "string"}, "stringJenisKelamin": {"type": "string"}}, "required": ["namaKab", "originalFilename", "namaPartai", "id", "noUrut", "nama", "stringJenisKelamin"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"generator-cheminfo": {"type": "object", "properties": {"promptValues": {"type": "object", "properties": {"userName": {"type": "string"}, "email": {"type": "string"}}, "required": ["userName", "email"]}}, "required": ["promptValues"]}}, "required": ["generator-cheminfo"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"generator-cheminfo" : {"promptValues" : {"userName" : "Jose Alejandro Bolanos Arroyave", "email" : "jose.bolanos@correounivalle.edu.co"}}} | json_instruct | {"type": "object", "properties": {"generator-cheminfo": {"type": "object", "properties": {"promptValues": {"type": "object", "properties": {"userName": {"type": "string"}, "email": {"type": "string"}}, "required": ["userName", "email"]}}, "required": ["promptValues"]}}, "required": ["generator-cheminfo"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"site-plan-url": {"type": "string"}, "notes": {"type": "string"}, "planning-permission-type": {"type": "string"}, "site": {"type": "string"}, "site-address": {"type": "string"}, "start-date": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "hectares": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "planning-permission-date": {"type": "string"}, "organisation": {"type": "string"}, "point": {"type": "string"}, "name": {"type": "string"}, "planning-permission-status": {"type": "string"}, "deliverable": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}}, "required": ["site-plan-url", "notes", "planning-permission-type", "site", "site-address", "start-date", "minimum-net-dwellings", "hectares", "maximum-net-dwellings", "planning-permission-date", "organisation", "point", "name", "planning-permission-status", "deliverable", "slug", "entity", "entry-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "geometry" : {"type" : "Point", "coordinates" : [-1.880527, 52.485586]}, "properties" : {"site-plan-url" : "https://maps.birmingham.gov.uk/webapps/shlaa/", "notes" : "2016/05749/PA", "planning-permission-type" : "full planning permission", "site" : "N867", "site-address" : "52 Windsor Street South, Nechells", "start-date" : "2017-12-19", "minimum-net-dwellings" : "6", "hectares" : "0.05", "maximum-net-dwellings" : "6", "planning-permission-date" : "2016-09-30", "organisation" : "local-authority-eng:BIR", "point" : "POINT(-1.880527 52.485586)", "name" : "N867", "planning-permission-status" : "permissioned", "deliverable" : "yes", "slug" : "/brownfield-land/local-authority-eng/BIR/N867", "entity" : 476304, "entry-date" : "2017-12-19"}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "number"}}}, "required": ["type", "coordinates"]}, "properties": {"type": "object", "properties": {"site-plan-url": {"type": "string"}, "notes": {"type": "string"}, "planning-permission-type": {"type": "string"}, "site": {"type": "string"}, "site-address": {"type": "string"}, "start-date": {"type": "string"}, "minimum-net-dwellings": {"type": "string"}, "hectares": {"type": "string"}, "maximum-net-dwellings": {"type": "string"}, "planning-permission-date": {"type": "string"}, "organisation": {"type": "string"}, "point": {"type": "string"}, "name": {"type": "string"}, "planning-permission-status": {"type": "string"}, "deliverable": {"type": "string"}, "slug": {"type": "string"}, "entity": {"type": "integer"}, "entry-date": {"type": "string"}}, "required": ["site-plan-url", "notes", "planning-permission-type", "site", "site-address", "start-date", "minimum-net-dwellings", "hectares", "maximum-net-dwellings", "planning-permission-date", "organisation", "point", "name", "planning-permission-status", "deliverable", "slug", "entity", "entry-date"]}}, "required": ["type", "geometry", "properties"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "repository": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "addons": {"type": "array", "items": {"type": "string"}}, "env": {"type": "object", "properties": {"RUNTIME_ENV": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}, "NPM_CONFIG_PRODUCTION": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}, "YARN_PRODUCTION": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}}, "required": ["RUNTIME_ENV", "NPM_CONFIG_PRODUCTION", "YARN_PRODUCTION"]}}, "required": ["name", "description", "repository", "keywords", "addons", "env"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "predefine", "description" : "A representation of stored and retrieved information that does not qualify to belongs to their own domain model.", "repository" : "https://github.com/lykmapipo/predefine.git", "keywords" : ["lykmapipo", "mongoose", "mongoose-module", "predefined", "predefine", "settings", "config", "env", "preference"], "addons" : ["mongolab"], "env" : {"RUNTIME_ENV" : {"value" : "heroku"}, "NPM_CONFIG_PRODUCTION" : {"value" : "false"}, "YARN_PRODUCTION" : {"value" : "false"}}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "repository": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "addons": {"type": "array", "items": {"type": "string"}}, "env": {"type": "object", "properties": {"RUNTIME_ENV": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}, "NPM_CONFIG_PRODUCTION": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}, "YARN_PRODUCTION": {"type": "object", "properties": {"value": {"type": "string"}}, "required": ["value"]}}, "required": ["RUNTIME_ENV", "NPM_CONFIG_PRODUCTION", "YARN_PRODUCTION"]}}, "required": ["name", "description", "repository", "keywords", "addons", "env"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "license": {"type": "string"}, "author": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}, "dependencies": {"type": "object", "properties": {"fs-extra": {"type": "string"}}, "required": ["fs-extra"]}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}}, "required": ["eslint"]}}, "required": ["name", "version", "description", "keywords", "homepage", "bugs", "repository", "license", "author", "main", "scripts", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "text-blaze-templates", "version" : "1.0.0", "description" : "Templates for TextBlaze to use with Roam Research", "keywords" : ["TextBlaze", "Roam-Research"], "homepage" : "https://github.com/jacksteamdev/text-blaze-templates#readme", "bugs" : {"url" : "https://github.com/jacksteamdev/text-blaze-templates/issues"}, "repository" : {"type" : "git", "url" : "git+ssh://git@github.com/jacksteamdev/text-blaze-templates.git"}, "license" : "MIT", "author" : "Jack Steam <jacksteamdev@gmail.com>", "main" : "src/convertTemplate.js", "scripts" : {"start" : "nodemon -e js,md --ignore 02-output-text-blaze bin/index.js"}, "dependencies" : {"fs-extra" : "^9.0.1"}, "devDependencies" : {"eslint" : "^7.6.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "homepage": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "license": {"type": "string"}, "author": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"start": {"type": "string"}}, "required": ["start"]}, "dependencies": {"type": "object", "properties": {"fs-extra": {"type": "string"}}, "required": ["fs-extra"]}, "devDependencies": {"type": "object", "properties": {"eslint": {"type": "string"}}, "required": ["eslint"]}}, "required": ["name", "version", "description", "keywords", "homepage", "bugs", "repository", "license", "author", "main", "scripts", "dependencies", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"stationId": {"type": "integer"}, "stationGroupId": {"type": "integer"}, "name": {"type": "string"}, "lineId": {"type": "integer"}, "zipCode": {"type": "string"}, "pref": {"type": "string"}, "city": {"type": "string"}, "town": {"type": "string"}, "longitude": {"type": "number"}, "latitude": {"type": "number"}, "status": {"type": "integer"}}, "required": ["stationId", "stationGroupId", "name", "lineId", "zipCode", "pref", "city", "town", "longitude", "latitude", "status"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"stationId" : 1133316, "stationGroupId" : 1131904, "name" : "\u6d66\u548c", "lineId" : 11333, "zipCode" : "330-0063", "pref" : "\u57fc\u7389\u770c", "city" : "\u3055\u3044\u305f\u307e\u5e02\u6d66\u548c\u533a", "town" : "\u9ad8\u7802", "longitude" : 139.657109, "latitude" : 35.858496, "status" : 0} | json_instruct | {"type": "object", "properties": {"stationId": {"type": "integer"}, "stationGroupId": {"type": "integer"}, "name": {"type": "string"}, "lineId": {"type": "integer"}, "zipCode": {"type": "string"}, "pref": {"type": "string"}, "city": {"type": "string"}, "town": {"type": "string"}, "longitude": {"type": "number"}, "latitude": {"type": "number"}, "status": {"type": "integer"}}, "required": ["stationId", "stationGroupId", "name", "lineId", "zipCode", "pref", "city", "town", "longitude", "latitude", "status"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "districtId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "districtId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "1001", "provinceId" : "53", "regencyId" : "11", "districtId" : "08", "name" : "Lumbukore"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "provinceId": {"type": "string"}, "regencyId": {"type": "string"}, "districtId": {"type": "string"}, "name": {"type": "string"}}, "required": ["id", "provinceId", "regencyId", "districtId", "name"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "integer"}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"src:alt_label": {"type": "string"}, "src:geom": {"type": "string"}, "wof:geomhash": {"type": "string"}, "wof:id": {"type": "integer"}, "wof:repo": {"type": "string"}}, "required": ["src:alt_label", "src:geom", "wof:geomhash", "wof:id", "wof:repo"]}, "bbox": {"type": "array", "items": {"type": "number"}}, "geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "number"}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}}, "required": ["id", "type", "properties", "bbox", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 404348993, "type" : "Feature", "properties" : {"src:alt_label" : "quattroshapes_pg", "src:geom" : "quattroshapes_pg", "wof:geomhash" : "e96cf305cb19328ea0d3537fe0aae610", "wof:id" : 404348993, "wof:repo" : "whosonfirst-data-admin-fr"}, "bbox" : [3.07944, 48.68861, 3.07944, 48.68861], "geometry" : {"coordinates" : [3.07944, 48.68861], "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#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[1957, 6], [2004, 6], [2005, 7], [2010, 6], [2011, 6], [2012, 10], [2013, 8], [2014, 11]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "array", "items": {"type": "object", "properties": {"vulnerability": {"type": "string"}, "sources": {"type": "array", "items": {"type": "string"}}, "sink": {"type": "string"}, "sanitizers": {"type": "array", "items": {"type": "string"}}}, "required": ["vulnerability", "sources", "sink", "sanitizers"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"vulnerability" : "SQL injection", "sources" : ["a"], "sink" : "execute", "sanitizers" : ["mogrify", "escape_string"]}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"vulnerability": {"type": "string"}, "sources": {"type": "array", "items": {"type": "string"}}, "sink": {"type": "string"}, "sanitizers": {"type": "array", "items": {"type": "string"}}}, "required": ["vulnerability", "sources", "sink", "sanitizers"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}, "ISO3": {"type": "string"}}, "required": ["name", "ISO3"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "properties" : {"name" : "American Samoa", "ISO3" : "ASM"}, "geometry" : {"type" : "MultiPolygon", "coordinates" : [[[[-170.542511, -14.297503], [-170.546112, -14.298613], [-170.550293, -14.298334], [-170.555878, -14.295], [-170.560822, -14.287781], [-170.54837, -14.282501], [-170.540039, -14.283892], [-170.536682, -14.288891], [-170.542511, -14.297503]]], [[[-170.637268, -14.289446], [-170.743896, -14.375555], [-170.74942, -14.373888], [-170.766449, -14.363611], [-170.822266, -14.329447], [-170.826111, -14.325003], [-170.822266, -14.320278], [-170.809174, -14.308058], [-170.800293, -14.300556], [-170.795013, -14.298058], [-170.681671, -14.258059], [-170.66806, -14.255556], [-170.660004, -14.255281], [-170.570282, -14.252779], [-170.565552, -14.255836], [-170.560028, -14.265837], [-170.560822, -14.269169], [-170.563324, -14.272503], [-170.578613, -14.279167], [-170.637268, -14.289446]]], [[[-169.444489, -14.261667], [-169.50946, -14.276669], [-169.513062, -14.275833], [-169.517792, -14.272779], [-169.521698, -14.268333], [-169.535553, -14.242779], [-169.537231, -14.23778], [-169.536133, -14.231668], [-169.533936, -14.229721], [-169.522278, -14.226946], [-169.51532, -14.226665], [-169.449768, -14.226391], [-169.445587, -14.226665], [-169.439453, -14.231668], [-169.438324, -14.256668], [-169.440002, -14.260557], [-169.444489, -14.261667]]], [[[-169.62558, -14.189722], [-169.631409, -14.190834], [-169.641693, -14.186111], [-169.644196, -14.181112], [-169.644745, -14.176111], [-169.640564, -14.171667], [-169.626129, -14.166945], [-169.621948, -14.168612], [-169.621948, -14.176392], [-169.623077, -14.183889], [-169.62558, -14.189722]]], [[[-169.685577, -14.191944], [-169.686951, -14.191944], [-169.693054, -14.188889], [-169.694153, -14.18528], [-169.694153, -14.173613], [-169.690857, -14.167501], [-169.687256, -14.166389], [-169.683075, -14.166666], [-169.665588, -14.172777], [-169.662231, -14.175001], [-169.65976, -14.179169], [-169.65976, -14.180555], [-169.661438, -14.183332], [-169.681122, -14.191669], [-169.685577, -14.191944]]]]}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"name": {"type": "string"}, "ISO3": {"type": "string"}}, "required": ["name", "ISO3"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"title": {"type": "string"}, "genre": {"type": "string"}, "creators": {"type": "array", "items": {"type": "string"}}, "cast": {"type": "array", "items": {}}, "country_of_origin": {"type": "string"}, "seasons": {"type": "integer"}, "episodes": {"type": "integer"}, "start_date": {"type": "string"}, "end_date": {"type": "string"}}, "required": ["title", "genre", "creators", "cast", "country_of_origin", "seasons", "episodes", "start_date", "end_date"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "Dynomutt, Dog Wonder", "genre" : "", "creators" : ["Joe Ruby", "Ken Spears"], "cast" : [], "country_of_origin" : "United States", "seasons" : 0, "episodes" : 20, "start_date" : "Sat Sep 11 00:00:00 EDT 1976", "end_date" : "Sat Oct 29 00:00:00 EDT 1977"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "genre": {"type": "string"}, "creators": {"type": "array", "items": {"type": "string"}}, "cast": {"type": "array", "items": {}}, "country_of_origin": {"type": "string"}, "seasons": {"type": "integer"}, "episodes": {"type": "integer"}, "start_date": {"type": "string"}, "end_date": {"type": "string"}}, "required": ["title", "genre", "creators", "cast", "country_of_origin", "seasons", "episodes", "start_date", "end_date"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "fe72919ae8ca83035653c87c686d8316b22c4719"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}}, "required": ["id"], "$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.