input
stringlengths 159
2.05k
| output
stringlengths 5
10.3k
| task
stringclasses 1
value | schema
stringlengths 100
1.99k
|
---|---|---|---|
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"testRunner": {"type": "string"}, "runnerConfig": {"type": "string"}, "apps": {"type": "object", "properties": {"ios.dev": {"type": "object", "properties": {"type": {"type": "string"}, "binaryPath": {"type": "string"}, "build": {"type": "string"}, "bundleId": {"type": "string"}}, "required": ["type", "binaryPath", "build", "bundleId"]}, "android": {"type": "object", "properties": {"type": {"type": "string"}, "binaryPath": {"type": "string"}}, "required": ["type", "binaryPath"]}}, "required": ["ios.dev", "android"]}, "devices": {"type": "object", "properties": {"simulator": {"type": "object", "properties": {"type": {"type": "string"}, "device": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "device"]}, "emulator": {"type": "object", "properties": {"type": {"type": "string"}, "device": {"type": "object", "properties": {"avdName": {"type": "string"}}, "required": ["avdName"]}}, "required": ["type", "device"]}}, "required": ["simulator", "emulator"]}, "configurations": {"type": "object", "properties": {"ios": {"type": "object", "properties": {"device": {"type": "string"}, "app": {"type": "string"}}, "required": ["device", "app"]}, "android": {"type": "object", "properties": {"device": {"type": "string"}, "app": {"type": "string"}}, "required": ["device", "app"]}}, "required": ["ios", "android"]}}, "required": ["testRunner", "runnerConfig", "apps", "devices", "configurations"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"testRunner" : "jest", "runnerConfig" : "e2e/config.json", "apps" : {"ios.dev" : {"type" : "ios.app", "binaryPath" : "ios/build/Build/Products/Debug-iphonesimulator/mano.app", "build" : "set -o pipefail && xcodebuild -workspace ios/mano.xcworkspace -configuration Debug -scheme mano.test -destination name=\"iPhone 12 Pro\" -derivedDataPath ios/build -quiet", "bundleId" : "org.reactjs.native.example.mano"}, "android" : {"type" : "android.apk", "binaryPath" : "SPECIFY_PATH_TO_YOUR_APP_BINARY"}}, "devices" : {"simulator" : {"type" : "ios.simulator", "device" : {"type" : "iPhone 12 Pro"}}, "emulator" : {"type" : "android.emulator", "device" : {"avdName" : "Pixel_3a_API_30_x86"}}}, "configurations" : {"ios" : {"device" : "simulator", "app" : "ios.dev"}, "android" : {"device" : "emulator", "app" : "android"}}} | json_instruct | {"type": "object", "properties": {"testRunner": {"type": "string"}, "runnerConfig": {"type": "string"}, "apps": {"type": "object", "properties": {"ios.dev": {"type": "object", "properties": {"type": {"type": "string"}, "binaryPath": {"type": "string"}, "build": {"type": "string"}, "bundleId": {"type": "string"}}, "required": ["type", "binaryPath", "build", "bundleId"]}, "android": {"type": "object", "properties": {"type": {"type": "string"}, "binaryPath": {"type": "string"}}, "required": ["type", "binaryPath"]}}, "required": ["ios.dev", "android"]}, "devices": {"type": "object", "properties": {"simulator": {"type": "object", "properties": {"type": {"type": "string"}, "device": {"type": "object", "properties": {"type": {"type": "string"}}, "required": ["type"]}}, "required": ["type", "device"]}, "emulator": {"type": "object", "properties": {"type": {"type": "string"}, "device": {"type": "object", "properties": {"avdName": {"type": "string"}}, "required": ["avdName"]}}, "required": ["type", "device"]}}, "required": ["simulator", "emulator"]}, "configurations": {"type": "object", "properties": {"ios": {"type": "object", "properties": {"device": {"type": "string"}, "app": {"type": "string"}}, "required": ["device", "app"]}, "android": {"type": "object", "properties": {"device": {"type": "string"}, "app": {"type": "string"}}, "required": ["device", "app"]}}, "required": ["ios", "android"]}}, "required": ["testRunner", "runnerConfig", "apps", "devices", "configurations"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"h" : [{"d" : [{"e" : ["\ufff9`Mipapi'araway~ `ci~`nira~ `to~ `sasing~ `ako~.\ufffa\ufffb\u4ed6\u8b93\u4eba\u770b\u6211\u7684\u7167\u7247\u3002"], "f" : "\u53eb(\u4eba)\u770b\u4e86\u3001\u53c3\u89c0\u4e86\u3002"}, {"e" : ["\ufff9`O~ `cima~ `ko~ `mipapi'araway~ `kisowanan~?\ufffa\ufffb\u662f\u8ab0\u8b93\u4f86\u770b\u4f60\u7684\uff1f"], "f" : "\u6307\u53eb\u4ed6\u4eba\u53bb\u89c0\u770b\u7684\u4eba(\u4e3b\u4e8b\u8005)\u3002"}]}], "stem" : "'araw", "t" : "mipapi'araway"} | json_instruct | {"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"published": {"type": "string"}, "media-type": {"type": "string"}, "title": {"type": "string"}, "id": {"type": "string"}, "content": {"type": "string"}, "source": {"type": "string"}}, "required": ["published", "media-type", "title", "id", "content", "source"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"published" : "2015-09-08T18:15:03Z", "media-type" : "News", "title" : "Aerial Lift Bridge transitioning into off season lift hours", "id" : "52db7466-3e3d-4807-b3ca-3b2ce49b0983", "content" : "at 1:15 PM CDT \n\nDuluth, MN (NNCNOW.com) - The Aerial Lift Bridge is transitioning out of its summer lift schedule and into its off season one.\n\nDuring the summer season, the Aerial Lift Bridges goes up upon request every half hour to make room for the high boating traffic.\n\nAs the season of shipping and recreational boating is coming to a close, it is starting to slow down.\n\nNow the bridge will only be going up upon request every hour.", "source" : "Northland's NewsCenter"} | json_instruct | {"type": "object", "properties": {"published": {"type": "string"}, "media-type": {"type": "string"}, "title": {"type": "string"}, "id": {"type": "string"}, "content": {"type": "string"}, "source": {"type": "string"}}, "required": ["published", "media-type", "title", "id", "content", "source"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"opts": {"type": "object", "properties": {"recurse": {"type": "boolean"}, "template": {"type": "string"}}, "required": ["recurse", "template"]}, "tags": {"type": "object", "properties": {"allowUnknownTags": {"type": "boolean"}}, "required": ["allowUnknownTags"]}, "source": {"type": "object", "properties": {"includePattern": {"type": "string"}, "excludePattern": {"type": "string"}, "include": {"type": "array", "items": {"type": "string"}}}, "required": ["includePattern", "excludePattern", "include"]}, "plugins": {"type": "array", "items": {"type": "string"}}, "typescript": {"type": "object", "properties": {"moduleRoot": {"type": "string"}}, "required": ["moduleRoot"]}, "templates": {"type": "object", "properties": {"cleverLinks": {"type": "boolean"}, "monospaceLinks": {"type": "boolean"}, "default": {"type": "object", "properties": {"outputSourceFiles": {"type": "boolean"}}, "required": ["outputSourceFiles"]}, "applicationName": {"type": "string"}}, "required": ["cleverLinks", "monospaceLinks", "default", "applicationName"]}, "jsVersion": {"type": "integer"}}, "required": ["opts", "tags", "source", "plugins", "typescript", "templates", "jsVersion"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"opts" : {"recurse" : true, "template" : "config/jsdoc/api/template"}, "tags" : {"allowUnknownTags" : true}, "source" : {"includePattern" : ".+\\.js$", "excludePattern" : "(^|\\/|\\\\)_", "include" : ["src/ol"]}, "plugins" : ["config/jsdoc/plugins/markdown.cjs", "jsdoc-plugin-typescript", "config/jsdoc/plugins/inline-options.cjs", "config/jsdoc/plugins/events.cjs", "config/jsdoc/plugins/observable.cjs", "config/jsdoc/plugins/api.cjs", "config/jsdoc/plugins/default-export.cjs"], "typescript" : {"moduleRoot" : "src"}, "templates" : {"cleverLinks" : true, "monospaceLinks" : true, "default" : {"outputSourceFiles" : false}, "applicationName" : "OpenLayers"}, "jsVersion" : 180} | json_instruct | {"type": "object", "properties": {"opts": {"type": "object", "properties": {"recurse": {"type": "boolean"}, "template": {"type": "string"}}, "required": ["recurse", "template"]}, "tags": {"type": "object", "properties": {"allowUnknownTags": {"type": "boolean"}}, "required": ["allowUnknownTags"]}, "source": {"type": "object", "properties": {"includePattern": {"type": "string"}, "excludePattern": {"type": "string"}, "include": {"type": "array", "items": {"type": "string"}}}, "required": ["includePattern", "excludePattern", "include"]}, "plugins": {"type": "array", "items": {"type": "string"}}, "typescript": {"type": "object", "properties": {"moduleRoot": {"type": "string"}}, "required": ["moduleRoot"]}, "templates": {"type": "object", "properties": {"cleverLinks": {"type": "boolean"}, "monospaceLinks": {"type": "boolean"}, "default": {"type": "object", "properties": {"outputSourceFiles": {"type": "boolean"}}, "required": ["outputSourceFiles"]}, "applicationName": {"type": "string"}}, "required": ["cleverLinks", "monospaceLinks", "default", "applicationName"]}, "jsVersion": {"type": "integer"}}, "required": ["opts", "tags", "source", "plugins", "typescript", "templates", "jsVersion"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"vertices": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["vertices"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"vertices" : [[3, 7], [36, 15], [14, 42], [46, 45], [12, 40], [48, 66]]} | json_instruct | {"type": "object", "properties": {"vertices": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}}}, "required": ["vertices"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"coin": {"type": "string"}, "token": {"type": "string"}, "sraddress": {"type": "string"}, "owneraddress": {"type": "string"}, "node": {"type": "string"}, "nodepay": {"type": "string"}, "percentage": {"type": "integer"}, "amount": {"type": "integer"}, "logfile": {"type": "string"}, "minpayout": {"type": "integer"}, "pk": {"type": "string"}, "feededuct": {"type": "boolean"}, "fees": {"type": "integer"}, "saveindb": {"type": "boolean"}, "dbname": {"type": "string"}, "dbuser": {"type": "string"}, "dbpass": {"type": "string"}, "dbhost": {"type": "string"}, "donations": {"type": "object", "properties": {}, "required": []}, "donationspercentage": {"type": "object", "properties": {}, "required": []}, "private": {"type": "boolean"}, "whitelist": {"type": "array", "items": {}}, "skip": {"type": "array", "items": {}}}, "required": ["coin", "token", "sraddress", "owneraddress", "node", "nodepay", "percentage", "amount", "logfile", "minpayout", "pk", "feededuct", "fees", "saveindb", "dbname", "dbuser", "dbpass", "dbhost", "donations", "donationspercentage", "private", "whitelist", "skip"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"coin" : "TRX", "token" : "", "sraddress" : "", "owneraddress" : "", "node" : "https://api.tronscan.org", "nodepay" : "https://api.tronscan.org", "percentage" : 100, "amount" : 100000, "logfile" : "poollogs.json", "minpayout" : 65748111645000000, "pk" : "", "feededuct" : false, "fees" : 0, "saveindb" : false, "dbname" : "", "dbuser" : "", "dbpass" : "", "dbhost" : "", "donations" : {}, "donationspercentage" : {}, "private" : false, "whitelist" : [], "skip" : []} | json_instruct | {"type": "object", "properties": {"coin": {"type": "string"}, "token": {"type": "string"}, "sraddress": {"type": "string"}, "owneraddress": {"type": "string"}, "node": {"type": "string"}, "nodepay": {"type": "string"}, "percentage": {"type": "integer"}, "amount": {"type": "integer"}, "logfile": {"type": "string"}, "minpayout": {"type": "integer"}, "pk": {"type": "string"}, "feededuct": {"type": "boolean"}, "fees": {"type": "integer"}, "saveindb": {"type": "boolean"}, "dbname": {"type": "string"}, "dbuser": {"type": "string"}, "dbpass": {"type": "string"}, "dbhost": {"type": "string"}, "donations": {"type": "object", "properties": {}, "required": []}, "donationspercentage": {"type": "object", "properties": {}, "required": []}, "private": {"type": "boolean"}, "whitelist": {"type": "array", "items": {}}, "skip": {"type": "array", "items": {}}}, "required": ["coin", "token", "sraddress", "owneraddress", "node", "nodepay", "percentage", "amount", "logfile", "minpayout", "pk", "feededuct", "fees", "saveindb", "dbname", "dbuser", "dbpass", "dbhost", "donations", "donationspercentage", "private", "whitelist", "skip"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"address": {"type": "string"}, "cert_auth_type": {"type": "string"}, "cert_sign": {"type": "string"}, "cert_user_id": {"type": "string"}, "files": {"type": "object", "properties": {"data.json": {"type": "object", "properties": {"sha512": {"type": "string"}, "size": {"type": "integer"}}, "required": ["sha512", "size"]}}, "required": ["data.json"]}, "inner_path": {"type": "string"}, "modified": {"type": "number"}, "signs": {"type": "object", "properties": {"19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR": {"type": "string"}}, "required": ["19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR"]}}, "required": ["address", "cert_auth_type", "cert_sign", "cert_user_id", "files", "inner_path", "modified", "signs"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"address" : "1RedkCkVaXuVXrqCMpoXQS29bwaqsuFdL", "cert_auth_type" : "web", "cert_sign" : "HESv8gqJ/O2Q99DecTQglIMluvKjhyP9rj5p8OIFCMdVsEQKSZONlDJsmfxBcEMGU7fGyQg8q6/gWxl/3S8yb0s=", "cert_user_id" : "[email protected]", "files" : {"data.json" : {"sha512" : "20b0e1d1686e73cba9d7adaccb54928be0a212fdba10833907449ce8267aa0d7", "size" : 1240}}, "inner_path" : "data/users/19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR/content.json", "modified" : 1471016933.239304, "signs" : {"19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR" : "Gw4IbromhPZQA86aGhu4C7WDvTNYZAKblCSWOkwEP7Wl/fZ3evagE8dLn7Wok9MztnY+rA1uHfJVVoBVUAtxV5o="}} | json_instruct | {"type": "object", "properties": {"address": {"type": "string"}, "cert_auth_type": {"type": "string"}, "cert_sign": {"type": "string"}, "cert_user_id": {"type": "string"}, "files": {"type": "object", "properties": {"data.json": {"type": "object", "properties": {"sha512": {"type": "string"}, "size": {"type": "integer"}}, "required": ["sha512", "size"]}}, "required": ["data.json"]}, "inner_path": {"type": "string"}, "modified": {"type": "number"}, "signs": {"type": "object", "properties": {"19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR": {"type": "string"}}, "required": ["19eaSNAuxW7MqCTtRUCbEZB6KVAo3nodqR"]}}, "required": ["address", "cert_auth_type", "cert_sign", "cert_user_id", "files", "inner_path", "modified", "signs"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "test:toggle-recording": {"type": "string"}}, "required": ["test", "test:toggle-recording"]}, "dependencies": {"type": "object", "properties": {"run-jxa": {"type": "string"}}, "required": ["run-jxa"]}, "devDependencies": {"type": "object", "properties": {"standard": {"type": "string"}}, "required": ["standard"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "version", "description", "keywords", "license", "repository", "author", "files", "scripts", "dependencies", "devDependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "piezo-applescript", "version" : "0.1.0", "description" : "Control Piezo using AppleScript", "keywords" : ["piezo", "applescript", "rogue amoeba", "record", "recording", "audio"], "license" : "ISC", "repository" : "sonicdoe/piezo-applescript", "author" : "Jakob Krigovsky <[email protected]>", "files" : ["index.js", "lib/toggle-recording.js"], "scripts" : {"test" : "standard", "test:toggle-recording" : "node test/toggle-recording.js"}, "dependencies" : {"run-jxa" : "^1.2.0"}, "devDependencies" : {"standard" : "^11.0.1"}, "engines" : {"node" : ">=8"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "license": {"type": "string"}, "repository": {"type": "string"}, "author": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "test:toggle-recording": {"type": "string"}}, "required": ["test", "test:toggle-recording"]}, "dependencies": {"type": "object", "properties": {"run-jxa": {"type": "string"}}, "required": ["run-jxa"]}, "devDependencies": {"type": "object", "properties": {"standard": {"type": "string"}}, "required": ["standard"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}}, "required": ["name", "version", "description", "keywords", "license", "repository", "author", "files", "scripts", "dependencies", "devDependencies", "engines"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "integer"}}, "required": ["op", "path", "value"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"op" : "replace", "path" : "/spec/template/spec/terminationGracePeriodSeconds", "value" : 27}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "integer"}}, "required": ["op", "path", "value"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"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": {}}, "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" : "export default function () {\n throw new Error(\"This version of '@react-navigation/native' is not compatible with React Navigation 5. Make sure you install 5.x version of '@react-navigation/native'.\");\n}", "map" : {"version" : 3, "sources" : ["throwIfWrongVersion.js"], "names" : [], "mappings" : "AAAA,eAAe,YAAW;AACxB,QAAM,IAAA,KAAA,CAAN,wJAAM,CAAN;AAGD", "sourcesContent" : ["export default function() {\n throw new Error(\n \"This version of '@react-navigation/native' is not compatible with React Navigation 5. Make sure you install 5.x version of '@react-navigation/native'.\"\n );\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": {}}, "mappings": {"type": "string"}, "sourcesContent": {"type": "array", "items": {"type": "string"}}}, "required": ["version", "sources", "names", "mappings", "sourcesContent"]}, "metadata": {"type": "object", "properties": {}, "required": []}, "sourceType": {"type": "string"}}, "required": ["ast", "code", "map", "metadata", "sourceType"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"api": {"type": "string"}, "city": {"type": "string"}, "country": {"type": "string"}, "data": {"type": "object", "properties": {"baseurl": {"type": "string"}, "information": {"type": "string"}}, "required": ["baseurl", "information"]}, "geo": {"type": "array", "items": {"type": "number"}}, "state": {"type": "string"}, "support": {"type": "string"}, "title": {"type": "string"}}, "required": ["api", "city", "country", "data", "geo", "state", "support", "title"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"api" : "winbiap", "city" : "Untermerzbach", "country" : "Deutschland", "data" : {"baseurl" : "http://webopac.winbiap.net/untermerzbach", "information" : "http://www.untermerzbach.de/Startseite/Kultur-Bildung-Freizeit/KOMM/Buecherei/Oeffnungszeiten/E1029.htm"}, "geo" : [50.1271283, 10.8557936], "state" : "Bayern", "support" : "Katalogsuche", "title" : "Gemeindebibliothek"} | json_instruct | {"type": "object", "properties": {"api": {"type": "string"}, "city": {"type": "string"}, "country": {"type": "string"}, "data": {"type": "object", "properties": {"baseurl": {"type": "string"}, "information": {"type": "string"}}, "required": ["baseurl", "information"]}, "geo": {"type": "array", "items": {"type": "number"}}, "state": {"type": "string"}, "support": {"type": "string"}, "title": {"type": "string"}}, "required": ["api", "city", "country", "data", "geo", "state", "support", "title"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"parent" : "rankine:block/lithium_block"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"8.0.5": {"type": "number"}, "lastPublished": {"type": "number"}, "lastRan": {"type": "number"}}, "required": ["8.0.5", "lastPublished", "lastRan"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"8.0.5" : 1973.368457939894, "lastPublished" : 1973.368457939894, "lastRan" : 1973.368457939894} | json_instruct | {"type": "object", "properties": {"8.0.5": {"type": "number"}, "lastPublished": {"type": "number"}, "lastRan": {"type": "number"}}, "required": ["8.0.5", "lastPublished", "lastRan"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "size": {"type": "integer"}, "link": {"type": "string"}, "created_at": {"type": "string"}, "downloads": {"type": "integer"}, "linkid": {"type": "string"}, "convert": {"type": "string"}, "achorname": {"type": "string"}, "subscribe": {"type": "string"}, "avatar-img": {"type": "string"}, "folderName": {"type": "string"}, "thumbUrl": {"type": "string"}}, "required": ["name", "size", "link", "created_at", "downloads", "linkid", "convert", "achorname", "subscribe", "avatar-img", "folderName", "thumbUrl"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"name" : "\u5e05\u54e5\u63a2\u82b1\u5c0f\u9c81\u73ed\u5c0f\u9ec4\u5361\u7247\u62db\u5ad6\u88ab\u9a97\u7ffb\u8f66\uff0c\u8d27\u4e0d\u5bf9\u7248\u768425\u5c81\u5356\u6deb\u5973\u611f\u89c9\u5feb40\u4e86\u670d\u52a1\u6001\u5ea6\u5dee\u641e\u4e86\u4e00\u534a\u8d70\u4eba\u4e86", "size" : 80610690, "link" : "https://streamtape.com/e/YGQj9v6R4Ofvy7v", "created_at" : "2022\u5e7404\u670830\u65e5 00:00:44", "downloads" : 0, "linkid" : "YGQj9v6R4Ofvy7v", "convert" : "converted", "achorname" : "\u4e38\u5b50\u5466", "subscribe" : "0\u4f4d\u8ba2\u9605\u8005", "avatar-img" : "https://huyaimg.msstatic.com/avatar/1022/07/ec5fef7c7662720286fbbb12395390_180_135.jpg?1628178596?458688", "folderName" : "\u5e05\u54e5\u63a2\u82b1\u5c0f\u9c81\u73ed\u5c0f\u9ec4\u5361\u7247\u62db\u5ad6\u88ab\u9a97\u7ffb\u8f66\uff0c\u8d27\u4e0d\u5bf9\u7248\u768425\u5c81\u5356\u6deb\u5973\u611f\u89c9\u5feb40\u4e86\u670d\u52a1\u6001\u5ea6\u5dee\u641e\u4e86\u4e00\u534a\u8d70\u4eba\u4e86", "thumbUrl" : "https://thumb.tapecontent.net/thumb/YGQj9v6R4Ofvy7v/J2Rqo49Wz9tj4kO.jpg"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "size": {"type": "integer"}, "link": {"type": "string"}, "created_at": {"type": "string"}, "downloads": {"type": "integer"}, "linkid": {"type": "string"}, "convert": {"type": "string"}, "achorname": {"type": "string"}, "subscribe": {"type": "string"}, "avatar-img": {"type": "string"}, "folderName": {"type": "string"}, "thumbUrl": {"type": "string"}}, "required": ["name", "size", "link", "created_at", "downloads", "linkid", "convert", "achorname", "subscribe", "avatar-img", "folderName", "thumbUrl"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"title": {"type": "string"}, "author": {"type": "string"}, "description": {"type": "string"}, "thumb": {"type": "string"}, "download": {"type": "string"}, "origin": {"type": "string"}}, "required": ["title", "author", "description", "thumb", "download", "origin"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"title" : "[MMD]Sweet Magic \u9006\u30d0\u30cb\u30fc \u307d\u3061\u3083\u308a\u30fc\u3060\u30884K", "author" : "Hazy", "description" : "twitter:<aundefinedhref='https://twitter.com/mmd_Hazy'>https://twitter.com/mmd_Hazy</a><br>4KundefinedDLundefinedonundefinedpatreon:<aundefinedhref='https://www.patreon.com/MMDHazy'>https://www.patreon.com/MMDHazy</a>", "thumb" : "//i.iwara.tv/sites/default/files/styles/thumbnail/public/video_embed_field_thumbnails/youtube/bf_EVkLsTLY.jpg?itok=CH4m0kKr", "download" : "https://www.iwara.tv/api/video/g72q9fxzoto6gezo", "origin" : "https://www.iwara.tv/videos/g72q9fxzoto6gezo"} | json_instruct | {"type": "object", "properties": {"title": {"type": "string"}, "author": {"type": "string"}, "description": {"type": "string"}, "thumb": {"type": "string"}, "download": {"type": "string"}, "origin": {"type": "string"}}, "required": ["title", "author", "description", "thumb", "download", "origin"], "$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"}, "alt_name": {"type": "string"}, "country": {"type": "string"}, "state": {"type": "null"}, "address": {"type": "object", "properties": {"street": {"type": "string"}, "city": {"type": "string"}, "province": {"type": "string"}, "postal_code": {"type": "string"}}, "required": ["street", "city", "province", "postal_code"]}, "contact": {"type": "object", "properties": {"telephone": {"type": "string"}, "website": {"type": "string"}, "email": {"type": "string"}, "fax": {"type": "string"}}, "required": ["telephone", "website", "email", "fax"]}, "funding": {"type": "string"}, "languages": {"type": "null"}, "academic_year": {"type": "null"}, "accrediting_agency": {"type": "null"}}, "required": ["name", "alt_name", "country", "state", "address", "contact", "funding", "languages", "academic_year", "accrediting_agency"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "School of Educational Sciences", "alt_name" : "Escuela de Ciencias de la Educaci\u00f3n", "country" : "Mexico", "state" : null, "address" : {"street" : "Seraf\u00edn Pe\u00f1a 130 Sur", "city" : "Monterrey", "province" : "Nuevo Le\u00f3n", "postal_code" : "64010"}, "contact" : {"telephone" : "+52(8) 342-05-37", "website" : "http://www.ece.edu.mx", "email" : "[email protected]", "fax" : "+52(8) 340-36-12"}, "funding" : "Public", "languages" : null, "academic_year" : null, "accrediting_agency" : null} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "alt_name": {"type": "string"}, "country": {"type": "string"}, "state": {"type": "null"}, "address": {"type": "object", "properties": {"street": {"type": "string"}, "city": {"type": "string"}, "province": {"type": "string"}, "postal_code": {"type": "string"}}, "required": ["street", "city", "province", "postal_code"]}, "contact": {"type": "object", "properties": {"telephone": {"type": "string"}, "website": {"type": "string"}, "email": {"type": "string"}, "fax": {"type": "string"}}, "required": ["telephone", "website", "email", "fax"]}, "funding": {"type": "string"}, "languages": {"type": "null"}, "academic_year": {"type": "null"}, "accrediting_agency": {"type": "null"}}, "required": ["name", "alt_name", "country", "state", "address", "contact", "funding", "languages", "academic_year", "accrediting_agency"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following 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" : "0x9e71dab82c3a97567f0d4977e94252bdc680d0e7", "tool" : "oyente", "start" : 1563509938.090116, "end" : 1563509941.5640342, "duration" : 3.4739181995391846, "analysis" : []} | json_instruct | {"type": "object", "properties": {"contract": {"type": "string"}, "tool": {"type": "string"}, "start": {"type": "number"}, "end": {"type": "number"}, "duration": {"type": "number"}, "analysis": {"type": "array", "items": {}}}, "required": ["contract", "tool", "start", "end", "duration", "analysis"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"url": {"type": "string"}, "type": {"type": "string"}}, "required": ["url", "type"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"compile": {"type": "string"}, "prepublish": {"type": "string"}}, "required": ["compile", "prepublish"]}, "author": {"type": "string"}, "license": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"babel-cli": {"type": "string"}, "babel-preset-es2015": {"type": "string"}, "babel-preset-stage-0": {"type": "string"}}, "required": ["babel-cli", "babel-preset-es2015", "babel-preset-stage-0"]}}, "required": ["name", "version", "description", "main", "repository", "keywords", "scripts", "author", "license", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "reselectie", "version" : "1.0.1", "description" : "Reselect and re-reselect alternative. Smaller, faster, greater flexibility, and better interface.", "main" : "lib/index.js", "repository" : {"url" : "https://github.com/ralusek/reselectie", "type" : "git"}, "keywords" : ["reselect", "re-reselect", "memoize", "memoization", "cache", "key", "conditional", "store", "redux", "selector", "selectors", "computed", "compute", "computation", "immutable", "immutability"], "scripts" : {"compile" : "babel --presets es2015,stage-0 -d lib/ src/", "prepublish" : "npm run compile"}, "author" : "Tomas Savigliano", "license" : "MIT", "devDependencies" : {"babel-cli" : "^6.26.0", "babel-preset-es2015" : "^6.24.1", "babel-preset-stage-0" : "^6.24.1"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "repository": {"type": "object", "properties": {"url": {"type": "string"}, "type": {"type": "string"}}, "required": ["url", "type"]}, "keywords": {"type": "array", "items": {"type": "string"}}, "scripts": {"type": "object", "properties": {"compile": {"type": "string"}, "prepublish": {"type": "string"}}, "required": ["compile", "prepublish"]}, "author": {"type": "string"}, "license": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"babel-cli": {"type": "string"}, "babel-preset-es2015": {"type": "string"}, "babel-preset-stage-0": {"type": "string"}}, "required": ["babel-cli", "babel-preset-es2015", "babel-preset-stage-0"]}}, "required": ["name", "version", "description", "main", "repository", "keywords", "scripts", "author", "license", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"h": {"type": "string"}, "c": {"type": "object", "properties": {"5": {"type": "boolean"}}, "required": ["5"]}}, "required": ["h", "c"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"h" : "e5ab0759cb3f24bcd7c4", "c" : {"5" : true}} | json_instruct | {"type": "object", "properties": {"h": {"type": "string"}, "c": {"type": "object", "properties": {"5": {"type": "boolean"}}, "required": ["5"]}}, "required": ["h", "c"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "author": {"type": "string"}, "bin": {"type": "object", "properties": {"cnn-starter": {"type": "string"}}, "required": ["cnn-starter"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "dependencies": {"type": "object", "properties": {"chalk": {"type": "string"}, "commander": {"type": "string"}, "fs-extra": {"type": "string"}, "lodash.kebabcase": {"type": "string"}, "semver": {"type": "string"}}, "required": ["chalk", "commander", "fs-extra", "lodash.kebabcase", "semver"]}}, "required": ["name", "version", "description", "license", "private", "author", "bin", "engines", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "cnn-starter", "version" : "0.2.0", "description" : "A foundation for building standardized CNN projects", "license" : "Apache-2.0", "private" : true, "author" : "Matt Crutchfield <[email protected]>", "bin" : {"cnn-starter" : "./src/index.js"}, "engines" : {"node" : ">=6"}, "dependencies" : {"chalk" : "1.1.3", "commander" : "2.9.0", "fs-extra" : "2.0.0", "lodash.kebabcase" : "4.1.1", "semver" : "5.5.0"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "private": {"type": "boolean"}, "author": {"type": "string"}, "bin": {"type": "object", "properties": {"cnn-starter": {"type": "string"}}, "required": ["cnn-starter"]}, "engines": {"type": "object", "properties": {"node": {"type": "string"}}, "required": ["node"]}, "dependencies": {"type": "object", "properties": {"chalk": {"type": "string"}, "commander": {"type": "string"}, "fs-extra": {"type": "string"}, "lodash.kebabcase": {"type": "string"}, "semver": {"type": "string"}}, "required": ["chalk", "commander", "fs-extra", "lodash.kebabcase", "semver"]}}, "required": ["name", "version", "description", "license", "private", "author", "bin", "engines", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"ractive.js": {"type": "string"}, "ractive.min.js": {"type": "string"}}, "required": ["ractive.js", "ractive.min.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"ractive.js" : "sha256-7V4/YXA/jukcFECGpEmsEsHjvjAuY7Qs4yjHD3Z0obM=", "ractive.min.js" : "sha256-BRb5a0B0HEqfpjjzkbevQYVW5CTsFj3Pvyr5y9dQRxI="} | json_instruct | {"type": "object", "properties": {"ractive.js": {"type": "string"}, "ractive.min.js": {"type": "string"}}, "required": ["ractive.js", "ractive.min.js"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"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" : ["Digital Design/Media", "Game Development"], "desc" : " ", "details" : {"authors" : "Chris Totten", "format" : "pdf", "isbn-10" : "1118172728", "isbn-13" : "978-1118172728", "pages" : "320 pages", "publication date" : "July 10, 2012", "publisher" : "Sybex", "size" : "170.00Mb"}, "img" : "http://23.95.221.108/covers/a7/a75f1bf8d94397ee3aeeeedff620b0dc.jpg", "link" : "https://rapidhosting.info/files/cto", "title" : "Game Character Creation with Blender and Unity"} | 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#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "lockfileVersion": {"type": "integer"}, "requires": {"type": "boolean"}, "dependencies": {"type": "object", "properties": {"moment": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}, "momentjs": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}}, "required": ["moment", "momentjs"]}}, "required": ["name", "version", "lockfileVersion", "requires", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "version-date-bump", "version" : "1.0.0", "lockfileVersion" : 1, "requires" : true, "dependencies" : {"moment" : {"version" : "2.18.1", "resolved" : "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz", "integrity" : "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8="}, "momentjs" : {"version" : "2.0.0", "resolved" : "https://registry.npmjs.org/momentjs/-/momentjs-2.0.0.tgz", "integrity" : "sha1-c9+QS0+kGPbjxgXoMc727VUY69Q="}}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "lockfileVersion": {"type": "integer"}, "requires": {"type": "boolean"}, "dependencies": {"type": "object", "properties": {"moment": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}, "momentjs": {"type": "object", "properties": {"version": {"type": "string"}, "resolved": {"type": "string"}, "integrity": {"type": "string"}}, "required": ["version", "resolved", "integrity"]}}, "required": ["moment", "momentjs"]}}, "required": ["name", "version", "lockfileVersion", "requires", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["concorda-dashboard", "seneca-pubsub", "varo-flux"] | json_instruct | {"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"h": {"type": "string"}, "c": {"type": "object", "properties": {"app": {"type": "boolean"}}, "required": ["app"]}}, "required": ["h", "c"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"h" : "25cddebe4e5b45f1cb88", "c" : {"app" : true}} | json_instruct | {"type": "object", "properties": {"h": {"type": "string"}, "c": {"type": "object", "properties": {"app": {"type": "boolean"}}, "required": ["app"]}}, "required": ["h", "c"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "manifest_version": {"type": "integer"}, "action": {"type": "object", "properties": {"default_popup": {"type": "string"}}, "required": ["default_popup"]}}, "required": ["name", "description", "version", "manifest_version", "action"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "LaTeX Preview", "description" : "Preview LaTeX equations. Also copy images of the equations to your clipboard.", "version" : "0.1.0", "manifest_version" : 3, "action" : {"default_popup" : "Popup.html"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "version": {"type": "string"}, "manifest_version": {"type": "integer"}, "action": {"type": "object", "properties": {"default_popup": {"type": "string"}}, "required": ["default_popup"]}}, "required": ["name", "description", "version", "manifest_version", "action"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Preheat the oven to 425 degrees F (220 degrees C). In a large bowl, toss cauliflower pieces with olive oil, garlic and shallots. Spread out in a roasting pan or baking sheet with sides.", "Roast in the preheated oven until toasted and tender, about 30 minutes.", "When the cauliflower is done, transfer to a soup pot and pour in the chicken broth and water. Season with thyme and the bay leaf and bring to a boil. Cook over medium heat for 30 minutes. Remove and discard the bay leaf.", "Puree the soup in the pot using an immersion blender, or transfer to a blender and puree in batches, then return to the pot. Stir in the cream and season with salt and pepper. Heat through before serving but do not boil."], "ingredients" : ["2 heads cauliflower, separated into florets", "3 cloves garlic, chopped", "2 shallots, chopped", "1 tablespoon olive oil", "3 cups chicken broth", "1 cup water", "1 bay leaf", "1 teaspoon dried thyme", "2 cups heavy cream", "salt and pepper to taste"], "language" : "en-US", "source" : "allrecipes.com", "tags" : [], "title" : "Fabulous Roasted Cauliflower Soup", "url" : "http://allrecipes.com/recipe/151046/fabulous-roasted-cauliflower-soup/"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"rxdb.browserify.js": {"type": "string"}, "rxdb.browserify.min.js": {"type": "string"}}, "required": ["rxdb.browserify.js", "rxdb.browserify.min.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"rxdb.browserify.js" : "sha256-cPDz8hW9ova6NQRZsE3IJ657B3tvyzhAh3BLH6v9s3g=", "rxdb.browserify.min.js" : "sha256-OmSF00rTZybmaRsvL06ZKvyR1zJQIfCIPiMe8czT6LY="} | json_instruct | {"type": "object", "properties": {"rxdb.browserify.js": {"type": "string"}, "rxdb.browserify.min.js": {"type": "string"}}, "required": ["rxdb.browserify.js", "rxdb.browserify.min.js"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"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": ["name", "flags", "props"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "animLookAtPartRequest", "flags" : 2, "props" : [{"type" : "CName", "name" : "partName", "flags" : 6627016705}, {"type" : "Float", "name" : "weight", "flags" : 6627016705}, {"type" : "Float", "name" : "suppress", "flags" : 6627016705}, {"type" : "Int32", "name" : "mode", "flags" : 6627016705}]} | json_instruct | {"type": "object", "properties": {"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": ["name", "flags", "props"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"id": {"type": "integer"}, "info": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "additionalInfo": {"type": "string"}, "format": {"type": "string"}, "category": {"type": "string"}, "createdAt": {"type": "string"}, "updatedAt": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}}, "required": ["id", "name"]}}, "required": ["name", "description", "additionalInfo", "format", "category", "createdAt", "updatedAt", "license", "author"]}, "stats": {"type": "object", "properties": {"installs": {"type": "object", "properties": {"total": {"type": "integer"}, "weekly": {"type": "integer"}}, "required": ["total", "weekly"]}}, "required": ["installs"]}, "screenshots": {"type": "object", "properties": {"main": {"type": "object", "properties": {"name": {"type": "string"}, "archived": {"type": "boolean"}}, "required": ["name", "archived"]}}, "required": ["main"]}, "discussions": {"type": "object", "properties": {"stats": {"type": "object", "properties": {"discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}}, "required": ["discussionsCount", "commentsCount"]}, "data": {"type": "array", "items": {}}}, "required": ["stats", "data"]}, "style": {"type": "object", "properties": {"css": {"type": "string"}}, "required": ["css"]}}, "required": ["id", "info", "stats", "screenshots", "discussions", "style"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 139247, "info" : {"name" : "addition to \"no baners.kinogo\"", "description" : "Additional blocking", "additionalInfo" : "Blocking additionally the extra space\r\n-<a href=\"https://userstyles.org/styles/138802/no-baners-kinogo\">If you don't have full lock, this add does not make sense</a>\r\n\u0412\u0410\u0416\u041d\u0410\u042f \u0418\u041d\u0424\u041e\u0420\u041c\u0410\u0426\u0418\u042f, \u0438\u0437-\u0437\u0430 \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0430\u0439\u0442\u0430:\r\n-<a href=\"https://vk.com/wall-198177088_3\" target=\"_blank\">\u041e\u043f\u0440\u043e\u0441 VK</a>\r\n-<a href=\"https://cool-mysoft.narod.ru/forum/15-47-1#54\" target=\"_blank\">\u041d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440</a>\r\nUpdate:\r\n-Blocking", "format" : "uso", "category" : "kinogo", "createdAt" : "2017-02-21T23:19:42.000Z", "updatedAt" : "2017-10-28T00:06:00.000Z", "license" : "CC-BY-4.0", "author" : {"id" : 268970, "name" : "ANDRAON"}}, "stats" : {"installs" : {"total" : 77, "weekly" : 0}}, "screenshots" : {"main" : {"name" : "139247_after.png", "archived" : true}}, "discussions" : {"stats" : {"discussionsCount" : 0, "commentsCount" : 0}, "data" : []}, "style" : {"css" : "@-moz-document domain(\"kinogo.cc\"){[class*=rek_top]{opacity:0 !important;visibility:hidden !important;display: none;}}"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "info": {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "additionalInfo": {"type": "string"}, "format": {"type": "string"}, "category": {"type": "string"}, "createdAt": {"type": "string"}, "updatedAt": {"type": "string"}, "license": {"type": "string"}, "author": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}}, "required": ["id", "name"]}}, "required": ["name", "description", "additionalInfo", "format", "category", "createdAt", "updatedAt", "license", "author"]}, "stats": {"type": "object", "properties": {"installs": {"type": "object", "properties": {"total": {"type": "integer"}, "weekly": {"type": "integer"}}, "required": ["total", "weekly"]}}, "required": ["installs"]}, "screenshots": {"type": "object", "properties": {"main": {"type": "object", "properties": {"name": {"type": "string"}, "archived": {"type": "boolean"}}, "required": ["name", "archived"]}}, "required": ["main"]}, "discussions": {"type": "object", "properties": {"stats": {"type": "object", "properties": {"discussionsCount": {"type": "integer"}, "commentsCount": {"type": "integer"}}, "required": ["discussionsCount", "commentsCount"]}, "data": {"type": "array", "items": {}}}, "required": ["stats", "data"]}, "style": {"type": "object", "properties": {"css": {"type": "string"}}, "required": ["css"]}}, "required": ["id", "info", "stats", "screenshots", "discussions", "style"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "private": {"type": "boolean"}, "description": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "scripts": {"type": "object", "properties": {"bootstrap": {"type": "string"}, "build": {"type": "string"}, "build:watch": {"type": "string"}, "lint": {"type": "string"}, "test": {"type": "string"}, "test-pack": {"type": "string"}, "test-sauce": {"type": "string"}, "nuke": {"type": "string"}}, "required": ["bootstrap", "build", "build:watch", "lint", "test", "test-pack", "test-sauce", "nuke"]}, "devDependencies": {"type": "object", "properties": {"@gulp-sourcemaps/sources-content": {"type": "string"}, "babel-core": {"type": "string"}, "chokidar-cli": {"type": "string"}, "del": {"type": "string"}, "eslint": {"type": "string"}, "eslint-plugin-html": {"type": "string"}, "google-closure-compiler": {"type": "string"}, "gulp": {"type": "string"}, "gulp-babel": {"type": "string"}, "gulp-rename": {"type": "string"}, "gulp-rollup": {"type": "string"}, "gulp-size": {"type": "string"}, "gulp-sourcemaps": {"type": "string"}, "lerna": {"type": "string"}, "rollup": {"type": "string"}, "rollup-plugin-babel": {"type": "string"}, "rollup-plugin-commonjs": {"type": "string"}, "rollup-plugin-license": {"type": "string"}, "wct-browser-legacy": {"type": "string"}, "web-component-tester": {"type": "string"}}, "required": ["@gulp-sourcemaps/sources-content", "babel-core", "chokidar-cli", "del", "eslint", "eslint-plugin-html", "google-closure-compiler", "gulp", "gulp-babel", "gulp-rename", "gulp-rollup", "gulp-size", "gulp-sourcemaps", "lerna", "rollup", "rollup-plugin-babel", "rollup-plugin-commonjs", "rollup-plugin-license", "wct-browser-legacy", "web-component-tester"]}}, "required": ["name", "private", "description", "author", "license", "scripts", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "webcomponents-polyfills", "private" : true, "description" : "Webcomponents polyfills monorepo", "author" : "The Polymer Authors", "license" : "BSD-3-Clause", "scripts" : {"bootstrap" : "lerna bootstrap --ci --reject-cycles", "build" : "lerna run build --stream", "build:watch" : "lerna run build:watch --parallel", "lint" : "lerna run lint --stream", "test" : "wct", "test-pack" : "lerna exec \"npm pack\"", "test-sauce" : "wct -s 'windows 10/microsoftedge@17' -s 'windows 10/microsoftedge@15' -s 'windows 8.1/internet explorer@11' -s 'macos 10.13/safari@12' -s 'macos 10.13/safari@11' -s 'os x 10.11/safari@10' -s 'os x 10.11/safari@9' -s 'Linux/chrome@41'", "nuke" : "rm -rf package-lock.json node_modules && npm install && lerna exec \"rm -f package-lock.json\" && lerna clean --yes && lerna bootstrap && lerna exec --stream -- \"test -f package-lock.json || npm install --package-lock-only\""}, "devDependencies" : {"@gulp-sourcemaps/sources-content" : "^1.0.0", "babel-core" : "^6.26.3", "chokidar-cli" : "^2.1.0", "del" : "^3.0.0", "eslint" : "^5.9.0", "eslint-plugin-html" : "^5.0.3", "google-closure-compiler" : "^20190819.0.0", "gulp" : "^4.0.0", "gulp-babel" : "^7.0.1", "gulp-rename" : "^1.4.0", "gulp-rollup" : "^2.16.2", "gulp-size" : "^3.0.0", "gulp-sourcemaps" : "^2.6.4", "lerna" : "^3.13.3", "rollup" : "^0.62.0", "rollup-plugin-babel" : "^3.0.7", "rollup-plugin-commonjs" : "^9.2.0", "rollup-plugin-license" : "^0.8.1", "wct-browser-legacy" : "^1.0.2", "web-component-tester" : "^6.9.2"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "private": {"type": "boolean"}, "description": {"type": "string"}, "author": {"type": "string"}, "license": {"type": "string"}, "scripts": {"type": "object", "properties": {"bootstrap": {"type": "string"}, "build": {"type": "string"}, "build:watch": {"type": "string"}, "lint": {"type": "string"}, "test": {"type": "string"}, "test-pack": {"type": "string"}, "test-sauce": {"type": "string"}, "nuke": {"type": "string"}}, "required": ["bootstrap", "build", "build:watch", "lint", "test", "test-pack", "test-sauce", "nuke"]}, "devDependencies": {"type": "object", "properties": {"@gulp-sourcemaps/sources-content": {"type": "string"}, "babel-core": {"type": "string"}, "chokidar-cli": {"type": "string"}, "del": {"type": "string"}, "eslint": {"type": "string"}, "eslint-plugin-html": {"type": "string"}, "google-closure-compiler": {"type": "string"}, "gulp": {"type": "string"}, "gulp-babel": {"type": "string"}, "gulp-rename": {"type": "string"}, "gulp-rollup": {"type": "string"}, "gulp-size": {"type": "string"}, "gulp-sourcemaps": {"type": "string"}, "lerna": {"type": "string"}, "rollup": {"type": "string"}, "rollup-plugin-babel": {"type": "string"}, "rollup-plugin-commonjs": {"type": "string"}, "rollup-plugin-license": {"type": "string"}, "wct-browser-legacy": {"type": "string"}, "web-component-tester": {"type": "string"}}, "required": ["@gulp-sourcemaps/sources-content", "babel-core", "chokidar-cli", "del", "eslint", "eslint-plugin-html", "google-closure-compiler", "gulp", "gulp-babel", "gulp-rename", "gulp-rollup", "gulp-size", "gulp-sourcemaps", "lerna", "rollup", "rollup-plugin-babel", "rollup-plugin-commonjs", "rollup-plugin-license", "wct-browser-legacy", "web-component-tester"]}}, "required": ["name", "private", "description", "author", "license", "scripts", "devDependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"Variables": {"type": "array", "items": {"type": "object", "properties": {"Name": {"type": "string"}}, "required": ["Name"]}}, "MainFunctions": {"type": "object", "properties": {"OpenBrowser": {"type": "object", "properties": {"Args": {"type": "array", "items": {}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}, "NavigateBrowser": {"type": "object", "properties": {"Args": {"type": "array", "items": {}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}, "GetTitle": {"type": "object", "properties": {"Args": {"type": "array", "items": {"type": "string"}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}}, "required": ["OpenBrowser", "NavigateBrowser", "GetTitle"]}}, "required": ["Variables", "MainFunctions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Variables" : [{"Name" : "Dim WinTitle As String"}, {"Name" : "Dim IsOpen As Boolean"}, {"Name" : "Dim IsNavigate As Boolean"}], "MainFunctions" : {"OpenBrowser" : {"Args" : [], "Type" : "Function", "In" : "IsOpen", "Condition" : {"Value" : "False", "Type" : "bool", "Do" : "MsgBox(\"Open Failed\") \n End"}}, "NavigateBrowser" : {"Args" : [], "Type" : "Function", "In" : "IsNavigate", "Condition" : {"Value" : "False", "Type" : "bool", "Do" : "MsgBox(\"Navigate Failed\") \n End"}}, "GetTitle" : {"Args" : ["test"], "Type" : "Function", "In" : "WinTitle", "Condition" : {"Value" : "test", "Type" : "String", "Do" : "MsgBox(\"Window Not Found\") \n End"}}}} | json_instruct | {"type": "object", "properties": {"Variables": {"type": "array", "items": {"type": "object", "properties": {"Name": {"type": "string"}}, "required": ["Name"]}}, "MainFunctions": {"type": "object", "properties": {"OpenBrowser": {"type": "object", "properties": {"Args": {"type": "array", "items": {}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}, "NavigateBrowser": {"type": "object", "properties": {"Args": {"type": "array", "items": {}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}, "GetTitle": {"type": "object", "properties": {"Args": {"type": "array", "items": {"type": "string"}}, "Type": {"type": "string"}, "In": {"type": "string"}, "Condition": {"type": "object", "properties": {"Value": {"type": "string"}, "Type": {"type": "string"}, "Do": {"type": "string"}}, "required": ["Value", "Type", "Do"]}}, "required": ["Args", "Type", "In", "Condition"]}}, "required": ["OpenBrowser", "NavigateBrowser", "GetTitle"]}}, "required": ["Variables", "MainFunctions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "version": {"type": "string"}, "minAppVersion": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "string"}, "authorUrl": {"type": "string"}, "isDesktopOnly": {"type": "boolean"}}, "required": ["id", "name", "version", "minAppVersion", "description", "author", "authorUrl", "isDesktopOnly"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "obsidian-filename-yaml-sync", "name" : "Filename YAML Sync", "version" : "1.0.0", "minAppVersion" : "0.11.0", "description" : "Obsidian plugin for keeping the filename in sync with the YAML title: and vice versa.", "author" : "Aidan Gibson", "authorUrl" : "https://github.com/aidan-gibson/obsidian-filename-yaml-sync", "isDesktopOnly" : false} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "version": {"type": "string"}, "minAppVersion": {"type": "string"}, "description": {"type": "string"}, "author": {"type": "string"}, "authorUrl": {"type": "string"}, "isDesktopOnly": {"type": "boolean"}}, "required": ["id", "name", "version", "minAppVersion", "description", "author", "authorUrl", "isDesktopOnly"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"id": {"type": "string"}, "variable1": {"type": "number"}, "variable2": {"type": "number"}, "variable3": {"type": "string"}}, "required": ["id", "variable1", "variable2", "variable3"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "010300031402", "variable1" : 0.7223, "variable2" : 1.8934, "variable3" : "B"} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "variable1": {"type": "number"}, "variable2": {"type": "number"}, "variable3": {"type": "string"}}, "required": ["id", "variable1", "variable2", "variable3"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"manufacturer": {"type": "string"}, "manufacturerId": {"type": "string"}, "label": {"type": "string"}, "description": {"type": "string"}, "devices": {"type": "array", "items": {"type": "object", "properties": {"productType": {"type": "string"}, "productId": {"type": "string"}, "zwaveAllianceId": {"type": "integer"}}, "required": ["productType", "productId", "zwaveAllianceId"]}}, "firmwareVersion": {"type": "object", "properties": {"min": {"type": "string"}, "max": {"type": "string"}}, "required": ["min", "max"]}}, "required": ["manufacturer", "manufacturerId", "label", "description", "devices", "firmwareVersion"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"manufacturer" : "Residential Control Systems, Inc. (RCS)", "manufacturerId" : "0x0010", "label" : "HC", "description" : "FIBARO -2 Gateway", "devices" : [{"productType" : "0x0001", "productId" : "0x1001", "zwaveAllianceId" : 1319}], "firmwareVersion" : {"min" : "0.0", "max" : "255.255"}} | json_instruct | {"type": "object", "properties": {"manufacturer": {"type": "string"}, "manufacturerId": {"type": "string"}, "label": {"type": "string"}, "description": {"type": "string"}, "devices": {"type": "array", "items": {"type": "object", "properties": {"productType": {"type": "string"}, "productId": {"type": "string"}, "zwaveAllianceId": {"type": "integer"}}, "required": ["productType", "productId", "zwaveAllianceId"]}}, "firmwareVersion": {"type": "object", "properties": {"min": {"type": "string"}, "max": {"type": "string"}}, "required": ["min", "max"]}}, "required": ["manufacturer", "manufacturerId", "label", "description", "devices", "firmwareVersion"], "$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"}, "description": {"type": "string"}, "type": {"type": "string"}, "scripts": {"type": "object", "properties": {"cs": {"type": "string"}, "phpunit": {"type": "string"}, "test": {"type": "array", "items": {"type": "string"}}}, "required": ["cs", "phpunit", "test"]}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "guzzlehttp/guzzle": {"type": "string"}}, "required": ["php", "guzzlehttp/guzzle"]}, "require-dev": {"type": "object", "properties": {"phpunit/phpunit": {"type": "string"}, "squizlabs/php_codesniffer": {"type": "string"}}, "required": ["phpunit/phpunit", "squizlabs/php_codesniffer"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Sanity\\": {"type": "string"}, "SanityTest\\": {"type": "string"}}, "required": ["Sanity\\", "SanityTest\\"]}}, "required": ["psr-4"]}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}}, "required": ["name", "description", "type", "scripts", "require", "require-dev", "autoload", "license", "authors"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "sanity/sanity-php", "description" : "PHP library for the Sanity API", "type" : "library", "scripts" : {"cs" : "vendor/bin/phpcs lib", "phpunit" : "vendor/bin/phpunit", "test" : ["@phpunit", "@cs"]}, "require" : {"php" : ">=5.6", "guzzlehttp/guzzle" : "^6.2|^7.0"}, "require-dev" : {"phpunit/phpunit" : "^5.7", "squizlabs/php_codesniffer" : "^2.8"}, "autoload" : {"psr-4" : {"Sanity\\" : "lib/", "SanityTest\\" : "test/"}}, "license" : "MIT", "authors" : [{"name" : "Sanity.io", "email" : "[email protected]"}]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "type": {"type": "string"}, "scripts": {"type": "object", "properties": {"cs": {"type": "string"}, "phpunit": {"type": "string"}, "test": {"type": "array", "items": {"type": "string"}}}, "required": ["cs", "phpunit", "test"]}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "guzzlehttp/guzzle": {"type": "string"}}, "required": ["php", "guzzlehttp/guzzle"]}, "require-dev": {"type": "object", "properties": {"phpunit/phpunit": {"type": "string"}, "squizlabs/php_codesniffer": {"type": "string"}}, "required": ["phpunit/phpunit", "squizlabs/php_codesniffer"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Sanity\\": {"type": "string"}, "SanityTest\\": {"type": "string"}}, "required": ["Sanity\\", "SanityTest\\"]}}, "required": ["psr-4"]}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "email": {"type": "string"}}, "required": ["name", "email"]}}}, "required": ["name", "description", "type", "scripts", "require", "require-dev", "autoload", "license", "authors"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "FeatureCollection", "features" : [{"geometry" : {"type" : "Polygon", "coordinates" : [[[-95.307122, 29.918432], [-95.302023, 29.926222], [-95.295981, 29.939962], [-95.277995, 29.940677], [-95.254418, 29.934587], [-95.235881, 29.933905], [-95.212274, 29.934245], [-95.209194, 29.933605], [-95.206385, 29.931911], [-95.240685, 29.89864], [-95.240526, 29.902877], [-95.236891, 29.907031], [-95.243185, 29.913693], [-95.244235, 29.920459], [-95.24631, 29.92232], [-95.251388, 29.922751], [-95.259326, 29.917437], [-95.265183, 29.915417], [-95.272383, 29.916749], [-95.280495, 29.91618], [-95.286657, 29.913345], [-95.292177, 29.914662], [-95.295695, 29.918756], [-95.297867, 29.919518], [-95.307122, 29.918432]]]}, "type" : "Feature", "properties" : {"cartodb_id" : 87819}}]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"value": {"type": "integer"}}, "required": ["value"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"value" : 272279130} | json_instruct | {"type": "object", "properties": {"value": {"type": "integer"}}, "required": ["value"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"WebGames": {"type": "array", "items": {"type": "string"}}}, "required": ["WebGames"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"WebGames" : ["Cyborg", "Metroidvania", "Metroidvania", "NoTimeToExplain", "Metroidvania", "Gamebooks", "Gamebooks", "DivineIntervention", "FindTheCure", "Reincarnation", "JigsawPuzzlePlot", "FinalGirl", "Flight", "Metroidvania", "TheEnd", "Metroidvania", "Metroidvania", "Metroidvania", "Metroidvania", "Continuity", "AffectionateParody", "DeconstructionGame", "Metroidvania", "DeathRow", "RPGElements", "RPGElements", "InvertedTrope", "Roguelike", "BlackMarket", "TowerDefense", "RPGElements", "BreakingOut", "MonsterArena", "SeriesMascot", "Roguelike", "BulletHell", "EldritchAbomination", "OfficialFanSubmittedContent"]} | json_instruct | {"type": "object", "properties": {"WebGames": {"type": "array", "items": {"type": "string"}}}, "required": ["WebGames"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"enableCommunity": {"type": "boolean"}, "enableDownload": {"type": "boolean"}}, "required": ["enableCommunity", "enableDownload"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"enableCommunity" : true, "enableDownload" : true} | json_instruct | {"type": "object", "properties": {"enableCommunity": {"type": "boolean"}, "enableDownload": {"type": "boolean"}}, "required": ["enableCommunity", "enableDownload"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"type": {"type": "string"}, "timestamp": {"type": "integer"}, "blog_name": {"type": "string"}, "blog_uuid": {"type": "string"}, "blog_url": {"type": "string"}, "followed": {"type": "boolean"}, "avatar_shape": {"type": "string"}, "reply_text": {"type": "string"}, "formatting": {"type": "array", "items": {}}, "can_block": {"type": "boolean"}}, "required": ["type", "timestamp", "blog_name", "blog_uuid", "blog_url", "followed", "avatar_shape", "reply_text", "formatting", "can_block"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "reply", "timestamp" : 1541238046, "blog_name" : "kotlr-development", "blog_uuid" : "t:ukIuGYR_Jcdm60j7Nb95dg", "blog_url" : "http://kotlr-development.tumblr.com/", "followed" : false, "avatar_shape" : "square", "reply_text" : "ukIuGYR_Jcdm60j7Nb95dg", "formatting" : [], "can_block" : true} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "timestamp": {"type": "integer"}, "blog_name": {"type": "string"}, "blog_uuid": {"type": "string"}, "blog_url": {"type": "string"}, "followed": {"type": "boolean"}, "avatar_shape": {"type": "string"}, "reply_text": {"type": "string"}, "formatting": {"type": "array", "items": {}}, "can_block": {"type": "boolean"}}, "required": ["type", "timestamp", "blog_name", "blog_uuid", "blog_url", "followed", "avatar_shape", "reply_text", "formatting", "can_block"], "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Combine the shallots, garlic, oregano, sugar, olive oil, vinegar, lime juice, tequila, salt, and pepper in a gallon-sized sealable bag; shake to combine. Add the tilapia to the mixture and store in the refrigerator 2 to 4 hours, turning every 30 minutes.", "Preheat oven to 450 degrees F (230 degrees C). Line a baking sheet with aluminum foil and prepare the surface with cooking spray.", "Arrange the fish on the prepared baking sheet. Discard remaining marinade.", "Bake in the preheated oven until the fish flakes easily with a fork, about 10 minutes."], "ingredients" : ["2 shallots, minced", "2 tablespoons chopped garlic", "2 tablespoons chopped fresh oregano", "2 tablespoons white sugar", "2 tablespoons olive oil", "2 tablespoons red wine vinegar", "2 tablespoons lime juice", "2 tablespoons tequila (optional)", "1 teaspoon salt", "1 teaspoon ground black pepper", "4 tilapia fillets"], "language" : "en-US", "source" : "allrecipes.com", "tags" : [], "title" : "Summertime Tilapia", "url" : "http://allrecipes.com/recipe/104294/summertime-tilapia/"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [["370271001001", "\u5343\u4f5b\u5c71\u793e\u533a\u5c45\u59d4\u4f1a", "121", "0"], ["370271001002", "\u524d\u97e9\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001003", "\u540e\u97e9\u5357\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001004", "\u540e\u97e9\u5317\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001005", "\u8096\u5bb6\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001006", "\u5bbf\u6d41\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001007", "\u5b81\u5bb6\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001008", "\u89c2\u6d9b\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001009", "\u6c9f\u89d2\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001010", "\u6bb7\u5bb6\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001011", "\u6653\u9633\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001012", "\u9ad8\u5bb6\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001013", "\u897f\u5927\u6d0b\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001014", "\u4e1c\u5927\u6d0b\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001015", "\u90b5\u54e5\u5e84\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001016", "\u5c0f\u5e84\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "122", "0"], ["370271001017", "\u524d\u9633\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"], ["370271001018", "\u540e\u9633\u793e\u533a\u5c45\u6c11\u59d4\u5458\u4f1a", "220", "0"]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "$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"}, "name": {"type": "string"}, "img": {"type": "string"}, "email": {"type": "string"}, "links": {"type": "object", "properties": {"website": {"type": "string"}, "linkedin": {"type": "string"}, "github": {"type": "string"}}, "required": ["website", "linkedin", "github"]}, "jobTitle": {"type": "string"}, "location": {"type": "object", "properties": {"city": {"type": "string"}, "state": {"type": "string"}, "country": {"type": "string"}}, "required": ["city", "state", "country"]}}, "required": ["id", "name", "img", "email", "links", "jobTitle", "location"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "6aed89da-d388-4d5f-a496-83ff2d7c9b57", "name" : "Rafael Rojas Covarrubias", "img" : "https://rafaelrojascov.com/images/rafael.jpg", "email" : "", "links" : {"website" : "https://www.rafaelrojascov.com", "linkedin" : "https://www.linkedin.com/in/RafaelRojasCov", "github" : "https://www.github.com/RafaelRojasCov"}, "jobTitle" : "Front-End React Developer", "location" : {"city" : "Santiago", "state" : "RM", "country" : "Chile"}} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "img": {"type": "string"}, "email": {"type": "string"}, "links": {"type": "object", "properties": {"website": {"type": "string"}, "linkedin": {"type": "string"}, "github": {"type": "string"}}, "required": ["website", "linkedin", "github"]}, "jobTitle": {"type": "string"}, "location": {"type": "object", "properties": {"city": {"type": "string"}, "state": {"type": "string"}, "country": {"type": "string"}}, "required": ["city", "state", "country"]}}, "required": ["id", "name", "img", "email", "links", "jobTitle", "location"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"template": {"type": "object", "properties": {"small": {"type": "string"}, "medium": {"type": "string"}, "large": {"type": "string"}}, "required": ["small", "medium", "large"]}, "channels": {"type": "object", "properties": {"gymfgaming": {"type": "object", "properties": {"title": {"type": "string"}, "channel_id": {"type": "integer"}, "link": {"type": "string"}, "desc": {"type": "null"}, "plans": {"type": "object", "properties": {"$4.99": {"type": "string"}, "$9.99": {"type": "string"}, "$24.99": {"type": "string"}}, "required": ["$4.99", "$9.99", "$24.99"]}, "id": {"type": "string"}, "first_seen": {"type": "string"}, "badge": {"type": "null"}, "badge_starting": {"type": "null"}, "badge_3m": {"type": "null"}, "badge_6m": {"type": "null"}, "badge_12m": {"type": "null"}, "badge_24m": {"type": "null"}, "badges": {"type": "null"}, "bits_badges": {"type": "null"}, "cheermote1": {"type": "null"}, "cheermote100": {"type": "null"}, "cheermote1000": {"type": "null"}, "cheermote5000": {"type": "null"}, "cheermote10000": {"type": "null"}, "set": {"type": "integer"}, "emotes": {"type": "array", "items": {"type": "object", "properties": {"code": {"type": "string"}, "image_id": {"type": "integer"}, "set": {"type": "integer"}}, "required": ["code", "image_id", "set"]}}}, "required": ["title", "channel_id", "link", "desc", "plans", "id", "first_seen", "badge", "badge_starting", "badge_3m", "badge_6m", "badge_12m", "badge_24m", "badges", "bits_badges", "cheermote1", "cheermote100", "cheermote1000", "cheermote5000", "cheermote10000", "set", "emotes"]}}, "required": ["gymfgaming"]}}, "required": ["template", "channels"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"template" : {"small" : "https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/1.0", "medium" : "https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/2.0", "large" : "https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/3.0"}, "channels" : {"gymfgaming" : {"title" : "GYMFGaming", "channel_id" : 106762513, "link" : "http://twitch.tv/gymfgaming", "desc" : null, "plans" : {"$4.99" : "143594", "$9.99" : "143595", "$24.99" : "143596"}, "id" : "gymfgaming", "first_seen" : "2017-06-30 16:35:05", "badge" : null, "badge_starting" : null, "badge_3m" : null, "badge_6m" : null, "badge_12m" : null, "badge_24m" : null, "badges" : null, "bits_badges" : null, "cheermote1" : null, "cheermote100" : null, "cheermote1000" : null, "cheermote5000" : null, "cheermote10000" : null, "set" : 143594, "emotes" : [{"code" : "gymfgaSQUAD", "image_id" : 230934, "set" : 143594}]}}} | json_instruct | {"type": "object", "properties": {"template": {"type": "object", "properties": {"small": {"type": "string"}, "medium": {"type": "string"}, "large": {"type": "string"}}, "required": ["small", "medium", "large"]}, "channels": {"type": "object", "properties": {"gymfgaming": {"type": "object", "properties": {"title": {"type": "string"}, "channel_id": {"type": "integer"}, "link": {"type": "string"}, "desc": {"type": "null"}, "plans": {"type": "object", "properties": {"$4.99": {"type": "string"}, "$9.99": {"type": "string"}, "$24.99": {"type": "string"}}, "required": ["$4.99", "$9.99", "$24.99"]}, "id": {"type": "string"}, "first_seen": {"type": "string"}, "badge": {"type": "null"}, "badge_starting": {"type": "null"}, "badge_3m": {"type": "null"}, "badge_6m": {"type": "null"}, "badge_12m": {"type": "null"}, "badge_24m": {"type": "null"}, "badges": {"type": "null"}, "bits_badges": {"type": "null"}, "cheermote1": {"type": "null"}, "cheermote100": {"type": "null"}, "cheermote1000": {"type": "null"}, "cheermote5000": {"type": "null"}, "cheermote10000": {"type": "null"}, "set": {"type": "integer"}, "emotes": {"type": "array", "items": {"type": "object", "properties": {"code": {"type": "string"}, "image_id": {"type": "integer"}, "set": {"type": "integer"}}, "required": ["code", "image_id", "set"]}}}, "required": ["title", "channel_id", "link", "desc", "plans", "id", "first_seen", "badge", "badge_starting", "badge_3m", "badge_6m", "badge_12m", "badge_24m", "badges", "bits_badges", "cheermote1", "cheermote100", "cheermote1000", "cheermote5000", "cheermote10000", "set", "emotes"]}}, "required": ["gymfgaming"]}}, "required": ["template", "channels"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}, "properties": {"type": "object", "properties": {"FIPS": {"type": "string"}, "CNTY_FIPS": {"type": "string"}, "STATE_FIPS": {"type": "string"}, "STATE_NAME": {"type": "string"}, "NAME": {"type": "string"}}, "required": ["FIPS", "CNTY_FIPS", "STATE_FIPS", "STATE_NAME", "NAME"]}, "type": {"type": "string"}}, "required": ["geometry", "properties", "type"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"geometry" : {"coordinates" : [[[-103.45581143143895, 44.145639433778804], [-104.05973137086255, 44.14582546208441], [-104.06103615920378, 44.18182528058017], [-104.0594651499039, 44.57435262060763], [-104.02870225355858, 44.58165730099209], [-104.00112846568487, 44.574363188631665], [-103.93188102189637, 44.58346505475218], [-103.90043892279004, 44.598041001915675], [-103.84593967459615, 44.59479848347941], [-103.82987912727054, 44.60572379998398], [-103.56305402991009, 44.60785289420068], [-103.56791330061307, 44.348869477897466], [-103.57494782293188, 44.348434582986414], [-103.57866331224818, 44.264576535132036], [-103.45551355821219, 44.2623034256857], [-103.45581143143895, 44.145639433778804]]], "type" : "Polygon"}, "properties" : {"FIPS" : "46081", "CNTY_FIPS" : "081", "STATE_FIPS" : "46", "STATE_NAME" : "South Dakota", "NAME" : "Lawrence"}, "type" : "Feature"} | json_instruct | {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}, "type": {"type": "string"}}, "required": ["coordinates", "type"]}, "properties": {"type": "object", "properties": {"FIPS": {"type": "string"}, "CNTY_FIPS": {"type": "string"}, "STATE_FIPS": {"type": "string"}, "STATE_NAME": {"type": "string"}, "NAME": {"type": "string"}}, "required": ["FIPS", "CNTY_FIPS", "STATE_FIPS", "STATE_NAME", "NAME"]}, "type": {"type": "string"}}, "required": ["geometry", "properties", "type"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"word" : "sheil", "definition" : "See Sheeling."} | json_instruct | {"type": "object", "properties": {"word": {"type": "string"}, "definition": {"type": "string"}}, "required": ["word", "definition"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"an3.108:0.1": {"type": "string"}, "an3.108:0.2": {"type": "string"}, "an3.108:0.3": {"type": "string"}, "an3.108:1.1": {"type": "string"}, "an3.108:1.2": {"type": "string"}, "an3.108:1.3": {"type": "string"}, "an3.108:1.4": {"type": "string"}, "an3.108:1.5": {"type": "string"}, "an3.108:1.6": {"type": "string"}, "an3.108:1.7": {"type": "string"}}, "required": ["an3.108:0.1", "an3.108:0.2", "an3.108:0.3", "an3.108:1.1", "an3.108:1.2", "an3.108:1.3", "an3.108:1.4", "an3.108:1.5", "an3.108:1.6", "an3.108:1.7"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"an3.108:0.1" : "A\u1e45guttara Nik\u0101ya 3 ", "an3.108:0.2" : "11. Sambodhavagga ", "an3.108:0.3" : "108. Atittisutta ", "an3.108:1.1" : "\u201cTi\u1e47\u1e47a\u1e41, bhikkhave, pa\u1e6disevan\u0101ya natthi titti. ", "an3.108:1.2" : "Katamesa\u1e41 ti\u1e47\u1e47a\u1e41? ", "an3.108:1.3" : "Soppassa, bhikkhave, pa\u1e6disevan\u0101ya natthi titti. ", "an3.108:1.4" : "Sur\u0101merayap\u0101nassa, bhikkhave, pa\u1e6disevan\u0101ya natthi titti. ", "an3.108:1.5" : "Methunadhammasam\u0101pattiy\u0101, bhikkhave, pa\u1e6disevan\u0101ya natthi titti. ", "an3.108:1.6" : "Imesa\u1e41, bhikkhave, ti\u1e47\u1e47a\u1e41 pa\u1e6disevan\u0101ya natthi titt\u012b\u201dti. ", "an3.108:1.7" : "Cha\u1e6d\u1e6dha\u1e41. "} | json_instruct | {"type": "object", "properties": {"an3.108:0.1": {"type": "string"}, "an3.108:0.2": {"type": "string"}, "an3.108:0.3": {"type": "string"}, "an3.108:1.1": {"type": "string"}, "an3.108:1.2": {"type": "string"}, "an3.108:1.3": {"type": "string"}, "an3.108:1.4": {"type": "string"}, "an3.108:1.5": {"type": "string"}, "an3.108:1.6": {"type": "string"}, "an3.108:1.7": {"type": "string"}}, "required": ["an3.108:0.1", "an3.108:0.2", "an3.108:0.3", "an3.108:1.1", "an3.108:1.2", "an3.108:1.3", "an3.108:1.4", "an3.108:1.5", "an3.108:1.6", "an3.108:1.7"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"inputs": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}}, "outputs": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["inputs", "outputs"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"inputs" : [["2", "3 2 1", "3 2 2"]], "outputs" : [["3", "-1"]]} | json_instruct | {"type": "object", "properties": {"inputs": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}}, "outputs": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["inputs", "outputs"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"db": {"type": "string"}, "secret": {"type": "string"}, "truck_server_host": {"type": "string"}, "truck_server_port": {"type": "string"}}, "required": ["db", "secret", "truck_server_host", "truck_server_port"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"db" : "mongodb://localhost/bff", "secret" : "myProdSecret", "truck_server_host" : "http://server", "truck_server_port" : ":8080"} | json_instruct | {"type": "object", "properties": {"db": {"type": "string"}, "secret": {"type": "string"}, "truck_server_host": {"type": "string"}, "truck_server_port": {"type": "string"}}, "required": ["db", "secret", "truck_server_host", "truck_server_port"], "$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"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "version": {"type": "string"}}, "required": ["name", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "version"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "signalx", "description" : "Real time client server communication made easy", "main" : "index.js", "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1"}, "repository" : {"type" : "git", "url" : "git+https://github.com/signalx/signalx/signalx.git"}, "author" : "sam bamgboye", "license" : "MIT", "bugs" : {"url" : "https://github.com/signalx/signalx/issues"}, "homepage" : "https://github.com/signalx/signalx#readme", "version" : "0.6.1-pre"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}}, "required": ["test"]}, "repository": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}, "author": {"type": "string"}, "license": {"type": "string"}, "bugs": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}, "homepage": {"type": "string"}, "version": {"type": "string"}}, "required": ["name", "description", "main", "scripts", "repository", "author", "license", "bugs", "homepage", "version"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"701434f-a": {"type": "object", "properties": {"width": {"type": "integer"}, "thumb_url": {"type": "string"}, "image_url": {"type": "string"}, "title": {"type": "string"}, "date": {"type": "string"}, "text": {"type": "string"}, "folder": {"type": "string"}, "height": {"type": "integer"}, "original_title": {"type": "string"}, "years": {"type": "array", "items": {"type": "string"}}}, "required": ["width", "thumb_url", "image_url", "title", "date", "text", "folder", "height", "original_title", "years"]}}, "required": ["701434f-a"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"701434f-a" : {"width" : 400, "thumb_url" : "http://oldnyc-assets.nypl.org/thumb/701434f-a.jpg", "image_url" : "http://oldnyc-assets.nypl.org/600px/701434f-a.jpg", "title" : "", "date" : "", "text" : "P.L. Sperr, photographer 8-7-1942\nNeg. A-716\n", "folder" : "Marion Avenue & 198th Street (East), Bronx, NY", "height" : 600, "original_title" : "Bronx: Marion Avenue - 198th Street (East)", "years" : [""]}} | json_instruct | {"type": "object", "properties": {"701434f-a": {"type": "object", "properties": {"width": {"type": "integer"}, "thumb_url": {"type": "string"}, "image_url": {"type": "string"}, "title": {"type": "string"}, "date": {"type": "string"}, "text": {"type": "string"}, "folder": {"type": "string"}, "height": {"type": "integer"}, "original_title": {"type": "string"}, "years": {"type": "array", "items": {"type": "string"}}}, "required": ["width", "thumb_url", "image_url", "title", "date", "text", "folder", "height", "original_title", "years"]}}, "required": ["701434f-a"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}}, "required": ["name", "displayName"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "census", "displayName" : "census"} | 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": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Polygon", "coordinates" : [[[16.611328125, 8.667918002363134], [13.447265624999998, 3.381823735328289], [15.3369140625, -6.0968598188879355], [16.7431640625, 1.0546279422758869], [18.193359375, -10.314919285813147], [19.248046875, -1.4061088354351468], [20.698242187499996, -4.565473550710278], [22.587890625, 0.3515602939922709], [24.2138671875, -11.73830237143684], [29.091796875, 5.003394345022162], [26.4990234375, 9.752370139173285], [26.0595703125, 7.623886853120036], [24.9169921875, 9.44906182688142], [22.587890625, 6.751896464843375], [21.665039062499996, 12.597454504832017], [20.9619140625, 8.189742344383703], [18.193359375, 14.3069694978258], [16.611328125, 8.667918002363134]]]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"900038095": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}, "900038096": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}, "900038097": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}}, "required": ["900038095", "900038096", "900038097"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"900038095" : {"nama" : "TPS 1", "dapil" : [1203, 11211, 2121104]}, "900038096" : {"nama" : "TPS 2", "dapil" : [1203, 11211, 2121104]}, "900038097" : {"nama" : "TPS 3", "dapil" : [1203, 11211, 2121104]}} | json_instruct | {"type": "object", "properties": {"900038095": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}, "900038096": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}, "900038097": {"type": "object", "properties": {"nama": {"type": "string"}, "dapil": {"type": "array", "items": {"type": "integer"}}}, "required": ["nama", "dapil"]}}, "required": ["900038095", "900038096", "900038097"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"schema_version" : "1.2.0", "id" : "GHSA-xc8g-29h4-jqx5", "modified" : "2022-04-29T02:59:17Z", "published" : "2022-04-29T02:59:17Z", "aliases" : ["CVE-2004-1295"], "details" : "The slip_down function in slip.c for the uml_net program in uml-utilities 20030903, when uml_net is installed setuid root, does not verify whether the calling user has sufficient permission to disable an interface, which allows local users to cause a denial of service (network service disabled).", "severity" : [], "affected" : [], "references" : [{"type" : "ADVISORY", "url" : "https://nvd.nist.gov/vuln/detail/CVE-2004-1295"}, {"type" : "WEB", "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/18562"}, {"type" : "WEB", "url" : "http://tigger.uic.edu/~jlongs2/holes/uml-utilites.txt"}], "database_specific" : {"cwe_ids" : [], "severity" : "LOW", "github_reviewed" : false}} | json_instruct | {"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"} |
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"}, "keywords": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"highlight.js": {"type": "string"}}, "required": ["highlight.js"]}}, "required": ["name", "version", "description", "main", "keywords", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "highlight-js", "version" : "1.0.0", "description" : "Wrapper highlight.js", "main" : "highlight-js.html", "keywords" : ["polymer", "web-components"], "dependencies" : {"highlight.js" : "isagalaev/highlight.js"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"highlight.js": {"type": "string"}}, "required": ["highlight.js"]}}, "required": ["name", "version", "description", "main", "keywords", "dependencies"], "$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"}, "cloudPlatform": {"type": "string"}, "parameters": {"type": "object", "properties": {"roleArn": {"type": "string"}, "smartSenseId": {"type": "string"}, "selector": {"type": "string"}}, "required": ["roleArn", "smartSenseId", "selector"]}, "description": {"type": "string"}, "topologyId": {"type": "null"}, "id": {"type": "integer"}, "public": {"type": "boolean"}}, "required": ["name", "cloudPlatform", "parameters", "description", "topologyId", "id", "public"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "amazon", "cloudPlatform" : "AWS", "parameters" : {"roleArn" : "arn:aws:iam::755047402263:role/aws-cluster-3938-S3AccessRole-1WONDIIEGB2GR", "smartSenseId" : "null", "selector" : "role-based"}, "description" : "", "topologyId" : null, "id" : 4, "public" : false} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "cloudPlatform": {"type": "string"}, "parameters": {"type": "object", "properties": {"roleArn": {"type": "string"}, "smartSenseId": {"type": "string"}, "selector": {"type": "string"}}, "required": ["roleArn", "smartSenseId", "selector"]}, "description": {"type": "string"}, "topologyId": {"type": "null"}, "id": {"type": "integer"}, "public": {"type": "boolean"}}, "required": ["name", "cloudPlatform", "parameters", "description", "topologyId", "id", "public"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"es-class.amd.js": {"type": "string"}, "es-class.js": {"type": "string"}, "es-class.max.amd.js": {"type": "string"}, "es-class.max.js": {"type": "string"}}, "required": ["es-class.amd.js", "es-class.js", "es-class.max.amd.js", "es-class.max.js"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"es-class.amd.js" : "sha512-l+vi8HPiDY0gyzTxF75hZjf4Fq/O0c7y25/JC4aQ2TapAvlIbIT1JAymN+6lM2+e6eoWsaTq2AKUDmE9IBksTA==", "es-class.js" : "sha512-jDr5I+6DVTcLs4RjrOaK2tYRdu9ExzHgO1ADyz4qqquOiASla+jZ10GcNG22k5GLNkP4+p7tJ2T5pWjKsGnDAg==", "es-class.max.amd.js" : "sha512-OShV8ZnzevMHM3gCg1wO1jtygImiNll4CpmoAIQq3umrbwhbztz8Mv9iZ16zTS4G4cosOpSjBX8xfRxTKEPmaA==", "es-class.max.js" : "sha512-Sl+sTqzobM7XFBrXeY8C41UWLiBay42sp5EBW/mFVtPTPVsXtwakhlvtU/tx6ZF9l+CLYaBuKmy2x4CzGj2YYw=="} | json_instruct | {"type": "object", "properties": {"es-class.amd.js": {"type": "string"}, "es-class.js": {"type": "string"}, "es-class.max.amd.js": {"type": "string"}, "es-class.max.js": {"type": "string"}}, "required": ["es-class.amd.js", "es-class.js", "es-class.max.amd.js", "es-class.max.js"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"width": {"type": "number"}, "rotation": {"type": "number"}, "xCenter": {"type": "number"}, "yCenter": {"type": "number"}, "height": {"type": "number"}}, "required": ["width", "rotation", "xCenter", "yCenter", "height"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"width" : 0.21890564, "rotation" : -3.014205, "xCenter" : 0.8582748, "yCenter" : 0.74077743, "height" : 0.27363205} | json_instruct | {"type": "object", "properties": {"width": {"type": "number"}, "rotation": {"type": "number"}, "xCenter": {"type": "number"}, "yCenter": {"type": "number"}, "height": {"type": "number"}}, "required": ["width", "rotation", "xCenter", "yCenter", "height"], "$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"}, "ParentId": {"type": "string"}, "Price": {"type": "integer"}}, "required": ["Id", "ParentId", "Price"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"Id" : "5bfd4cbe0db834001b73449f", "ParentId" : "5b5f75c686f774094242f19f", "Price" : 3920} | json_instruct | {"type": "object", "properties": {"Id": {"type": "string"}, "ParentId": {"type": "string"}, "Price": {"type": "integer"}}, "required": ["Id", "ParentId", "Price"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "nama": {"type": "string"}}, "required": ["id", "nama"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"id" : "5303111001", "nama" : "BONE"}, {"id" : "5303111002", "nama" : "TALOETAN"}, {"id" : "5303111003", "nama" : "USAPISONBAI"}, {"id" : "5303111004", "nama" : "OEPAHA"}, {"id" : "5303111005", "nama" : "TASIKONA"}, {"id" : "5303111006", "nama" : "OENIF"}, {"id" : "5303111007", "nama" : "OEMASI"}, {"id" : "5303111008", "nama" : "OELOMIN"}, {"id" : "5303111009", "nama" : "TUNFEU"}, {"id" : "5303111010", "nama" : "OBEN"}, {"id" : "5303111011", "nama" : "BESMARAK"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string"}, "nama": {"type": "string"}}, "required": ["id", "nama"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this 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 { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nvar _jsxFileName = \"/Users/pettychen/physicle/src/common/Input/index.js\";\nimport React from \"react\";\nimport * as S from \"./styles\";\n\nconst Input = props => /*#__PURE__*/_jsxDEV(S.Container, {\n children: [/*#__PURE__*/_jsxDEV(S.Input, { ...props,\n spellcheck: \"false\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }, this), /*#__PURE__*/_jsxDEV(S.Span, {\n children: props.error\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this)]\n}, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 3\n}, this);\n\n_c = Input;\nexport default Input;\n\nvar _c;\n\n$RefreshReg$(_c, \"Input\");", "map" : {"version" : 3, "sources" : ["/Users/pettychen/physicle/src/common/Input/index.js"], "names" : ["React", "S", "Input", "props", "error"], "mappings" : ";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAO,KAAKC,CAAZ,MAAmB,UAAnB;;AAEA,MAAMC,KAAK,GAAIC,KAAD,iBACZ,QAAC,CAAD,CAAG,SAAH;AAAA,0BACE,QAAC,CAAD,CAAG,KAAH,OAAaA,KAAb;AAAoB,IAAA,UAAU,EAAC;AAA/B;AAAA;AAAA;AAAA;AAAA,UADF,eAEE,QAAC,CAAD,CAAG,IAAH;AAAA,cAASA,KAAK,CAACC;AAAf;AAAA;AAAA;AAAA;AAAA,UAFF;AAAA;AAAA;AAAA;AAAA;AAAA,QADF;;KAAMF,K;AAON,eAAeA,KAAf", "sourcesContent" : ["import React from \"react\";\r\n\r\nimport * as S from \"./styles\";\r\n\r\nconst Input = (props) => (\r\n <S.Container>\r\n <S.Input {...props} spellcheck=\"false\" />\r\n <S.Span>{props.error}</S.Span>\r\n </S.Container>\r\n);\r\n\r\nexport default Input;\r\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#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "isOverridable": {"type": "boolean"}, "entries": {"type": "array", "items": {"type": "object", "properties": {"value": {"type": "string"}, "synonyms": {"type": "array", "items": {"type": "string"}}}, "required": ["value", "synonyms"]}}, "isEnum": {"type": "boolean"}, "automatedExpansion": {"type": "boolean"}}, "required": ["id", "name", "isOverridable", "entries", "isEnum", "automatedExpansion"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : "272421c2-37e1-40a7-9e45-0e5b32852ffb", "name" : "player_setting", "isOverridable" : true, "entries" : [{"value" : "shuffle", "synonyms" : ["shuffle"]}, {"value" : "repeat", "synonyms" : ["repeat"]}, {"value" : "replay", "synonyms" : ["replay"]}, {"value" : "change song", "synonyms" : ["change song"]}, {"value" : "loop", "synonyms" : ["loop"]}, {"value" : "change", "synonyms" : ["change"]}, {"value" : "skip", "synonyms" : ["skip"]}, {"value" : "always repeat and always shuffled", "synonyms" : ["always repeat and always shuffled"]}, {"value" : "equalize", "synonyms" : ["equalize"]}, {"value" : "shazam", "synonyms" : ["shazam"]}, {"value" : "proceed", "synonyms" : ["proceed"]}, {"value" : "flat sound mode", "synonyms" : ["flat sound mode"]}, {"value" : "playing continuously", "synonyms" : ["playing continuously"]}, {"value" : "lower", "synonyms" : ["lower"]}, {"value" : "disable", "synonyms" : ["disable"]}, {"value" : "stop", "synonyms" : ["stop"]}, {"value" : "stop repeating", "synonyms" : ["stop repeating"]}, {"value" : "move", "synonyms" : ["move"]}], "isEnum" : false, "automatedExpansion" : true} | json_instruct | {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "isOverridable": {"type": "boolean"}, "entries": {"type": "array", "items": {"type": "object", "properties": {"value": {"type": "string"}, "synonyms": {"type": "array", "items": {"type": "string"}}}, "required": ["value", "synonyms"]}}, "isEnum": {"type": "boolean"}, "automatedExpansion": {"type": "boolean"}}, "required": ["id", "name", "isOverridable", "entries", "isEnum", "automatedExpansion"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "FeatureCollection", "features" : [{"geometry" : {"type" : "Polygon", "coordinates" : [[[-90.32879, 38.683787], [-90.328179, 38.698865], [-90.305212, 38.685788], [-90.307136, 38.683425], [-90.309454, 38.672752], [-90.314976, 38.673447], [-90.314573, 38.675995], [-90.324082, 38.676119], [-90.323921, 38.679994], [-90.32879, 38.683787]]]}, "type" : "Feature", "properties" : {"cartodb_id" : 37234}}]} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "features": {"type": "array", "items": {"type": "object", "properties": {"geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}, "required": ["type", "coordinates"]}, "type": {"type": "string"}, "properties": {"type": "object", "properties": {"cartodb_id": {"type": "integer"}}, "required": ["cartodb_id"]}}, "required": ["geometry", "type", "properties"]}}}, "required": ["type", "features"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"frame_id": {"type": "integer"}, "walking": {"type": "string"}, "video_id": {"type": "string"}, "bbs": {"type": "array", "items": {"type": "object", "properties": {"artwork_id": {"type": "string"}, "right": {"type": "number"}, "bottom": {"type": "number"}, "top": {"type": "number"}, "confidence": {"type": "integer"}, "recognized": {"type": "boolean"}, "bb_big_enough": {"type": "boolean"}, "class": {"type": "string"}, "left": {"type": "number"}}, "required": ["artwork_id", "right", "bottom", "top", "confidence", "recognized", "bb_big_enough", "class", "left"]}}, "p_voice": {"type": "string"}}, "required": ["frame_id", "walking", "video_id", "bbs", "p_voice"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"frame_id" : 6012, "walking" : "1", "video_id" : "VID_20161007_131547_reduced", "bbs" : [{"artwork_id" : "david_bronzo_donatello", "right" : 0.410576, "bottom" : 0.658917, "top" : 0.104015, "confidence" : 98, "recognized" : true, "bb_big_enough" : true, "class" : "artwork", "left" : 0.004181}], "p_voice" : "0"} | json_instruct | {"type": "object", "properties": {"frame_id": {"type": "integer"}, "walking": {"type": "string"}, "video_id": {"type": "string"}, "bbs": {"type": "array", "items": {"type": "object", "properties": {"artwork_id": {"type": "string"}, "right": {"type": "number"}, "bottom": {"type": "number"}, "top": {"type": "number"}, "confidence": {"type": "integer"}, "recognized": {"type": "boolean"}, "bb_big_enough": {"type": "boolean"}, "class": {"type": "string"}, "left": {"type": "number"}}, "required": ["artwork_id", "right", "bottom", "top", "confidence", "recognized", "bb_big_enough", "class", "left"]}}, "p_voice": {"type": "string"}}, "required": ["frame_id", "walking", "video_id", "bbs", "p_voice"], "$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": {"type": {"type": "string"}, "level": {"type": "string"}, "label": {"type": "string"}, "locale": {"type": "string"}, "country_id": {"type": "integer"}, "country_reference": {"type": "integer"}, "country_name": {"type": "string"}, "region_id": {"type": "string"}, "region_reference": {"type": "string"}, "region_name": {"type": "string"}, "province_id": {"type": "string"}, "province_reference": {"type": "string"}, "province_name": {"type": "string"}, "city_id": {"type": "string"}, "city_reference": {"type": "string"}, "city_name": {"type": "string"}, "barangay_id": {"type": "string"}, "barangay_reference": {"type": "string"}, "barangay_name": {"type": "string"}}, "required": ["type", "level", "label", "locale", "country_id", "country_reference", "country_name", "region_id", "region_reference", "region_name", "province_id", "province_reference", "province_name", "city_id", "city_reference", "city_name", "barangay_id", "barangay_reference", "barangay_name"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"type" : "Feature", "properties" : {"type" : "barangay", "level" : "4", "label" : "Palimbo Proper, Camiling, Tarlac, Central Luzon (Region III), PH", "locale" : "ph.central-luzon-region-iii.tarlac.camiling.palimbo-proper", "country_id" : 177, "country_reference" : 177, "country_name" : "Philippines", "region_id" : "6", "region_reference" : "3", "region_name" : "Central Luzon (Region III)", "province_id" : "77", "province_reference" : "77", "province_name" : "Tarlac", "city_id" : "306", "city_reference" : "1535", "city_name" : "Camiling", "barangay_id" : "8456", "barangay_reference" : "39179", "barangay_name" : "Palimbo Proper"}, "geometry" : {"type" : "MultiPolygon", "coordinates" : [[[[120.381607, 15.70868], [120.387711, 15.70773], [120.3899, 15.70952], [120.391083, 15.70987], [120.392288, 15.70998], [120.394058, 15.71026], [120.396446, 15.70832], [120.397324, 15.70704], [120.397919, 15.70629], [120.399101, 15.70585], [120.399567, 15.70621], [120.399834, 15.7066], [120.40023, 15.70713], [120.400398, 15.7072], [120.401321, 15.70709], [120.402191, 15.70689], [120.402969, 15.70671], [120.403877, 15.70627], [120.404533, 15.70604], [120.404831, 15.70354], [120.405319, 15.70209], [120.405273, 15.70031], [120.40554, 15.69943], [120.404922, 15.69792], [120.403923, 15.69715], [120.402672, 15.69647], [120.400146, 15.69593], [120.398483, 15.69603], [120.396767, 15.69549], [120.39537, 15.69521], [120.393799, 15.69467], [120.392487, 15.69384], [120.390968, 15.69232], [120.389999, 15.69236], [120.389771, 15.69347], [120.389763, 15.69395], [120.389618, 15.69438], [120.388603, 15.69481], [120.38813, 15.69471], [120.386757, 15.69379], [120.385727, 15.69328], [120.383926, 15.69295], [120.38237, 15.693], [120.380341, 15.69326], [120.377937, 15.69387], [120.378601, 15.69507], [120.378647, 15.69629], [120.378632, 15.69759], [120.378548, 15.69854], [120.378578, 15.69976], [120.37886, 15.70117], [120.379013, 15.70253], [120.379204, 15.70427], [120.37944, 15.70541], [120.380501, 15.70702], [120.381607, 15.70868]]]]}} | json_instruct | {"type": "object", "properties": {"type": {"type": "string"}, "properties": {"type": "object", "properties": {"type": {"type": "string"}, "level": {"type": "string"}, "label": {"type": "string"}, "locale": {"type": "string"}, "country_id": {"type": "integer"}, "country_reference": {"type": "integer"}, "country_name": {"type": "string"}, "region_id": {"type": "string"}, "region_reference": {"type": "string"}, "region_name": {"type": "string"}, "province_id": {"type": "string"}, "province_reference": {"type": "string"}, "province_name": {"type": "string"}, "city_id": {"type": "string"}, "city_reference": {"type": "string"}, "city_name": {"type": "string"}, "barangay_id": {"type": "string"}, "barangay_reference": {"type": "string"}, "barangay_name": {"type": "string"}}, "required": ["type", "level", "label", "locale", "country_id", "country_reference", "country_name", "region_id", "region_reference", "region_name", "province_id", "province_reference", "province_name", "city_id", "city_reference", "city_name", "barangay_id", "barangay_reference", "barangay_name"]}, "geometry": {"type": "object", "properties": {"type": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "array", "items": {"type": "number"}}}}}}, "required": ["type", "coordinates"]}}, "required": ["type", "properties", "geometry"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"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" : "var _jsxFileName = \"/home/chaos/Desktop/generic-constraint-web/src/components/Forms.jsx\";\nimport React, { Component } from 'react';\nimport { makeStyles } from \"@material-ui/core\";\nimport { Formik, Field, Form } from \"formik\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass Forms extends Component {\n constructor() {\n super();\n this.state = {};\n }\n\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this);\n }\n\n}\n\nexport default Forms;", "map" : {"version" : 3, "sources" : ["/home/chaos/Desktop/generic-constraint-web/src/components/Forms.jsx"], "names" : ["React", "Component", "makeStyles", "Formik", "Field", "Form", "Forms", "constructor", "state", "render"], "mappings" : ";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAAQC,UAAR,QAAyB,mBAAzB;AACA,SAAQC,MAAR,EAAgBC,KAAhB,EAAuBC,IAAvB,QAAkC,QAAlC;;;AAEA,MAAMC,KAAN,SAAoBL,SAApB,CAA6B;AACzBM,EAAAA,WAAW,GAAE;AACT;AACA,SAAKC,KAAL,GAAa,EAAb;AACH;;AACDC,EAAAA,MAAM,GAAE;AACJ,wBACI;AAAA;AAAA;AAAA;AAAA,YADJ;AAKH;;AAXwB;;AAc7B,eAAeH,KAAf", "sourcesContent" : ["import React, { Component } from 'react';\nimport {makeStyles} from \"@material-ui/core\"\nimport {Formik, Field, Form} from \"formik\"\n\nclass Forms extends Component{\n constructor(){\n super()\n this.state = {}\n }\n render(){\n return (\n <div>\n\n </div>\n )\n }\n}\n\nexport default Forms"]}, "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#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"from": {"type": "string"}, "name": {"type": "string"}, "num": {"type": "integer"}, "comps": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "place": {"type": "string"}, "date": {"type": "string"}, "highest": {"type": "integer"}, "QP": {"type": "integer"}, "RP": {"type": "integer"}, "matches": {"type": "integer"}}, "required": ["name", "place", "date", "highest", "QP", "RP", "matches"]}}}, "required": ["from", "name", "num", "comps"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"from" : "Hartsville, SC USA", "name" : "Ya and the Boys", "num" : 772, "comps" : [{"name" : "SC FTC Championship Tournament ", "place" : "South Carolina", "date" : "23-Mar-13", "highest" : 71, "QP" : 2, "RP" : 36, "matches" : 4}]} | json_instruct | {"type": "object", "properties": {"from": {"type": "string"}, "name": {"type": "string"}, "num": {"type": "integer"}, "comps": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "place": {"type": "string"}, "date": {"type": "string"}, "highest": {"type": "integer"}, "QP": {"type": "integer"}, "RP": {"type": "integer"}, "matches": {"type": "integer"}}, "required": ["name", "place", "date", "highest", "QP", "RP", "matches"]}}}, "required": ["from", "name", "num", "comps"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "array", "items": {"type": "object", "properties": {"postal_code": {"type": "string"}, "place_name": {"type": "string"}, "place_type": {"type": "string"}, "county": {"type": "string"}, "state": {"type": "string"}, "city": {"type": "string"}}, "required": ["postal_code", "place_name", "place_type", "county", "state", "city"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"postal_code" : "86640", "place_name" : "Aldama", "place_type" : "Pueblo", "county" : "Comalcalco", "state" : "Tabasco", "city" : ""}, {"postal_code" : "86640", "place_name" : "Tecolutilla", "place_type" : "Pueblo", "county" : "Comalcalco", "state" : "Tabasco", "city" : ""}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"postal_code": {"type": "string"}, "place_name": {"type": "string"}, "place_type": {"type": "string"}, "county": {"type": "string"}, "state": {"type": "string"}, "city": {"type": "string"}}, "required": ["postal_code", "place_name", "place_type", "county", "state", "city"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"async": {"type": "boolean"}, "reload_package_on_testing": {"type": "boolean"}, "capture_console": {"type": "boolean"}, "verbosity": {"type": "integer"}}, "required": ["async", "reload_package_on_testing", "capture_console", "verbosity"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"async" : true, "reload_package_on_testing" : false, "capture_console" : true, "verbosity" : 2} | json_instruct | {"type": "object", "properties": {"async": {"type": "boolean"}, "reload_package_on_testing": {"type": "boolean"}, "capture_console": {"type": "boolean"}, "verbosity": {"type": "integer"}}, "required": ["async", "reload_package_on_testing", "capture_console", "verbosity"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"body": {"type": "string"}, "user": {"type": "string"}, "url": {"type": "string"}, "updated_at": {"type": "string"}, "created_at": {"type": "string"}, "closed_at": {"type": "string"}, "state": {"type": "string"}, "title": {"type": "string"}, "number": {"type": "integer"}, "milestone": {"type": "null"}, "labels": {"type": "array", "items": {"type": "string"}}, "id": {"type": "integer"}, "html_url": {"type": "string"}, "assignees": {"type": "array", "items": {}}, "comments": {"type": "integer"}}, "required": ["body", "user", "url", "updated_at", "created_at", "closed_at", "state", "title", "number", "milestone", "labels", "id", "html_url", "assignees", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"body" : "### Before\r\n```\r\n>>> spec['ncurses'].libs.link_flags\r\n'-lncurses'\r\n```\r\n### After\r\n```\r\n>>> spec['ncurses'].libs.link_flags\r\n'-lncurses -lncursesw -ltinfo -ltinfow'\r\n```\r\nNot sure why the previous logic doesn't work, but the newer logic is simpler anyway.", "user" : "adamjstewart", "url" : "https://api.github.com/repos/spack/spack/issues/18799", "updated_at" : "2020-09-19 21:32:07", "created_at" : "2020-09-19 16:56:08", "closed_at" : "2020-09-19 21:32:06", "state" : "closed", "title" : "ncurses: fix libs method", "number" : 18799, "milestone" : null, "labels" : ["libraries"], "id" : 704916525, "html_url" : "https://github.com/spack/spack/pull/18799", "assignees" : [], "comments" : 0} | json_instruct | {"type": "object", "properties": {"body": {"type": "string"}, "user": {"type": "string"}, "url": {"type": "string"}, "updated_at": {"type": "string"}, "created_at": {"type": "string"}, "closed_at": {"type": "string"}, "state": {"type": "string"}, "title": {"type": "string"}, "number": {"type": "integer"}, "milestone": {"type": "null"}, "labels": {"type": "array", "items": {"type": "string"}}, "id": {"type": "integer"}, "html_url": {"type": "string"}, "assignees": {"type": "array", "items": {}}, "comments": {"type": "integer"}}, "required": ["body", "user", "url", "updated_at", "created_at", "closed_at", "state", "title", "number", "milestone", "labels", "id", "html_url", "assignees", "comments"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "ref": {"type": "string"}, "version": {"type": "string"}, "title": {"type": "string"}, "author": {"type": "string"}, "description": {"type": "string"}, "homepage": {"type": "string"}, "settings": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}, "outputs": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}, "handler": {"type": "object", "properties": {"settings": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}}, "required": ["settings"]}}, "required": ["name", "type", "ref", "version", "title", "author", "description", "homepage", "settings", "outputs", "handler"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "tibco-eftl", "type" : "flogo:trigger", "ref" : "github.com/TIBCOSoftware/mashling/ext/flogo/trigger/eftl", "version" : "0.0.1", "title" : "Receive EFTL Message", "author" : "Andrew Snodgrass <[email protected]>", "description" : "EFTL Trigger", "homepage" : "https://github.com/TIBCOSoftware/mashling/tree/master/ext/flogo/trigger/eftl", "settings" : [{"name" : "url", "type" : "string"}, {"name" : "id", "type" : "string"}, {"name" : "user", "type" : "string"}, {"name" : "password", "type" : "string"}, {"name" : "ca", "type" : "string"}, {"name" : "tracer", "type" : "string", "required" : false}, {"name" : "tracerEndpoint", "type" : "string", "required" : false}, {"name" : "tracerToken", "type" : "string", "required" : false}, {"name" : "tracerDebug", "type" : "boolean", "required" : false}, {"name" : "tracerSameSpan", "type" : "boolean", "required" : false}, {"name" : "tracerID128Bit", "type" : "boolean", "required" : false}], "outputs" : [{"name" : "params", "type" : "params"}, {"name" : "pathParams", "type" : "params"}, {"name" : "queryParams", "type" : "params"}, {"name" : "content", "type" : "object"}, {"name" : "tracing", "type" : "any"}], "handler" : {"settings" : [{"name" : "dest", "type" : "string"}, {"name" : "Condition", "type" : "string"}]}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "ref": {"type": "string"}, "version": {"type": "string"}, "title": {"type": "string"}, "author": {"type": "string"}, "description": {"type": "string"}, "homepage": {"type": "string"}, "settings": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}, "outputs": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}, "handler": {"type": "object", "properties": {"settings": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}}, "required": ["name", "type"]}}}, "required": ["settings"]}}, "required": ["name", "type", "ref", "version", "title", "author", "description", "homepage", "settings", "outputs", "handler"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "build": {"type": "string"}, "publish": {"type": "string"}, "lint": {"type": "string"}}, "required": ["test", "build", "publish", "lint"]}, "author": {"type": "string"}, "license": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"typescript": {"type": "string"}, "@types/express": {"type": "string"}, "@nestjs/common": {"type": "string"}, "@nestjs/core": {"type": "string"}, "@nestjs/platform-express": {"type": "string"}, "@typescript-eslint/eslint-plugin": {"type": "string"}, "@typescript-eslint/parser": {"type": "string"}, "eslint": {"type": "string"}}, "required": ["typescript", "@types/express", "@nestjs/common", "@nestjs/core", "@nestjs/platform-express", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "eslint"]}, "dependencies": {"type": "object", "properties": {"@google-cloud/storage": {"type": "string"}, "rxjs": {"type": "string"}}, "required": ["@google-cloud/storage", "rxjs"]}, "files": {"type": "array", "items": {"type": "string"}}, "keywords": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "version", "description", "main", "scripts", "author", "license", "devDependencies", "dependencies", "files", "keywords"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "@nest-excalibur/google-cloud-storage", "version" : "0.0.2-beta", "description" : "A simple package for NestJS framework to upload files to Google Cloud Storage", "main" : "lib/index.js", "scripts" : {"test" : "echo \"Error: no test specified\" && exit 1", "build" : "tsc", "publish" : "tsc && npm publish --access public", "lint" : "eslint . --ext .ts"}, "author" : "Andr\u00e9s Velasco", "license" : "MIT", "devDependencies" : {"typescript" : "^4.2.3", "@types/express" : "^4.17.3", "@nestjs/common" : "7.6.15", "@nestjs/core" : "^7.6.15", "@nestjs/platform-express" : "^7.6.15", "@typescript-eslint/eslint-plugin" : "^4.21.0", "@typescript-eslint/parser" : "^4.21.0", "eslint" : "^7.24.0"}, "dependencies" : {"@google-cloud/storage" : "^5.8.5", "rxjs" : "^7.0.0"}, "files" : ["lib"], "keywords" : ["nestjs", "google-cloud-storage"]} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "description": {"type": "string"}, "main": {"type": "string"}, "scripts": {"type": "object", "properties": {"test": {"type": "string"}, "build": {"type": "string"}, "publish": {"type": "string"}, "lint": {"type": "string"}}, "required": ["test", "build", "publish", "lint"]}, "author": {"type": "string"}, "license": {"type": "string"}, "devDependencies": {"type": "object", "properties": {"typescript": {"type": "string"}, "@types/express": {"type": "string"}, "@nestjs/common": {"type": "string"}, "@nestjs/core": {"type": "string"}, "@nestjs/platform-express": {"type": "string"}, "@typescript-eslint/eslint-plugin": {"type": "string"}, "@typescript-eslint/parser": {"type": "string"}, "eslint": {"type": "string"}}, "required": ["typescript", "@types/express", "@nestjs/common", "@nestjs/core", "@nestjs/platform-express", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "eslint"]}, "dependencies": {"type": "object", "properties": {"@google-cloud/storage": {"type": "string"}, "rxjs": {"type": "string"}}, "required": ["@google-cloud/storage", "rxjs"]}, "files": {"type": "array", "items": {"type": "string"}}, "keywords": {"type": "array", "items": {"type": "string"}}}, "required": ["name", "version", "description", "main", "scripts", "author", "license", "devDependencies", "dependencies", "files", "keywords"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"DocumentId": {"type": "string"}, "StreetName": {"type": "string"}, "Longitude": {"type": "string"}, "Latitude": {"type": "string"}, "City": {"type": "string"}, "Postcode": {"type": "string"}, "State": {"type": "string"}, "Phone": {"type": "string"}, "BusinessName": {"type": "string"}, "FileType": {"type": "string"}, "Department": {"type": "string"}, "Email": {"type": "string"}, "Price": {"type": "number"}, "Ratings": {"type": "number"}, "MarkerId": {"type": "string"}}, "required": ["DocumentId", "StreetName", "Longitude", "Latitude", "City", "Postcode", "State", "Phone", "BusinessName", "FileType", "Department", "Email", "Price", "Ratings", "MarkerId"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"DocumentId" : "http://SchambergerInc.com", "StreetName" : "Harvey Road", "Longitude" : "138.66666379", "Latitude" : "-34.733225230000002", "City" : "Elizabeth Grove", "Postcode" : "5112", "State" : "South Australia", "Phone" : "+63 351 935 2702", "BusinessName" : "Schamberger Inc", "FileType" : ".txt", "Department" : "Garden", "Email" : "[email protected]", "Price" : 445095.85, "Ratings" : 2.9, "MarkerId" : "1915bi904e4gb5"} | json_instruct | {"type": "object", "properties": {"DocumentId": {"type": "string"}, "StreetName": {"type": "string"}, "Longitude": {"type": "string"}, "Latitude": {"type": "string"}, "City": {"type": "string"}, "Postcode": {"type": "string"}, "State": {"type": "string"}, "Phone": {"type": "string"}, "BusinessName": {"type": "string"}, "FileType": {"type": "string"}, "Department": {"type": "string"}, "Email": {"type": "string"}, "Price": {"type": "number"}, "Ratings": {"type": "number"}, "MarkerId": {"type": "string"}}, "required": ["DocumentId", "StreetName", "Longitude", "Latitude", "City", "Postcode", "State", "Phone", "BusinessName", "FileType", "Department", "Email", "Price", "Ratings", "MarkerId"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Based on the schema below, produce a valid JSON object:
{"type": "object", "properties": {"html_attributions": {"type": "array", "items": {}}, "results": {"type": "array", "items": {"type": "object", "properties": {"business_status": {"type": "string"}, "geometry": {"type": "object", "properties": {"location": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}, "viewport": {"type": "object", "properties": {"northeast": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}, "southwest": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}}, "required": ["northeast", "southwest"]}}, "required": ["location", "viewport"]}, "icon": {"type": "string"}, "icon_background_color": {"type": "string"}, "icon_mask_base_uri": {"type": "string"}, "name": {"type": "string"}, "place_id": {"type": "string"}, "reference": {"type": "string"}, "scope": {"type": "string"}, "types": {"type": "array", "items": {"type": "string"}}, "vicinity": {"type": "string"}}, "required": ["business_status", "geometry", "icon", "icon_background_color", "icon_mask_base_uri", "name", "place_id", "reference", "scope", "types", "vicinity"]}}, "status": {"type": "string"}}, "required": ["html_attributions", "results", "status"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"html_attributions" : [], "results" : [{"business_status" : "OPERATIONAL", "geometry" : {"location" : {"lat" : 26.2005474, "lng" : 90.2188991}, "viewport" : {"northeast" : {"lat" : 26.2019438302915, "lng" : 90.22027998029151}, "southwest" : {"lat" : 26.19924586970849, "lng" : 90.21758201970849}}}, "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/hospital-71.png", "icon_background_color" : "#F88181", "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/hospital-H_pinlet", "name" : "Kazakata Suapata G.P Heath Sub Centre", "place_id" : "ChIJRZp4TDFvWDcRvpSbJ3amSIw", "reference" : "ChIJRZp4TDFvWDcRvpSbJ3amSIw", "scope" : "GOOGLE", "types" : ["hospital", "health", "point_of_interest", "establishment"], "vicinity" : "6629+6H6, Kathaldi Pt.II"}], "status" : "OK"} | json_instruct | {"type": "object", "properties": {"html_attributions": {"type": "array", "items": {}}, "results": {"type": "array", "items": {"type": "object", "properties": {"business_status": {"type": "string"}, "geometry": {"type": "object", "properties": {"location": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}, "viewport": {"type": "object", "properties": {"northeast": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}, "southwest": {"type": "object", "properties": {"lat": {"type": "number"}, "lng": {"type": "number"}}, "required": ["lat", "lng"]}}, "required": ["northeast", "southwest"]}}, "required": ["location", "viewport"]}, "icon": {"type": "string"}, "icon_background_color": {"type": "string"}, "icon_mask_base_uri": {"type": "string"}, "name": {"type": "string"}, "place_id": {"type": "string"}, "reference": {"type": "string"}, "scope": {"type": "string"}, "types": {"type": "array", "items": {"type": "string"}}, "vicinity": {"type": "string"}}, "required": ["business_status", "geometry", "icon", "icon_background_color", "icon_mask_base_uri", "name", "place_id", "reference", "scope", "types", "vicinity"]}}, "status": {"type": "string"}}, "required": ["html_attributions", "results", "status"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"username": {"type": "array", "items": {"type": "string"}}, "register": {"type": "string"}, "messages": {"type": "array", "items": {"type": "string"}}}, "required": ["username", "register", "messages"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"username" : ["$rnd"], "register" : "/register $pwd $pwd", "messages" : ["[$rnd] \u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495 [$rnd]", "[$rnd] \u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495\u5495 [$rnd]"]} | json_instruct | {"type": "object", "properties": {"username": {"type": "array", "items": {"type": "string"}}, "register": {"type": "string"}, "messages": {"type": "array", "items": {"type": "string"}}}, "required": ["username", "register", "messages"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Please provide a valid JSON object following this schema:
{"type": "object", "properties": {"nft": {"type": "object", "properties": {"id": {"type": "integer"}, "image": {"type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "properties": {"trait_type": {"type": "string"}, "value": {"type": "string"}}, "required": ["trait_type", "value"]}}}, "required": ["id", "image", "attributes"]}, "attributeRarities": {"type": "array", "items": {"type": "object", "properties": {"trait_type": {"type": "string"}, "value": {"type": "string"}, "count": {"type": "integer"}, "ratio": {"type": "number"}, "ratioScore": {"type": "number"}}, "required": ["trait_type", "value", "count", "ratio", "ratioScore"]}}, "rarityScore": {"type": "number"}, "rank": {"type": "integer"}}, "required": ["nft", "attributeRarities", "rarityScore", "rank"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"nft" : {"id" : 3028, "image" : "ipfs://QmUnk4qiHHhWh1ram1aAjFXAByDhTn8z85tN48Pt3Wcrjw", "attributes" : [{"trait_type" : "Fur", "value" : "Golden Brown"}, {"trait_type" : "Clothes", "value" : "Work Vest"}, {"trait_type" : "Eyes", "value" : "Closed"}, {"trait_type" : "Background", "value" : "Army Green"}, {"trait_type" : "Mouth", "value" : "Tongue Out"}, {"trait_type" : "Hat", "value" : "Bayc Hat Black"}, {"trait_type" : "Trait Count", "value" : "6"}, {"trait_type" : "Earring", "value" : "[Missing]"}]}, "attributeRarities" : [{"trait_type" : "Fur", "value" : "Golden Brown", "count" : 778, "ratio" : 0.0778, "ratioScore" : 12.853470437017997}, {"trait_type" : "Clothes", "value" : "Work Vest", "count" : 188, "ratio" : 0.0188, "ratioScore" : 53.191489361702125}, {"trait_type" : "Eyes", "value" : "Closed", "count" : 710, "ratio" : 0.071, "ratioScore" : 14.084507042253522}, {"trait_type" : "Background", "value" : "Army Green", "count" : 1243, "ratio" : 0.1243, "ratioScore" : 8.045052292839904}, {"trait_type" : "Mouth", "value" : "Tongue Out", "count" : 202, "ratio" : 0.0202, "ratioScore" : 49.504950495049506}, {"trait_type" : "Hat", "value" : "Bayc Hat Black", "count" : 228, "ratio" : 0.0228, "ratioScore" : 43.859649122807014}, {"trait_type" : "Trait Count", "value" : "6", "count" : 5323, "ratio" : 0.5323, "ratioScore" : 1.8786398647379297}, {"trait_type" : "Earring", "value" : "[Missing]", "count" : 7023, "ratio" : 0.7023, "ratioScore" : 1.4238929232521713}], "rarityScore" : 184.84165153966015, "rank" : 3493} | json_instruct | {"type": "object", "properties": {"nft": {"type": "object", "properties": {"id": {"type": "integer"}, "image": {"type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "properties": {"trait_type": {"type": "string"}, "value": {"type": "string"}}, "required": ["trait_type", "value"]}}}, "required": ["id", "image", "attributes"]}, "attributeRarities": {"type": "array", "items": {"type": "object", "properties": {"trait_type": {"type": "string"}, "value": {"type": "string"}, "count": {"type": "integer"}, "ratio": {"type": "number"}, "ratioScore": {"type": "number"}}, "required": ["trait_type", "value", "count", "ratio", "ratioScore"]}}, "rarityScore": {"type": "number"}, "rank": {"type": "integer"}}, "required": ["nft", "attributeRarities", "rarityScore", "rank"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"h" : [{"d" : [{"e" : ["\ufff9`O~ `sikal~ `ko~ `sapipalidong~ `ako~ `to~ `kodasing~.\ufffa\ufffb\u6211\u7528\u5e36\u5b50\u84cb\u4f4f\u82b1\u751f\u3002"], "f" : "\u906e\u84cb\u3001\u906e\u63a9\u6191\u85c9\u7684\u7528\u5177\u3002"}]}], "stem" : "lidong", "t" : "sapipalidong"} | json_instruct | {"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"WorkingDir": {"type": "string"}, "SourceDir": {"type": "array", "items": {"type": "string"}}, "SourceExt": {"type": "array", "items": {"type": "string"}}, "BuildCmd": {"type": "string"}, "RunCmd": {"type": "string"}, "Decreasing": {"type": "integer"}}, "required": ["WorkingDir", "SourceDir", "SourceExt", "BuildCmd", "RunCmd", "Decreasing"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"WorkingDir" : "{GOPATH}/src/go-boilerplate", "SourceDir" : ["{GOPATH}/src/go-boilerplate"], "SourceExt" : [".c", ".cpp", ".go", ".h"], "BuildCmd" : "go install go-boilerplate", "RunCmd" : "go-boilerplate", "Decreasing" : 1} | json_instruct | {"type": "object", "properties": {"WorkingDir": {"type": "string"}, "SourceDir": {"type": "array", "items": {"type": "string"}}, "SourceExt": {"type": "array", "items": {"type": "string"}}, "BuildCmd": {"type": "string"}, "RunCmd": {"type": "string"}, "Decreasing": {"type": "integer"}}, "required": ["WorkingDir", "SourceDir", "SourceExt", "BuildCmd", "RunCmd", "Decreasing"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"h" : [{"d" : [{"e" : ["\ufff9`Masafaya'~ `no~ `tawki~ `koya~ `kuli~.\ufffa\ufffb\u90a3\u4e9b\u52de\u5de5\u906d\u53d7\u8001\u95c6\u7684\u6b3a\u4fae\u3002"], "f" : "\u906d\u53d7\u8650\u5f85\uff0c\u6b3a\u51cc\u3002"}]}], "stem" : "safaya'", "t" : "masafaya'"} | json_instruct | {"type": "object", "properties": {"h": {"type": "array", "items": {"type": "object", "properties": {"d": {"type": "array", "items": {"type": "object", "properties": {"e": {"type": "array", "items": {"type": "string"}}, "f": {"type": "string"}}, "required": ["e", "f"]}}}, "required": ["d"]}}, "stem": {"type": "string"}, "t": {"type": "string"}}, "required": ["h", "stem", "t"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "object", "properties": {"assignmentId": {"type": "string"}, "creator": {"type": "string"}, "description": {"type": "string"}, "duration": {"type": "integer"}, "eventIcon": {"type": "null"}, "eventId": {"type": "string"}, "firstTime": {"type": "object", "properties": {"display": {"type": "string"}, "time": {"type": "integer"}}, "required": ["display", "time"]}, "recurrenceRule": {"type": "null"}, "reference": {"type": "string"}, "siteId": {"type": "string"}, "siteName": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "entityReference": {"type": "string"}, "entityURL": {"type": "string"}, "entityTitle": {"type": "string"}}, "required": ["assignmentId", "creator", "description", "duration", "eventIcon", "eventId", "firstTime", "recurrenceRule", "reference", "siteId", "siteName", "title", "type", "entityReference", "entityURL", "entityTitle"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"assignmentId" : "", "creator" : "xxxxx", "description" : "xxxxx", "duration" : 0, "eventIcon" : null, "eventId" : "xxxxx", "firstTime" : {"display" : "Jun 15, 2017 2:00 pm", "time" : 1497535200000}, "recurrenceRule" : null, "reference" : "xxxxx", "siteId" : "xxxxx", "siteName" : "xxxxx", "title" : "xxxxx", "type" : "xxxxx", "entityReference" : "/calendar", "entityURL" : "https://xxxxx/direct/calendar", "entityTitle" : "xxxxx"} | json_instruct | {"type": "object", "properties": {"assignmentId": {"type": "string"}, "creator": {"type": "string"}, "description": {"type": "string"}, "duration": {"type": "integer"}, "eventIcon": {"type": "null"}, "eventId": {"type": "string"}, "firstTime": {"type": "object", "properties": {"display": {"type": "string"}, "time": {"type": "integer"}}, "required": ["display", "time"]}, "recurrenceRule": {"type": "null"}, "reference": {"type": "string"}, "siteId": {"type": "string"}, "siteName": {"type": "string"}, "title": {"type": "string"}, "type": {"type": "string"}, "entityReference": {"type": "string"}, "entityURL": {"type": "string"}, "entityTitle": {"type": "string"}}, "required": ["assignmentId", "creator", "description", "duration", "eventIcon", "eventId", "firstTime", "recurrenceRule", "reference", "siteId", "siteName", "title", "type", "entityReference", "entityURL", "entityTitle"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate a valid JSON object that conforms to the following schema:
{"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "doctrine/doctrine-bundle": {"type": "string"}, "symfony/symfony": {"type": "string"}}, "required": ["php", "doctrine/doctrine-bundle", "symfony/symfony"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Roshyo\\PlanningBundle\\": {"type": "string"}}, "required": ["Roshyo\\PlanningBundle\\"]}}, "required": ["psr-4"]}}, "required": ["name", "type", "description", "license", "authors", "require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "roshyo/planning-bundle", "type" : "symfony-bundle", "description" : "Provides all planning methods for integration in Symfony 3", "license" : "MIT", "authors" : [{"name" : "St\u00e9phane DECOCK"}], "require" : {"php" : "^7.0", "doctrine/doctrine-bundle" : "^1.6", "symfony/symfony" : "3.*"}, "autoload" : {"psr-4" : {"Roshyo\\PlanningBundle\\" : ""}}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "description": {"type": "string"}, "license": {"type": "string"}, "authors": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}}, "require": {"type": "object", "properties": {"php": {"type": "string"}, "doctrine/doctrine-bundle": {"type": "string"}, "symfony/symfony": {"type": "string"}}, "required": ["php", "doctrine/doctrine-bundle", "symfony/symfony"]}, "autoload": {"type": "object", "properties": {"psr-4": {"type": "object", "properties": {"Roshyo\\PlanningBundle\\": {"type": "string"}}, "required": ["Roshyo\\PlanningBundle\\"]}}, "required": ["psr-4"]}}, "required": ["name", "type", "description", "license", "authors", "require", "autoload"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"energy": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"outputs": {"type": "object", "properties": {"ac_power": {"type": "string"}, "times": {"type": "string"}}, "required": ["ac_power", "times"]}}, "required": ["outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}, "monthly_rollup": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"data": {"type": "object", "properties": {"freq": {"type": "string"}}, "required": ["freq"]}, "outputs": {"type": "object", "properties": {"items": {"type": "string"}, "times": {"type": "string"}}, "required": ["items", "times"]}}, "required": ["data", "outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}, "yearly_rollup": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"data": {"type": "object", "properties": {"freq": {"type": "string"}}, "required": ["freq"]}, "outputs": {"type": "object", "properties": {"items": {"type": "string"}, "times": {"type": "string"}}, "required": ["items", "times"]}}, "required": ["data", "outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}}, "required": ["energy", "monthly_rollup", "yearly_rollup"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"energy" : {"is_dynamic" : false, "dependencies" : ["ac_power", "daterange"], "formula" : "f_energy", "args" : {"outputs" : {"ac_power" : "Pac", "times" : "timestamps"}}, "returns" : ["hourly_energy", "hourly_timeseries"]}, "monthly_rollup" : {"is_dynamic" : false, "dependencies" : ["energy"], "formula" : "f_rollup", "args" : {"data" : {"freq" : "MONTHLY"}, "outputs" : {"items" : "hourly_energy", "times" : "hourly_timeseries"}}, "returns" : ["monthly_energy"]}, "yearly_rollup" : {"is_dynamic" : false, "dependencies" : ["energy"], "formula" : "f_rollup", "args" : {"data" : {"freq" : "YEARLY"}, "outputs" : {"items" : "hourly_energy", "times" : "hourly_timeseries"}}, "returns" : ["annual_energy"]}} | json_instruct | {"type": "object", "properties": {"energy": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"outputs": {"type": "object", "properties": {"ac_power": {"type": "string"}, "times": {"type": "string"}}, "required": ["ac_power", "times"]}}, "required": ["outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}, "monthly_rollup": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"data": {"type": "object", "properties": {"freq": {"type": "string"}}, "required": ["freq"]}, "outputs": {"type": "object", "properties": {"items": {"type": "string"}, "times": {"type": "string"}}, "required": ["items", "times"]}}, "required": ["data", "outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}, "yearly_rollup": {"type": "object", "properties": {"is_dynamic": {"type": "boolean"}, "dependencies": {"type": "array", "items": {"type": "string"}}, "formula": {"type": "string"}, "args": {"type": "object", "properties": {"data": {"type": "object", "properties": {"freq": {"type": "string"}}, "required": ["freq"]}, "outputs": {"type": "object", "properties": {"items": {"type": "string"}, "times": {"type": "string"}}, "required": ["items", "times"]}}, "required": ["data", "outputs"]}, "returns": {"type": "array", "items": {"type": "string"}}}, "required": ["is_dynamic", "dependencies", "formula", "args", "returns"]}}, "required": ["energy", "monthly_rollup", "yearly_rollup"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"id": {"type": "integer"}, "node": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "nameCN": {"type": "string"}, "image": {"type": "string"}, "date": {"type": "string"}}, "required": ["id", "name", "nameCN", "image", "date"]}}, "relate": {"type": "array", "items": {"type": "object", "properties": {"relate": {"type": "string"}, "src": {"type": "integer"}, "dst": {"type": "integer"}}, "required": ["relate", "src", "dst"]}}}, "required": ["id", "node", "relate"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"id" : 5708, "node" : [{"id" : 5708, "name" : "\u30a4\u30eb\u30b2\u30cd\u30b9~\u9ed2\u8000\u306e\u8ecc\u8de1~", "nameCN" : "\u6096\u5fb7\u4e4b\u57ce~\u9ed1\u8000\u7684\u8f68\u8ff9~", "image" : "//lain.bgm.tv/pic/cover/m/36/16/5708_MikEF.jpg", "date" : "unknown"}, {"id" : 280648, "name" : "\u30a4\u30eb\u30b2\u30cd\u30b9~\u507d\u7ffc\u306e\u4ea4\u97ff\u66f2~", "nameCN" : "\u6096\u5fb7\u4e4b\u57ce~\u4f2a\u7ffc\u7684\u4ea4\u54cd\u66f2~", "image" : "//lain.bgm.tv/pic/cover/m/46/f0/280648_PHOy7.jpg", "date" : "2011-10-15"}], "relate" : [{"relate" : "\u7eed\u96c6", "src" : 5708, "dst" : 280648}, {"relate" : "\u524d\u4f20", "src" : 280648, "dst" : 5708}]} | json_instruct | {"type": "object", "properties": {"id": {"type": "integer"}, "node": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "nameCN": {"type": "string"}, "image": {"type": "string"}, "date": {"type": "string"}}, "required": ["id", "name", "nameCN", "image", "date"]}}, "relate": {"type": "array", "items": {"type": "object", "properties": {"relate": {"type": "string"}, "src": {"type": "integer"}, "dst": {"type": "integer"}}, "required": ["relate", "src", "dst"]}}}, "required": ["id", "node", "relate"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"directions" : ["Combine water and rice in a medium saucepan. Bring to a boil. Cover, reduce heat, and simmer for 45 to 50 minutes. Cool.", "Heat butter in a skillet over medium heat. Cook onion and celery in butter until tender, stirring frequently. Season with curry powder, and continue cooking for one minute.", "In a large bowl, mix together yogurt, lime juice, lime zest, and sugar. Stir in rice, onion and celery mixture, chopped kiwi, ham, cheese, nuts, and mushrooms. Arrange sliced kiwi over salad."], "ingredients" : ["2 1/4 cups water", "1 cup brown rice", "2 tablespoons butter", "1/4 cup chopped onion", "1/2 cup chopped celery", "1/2 teaspoon curry powder", "1 cup plain yogurt", "1 teaspoon fresh lime juice", "1/2 teaspoon lime zest", "1 teaspoon white sugar", "1 kiwi, peeled and chopped", "4 ounces cooked ham, julienned", "2 ounces Swiss cheese, cubed", "1/3 cup cashews", "1/2 cup fresh mushrooms, coarsely chopped", "2 kiwis, peeled and sliced"], "language" : "en-US", "source" : "allrecipes.com", "tags" : [], "title" : "Kiwifruit Rice Salad", "url" : "http://allrecipes.com/recipe/30282/kiwifruit-rice-salad/"} | json_instruct | {"type": "object", "properties": {"directions": {"type": "array", "items": {"type": "string"}}, "ingredients": {"type": "array", "items": {"type": "string"}}, "language": {"type": "string"}, "source": {"type": "string"}, "tags": {"type": "array", "items": {}}, "title": {"type": "string"}, "url": {"type": "string"}}, "required": ["directions", "ingredients", "language", "source", "tags", "title", "url"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"current": {"type": "object", "properties": {"favicon": {"type": "string"}, "share_image": {"type": "string"}, "search_enabled": {"type": "string"}, "homepage_hero_image": {"type": "string"}, "homepage_hero_bg_color": {"type": "string"}, "homepage_featured_product_handle": {"type": "string"}, "homepage_featured_product_image": {"type": "string"}, "homepage_featured_collection_handle": {"type": "string"}, "homepage_banner_image": {"type": "string"}, "homepage_reviews_data_object_handle": {"type": "string"}, "homepage_reviews_limit": {"type": "string"}, "checkout_display_quick_checkouts": {"type": "string"}, "checkout_display_country": {"type": "string"}, "checkout_default_country": {"type": "string"}, "checkout_display_shipping_method": {"type": "string"}, "checkout_default_shipping_rate": {"type": "null"}, "checkout_display_payment_method": {"type": "string"}, "checkout_default_payment_method": {"type": "null"}, "checkout_display_totals": {"type": "string"}, "checkout_display_terms": {"type": "string"}, "checkout_terms_page": {"type": "string"}}, "required": ["favicon", "share_image", "search_enabled", "homepage_hero_image", "homepage_hero_bg_color", "homepage_featured_product_handle", "homepage_featured_product_image", "homepage_featured_collection_handle", "homepage_banner_image", "homepage_reviews_data_object_handle", "homepage_reviews_limit", "checkout_display_quick_checkouts", "checkout_display_country", "checkout_default_country", "checkout_display_shipping_method", "checkout_default_shipping_rate", "checkout_display_payment_method", "checkout_default_payment_method", "checkout_display_totals", "checkout_display_terms", "checkout_terms_page"]}}, "required": ["current"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"current" : {"favicon" : "https://images.unsplash.com/photo-1571782742478-0816a4773a10?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=32&q=100", "share_image" : "https://images.unsplash.com/photo-1571782742478-0816a4773a10?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1216&q=80", "search_enabled" : "0", "homepage_hero_image" : "https://images.unsplash.com/photo-1571779719707-0f24f62ab4fc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&h=650&q=80", "homepage_hero_bg_color" : "#cdc2ea", "homepage_featured_product_handle" : "the-cleanser", "homepage_featured_product_image" : "https://images.unsplash.com/photo-1571782742478-0816a4773a10?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1216&q=80", "homepage_featured_collection_handle" : "featured", "homepage_banner_image" : "https://images.unsplash.com/photo-1556228841-7c69921649bb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80", "homepage_reviews_data_object_handle" : "reviews", "homepage_reviews_limit" : "3", "checkout_display_quick_checkouts" : "0", "checkout_display_country" : "1", "checkout_default_country" : "208", "checkout_display_shipping_method" : "1", "checkout_default_shipping_rate" : null, "checkout_display_payment_method" : "0", "checkout_default_payment_method" : null, "checkout_display_totals" : "1", "checkout_display_terms" : "1", "checkout_terms_page" : "terms"}} | json_instruct | {"type": "object", "properties": {"current": {"type": "object", "properties": {"favicon": {"type": "string"}, "share_image": {"type": "string"}, "search_enabled": {"type": "string"}, "homepage_hero_image": {"type": "string"}, "homepage_hero_bg_color": {"type": "string"}, "homepage_featured_product_handle": {"type": "string"}, "homepage_featured_product_image": {"type": "string"}, "homepage_featured_collection_handle": {"type": "string"}, "homepage_banner_image": {"type": "string"}, "homepage_reviews_data_object_handle": {"type": "string"}, "homepage_reviews_limit": {"type": "string"}, "checkout_display_quick_checkouts": {"type": "string"}, "checkout_display_country": {"type": "string"}, "checkout_default_country": {"type": "string"}, "checkout_display_shipping_method": {"type": "string"}, "checkout_default_shipping_rate": {"type": "null"}, "checkout_display_payment_method": {"type": "string"}, "checkout_default_payment_method": {"type": "null"}, "checkout_display_totals": {"type": "string"}, "checkout_display_terms": {"type": "string"}, "checkout_terms_page": {"type": "string"}}, "required": ["favicon", "share_image", "search_enabled", "homepage_hero_image", "homepage_hero_bg_color", "homepage_featured_product_handle", "homepage_featured_product_image", "homepage_featured_collection_handle", "homepage_banner_image", "homepage_reviews_data_object_handle", "homepage_reviews_limit", "checkout_display_quick_checkouts", "checkout_display_country", "checkout_default_country", "checkout_display_shipping_method", "checkout_default_shipping_rate", "checkout_display_payment_method", "checkout_default_payment_method", "checkout_display_totals", "checkout_display_terms", "checkout_terms_page"]}}, "required": ["current"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Construct a JSON document that adheres to this schema specification:
{"type": "object", "properties": {"name": {"type": "string"}, "homepage": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "main": {"type": "string"}, "license": {"type": "string"}, "ignore": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"bootstrap": {"type": "string"}, "components-font-awesome": {"type": "string"}}, "required": ["bootstrap", "components-font-awesome"]}}, "required": ["name", "homepage", "authors", "description", "main", "license", "ignore", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "My Superstar", "homepage" : "https://ucv.github.io/My-Superstar/", "authors" : ["Ungureanu C. Valentin <[email protected]>"], "description" : "", "main" : "", "license" : "MIT", "ignore" : ["**/.*", "node_modules", "bower_components", "assets/vendor/", "test", "tests"], "dependencies" : {"bootstrap" : "v4.0.0", "components-font-awesome" : "^5.0.6"}} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "homepage": {"type": "string"}, "authors": {"type": "array", "items": {"type": "string"}}, "description": {"type": "string"}, "main": {"type": "string"}, "license": {"type": "string"}, "ignore": {"type": "array", "items": {"type": "string"}}, "dependencies": {"type": "object", "properties": {"bootstrap": {"type": "string"}, "components-font-awesome": {"type": "string"}}, "required": ["bootstrap", "components-font-awesome"]}}, "required": ["name", "homepage", "authors", "description", "main", "license", "ignore", "dependencies"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "object", "properties": {"full_name": {"type": "string"}, "email": {"type": "string"}, "project_name": {"type": "string"}, "project_slug": {"type": "string"}, "project_short_description": {"type": "string"}, "date": {"type": "string"}, "_extensions": {"type": "array", "items": {"type": "string"}}}, "required": ["full_name", "email", "project_name", "project_slug", "project_short_description", "date", "_extensions"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"full_name" : "Sergio Sanchez", "email" : "[email protected]", "project_name" : "Name of project", "project_slug" : "{{ cookiecutter.project_name.lower().replace(' ', '-') }}", "project_short_description" : "A short description of your project", "date" : "{% now 'local' %}", "_extensions" : ["jinja2_time.TimeExtension"]} | json_instruct | {"type": "object", "properties": {"full_name": {"type": "string"}, "email": {"type": "string"}, "project_name": {"type": "string"}, "project_slug": {"type": "string"}, "project_short_description": {"type": "string"}, "date": {"type": "string"}, "_extensions": {"type": "array", "items": {"type": "string"}}}, "required": ["full_name", "email", "project_name", "project_slug", "project_short_description", "date", "_extensions"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"copyright": {"type": "string"}}, "required": ["copyright"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"copyright" : "Rahul Nair"} | json_instruct | {"type": "object", "properties": {"copyright": {"type": "string"}}, "required": ["copyright"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "array", "items": {"type": "object", "properties": {"cid": {"type": "string"}, "cname": {"type": "string"}, "cnameCn": {"type": "string"}, "isLeaf": {"type": "integer"}, "leaf": {"type": "boolean"}, "level": {"type": "integer"}, "pL1Id": {"type": "string"}, "pL1Name": {"type": "string"}, "pL2Id": {"type": "string"}, "pL2Name": {"type": "string"}}, "required": ["cid", "cname", "cnameCn", "isLeaf", "leaf", "level", "pL1Id", "pL1Name", "pL2Id", "pL2Name"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"cid" : "21780", "cname" : "\u0e2d\u0e32\u0e2b\u0e32\u0e23\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e41\u0e25\u0e30\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e38\u0e02\u0e20\u0e32\u0e1e\u0e2d\u0e37\u0e48\u0e19\u0e46(\u81b3\u98df\u8865\u5145\u5242\u548c\u5176\u4ed6\u4fdd\u5065\u54c1)", "cnameCn" : "\u81b3\u98df\u8865\u5145\u5242\u548c\u5176\u4ed6\u4fdd\u5065\u54c1", "isLeaf" : 1, "leaf" : true, "level" : 3, "pL1Id" : "21732", "pL1Name" : "\u0e2d\u0e32\u0e2b\u0e32\u0e23\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e41\u0e25\u0e30\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c\u0e2a\u0e38\u0e02\u0e20\u0e32\u0e1e(\u81b3\u98df\u8865\u5145\u5242\u548c\u4fdd\u5065\u54c1)", "pL2Id" : "21779", "pL2Name" : "\u0e2d\u0e32\u0e2b\u0e32\u0e23\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e41\u0e25\u0e30\u0e1c\u0e25\u0e34\u0e15\u0e20\u0e31\u0e13\u0e11\u0e4c\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e38\u0e02\u0e20\u0e32\u0e1e\u0e2d\u0e37\u0e48\u0e19\u0e46(\u81b3\u98df\u8865\u5145\u5242\u548c\u5176\u4ed6\u4fdd\u5065\u54c1)"}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"cid": {"type": "string"}, "cname": {"type": "string"}, "cnameCn": {"type": "string"}, "isLeaf": {"type": "integer"}, "leaf": {"type": "boolean"}, "level": {"type": "integer"}, "pL1Id": {"type": "string"}, "pL1Name": {"type": "string"}, "pL2Id": {"type": "string"}, "pL2Name": {"type": "string"}}, "required": ["cid", "cname", "cnameCn", "isLeaf", "leaf", "level", "pL1Id", "pL1Name", "pL2Id", "pL2Name"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
The schema below describes a JSON structure. Generate a valid example:
{"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"schema_version" : "1.2.0", "id" : "GHSA-xfvv-4c49-j79v", "modified" : "2022-05-05T02:49:09Z", "published" : "2022-05-05T02:49:09Z", "aliases" : ["CVE-2013-0471"], "details" : "The traditional scheduler in the client in IBM Tivoli Storage Manager (TSM) before 6.2.5.0, 6.3 before 6.3.1.0, and 6.4 before 6.4.0.1, when Prompted mode is enabled, allows remote attackers to cause a denial of service (scheduling outage) via unspecified vectors.", "severity" : [], "affected" : [], "references" : [{"type" : "ADVISORY", "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-0471"}, {"type" : "WEB", "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/81215"}, {"type" : "WEB", "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg1IC87331"}, {"type" : "WEB", "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21624135"}], "database_specific" : {"cwe_ids" : [], "severity" : "MODERATE", "github_reviewed" : false}} | json_instruct | {"type": "object", "properties": {"schema_version": {"type": "string"}, "id": {"type": "string"}, "modified": {"type": "string"}, "published": {"type": "string"}, "aliases": {"type": "array", "items": {"type": "string"}}, "details": {"type": "string"}, "severity": {"type": "array", "items": {}}, "affected": {"type": "array", "items": {}}, "references": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string"}, "url": {"type": "string"}}, "required": ["type", "url"]}}, "database_specific": {"type": "object", "properties": {"cwe_ids": {"type": "array", "items": {}}, "severity": {"type": "string"}, "github_reviewed": {"type": "boolean"}}, "required": ["cwe_ids", "severity", "github_reviewed"]}}, "required": ["schema_version", "id", "modified", "published", "aliases", "details", "severity", "affected", "references", "database_specific"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Following the schema specification below, generate a valid JSON instance:
{"type": "object", "properties": {"commands": {"type": "array", "items": {"type": "string"}}, "response_type": {"type": "string"}, "response": {"type": "string"}}, "required": ["commands", "response_type", "response"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"commands" : ["eat crystal key"], "response_type" : "display", "response" : "You shouldn't do that! The Crystal Key is very important and you need it!"} | json_instruct | {"type": "object", "properties": {"commands": {"type": "array", "items": {"type": "string"}}, "response_type": {"type": "string"}, "response": {"type": "string"}}, "required": ["commands", "response_type", "response"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"PREVALENCE_BY_GENDER_AGE_YEAR": {"type": "object", "properties": {"TRELLIS_NAME": {"type": "array", "items": {"type": "string"}}, "SERIES_NAME": {"type": "array", "items": {"type": "string"}}, "X_CALENDAR_YEAR": {"type": "array", "items": {"type": "integer"}}, "Y_PREVALENCE_1000PP": {"type": "array", "items": {"type": "number"}}}, "required": ["TRELLIS_NAME", "SERIES_NAME", "X_CALENDAR_YEAR", "Y_PREVALENCE_1000PP"]}, "PREVALENCE_BY_MONTH": {"type": "object", "properties": {"X_CALENDAR_MONTH": {"type": "array", "items": {"type": "integer"}}, "Y_PREVALENCE_1000PP": {"type": "array", "items": {"type": "number"}}}, "required": ["X_CALENDAR_MONTH", "Y_PREVALENCE_1000PP"]}, "PROCEDURE_FREQUENCY_DISTRIBUTION": {"type": "object", "properties": {"Y_NUM_PERSONS": {"type": "integer"}, "X_COUNT": {"type": "integer"}}, "required": ["Y_NUM_PERSONS", "X_COUNT"]}, "PROCEDURES_BY_TYPE": {"type": "object", "properties": {"CONCEPT_NAME": {"type": "string"}, "COUNT_VALUE": {"type": "integer"}}, "required": ["CONCEPT_NAME", "COUNT_VALUE"]}, "AGE_AT_FIRST_OCCURRENCE": {"type": "object", "properties": {"CATEGORY": {"type": "array", "items": {"type": "string"}}, "MIN_VALUE": {"type": "array", "items": {"type": "integer"}}, "P10_VALUE": {"type": "array", "items": {"type": "integer"}}, "P25_VALUE": {"type": "array", "items": {"type": "integer"}}, "MEDIAN_VALUE": {"type": "array", "items": {"type": "integer"}}, "P75_VALUE": {"type": "array", "items": {"type": "integer"}}, "P90_VALUE": {"type": "array", "items": {"type": "integer"}}, "MAX_VALUE": {"type": "array", "items": {"type": "integer"}}}, "required": ["CATEGORY", "MIN_VALUE", "P10_VALUE", "P25_VALUE", "MEDIAN_VALUE", "P75_VALUE", "P90_VALUE", "MAX_VALUE"]}}, "required": ["PREVALENCE_BY_GENDER_AGE_YEAR", "PREVALENCE_BY_MONTH", "PROCEDURE_FREQUENCY_DISTRIBUTION", "PROCEDURES_BY_TYPE", "AGE_AT_FIRST_OCCURRENCE"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"PREVALENCE_BY_GENDER_AGE_YEAR" : {"TRELLIS_NAME" : ["20-29", "0-9", "30-39", "0-9", "20-29"], "SERIES_NAME" : ["FEMALE", "FEMALE", "FEMALE", "MALE", "FEMALE"], "X_CALENDAR_YEAR" : [2012, 2012, 2012, 2013, 2013], "Y_PREVALENCE_1000PP" : [0.03941, 0.01776, 0.02488, 0.01685, 0.01973]}, "PREVALENCE_BY_MONTH" : {"X_CALENDAR_MONTH" : [201206, 201210, 201212], "Y_PREVALENCE_1000PP" : [0.00127, 0.00109, 0.0011]}, "PROCEDURE_FREQUENCY_DISTRIBUTION" : {"Y_NUM_PERSONS" : 0, "X_COUNT" : 1}, "PROCEDURES_BY_TYPE" : {"CONCEPT_NAME" : "EHR order list entry", "COUNT_VALUE" : 83}, "AGE_AT_FIRST_OCCURRENCE" : {"CATEGORY" : ["MALE", "FEMALE"], "MIN_VALUE" : [0, 0], "P10_VALUE" : [0, 3], "P25_VALUE" : [1, 20], "MEDIAN_VALUE" : [3, 26], "P75_VALUE" : [31, 32], "P90_VALUE" : [53, 37], "MAX_VALUE" : [73, 89]}} | json_instruct | {"type": "object", "properties": {"PREVALENCE_BY_GENDER_AGE_YEAR": {"type": "object", "properties": {"TRELLIS_NAME": {"type": "array", "items": {"type": "string"}}, "SERIES_NAME": {"type": "array", "items": {"type": "string"}}, "X_CALENDAR_YEAR": {"type": "array", "items": {"type": "integer"}}, "Y_PREVALENCE_1000PP": {"type": "array", "items": {"type": "number"}}}, "required": ["TRELLIS_NAME", "SERIES_NAME", "X_CALENDAR_YEAR", "Y_PREVALENCE_1000PP"]}, "PREVALENCE_BY_MONTH": {"type": "object", "properties": {"X_CALENDAR_MONTH": {"type": "array", "items": {"type": "integer"}}, "Y_PREVALENCE_1000PP": {"type": "array", "items": {"type": "number"}}}, "required": ["X_CALENDAR_MONTH", "Y_PREVALENCE_1000PP"]}, "PROCEDURE_FREQUENCY_DISTRIBUTION": {"type": "object", "properties": {"Y_NUM_PERSONS": {"type": "integer"}, "X_COUNT": {"type": "integer"}}, "required": ["Y_NUM_PERSONS", "X_COUNT"]}, "PROCEDURES_BY_TYPE": {"type": "object", "properties": {"CONCEPT_NAME": {"type": "string"}, "COUNT_VALUE": {"type": "integer"}}, "required": ["CONCEPT_NAME", "COUNT_VALUE"]}, "AGE_AT_FIRST_OCCURRENCE": {"type": "object", "properties": {"CATEGORY": {"type": "array", "items": {"type": "string"}}, "MIN_VALUE": {"type": "array", "items": {"type": "integer"}}, "P10_VALUE": {"type": "array", "items": {"type": "integer"}}, "P25_VALUE": {"type": "array", "items": {"type": "integer"}}, "MEDIAN_VALUE": {"type": "array", "items": {"type": "integer"}}, "P75_VALUE": {"type": "array", "items": {"type": "integer"}}, "P90_VALUE": {"type": "array", "items": {"type": "integer"}}, "MAX_VALUE": {"type": "array", "items": {"type": "integer"}}}, "required": ["CATEGORY", "MIN_VALUE", "P10_VALUE", "P25_VALUE", "MEDIAN_VALUE", "P75_VALUE", "P90_VALUE", "MAX_VALUE"]}}, "required": ["PREVALENCE_BY_GENDER_AGE_YEAR", "PREVALENCE_BY_MONTH", "PROCEDURE_FREQUENCY_DISTRIBUTION", "PROCEDURES_BY_TYPE", "AGE_AT_FIRST_OCCURRENCE"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Create an example JSON object that satisfies this schema:
{"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"}
| ["generator-tribble"] | json_instruct | {"type": "array", "items": {"type": "string"}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}}, "required": ["name", "displayName"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"name" : "tech_tycoons_32898", "displayName" : "tech_tycoons_32898"} | json_instruct | {"type": "object", "properties": {"name": {"type": "string"}, "displayName": {"type": "string"}}, "required": ["name", "displayName"], "$schema": "http://json-schema.org/draft-07/schema#"} |
Using the following JSON schema, generate a compatible JSON instance:
{"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [[2002, 6], [2003, 8], [2004, 5], [2005, 5], [2006, 5], [2007, 17], [2008, 7], [2009, 7], [2010, 9], [2011, 8], [2012, 6], [2013, 6], [2014, 7]] | json_instruct | {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Generate sample JSON data that conforms to the following schema definition:
{"type": "array", "items": {"type": "object", "properties": {"class_name": {"type": "string"}, "bbox": {"type": "string"}, "used": {"type": "boolean"}}, "required": ["class_name", "bbox", "used"]}, "$schema": "http://json-schema.org/draft-07/schema#"}
| [{"class_name" : "artifact", "bbox" : "444 323 498 395", "used" : false}, {"class_name" : "saturation", "bbox" : "418 401 506 500", "used" : true}, {"class_name" : "contrast", "bbox" : "64 66 343 434", "used" : true}] | json_instruct | {"type": "array", "items": {"type": "object", "properties": {"class_name": {"type": "string"}, "bbox": {"type": "string"}, "used": {"type": "boolean"}}, "required": ["class_name", "bbox", "used"]}, "$schema": "http://json-schema.org/draft-07/schema#"} |
Create a JSON structure that matches this schema definition:
{"type": "object", "properties": {"publisher_name": {"type": "string"}, "journals": {"type": "integer"}, "scihub": {"type": "integer"}, "crossref_open_access": {"type": "integer"}, "crossref_active": {"type": "integer"}, "crossref": {"type": "integer"}, "coverage": {"type": "number"}, "publisher_slug": {"type": "string"}, "access_logs": {"type": "object", "properties": {"downloads": {"type": "number"}, "visitors": {"type": "number"}, "countries": {"type": "number"}, "days": {"type": "number"}, "months": {"type": "number"}, "n_articles_requested": {"type": "integer"}, "n_articles": {"type": "integer"}}, "required": ["downloads", "visitors", "countries", "days", "months", "n_articles_requested", "n_articles"]}}, "required": ["publisher_name", "journals", "scihub", "crossref_open_access", "crossref_active", "crossref", "coverage", "publisher_slug", "access_logs"], "$schema": "http://json-schema.org/draft-07/schema#"}
| {"publisher_name" : "National Association of Social Workers Press", "journals" : 1, "scihub" : 1499, "crossref_open_access" : 0, "crossref_active" : 2197, "crossref" : 2197, "coverage" : 0.68229404, "publisher_slug" : "national-association-of-social-workers-press", "access_logs" : {"downloads" : 0.4127, "visitors" : 0.39683, "countries" : 0.30952, "days" : 0.30159, "months" : 0.2619, "n_articles_requested" : 26, "n_articles" : 126}} | json_instruct | {"type": "object", "properties": {"publisher_name": {"type": "string"}, "journals": {"type": "integer"}, "scihub": {"type": "integer"}, "crossref_open_access": {"type": "integer"}, "crossref_active": {"type": "integer"}, "crossref": {"type": "integer"}, "coverage": {"type": "number"}, "publisher_slug": {"type": "string"}, "access_logs": {"type": "object", "properties": {"downloads": {"type": "number"}, "visitors": {"type": "number"}, "countries": {"type": "number"}, "days": {"type": "number"}, "months": {"type": "number"}, "n_articles_requested": {"type": "integer"}, "n_articles": {"type": "integer"}}, "required": ["downloads", "visitors", "countries", "days", "months", "n_articles_requested", "n_articles"]}}, "required": ["publisher_name", "journals", "scihub", "crossref_open_access", "crossref_active", "crossref", "coverage", "publisher_slug", "access_logs"], "$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" : "mythic:block/amethyst_endore"} | json_instruct | {"type": "object", "properties": {"parent": {"type": "string"}}, "required": ["parent"], "$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.