Dataset Viewer
Auto-converted to Parquet
id
stringlengths
14
16
conversations
listlengths
3
3
schema
stringlengths
68
3.98M
task
stringlengths
134
732
category
stringlengths
2
130
source
stringclasses
1 value
schema_store_1
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"https://files.configu.com/schema/.cfgu.json\",\"$comment\":\"https://jsonschema.dev/s/sZY8z\",\"title\":\"JSON Schema for Configu .cfgu files\",\"description\":\"https://docs.configu.com/interfaces/.cfgu\",\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"$schema\":{\"type\":\"string\",\"minLength\":1,\"description\":\"Url to JSON Schema\"},\"keys\":{\"type\":\"object\",\"required\":[],\"minProperties\":1,\"additionalProperties\":{\"type\":[\"object\",\"null\"],\"required\":[],\"additionalProperties\":false,\"nullable\":true,\"properties\":{\"description\":{\"type\":\"string\",\"minLength\":1},\"label\":{\"type\":[\"string\",\"array\"],\"oneOf\":[{\"type\":\"string\",\"minLength\":1},{\"type\":\"array\",\"minItems\":1,\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"minLength\":1}}]},\"hidden\":{\"type\":\"boolean\"},\"lazy\":{\"type\":\"boolean\"},\"const\":{\"type\":\"string\",\"minLength\":1},\"default\":{\"type\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"],\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"},{\"type\":\"boolean\"},{\"type\":\"object\"},{\"type\":\"array\"}]},\"required\":{\"type\":\"boolean\"},\"pattern\":{\"type\":\"string\",\"minLength\":1},\"enum\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":[\"string\",\"number\",\"boolean\",\"object\",\"array\"],\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"},{\"type\":\"boolean\"},{\"type\":\"object\"},{\"type\":\"array\"}]}},\"schema\":{\"type\":\"object\",\"minProperties\":1},\"test\":{\"type\":[\"string\",\"array\"],\"oneOf\":[{\"type\":\"string\",\"minLength\":1},{\"type\":\"array\",\"minItems\":1,\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"minLength\":1}}]}},\"allOf\":[{\"if\":{\"required\":[\"lazy\"]},\"then\":{\"properties\":{\"const\":false,\"default\":false}}},{\"if\":{\"required\":[\"const\"]},\"then\":{\"properties\":{\"lazy\":false,\"default\":false}}},{\"if\":{\"required\":[\"default\"]},\"then\":{\"properties\":{\"lazy\":false,\"const\":false,\"required\":false}}},{\"if\":{\"required\":[\"required\"]},\"then\":{\"properties\":{\"const\":false,\"default\":false}}}]}}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"JSON Schema for Configu .cfgu files\". Here are the required top‑level fields: none (all optional). Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://files.configu.com/schema/.cfgu.json","$comment":"https://jsonschema.dev/s/sZY8z","title":"JSON Schema for Configu .cfgu files","description":"https://docs.configu.com/interfaces/.cfgu","type":"object","required":[],"additionalProperties":false,"properties":{"$schema":{"type":"string","minLength":1,"description":"Url to JSON Schema"},"keys":{"type":"object","required":[],"minProperties":1,"additionalProperties":{"type":["object","null"],"required":[],"additionalProperties":false,"nullable":true,"properties":{"description":{"type":"string","minLength":1},"label":{"type":["string","array"],"oneOf":[{"type":"string","minLength":1},{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","minLength":1}}]},"hidden":{"type":"boolean"},"lazy":{"type":"boolean"},"const":{"type":"string","minLength":1},"default":{"type":["string","number","boolean","object","array"],"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array"}]},"required":{"type":"boolean"},"pattern":{"type":"string","minLength":1},"enum":{"type":"array","uniqueItems":true,"items":{"type":["string","number","boolean","object","array"],"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array"}]}},"schema":{"type":"object","minProperties":1},"test":{"type":["string","array"],"oneOf":[{"type":"string","minLength":1},{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","minLength":1}}]}},"allOf":[{"if":{"required":["lazy"]},"then":{"properties":{"const":false,"default":false}}},{"if":{"required":["const"]},"then":{"properties":{"lazy":false,"default":false}}},{"if":{"required":["default"]},"then":{"properties":{"lazy":false,"const":false,"required":false}}},{"if":{"required":["required"]},"then":{"properties":{"const":false,"default":false}}}]}}}}
Provide a JSON object that satisfies the schema "JSON Schema for Configu .cfgu files". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.
JSON Schema for Configu .cfgu files
schema-store
schema_store_2
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"https://files.configu.com/schema/.configu.json\",\"$comment\":\"https://jsonschema.dev/s/3pOmT\",\"title\":\"JSON Schema for Configu .configu file\",\"description\":\"https://docs.configu.com/interfaces/.configu\",\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"$schema\":{\"type\":\"string\",\"minLength\":1,\"description\":\"Url to JSON Schema\"},\"interface\":{\"description\":\"Global configuration for a Configu interface.\",\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"debug\":{\"description\":\"Enables or disables debug mode.\",\"type\":\"boolean\"},\"proxy\":{\"description\":\"Configuration for the Configu proxy server.\",\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"host\":{\"description\":\"The host address of the proxy server.\",\"type\":\"string\"},\"domain\":{\"description\":\"The domain of the proxy server.\",\"type\":\"string\"},\"tls\":{\"type\":\"object\",\"required\":[\"enabled\",\"cert\",\"key\"],\"additionalProperties\":false,\"properties\":{\"enabled\":{\"description\":\"Enables or disables transport layer security (TLS).\",\"type\":\"boolean\",\"default\":false},\"cert\":{\"description\":\"The (absolute) file path of the certificate to use for the TLS connection.\",\"type\":\"string\"},\"key\":{\"description\":\"The (absolute) file path of the TLS key that should be used for the TLS connection.\",\"type\":\"string\"}}},\"auth\":{\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"bearer\":{\"description\":\"Enables or disables preshared key authentication.\",\"type\":\"object\",\"required\":[\"keys\"],\"additionalProperties\":false,\"properties\":{\"keys\":{\"description\":\"List of preshared keys that are allowed to access the server.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1}}}}},\"http\":{\"type\":\"object\",\"required\":[],\"additionalProperties\":false,\"properties\":{\"enabled\":{\"description\":\"Enables or disables the HTTP server.\",\"type\":\"boolean\"},\"port\":{\"description\":\"The host port to serve the HTTP server on.\",\"type\":\"number\"}}}}}}},\"stores\":{\"type\":\"object\",\"required\":[],\"additionalProperties\":{\"type\":\"object\",\"required\":[\"type\"],\"additionalProperties\":false,\"properties\":{\"type\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"configuration\":{\"type\":\"object\"},\"backup\":{\"type\":\"boolean\"},\"default\":{\"type\":\"boolean\"}}}},\"backup\":{\"type\":\"string\",\"minLength\":1},\"schemas\":{\"type\":\"object\",\"required\":[],\"additionalProperties\":{\"type\":\"string\"}},\"register\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"minLength\":1}},\"scripts\":{\"type\":\"object\",\"required\":[],\"additionalProperties\":{\"type\":\"string\"}}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"JSON Schema for Configu .configu file\". Here are the required top‑level fields: none (all optional). Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://files.configu.com/schema/.configu.json","$comment":"https://jsonschema.dev/s/3pOmT","title":"JSON Schema for Configu .configu file","description":"https://docs.configu.com/interfaces/.configu","type":"object","required":[],"additionalProperties":false,"properties":{"$schema":{"type":"string","minLength":1,"description":"Url to JSON Schema"},"interface":{"description":"Global configuration for a Configu interface.","type":"object","required":[],"additionalProperties":false,"properties":{"debug":{"description":"Enables or disables debug mode.","type":"boolean"},"proxy":{"description":"Configuration for the Configu proxy server.","type":"object","required":[],"additionalProperties":false,"properties":{"host":{"description":"The host address of the proxy server.","type":"string"},"domain":{"description":"The domain of the proxy server.","type":"string"},"tls":{"type":"object","required":["enabled","cert","key"],"additionalProperties":false,"properties":{"enabled":{"description":"Enables or disables transport layer security (TLS).","type":"boolean","default":false},"cert":{"description":"The (absolute) file path of the certificate to use for the TLS connection.","type":"string"},"key":{"description":"The (absolute) file path of the TLS key that should be used for the TLS connection.","type":"string"}}},"auth":{"type":"object","required":[],"additionalProperties":false,"properties":{"bearer":{"description":"Enables or disables preshared key authentication.","type":"object","required":["keys"],"additionalProperties":false,"properties":{"keys":{"description":"List of preshared keys that are allowed to access the server.","type":"array","items":{"type":"string"},"minItems":1}}}}},"http":{"type":"object","required":[],"additionalProperties":false,"properties":{"enabled":{"description":"Enables or disables the HTTP server.","type":"boolean"},"port":{"description":"The host port to serve the HTTP server on.","type":"number"}}}}}}},"stores":{"type":"object","required":[],"additionalProperties":{"type":"object","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string"},"version":{"type":"string"},"configuration":{"type":"object"},"backup":{"type":"boolean"},"default":{"type":"boolean"}}}},"backup":{"type":"string","minLength":1},"schemas":{"type":"object","required":[],"additionalProperties":{"type":"string"}},"register":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1}},"scripts":{"type":"object","required":[],"additionalProperties":{"type":"string"}}}}
Provide a JSON object that satisfies the schema "JSON Schema for Configu .configu file". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.
JSON Schema for Configu .configu file
schema-store
schema_store_3
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"https://meta.json-schema.tools/\",\"$id\":\"https://meta.open-rpc.org/\",\"title\":\"openrpcDocument\",\"type\":\"object\",\"required\":[\"info\",\"methods\",\"openrpc\"],\"additionalProperties\":false,\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}},\"properties\":{\"openrpc\":{\"title\":\"openrpc\",\"type\":\"string\",\"enum\":[\"1.3.2\",\"1.3.1\",\"1.3.0\",\"1.2.6\",\"1.2.5\",\"1.2.4\",\"1.2.3\",\"1.2.2\",\"1.2.1\",\"1.2.0\",\"1.1.12\",\"1.1.11\",\"1.1.10\",\"1.1.9\",\"1.1.8\",\"1.1.7\",\"1.1.6\",\"1.1.5\",\"1.1.4\",\"1.1.3\",\"1.1.2\",\"1.1.1\",\"1.1.0\",\"1.0.0\",\"1.0.0-rc1\",\"1.0.0-rc0\"]},\"info\":{\"$ref\":\"#/definitions/infoObject\"},\"externalDocs\":{\"$ref\":\"#/definitions/externalDocumentationObject\"},\"servers\":{\"title\":\"servers\",\"type\":\"array\",\"additionalItems\":false,\"items\":{\"$ref\":\"#/definitions/serverObject\"}},\"methods\":{\"title\":\"methods\",\"type\":\"array\",\"additionalItems\":false,\"items\":{\"title\":\"methodOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/methodObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"components\":{\"title\":\"components\",\"type\":\"object\",\"properties\":{\"schemas\":{\"title\":\"schemaComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/JSONSchema\"}}},\"links\":{\"title\":\"linkComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/linkObject\"}}},\"errors\":{\"title\":\"errorComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/errorObject\"}}},\"examples\":{\"title\":\"exampleComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/exampleObject\"}}},\"examplePairings\":{\"title\":\"examplePairingComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/examplePairingObject\"}}},\"contentDescriptors\":{\"title\":\"contentDescriptorComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/contentDescriptorObject\"}}},\"tags\":{\"title\":\"tagComponents\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"$ref\":\"#/definitions/tagObject\"}}}}},\"$schema\":{\"title\":\"metaSchema\",\"description\":\"JSON Schema URI (used by some editors)\",\"type\":\"string\",\"default\":\"https://meta.open-rpc.org/\"}},\"definitions\":{\"specificationExtension\":{\"title\":\"specificationExtension\"},\"JSONSchema\":{\"$ref\":\"https://meta.json-schema.tools\"},\"referenceObject\":{\"title\":\"referenceObject\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"$ref\"],\"properties\":{\"$ref\":{\"$ref\":\"https://meta.json-schema.tools/#/definitions/JSONSchemaObject/properties/$ref\"}}},\"errorObject\":{\"title\":\"errorObject\",\"type\":\"object\",\"description\":\"Defines an application level error.\",\"additionalProperties\":false,\"required\":[\"code\",\"message\"],\"properties\":{\"code\":{\"title\":\"errorObjectCode\",\"description\":\"A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.\",\"type\":\"integer\"},\"message\":{\"title\":\"errorObjectMessage\",\"description\":\"A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.\",\"type\":\"string\"},\"data\":{\"title\":\"errorObjectData\",\"description\":\"A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).\"}}},\"licenseObject\":{\"title\":\"licenseObject\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"name\":{\"title\":\"licenseObjectName\",\"type\":\"string\"},\"url\":{\"title\":\"licenseObjectUrl\",\"type\":\"string\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"contactObject\":{\"title\":\"contactObject\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"name\":{\"title\":\"contactObjectName\",\"type\":\"string\"},\"email\":{\"title\":\"contactObjectEmail\",\"type\":\"string\"},\"url\":{\"title\":\"contactObjectUrl\",\"type\":\"string\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"infoObject\":{\"title\":\"infoObject\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"title\",\"version\"],\"properties\":{\"title\":{\"title\":\"infoObjectProperties\",\"type\":\"string\"},\"description\":{\"title\":\"infoObjectDescription\",\"type\":\"string\"},\"termsOfService\":{\"title\":\"infoObjectTermsOfService\",\"type\":\"string\",\"format\":\"uri\"},\"version\":{\"title\":\"infoObjectVersion\",\"type\":\"string\"},\"contact\":{\"$ref\":\"#/definitions/contactObject\"},\"license\":{\"$ref\":\"#/definitions/licenseObject\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"serverObject\":{\"title\":\"serverObject\",\"type\":\"object\",\"required\":[\"url\"],\"additionalProperties\":false,\"properties\":{\"url\":{\"title\":\"serverObjectUrl\",\"type\":\"string\",\"format\":\"uri\"},\"name\":{\"title\":\"serverObjectName\",\"type\":\"string\"},\"description\":{\"title\":\"serverObjectDescription\",\"type\":\"string\"},\"summary\":{\"title\":\"serverObjectSummary\",\"type\":\"string\"},\"variables\":{\"title\":\"serverObjectVariables\",\"type\":\"object\",\"patternProperties\":{\"[0-z]+\":{\"title\":\"serverObjectVariable\",\"type\":\"object\",\"required\":[\"default\"],\"properties\":{\"default\":{\"title\":\"serverObjectVariableDefault\",\"type\":\"string\"},\"description\":{\"title\":\"serverObjectVariableDescription\",\"type\":\"string\"},\"enum\":{\"title\":\"serverObjectVariableEnum\",\"type\":\"array\",\"items\":{\"title\":\"serverObjectVariableEnumItem\",\"type\":\"string\"}}}}}}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"linkObject\":{\"title\":\"linkObject\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"name\":{\"title\":\"linkObjectName\",\"type\":\"string\",\"minLength\":1},\"summary\":{\"title\":\"linkObjectSummary\",\"type\":\"string\"},\"method\":{\"title\":\"linkObjectMethod\",\"type\":\"string\"},\"description\":{\"title\":\"linkObjectDescription\",\"type\":\"string\"},\"params\":{\"title\":\"linkObjectParams\"},\"server\":{\"title\":\"linkObjectServer\",\"$ref\":\"#/definitions/serverObject\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"externalDocumentationObject\":{\"title\":\"externalDocumentationObject\",\"type\":\"object\",\"additionalProperties\":false,\"description\":\"information about external documentation\",\"required\":[\"url\"],\"properties\":{\"description\":{\"title\":\"externalDocumentationObjectDescription\",\"type\":\"string\"},\"url\":{\"title\":\"externalDocumentationObjectUrl\",\"type\":\"string\",\"format\":\"uri\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"methodObject\":{\"title\":\"methodObject\",\"type\":\"object\",\"required\":[\"name\",\"params\"],\"additionalProperties\":false,\"properties\":{\"name\":{\"title\":\"methodObjectName\",\"description\":\"The cannonical name for the method. The name MUST be unique within the methods array.\",\"type\":\"string\",\"minLength\":1},\"description\":{\"title\":\"methodObjectDescription\",\"description\":\"A verbose explanation of the method behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.\",\"type\":\"string\"},\"summary\":{\"title\":\"methodObjectSummary\",\"description\":\"A short summary of what the method does.\",\"type\":\"string\"},\"servers\":{\"title\":\"servers\",\"type\":\"array\",\"additionalItems\":false,\"items\":{\"$ref\":\"#/definitions/serverObject\"}},\"tags\":{\"title\":\"methodObjectTags\",\"type\":\"array\",\"items\":{\"title\":\"tagOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/tagObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"paramStructure\":{\"title\":\"methodObjectParamStructure\",\"type\":\"string\",\"description\":\"Format the server expects the params. Defaults to 'either'.\",\"enum\":[\"by-position\",\"by-name\",\"either\"],\"default\":\"either\"},\"params\":{\"title\":\"methodObjectParams\",\"type\":\"array\",\"items\":{\"title\":\"contentDescriptorOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/contentDescriptorObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"result\":{\"title\":\"methodObjectResult\",\"oneOf\":[{\"$ref\":\"#/definitions/contentDescriptorObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]},\"errors\":{\"title\":\"methodObjectErrors\",\"description\":\"Defines an application level error.\",\"type\":\"array\",\"items\":{\"title\":\"errorOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/errorObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"links\":{\"title\":\"methodObjectLinks\",\"type\":\"array\",\"items\":{\"title\":\"linkOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/linkObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"examples\":{\"title\":\"methodObjectExamples\",\"type\":\"array\",\"items\":{\"title\":\"examplePairingOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/examplePairingObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"deprecated\":{\"title\":\"methodObjectDeprecated\",\"type\":\"boolean\",\"default\":false},\"externalDocs\":{\"$ref\":\"#/definitions/externalDocumentationObject\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"tagObject\":{\"title\":\"tagObject\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"name\"],\"properties\":{\"name\":{\"title\":\"tagObjectName\",\"type\":\"string\",\"minLength\":1},\"description\":{\"title\":\"tagObjectDescription\",\"type\":\"string\"},\"externalDocs\":{\"$ref\":\"#/definitions/externalDocumentationObject\"}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"exampleObject\":{\"title\":\"exampleObject\",\"type\":\"object\",\"required\":[\"name\",\"value\"],\"properties\":{\"summary\":{\"title\":\"exampleObjectSummary\",\"type\":\"string\"},\"value\":{\"title\":\"exampleObjectValue\"},\"description\":{\"title\":\"exampleObjectDescription\",\"type\":\"string\"},\"name\":{\"title\":\"exampleObjectName\",\"type\":\"string\",\"minLength\":1}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}},\"examplePairingObject\":{\"title\":\"examplePairingObject\",\"type\":\"object\",\"required\":[\"name\",\"params\"],\"properties\":{\"name\":{\"title\":\"examplePairingObjectName\",\"type\":\"string\",\"minLength\":1},\"description\":{\"title\":\"examplePairingObjectDescription\",\"type\":\"string\"},\"params\":{\"title\":\"examplePairingObjectParams\",\"type\":\"array\",\"items\":{\"title\":\"exampleOrReference\",\"oneOf\":[{\"$ref\":\"#/definitions/exampleObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}},\"result\":{\"title\":\"examplePairingObjectResult\",\"oneOf\":[{\"$ref\":\"#/definitions/exampleObject\"},{\"$ref\":\"#/definitions/referenceObject\"}]}}},\"contentDescriptorObject\":{\"title\":\"contentDescriptorObject\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"name\",\"schema\"],\"properties\":{\"name\":{\"title\":\"contentDescriptorObjectName\",\"type\":\"string\",\"minLength\":1},\"description\":{\"title\":\"contentDescriptorObjectDescription\",\"type\":\"string\"},\"summary\":{\"title\":\"contentDescriptorObjectSummary\",\"type\":\"string\"},\"schema\":{\"$ref\":\"#/definitions/JSONSchema\"},\"required\":{\"title\":\"contentDescriptorObjectRequired\",\"type\":\"boolean\",\"default\":false},\"deprecated\":{\"title\":\"contentDescriptorObjectDeprecated\",\"type\":\"boolean\",\"default\":false}},\"patternProperties\":{\"^x-\":{\"$ref\":\"#/definitions/specificationExtension\"}}}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"openrpcDocument\". Here are the required top‑level fields: info, methods, openrpc. Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"https://meta.json-schema.tools/","$id":"https://meta.open-rpc.org/","title":"openrpcDocument","type":"object","required":["info","methods","openrpc"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}},"properties":{"openrpc":{"title":"openrpc","type":"string","enum":["1.3.2","1.3.1","1.3.0","1.2.6","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.12","1.1.11","1.1.10","1.1.9","1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.0","1.0.0-rc1","1.0.0-rc0"]},"info":{"$ref":"#/definitions/infoObject"},"externalDocs":{"$ref":"#/definitions/externalDocumentationObject"},"servers":{"title":"servers","type":"array","additionalItems":false,"items":{"$ref":"#/definitions/serverObject"}},"methods":{"title":"methods","type":"array","additionalItems":false,"items":{"title":"methodOrReference","oneOf":[{"$ref":"#/definitions/methodObject"},{"$ref":"#/definitions/referenceObject"}]}},"components":{"title":"components","type":"object","properties":{"schemas":{"title":"schemaComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/JSONSchema"}}},"links":{"title":"linkComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/linkObject"}}},"errors":{"title":"errorComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/errorObject"}}},"examples":{"title":"exampleComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/exampleObject"}}},"examplePairings":{"title":"examplePairingComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/examplePairingObject"}}},"contentDescriptors":{"title":"contentDescriptorComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/contentDescriptorObject"}}},"tags":{"title":"tagComponents","type":"object","patternProperties":{"[0-z]+":{"$ref":"#/definitions/tagObject"}}}}},"$schema":{"title":"metaSchema","description":"JSON Schema URI (used by some editors)","type":"string","default":"https://meta.open-rpc.org/"}},"definitions":{"specificationExtension":{"title":"specificationExtension"},"JSONSchema":{"$ref":"https://meta.json-schema.tools"},"referenceObject":{"title":"referenceObject","type":"object","additionalProperties":false,"required":["$ref"],"properties":{"$ref":{"$ref":"https://meta.json-schema.tools/#/definitions/JSONSchemaObject/properties/$ref"}}},"errorObject":{"title":"errorObject","type":"object","description":"Defines an application level error.","additionalProperties":false,"required":["code","message"],"properties":{"code":{"title":"errorObjectCode","description":"A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.","type":"integer"},"message":{"title":"errorObjectMessage","description":"A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.","type":"string"},"data":{"title":"errorObjectData","description":"A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.)."}}},"licenseObject":{"title":"licenseObject","type":"object","additionalProperties":false,"properties":{"name":{"title":"licenseObjectName","type":"string"},"url":{"title":"licenseObjectUrl","type":"string"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"contactObject":{"title":"contactObject","type":"object","additionalProperties":false,"properties":{"name":{"title":"contactObjectName","type":"string"},"email":{"title":"contactObjectEmail","type":"string"},"url":{"title":"contactObjectUrl","type":"string"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"infoObject":{"title":"infoObject","type":"object","additionalProperties":false,"required":["title","version"],"properties":{"title":{"title":"infoObjectProperties","type":"string"},"description":{"title":"infoObjectDescription","type":"string"},"termsOfService":{"title":"infoObjectTermsOfService","type":"string","format":"uri"},"version":{"title":"infoObjectVersion","type":"string"},"contact":{"$ref":"#/definitions/contactObject"},"license":{"$ref":"#/definitions/licenseObject"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"serverObject":{"title":"serverObject","type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"title":"serverObjectUrl","type":"string","format":"uri"},"name":{"title":"serverObjectName","type":"string"},"description":{"title":"serverObjectDescription","type":"string"},"summary":{"title":"serverObjectSummary","type":"string"},"variables":{"title":"serverObjectVariables","type":"object","patternProperties":{"[0-z]+":{"title":"serverObjectVariable","type":"object","required":["default"],"properties":{"default":{"title":"serverObjectVariableDefault","type":"string"},"description":{"title":"serverObjectVariableDescription","type":"string"},"enum":{"title":"serverObjectVariableEnum","type":"array","items":{"title":"serverObjectVariableEnumItem","type":"string"}}}}}}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"linkObject":{"title":"linkObject","type":"object","additionalProperties":false,"properties":{"name":{"title":"linkObjectName","type":"string","minLength":1},"summary":{"title":"linkObjectSummary","type":"string"},"method":{"title":"linkObjectMethod","type":"string"},"description":{"title":"linkObjectDescription","type":"string"},"params":{"title":"linkObjectParams"},"server":{"title":"linkObjectServer","$ref":"#/definitions/serverObject"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"externalDocumentationObject":{"title":"externalDocumentationObject","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"title":"externalDocumentationObjectDescription","type":"string"},"url":{"title":"externalDocumentationObjectUrl","type":"string","format":"uri"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"methodObject":{"title":"methodObject","type":"object","required":["name","params"],"additionalProperties":false,"properties":{"name":{"title":"methodObjectName","description":"The cannonical name for the method. The name MUST be unique within the methods array.","type":"string","minLength":1},"description":{"title":"methodObjectDescription","description":"A verbose explanation of the method behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.","type":"string"},"summary":{"title":"methodObjectSummary","description":"A short summary of what the method does.","type":"string"},"servers":{"title":"servers","type":"array","additionalItems":false,"items":{"$ref":"#/definitions/serverObject"}},"tags":{"title":"methodObjectTags","type":"array","items":{"title":"tagOrReference","oneOf":[{"$ref":"#/definitions/tagObject"},{"$ref":"#/definitions/referenceObject"}]}},"paramStructure":{"title":"methodObjectParamStructure","type":"string","description":"Format the server expects the params. Defaults to 'either'.","enum":["by-position","by-name","either"],"default":"either"},"params":{"title":"methodObjectParams","type":"array","items":{"title":"contentDescriptorOrReference","oneOf":[{"$ref":"#/definitions/contentDescriptorObject"},{"$ref":"#/definitions/referenceObject"}]}},"result":{"title":"methodObjectResult","oneOf":[{"$ref":"#/definitions/contentDescriptorObject"},{"$ref":"#/definitions/referenceObject"}]},"errors":{"title":"methodObjectErrors","description":"Defines an application level error.","type":"array","items":{"title":"errorOrReference","oneOf":[{"$ref":"#/definitions/errorObject"},{"$ref":"#/definitions/referenceObject"}]}},"links":{"title":"methodObjectLinks","type":"array","items":{"title":"linkOrReference","oneOf":[{"$ref":"#/definitions/linkObject"},{"$ref":"#/definitions/referenceObject"}]}},"examples":{"title":"methodObjectExamples","type":"array","items":{"title":"examplePairingOrReference","oneOf":[{"$ref":"#/definitions/examplePairingObject"},{"$ref":"#/definitions/referenceObject"}]}},"deprecated":{"title":"methodObjectDeprecated","type":"boolean","default":false},"externalDocs":{"$ref":"#/definitions/externalDocumentationObject"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"tagObject":{"title":"tagObject","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"title":"tagObjectName","type":"string","minLength":1},"description":{"title":"tagObjectDescription","type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocumentationObject"}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"exampleObject":{"title":"exampleObject","type":"object","required":["name","value"],"properties":{"summary":{"title":"exampleObjectSummary","type":"string"},"value":{"title":"exampleObjectValue"},"description":{"title":"exampleObjectDescription","type":"string"},"name":{"title":"exampleObjectName","type":"string","minLength":1}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}},"examplePairingObject":{"title":"examplePairingObject","type":"object","required":["name","params"],"properties":{"name":{"title":"examplePairingObjectName","type":"string","minLength":1},"description":{"title":"examplePairingObjectDescription","type":"string"},"params":{"title":"examplePairingObjectParams","type":"array","items":{"title":"exampleOrReference","oneOf":[{"$ref":"#/definitions/exampleObject"},{"$ref":"#/definitions/referenceObject"}]}},"result":{"title":"examplePairingObjectResult","oneOf":[{"$ref":"#/definitions/exampleObject"},{"$ref":"#/definitions/referenceObject"}]}}},"contentDescriptorObject":{"title":"contentDescriptorObject","type":"object","additionalProperties":false,"required":["name","schema"],"properties":{"name":{"title":"contentDescriptorObjectName","type":"string","minLength":1},"description":{"title":"contentDescriptorObjectDescription","type":"string"},"summary":{"title":"contentDescriptorObjectSummary","type":"string"},"schema":{"$ref":"#/definitions/JSONSchema"},"required":{"title":"contentDescriptorObjectRequired","type":"boolean","default":false},"deprecated":{"title":"contentDescriptorObjectDeprecated","type":"boolean","default":false}},"patternProperties":{"^x-":{"$ref":"#/definitions/specificationExtension"}}}}}
Provide a JSON object that satisfies the schema "openrpcDocument". Here are the required top‑level fields: info, methods, openrpc. Return only the valid JSON object.
openrpcDocument
schema-store
schema_store_4
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"https://json-schema.org/draft-04/schema#\",\"title\":\"Sapphire CLI Config\",\"description\":\"Scheme for Sapphire CLI Config (@sapphire/cli)\",\"type\":\"object\",\"properties\":{\"projectLanguage\":{\"description\":\"Project language (ts | js)\",\"type\":\"string\",\"enum\":[\"ts\",\"js\"]},\"locations\":{\"description\":\"Categories and their locations\",\"type\":\"object\",\"properties\":{\"base\":{\"type\":\"string\"},\"arguments\":{\"type\":\"string\"},\"commands\":{\"type\":\"string\"},\"listeners\":{\"type\":\"string\"},\"preconditions\":{\"type\":\"string\"},\"interaction-handlers\":{\"type\":\"string\"},\"routes\":{\"type\":\"string\"}},\"required\":[\"base\",\"arguments\",\"commands\",\"listeners\",\"preconditions\",\"interaction-handlers\"]},\"customFileTemplates\":{\"description\":\"Settings about custom component (piece) templates\",\"type\":\"object\",\"properties\":{\"enabled\":{\"description\":\"Enable custom file templates\",\"type\":\"boolean\"},\"location\":{\"description\":\"Location of your custom file templates\",\"type\":\"string\"}},\"required\":[\"enabled\",\"location\"]}},\"required\":[\"projectLanguage\",\"locations\",\"customFileTemplates\"]}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"Sapphire CLI Config\". Here are the required top‑level fields: projectLanguage, locations, customFileTemplates. Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"https://json-schema.org/draft-04/schema#","title":"Sapphire CLI Config","description":"Scheme for Sapphire CLI Config (@sapphire/cli)","type":"object","properties":{"projectLanguage":{"description":"Project language (ts | js)","type":"string","enum":["ts","js"]},"locations":{"description":"Categories and their locations","type":"object","properties":{"base":{"type":"string"},"arguments":{"type":"string"},"commands":{"type":"string"},"listeners":{"type":"string"},"preconditions":{"type":"string"},"interaction-handlers":{"type":"string"},"routes":{"type":"string"}},"required":["base","arguments","commands","listeners","preconditions","interaction-handlers"]},"customFileTemplates":{"description":"Settings about custom component (piece) templates","type":"object","properties":{"enabled":{"description":"Enable custom file templates","type":"boolean"},"location":{"description":"Location of your custom file templates","type":"string"}},"required":["enabled","location"]}},"required":["projectLanguage","locations","customFileTemplates"]}
Provide a JSON object that satisfies the schema "Sapphire CLI Config". Here are the required top‑level fields: projectLanguage, locations, customFileTemplates. Return only the valid JSON object.
Sapphire CLI Config
schema-store
schema_store_5
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"http://json-schema.org/draft-07/schema\",\"description\":\"Freifunk Community API 0.5.2\",\"type\":\"object\",\"definitions\":{\"city\":{\"type\":\"string\",\"title\":\"City\",\"description\":\"Name of the city\"},\"country\":{\"type\":\"string\",\"title\":\"Country\",\"description\":\"Your country, list has been taken from http://countrylist.net/de/\",\"enum\":[\"\",\"AF\",\"AX\",\"AL\",\"DZ\",\"AS\",\"AD\",\"AO\",\"AI\",\"AQ\",\"AG\",\"AR\",\"AM\",\"AW\",\"AC\",\"AU\",\"AT\",\"AZ\",\"BS\",\"BH\",\"BD\",\"BB\",\"BY\",\"BE\",\"BZ\",\"BJ\",\"BM\",\"BT\",\"BO\",\"BA\",\"BW\",\"BV\",\"BR\",\"IO\",\"BN\",\"BG\",\"BF\",\"BI\",\"KH\",\"CM\",\"CA\",\"IC\",\"CV\",\"KY\",\"CF\",\"TD\",\"CL\",\"CN\",\"CX\",\"CC\",\"CO\",\"KM\",\"CG\",\"CD\",\"CK\",\"CR\",\"CI\",\"HR\",\"CU\",\"CY\",\"CZ\",\"DK\",\"DG\",\"DJ\",\"DM\",\"DO\",\"EC\",\"EG\",\"SV\",\"GQ\",\"ER\",\"EE\",\"ET\",\"EU\",\"FK\",\"FO\",\"FJ\",\"FI\",\"FR\",\"GF\",\"PF\",\"TF\",\"GA\",\"GM\",\"GE\",\"DE\",\"GH\",\"GI\",\"GR\",\"GL\",\"GD\",\"GP\",\"GU\",\"GT\",\"GG\",\"GN\",\"GW\",\"GY\",\"HT\",\"HM\",\"VA\",\"HN\",\"HK\",\"HU\",\"IS\",\"IN\",\"ID\",\"IR\",\"IQ\",\"IE\",\"IM\",\"IL\",\"IT\",\"JM\",\"JP\",\"JE\",\"JO\",\"KZ\",\"KE\",\"KI\",\"KP\",\"KR\",\"KW\",\"KG\",\"LA\",\"LV\",\"LB\",\"LS\",\"LR\",\"LY\",\"LI\",\"LT\",\"LU\",\"MO\",\"MK\",\"MG\",\"MW\",\"MY\",\"MV\",\"ML\",\"MT\",\"MH\",\"MQ\",\"MR\",\"MU\",\"YT\",\"MX\",\"FM\",\"MD\",\"MC\",\"MN\",\"ME\",\"MS\",\"MA\",\"MZ\",\"MM\",\"NA\",\"NR\",\"NP\",\"NL\",\"AN\",\"NC\",\"NZ\",\"NI\",\"NE\",\"NG\",\"NU\",\"NF\",\"MP\",\"NO\",\"OM\",\"PK\",\"PW\",\"PS\",\"PA\",\"PG\",\"PY\",\"PE\",\"PH\",\"PN\",\"PL\",\"PT\",\"PR\",\"QA\",\"RE\",\"RO\",\"RU\",\"RW\",\"SH\",\"KN\",\"LC\",\"PM\",\"VC\",\"WS\",\"SM\",\"ST\",\"SA\",\"NT\",\"SN\",\"CS\",\"SC\",\"SL\",\"SG\",\"SK\",\"SI\",\"SB\",\"SO\",\"ZA\",\"GS\",\"SU\",\"ES\",\"LK\",\"SD\",\"SR\",\"SJ\",\"SZ\",\"SE\",\"CH\",\"SY\",\"TW\",\"TJ\",\"TZ\",\"TH\",\"TL\",\"TG\",\"TK\",\"TO\",\"TT\",\"TA\",\"TN\",\"TR\",\"TM\",\"TC\",\"TV\",\"UG\",\"UA\",\"AE\",\"GB\",\"US\",\"UY\",\"UZ\",\"VU\",\"VE\",\"VN\",\"VG\",\"VI\",\"WF\",\"EH\",\"YE\",\"ZM\",\"ZW\"]},\"address\":{\"type\":\"object\",\"description\":\"The address of the place you meet\",\"properties\":{\"name\":{\"type\":\"string\",\"title\":\"Name of your place\",\"description\":\"The name of the place you meet\"},\"street\":{\"type\":\"string\",\"title\":\"Street\",\"description\":\"The street address of your meeting place\"},\"zipcode\":{\"type\":\"string\",\"title\":\"ZIP\",\"description\":\"The zip code of your meeting place\"}},\"additionalProperties\":false},\"geoCode\":{\"type\":\"object\",\"properties\":{\"lat\":{\"type\":\"number\",\"title\":\"Latitude\",\"description\":\"Lattitude of your city in decimal degrees\"},\"lon\":{\"type\":\"number\",\"title\":\"Longitude\",\"description\":\"Longitude of your city in decimal degrees\"}},\"required\":[\"lat\",\"lon\"],\"additionalProperties\":false},\"email\":{\"type\":\"string\",\"title\":\"Email\",\"format\":\"email\",\"pattern\":\"^[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+@[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+\\\\.[A-Za-z]{2,}$\"},\"url\":{\"type\":\"string\",\"pattern\":\"^(http|https)://[A-Za-z0-9\\u00c4\\u00d6\\u00dc\\u00e4\\u00f6\\u00fc\\u00df\\\\-_\\\\./]+\"},\"phone\":{\"type\":\"string\",\"title\":\"Phone\"}},\"properties\":{\"api\":{\"type\":\"string\",\"title\":\"API\",\"description\":\"The Freifunk Community API version you use\",\"enum\":[\"0.1\",\"0.2.0\",\"0.2.1\",\"0.3.0\",\"0.3.1\",\"0.3.2\",\"0.4.0\",\"0.4.1\",\"0.4.2\",\"0.4.3\",\"0.4.4\",\"0.4.5\",\"0.4.6\",\"0.4.7\",\"0.4.8\",\"0.4.9\",\"0.4.10\",\"0.4.11\",\"0.4.12\",\"0.4.13\",\"0.4.14\",\"0.4.15\",\"0.4.16\",\"0.5.0\",\"0.5.1\",\"0.5.2\"],\"default\":\"0.5.2\"},\"name\":{\"type\":\"string\",\"title\":\"Name\",\"description\":\"The name of your community\"},\"metacommunity\":{\"type\":\"string\",\"title\":\"Metacommunity\",\"description\":\"The name of your metacommunity, if your local community belongs to a bigger one\"},\"location\":{\"title\":\"Primary Location\",\"type\":\"object\",\"description\":\"Position data such as a postal address or geographic coordinates\",\"properties\":{\"city\":{\"$ref\":\"#/definitions/city\"},\"country\":{\"$ref\":\"#/definitions/country\"},\"address\":{\"$ref\":\"#/definitions/address\"},\"geoCode\":{\"$ref\":\"#/definitions/geoCode\"},\"additionalLocations\":{\"type\":\"array\",\"title\":\"Additional Locations\",\"description\":\"Add some more locations where your community is active.\",\"items\":{\"title\":\"Location\",\"type\":\"object\",\"properties\":{\"city\":{\"$ref\":\"#/definitions/city\"},\"country\":{\"$ref\":\"#/definitions/country\"},\"address\":{\"$ref\":\"#/definitions/address\"},\"geoCode\":{\"$ref\":\"#/definitions/geoCode\"}},\"required\":[\"city\",\"geoCode\"],\"additionalProperties\":false}}},\"required\":[\"city\",\"geoCode\"],\"additionalProperties\":false},\"contact\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"email\":{\"$ref\":\"#/definitions/email\",\"title\":\"Email\",\"description\":\"Email address to which other people can contact your community ([email protected])\"},\"facebook\":{\"type\":\"string\",\"title\":\"facebook\",\"description\":\"URL to your community's facebook account (https://facebook.com/...)\",\"pattern\":\"^(http|https)://([a-z\\\\-]*\\\\.|)facebook\\\\.com/[A-Za-z0-9\\u00c4\\u00d6\\u00dc\\u00e4\\u00f6\\u00fc\\u00df\\\\-_\\\\.]+\"},\"identica\":{\"type\":\"string\",\"title\":\"identica\",\"description\":\"URL to your community's identica account (https://identi.ca/...)\",\"pattern\":\"^(http|https)://([a-z\\\\-]*\\\\.|)identi\\\\.ca/[A-Za-z0-9\\u00c4\\u00d6\\u00dc\\u00e4\\u00f6\\u00fc\\u00df\\\\-_\\\\.]+\"},\"irc\":{\"type\":\"string\",\"title\":\"IRC\",\"description\":\"Your community's ICR channel; starts with irc://\",\"pattern\":\"^(irc|ircs)://.*\"},\"jabber\":{\"type\":\"string\",\"title\":\"Jabber\",\"description\":\"A jabber account someone reads ([email protected])\",\"pattern\":\"^[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+@[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+\\\\.[A-Za-z]{2,}(\\\\?join){0,1}$\"},\"ml\":{\"type\":\"string\",\"title\":\"Mailinglist\",\"description\":\"The email address ([email protected]) of your mailing list or a link to the mailinglist info page (http{s}://...)\",\"pattern\":\"^([A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+@[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6U\\u00df_\\\\-\\\\.]+\\\\.[A-Za-z]{2,}|(http|https)://[A-Za-z0-9\\u00c4\\u00d6\\u00dc\\u00e4\\u00f6\\u00fc\\u00df\\\\-_\\\\./]+)$\"},\"googleplus\":{\"type\":\"string\",\"title\":\"Google+\",\"description\":\"URL to your community's g+ account (https://plus.google.com/...)\",\"pattern\":\"^(http|https)://plus\\\\.google\\\\.com/[A-Za-z0-9\\u00c4\\u00d6\\u00dc\\u00e4\\u00f6\\u00fc\\u00df\\\\+\\\\-\\\\./_]+\"},\"matrix\":{\"type\":\"string\",\"title\":\"Matrix\",\"description\":\"URL to your community's matrix channel (https://matrix.to/#/!...)\",\"pattern\":\"^https://matrix\\\\.to/#/\"},\"mastodon\":{\"title\":\"Mastodon\",\"$ref\":\"#/definitions/url\",\"description\":\"URL to your community's mastodon profile (https://...)\"},\"twitter\":{\"type\":\"string\",\"title\":\"Twitter\",\"description\":\"Your community's Twitter name (starts with @)\",\"pattern\":\"^@[A-Za-z0-9_\\\\-]{1,15}\"},\"webform\":{\"$ref\":\"#/definitions/url\",\"title\":\"Webform\",\"description\":\"URL to your community's contact form (http{s}://...)\"},\"phone\":{\"$ref\":\"#/definitions/phone\",\"title\":\"Phone\",\"description\":\"If your community has a phone number (e.g. +49 1234 567890 based on the E.123 notation)\"}},\"additionalProperties\":false},\"url\":{\"title\":\"HomePage\",\"$ref\":\"#/definitions/url\",\"description\":\"The main website (http{s}://...)\"},\"timeline\":{\"type\":\"array\",\"description\":\"These are lifetime events something like date of birth (and rebirth :-) of your community or other important milestones\",\"items\":{\"type\":\"object\",\"properties\":{\"description\":{\"type\":\"string\",\"title\":\"Description\",\"description\":\"Description of your lifetime event\"},\"timestamp\":{\"type\":\"string\",\"title\":\"Timestamp\",\"format\":\"date\",\"description\":\"ISO 8601 timestamp of the event's date (format yyyy-mm-dd)\",\"pattern\":\"^([0-9]{4})(?:-?W([0-9]+)(?:-?([0-9]+)D?)?|(?:-([0-9]+))?-([0-9]+))(?:[T ]([0-9]+):([0-9]+)(?::([0-9]+)(?:\\\\.([0-9]+))?)?)?(?:Z(-?[0-9]*))?\"},\"url\":{\"$ref\":\"#/definitions/url\",\"title\":\"URL\",\"description\":\"URL to details of this timeline-element\"}},\"additionalProperties\":false}},\"feeds\":{\"type\":\"array\",\"title\":\"Feeds\",\"description\":\"Feeds you provide your community\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"title\":\"Feed name\",\"description\":\"Name of the feed\"},\"category\":{\"type\":\"string\",\"title\":\"Feed category\",\"description\":\"Category of the feed like blog entries, calendars, forum messages, wiki articles, ...\",\"enum\":[\"blog\",\"forum\",\"ics\",\"podcast\",\"wiki\",\"others\",\"\"],\"default\":\"\"},\"type\":{\"type\":\"string\",\"title\":\"Feed Type\",\"description\":\"Type of the feed like RSS, Atom, XML\"},\"url\":{\"$ref\":\"#/definitions/url\",\"title\":\"URL\",\"description\":\"URL of the feed\"}},\"additionalProperties\":false}},\"state\":{\"type\":\"object\",\"title\":\"States\",\"description\":\"A collection of status-related data. Actual open/closed status, icons, last change timestamp etc.\",\"properties\":{\"nodes\":{\"type\":\"integer\",\"minimum\":0,\"title\":\"Active Nodes\",\"description\":\"Number of active nodes. This field is predestined to be updated regularly, please see sample solutions for <a href=\\\"https://github.com/Freifunk-Mainz/changeffapi\\\" target=\\\"_blank\\\">Gluon</a> or <a href=\\\"https://github.com/freifunk/common.api.freifunk.net/blob/master/contrib/ffapi-update-nodes.py\\\" target=\\\"_blank\\\">OLSR</a>\"},\"lastchange\":{\"type\":\"string\",\"title\":\"Last Change\",\"format\":\"date-time\",\"description\":\"At what ISO 8601 timestamp has your community status lastly changed?\",\"default\":0},\"message\":{\"type\":\"string\",\"title\":\"Message\",\"description\":\"A free-form string something like 'open for public', 'members only' or whatever you want it to be)\"},\"description\":{\"type\":\"string\",\"title\":\"Description\",\"description\":\"Describe your community in a few lines\"},\"focus\":{\"type\":\"array\",\"title\":\"Focus\",\"description\":\"What's the focus of your local community?\",\"items\":{\"type\":\"string\",\"title\":\"option\",\"enum\":[\"infrastructure/backbone\",\"Public Free Wifi\",\"Social Community Building\",\"Local services and content\",\"Free internet access\"]}}},\"required\":[\"lastchange\"],\"additionalProperties\":false},\"nodeMaps\":{\"type\":\"array\",\"title\":\"Nodes\",\"description\":\"Maps of nodes or topology your community provides\",\"items\":{\"type\":\"object\",\"title\":\"node\",\"properties\":{\"url\":{\"$ref\":\"#/definitions/url\",\"title\":\"URL of the map\",\"description\":\"The URL where the map is located\"},\"interval\":{\"type\":\"string\",\"title\":\"interval\",\"description\":\"How often the map will be refreshed\"},\"technicalType\":{\"type\":\"string\",\"title\":\"map techincal type\",\"description\":\"The kind of map is used\",\"enum\":[\"\",\"ffmap\",\"ffsomething\",\"olsr-dot\",\"openwifimap\",\"netmon\",\"libremap\",\"nodewatcher\",\"kml\",\"nodelist\",\"meshviewer\",\"hopglass\"],\"default\":\"\"},\"mapType\":{\"type\":\"string\",\"title\":\"Maptype\",\"description\":\"\",\"enum\":[\"\",\"geographical\",\"structural\",\"list/status\"],\"default\":\"\"}},\"additionalProperties\":false}},\"services\":{\"type\":\"array\",\"title\":\"Services\",\"description\":\"Services Provided by your community\",\"items\":{\"type\":\"object\",\"properties\":{\"serviceName\":{\"type\":\"string\",\"title\":\"Service Name\",\"description\":\"Name of your service (e.g. jabber...)\"},\"serviceDescription\":{\"type\":\"string\",\"title\":\"Service Description\",\"description\":\"Describe your service\"},\"externalUri\":{\"type\":\"string\",\"title\":\"External URI\",\"description\":\"URI to use your service from the internet\"},\"internalUri\":{\"type\":\"string\",\"title\":\"Internal URI\",\"description\":\"URI to use your service from Freifunk or icvpn-networks\"}},\"additionalProperties\":false}},\"support\":{\"type\":\"object\",\"title\":\"Support for your community\",\"properties\":{\"club\":{\"type\":\"object\",\"title\":\"Supporting Club\",\"properties\":{\"name\":{\"type\":\"string\",\"title\":\"Club Name\",\"description\":\"Name of the Club\"},\"street\":{\"type\":\"string\",\"title\":\"Street\",\"description\":\"Address - Street\"},\"zip\":{\"type\":\"string\",\"title\":\"ZIP\",\"description\":\"Address - ZIP\"},\"city\":{\"$ref\":\"#/definitions/city\"},\"url\":{\"$ref\":\"#/definitions/url\",\"title\":\"HomePage\",\"description\":\"The club's website (http{s}://...)\"},\"email\":{\"$ref\":\"#/definitions/email\",\"description\":\"Email address to contact the club ([email protected])\"},\"board\":{\"type\":\"array\",\"title\":\"Board Members\",\"description\":\"Who are the board members of the club?\",\"items\":{\"type\":\"string\",\"title\":\"Name\"}}},\"additionalProperties\":false},\"donations\":{\"type\":\"object\",\"title\":\"Donations\",\"properties\":{\"bankaccount\":{\"type\":\"object\",\"title\":\"Bank Account\",\"properties\":{\"IBAN\":{\"type\":\"string\",\"title\":\"IBAN\"},\"BIC\":{\"type\":\"string\",\"title\":\"BIC\"},\"usage\":{\"type\":\"string\",\"title\":\"Usage of the donations\",\"description\":\"Please use this string as transfer-purpose to define a special usage of your donation.\"}},\"additionalProperties\":false},\"campaigns\":{\"type\":\"array\",\"title\":\"Campaigns\",\"items\":{\"type\":\"object\",\"title\":\"campaign\",\"properties\":{\"provider\":{\"type\":\"string\",\"title\":\"Campaign Providers\",\"description\":\"Where do you host your donations?\",\"enum\":[\"\",\"betterplace\",\"boost\"],\"default\":\"\"},\"projectid\":{\"type\":\"string\",\"title\":\"Project ID\",\"description\":\"ID of your project, Betterplace-IDs are multiple digits and can be found within the URL\"}},\"additionalProperties\":false}}},\"additionalProperties\":false}},\"additionalProperties\":false},\"socialprojects\":{\"type\":\"object\",\"title\":\"\",\"properties\":{\"number\":{\"type\":\"integer\",\"mininum\":0,\"title\":\"Number of Projects\",\"description\":\"Number of projects supported by your Community\"},\"website\":{\"$ref\":\"#/definitions/url\",\"title\":\"URL of your page\",\"description\":\"A link to a web site where people can find an overview over your projects\"},\"contact\":{\"$ref\":\"#/definitions/email\",\"title\":\"Contact Email\",\"description\":\"Please provide an email address to contact you on refugees and social projects\"}},\"additionalProperties\":false},\"privacy\":{\"type\":\"object\",\"title\":\"Privacy Policy\",\"properties\":{\"policyurl\":{\"$ref\":\"#/definitions/url\",\"title\":\"Privacy Policy URL\",\"description\":\"URL to your privacy policy description\"}},\"additionalProperties\":false},\"techDetails\":{\"type\":\"object\",\"description\":\"Technical details of your community's Freifunk implementation\",\"properties\":{\"firmware\":{\"type\":\"object\",\"properties\":{\"url\":{\"$ref\":\"#/definitions/url\",\"title\":\"Firmware download\",\"description\":\"Link to your firmware images\"},\"docs\":{\"$ref\":\"#/definitions/url\",\"title\":\"Firmware Document\",\"description\":\"Link to your firmware docs\"},\"vpnaccess\":{\"type\":\"string\",\"title\":\"VPN Access\",\"description\":\"How to access your VPN services\",\"enum\":[\"\",\"automatic\",\"fwimage\",\"mail\",\"webform\",\"else\"],\"default\":\"\"},\"registrationurl\":{\"$ref\":\"#/definitions/url\",\"title\":\"VPN Registration URL\",\"description\":\"link to your website to request a new VPN key\"},\"orgrestrictions\":{\"type\":\"string\",\"title\":\"Organizational Restrictions\",\"description\":\"Are there any organizational restrictions when using/installing your firmware?\"},\"techrestrictions\":{\"type\":\"string\",\"title\":\"Technical Restriction\",\"description\":\"Are there any technical restrictions like hardware?\"},\"name\":{\"type\":\"string\",\"title\":\"Firmware Name\",\"description\":\"Name of your firmware\"}},\"additionalProperties\":false},\"dns\":{\"type\":\"array\",\"title\":\"DNS Servers\",\"description\":\"DNS servers for domains used by your community\",\"items\":{\"type\":\"object\",\"title\":\"dns\",\"properties\":{\"domainname\":{\"type\":\"string\",\"title\":\"Domain Name\",\"description\":\"The domain name (e.g. ffhh, ffol)\",\"pattern\":\"^[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6\\u00dc\\u00df\\\\.\\\\-\\\\_]{2,}$\"},\"nameserver\":{\"type\":\"array\",\"title\":\"Nameserver\",\"description\":\"Nameservers servings zones of your domain\",\"items\":{\"type\":\"string\",\"pattern\":\"^[A-Za-z0-9\\u00e4\\u00f6\\u00fc\\u00c4\\u00d6\\u00dc\\u00df_\\\\-\\\\.:]*$\"}}},\"additionalProperties\":false}},\"networks\":{\"type\":\"object\",\"description\":\"Networks used by your community\",\"properties\":{\"ipv6\":{\"type\":\"array\",\"title\":\"IPv6 networks\",\"description\":\"IPv6 networks used by your community\",\"items\":{\"type\":\"object\",\"title\":\"ipv6 network object\",\"properties\":{\"network\":{\"type\":\"string\",\"description\":\"IPv6 network network (e.g.2620:0:2d0:200::7/32) in CIDR notation\",\"pattern\":\"^\\\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3}))|:)))(%.+)?\\\\s*(\\\\/(\\\\d|\\\\d\\\\d|1[0-1]\\\\d|12[0-8]))$\"}},\"additionalProperties\":false}},\"ipv4\":{\"type\":\"array\",\"description\":\"IPv4 networks used by your community\",\"items\":{\"type\":\"object\",\"title\":\"ipv4 network object\",\"properties\":{\"network\":{\"type\":\"string\",\"description\":\"IPv4 network name (e.g. 10.w.x.y/z) in CIDR notation\",\"pattern\":\"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\\\/(\\\\d|[1-2]\\\\d|3[0-2]))$\"}},\"additionalProperties\":false}}},\"additionalProperties\":false},\"routing\":{\"type\":\"array\",\"title\":\"Routing protocols\",\"description\":\"Routing protocols used within your community\",\"items\":{\"type\":\"string\",\"title\":\"option\",\"enum\":[\"802.11s\",\"Babel\",\"batman-adv\",\"bmx6\",\"bmxd\",\"cjdns\",\"OLSR\",\"OLSRv2\"]}},\"legals\":{\"type\":\"array\",\"title\":\"Legal Issues\",\"description\":\"What do you use to handle legal issues, e.g. the German St\\u00f6rerhaftung or restrictions in your country?\",\"items\":{\"type\":\"string\",\"title\":\"option\",\"enum\":[\"nothing\",\"vpnnational\",\"vpninternational\",\"zappscript\",\"p2pblock\",\"splashpage\",\"termsconditions\",\"anonymizer\",\"institutions\"]}},\"updatemode\":{\"type\":\"array\",\"title\":\"Updatemode\",\"description\":\"How do you deploy firmware updates?\",\"items\":{\"type\":\"string\",\"title\":\"option\",\"enum\":[\"none\",\"manual\",\"autoupdate\"]}}},\"additionalProperties\":false}},\"required\":[\"name\",\"location\",\"contact\",\"url\",\"state\",\"techDetails\"],\"additionalProperties\":false}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"0.5.2\". Here are the required top‑level fields: name, location, contact, url, state, techDetails. Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"http://json-schema.org/draft-07/schema","description":"Freifunk Community API 0.5.2","type":"object","definitions":{"city":{"type":"string","title":"City","description":"Name of the city"},"country":{"type":"string","title":"Country","description":"Your country, list has been taken from http://countrylist.net/de/","enum":["","AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AC","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","IC","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DG","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","EU","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","SH","KN","LC","PM","VC","WS","SM","ST","SA","NT","SN","CS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","SU","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TA","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"address":{"type":"object","description":"The address of the place you meet","properties":{"name":{"type":"string","title":"Name of your place","description":"The name of the place you meet"},"street":{"type":"string","title":"Street","description":"The street address of your meeting place"},"zipcode":{"type":"string","title":"ZIP","description":"The zip code of your meeting place"}},"additionalProperties":false},"geoCode":{"type":"object","properties":{"lat":{"type":"number","title":"Latitude","description":"Lattitude of your city in decimal degrees"},"lon":{"type":"number","title":"Longitude","description":"Longitude of your city in decimal degrees"}},"required":["lat","lon"],"additionalProperties":false},"email":{"type":"string","title":"Email","format":"email","pattern":"^[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+@[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+\\.[A-Za-z]{2,}$"},"url":{"type":"string","pattern":"^(http|https)://[A-Za-z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\\-_\\./]+"},"phone":{"type":"string","title":"Phone"}},"properties":{"api":{"type":"string","title":"API","description":"The Freifunk Community API version you use","enum":["0.1","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.4.10","0.4.11","0.4.12","0.4.13","0.4.14","0.4.15","0.4.16","0.5.0","0.5.1","0.5.2"],"default":"0.5.2"},"name":{"type":"string","title":"Name","description":"The name of your community"},"metacommunity":{"type":"string","title":"Metacommunity","description":"The name of your metacommunity, if your local community belongs to a bigger one"},"location":{"title":"Primary Location","type":"object","description":"Position data such as a postal address or geographic coordinates","properties":{"city":{"$ref":"#/definitions/city"},"country":{"$ref":"#/definitions/country"},"address":{"$ref":"#/definitions/address"},"geoCode":{"$ref":"#/definitions/geoCode"},"additionalLocations":{"type":"array","title":"Additional Locations","description":"Add some more locations where your community is active.","items":{"title":"Location","type":"object","properties":{"city":{"$ref":"#/definitions/city"},"country":{"$ref":"#/definitions/country"},"address":{"$ref":"#/definitions/address"},"geoCode":{"$ref":"#/definitions/geoCode"}},"required":["city","geoCode"],"additionalProperties":false}}},"required":["city","geoCode"],"additionalProperties":false},"contact":{"type":"object","minProperties":1,"properties":{"email":{"$ref":"#/definitions/email","title":"Email","description":"Email address to which other people can contact your community ([email protected])"},"facebook":{"type":"string","title":"facebook","description":"URL to your community's facebook account (https://facebook.com/...)","pattern":"^(http|https)://([a-z\\-]*\\.|)facebook\\.com/[A-Za-z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\\-_\\.]+"},"identica":{"type":"string","title":"identica","description":"URL to your community's identica account (https://identi.ca/...)","pattern":"^(http|https)://([a-z\\-]*\\.|)identi\\.ca/[A-Za-z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\\-_\\.]+"},"irc":{"type":"string","title":"IRC","description":"Your community's ICR channel; starts with irc://","pattern":"^(irc|ircs)://.*"},"jabber":{"type":"string","title":"Jabber","description":"A jabber account someone reads ([email protected])","pattern":"^[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+@[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+\\.[A-Za-z]{2,}(\\?join){0,1}$"},"ml":{"type":"string","title":"Mailinglist","description":"The email address ([email protected]) of your mailing list or a link to the mailinglist info page (http{s}://...)","pattern":"^([A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+@[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6U\u00df_\\-\\.]+\\.[A-Za-z]{2,}|(http|https)://[A-Za-z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\\-_\\./]+)$"},"googleplus":{"type":"string","title":"Google+","description":"URL to your community's g+ account (https://plus.google.com/...)","pattern":"^(http|https)://plus\\.google\\.com/[A-Za-z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\\+\\-\\./_]+"},"matrix":{"type":"string","title":"Matrix","description":"URL to your community's matrix channel (https://matrix.to/#/!...)","pattern":"^https://matrix\\.to/#/"},"mastodon":{"title":"Mastodon","$ref":"#/definitions/url","description":"URL to your community's mastodon profile (https://...)"},"twitter":{"type":"string","title":"Twitter","description":"Your community's Twitter name (starts with @)","pattern":"^@[A-Za-z0-9_\\-]{1,15}"},"webform":{"$ref":"#/definitions/url","title":"Webform","description":"URL to your community's contact form (http{s}://...)"},"phone":{"$ref":"#/definitions/phone","title":"Phone","description":"If your community has a phone number (e.g. +49 1234 567890 based on the E.123 notation)"}},"additionalProperties":false},"url":{"title":"HomePage","$ref":"#/definitions/url","description":"The main website (http{s}://...)"},"timeline":{"type":"array","description":"These are lifetime events something like date of birth (and rebirth :-) of your community or other important milestones","items":{"type":"object","properties":{"description":{"type":"string","title":"Description","description":"Description of your lifetime event"},"timestamp":{"type":"string","title":"Timestamp","format":"date","description":"ISO 8601 timestamp of the event's date (format yyyy-mm-dd)","pattern":"^([0-9]{4})(?:-?W([0-9]+)(?:-?([0-9]+)D?)?|(?:-([0-9]+))?-([0-9]+))(?:[T ]([0-9]+):([0-9]+)(?::([0-9]+)(?:\\.([0-9]+))?)?)?(?:Z(-?[0-9]*))?"},"url":{"$ref":"#/definitions/url","title":"URL","description":"URL to details of this timeline-element"}},"additionalProperties":false}},"feeds":{"type":"array","title":"Feeds","description":"Feeds you provide your community","items":{"type":"object","properties":{"name":{"type":"string","title":"Feed name","description":"Name of the feed"},"category":{"type":"string","title":"Feed category","description":"Category of the feed like blog entries, calendars, forum messages, wiki articles, ...","enum":["blog","forum","ics","podcast","wiki","others",""],"default":""},"type":{"type":"string","title":"Feed Type","description":"Type of the feed like RSS, Atom, XML"},"url":{"$ref":"#/definitions/url","title":"URL","description":"URL of the feed"}},"additionalProperties":false}},"state":{"type":"object","title":"States","description":"A collection of status-related data. Actual open/closed status, icons, last change timestamp etc.","properties":{"nodes":{"type":"integer","minimum":0,"title":"Active Nodes","description":"Number of active nodes. This field is predestined to be updated regularly, please see sample solutions for <a href=\"https://github.com/Freifunk-Mainz/changeffapi\" target=\"_blank\">Gluon</a> or <a href=\"https://github.com/freifunk/common.api.freifunk.net/blob/master/contrib/ffapi-update-nodes.py\" target=\"_blank\">OLSR</a>"},"lastchange":{"type":"string","title":"Last Change","format":"date-time","description":"At what ISO 8601 timestamp has your community status lastly changed?","default":0},"message":{"type":"string","title":"Message","description":"A free-form string something like 'open for public', 'members only' or whatever you want it to be)"},"description":{"type":"string","title":"Description","description":"Describe your community in a few lines"},"focus":{"type":"array","title":"Focus","description":"What's the focus of your local community?","items":{"type":"string","title":"option","enum":["infrastructure/backbone","Public Free Wifi","Social Community Building","Local services and content","Free internet access"]}}},"required":["lastchange"],"additionalProperties":false},"nodeMaps":{"type":"array","title":"Nodes","description":"Maps of nodes or topology your community provides","items":{"type":"object","title":"node","properties":{"url":{"$ref":"#/definitions/url","title":"URL of the map","description":"The URL where the map is located"},"interval":{"type":"string","title":"interval","description":"How often the map will be refreshed"},"technicalType":{"type":"string","title":"map techincal type","description":"The kind of map is used","enum":["","ffmap","ffsomething","olsr-dot","openwifimap","netmon","libremap","nodewatcher","kml","nodelist","meshviewer","hopglass"],"default":""},"mapType":{"type":"string","title":"Maptype","description":"","enum":["","geographical","structural","list/status"],"default":""}},"additionalProperties":false}},"services":{"type":"array","title":"Services","description":"Services Provided by your community","items":{"type":"object","properties":{"serviceName":{"type":"string","title":"Service Name","description":"Name of your service (e.g. jabber...)"},"serviceDescription":{"type":"string","title":"Service Description","description":"Describe your service"},"externalUri":{"type":"string","title":"External URI","description":"URI to use your service from the internet"},"internalUri":{"type":"string","title":"Internal URI","description":"URI to use your service from Freifunk or icvpn-networks"}},"additionalProperties":false}},"support":{"type":"object","title":"Support for your community","properties":{"club":{"type":"object","title":"Supporting Club","properties":{"name":{"type":"string","title":"Club Name","description":"Name of the Club"},"street":{"type":"string","title":"Street","description":"Address - Street"},"zip":{"type":"string","title":"ZIP","description":"Address - ZIP"},"city":{"$ref":"#/definitions/city"},"url":{"$ref":"#/definitions/url","title":"HomePage","description":"The club's website (http{s}://...)"},"email":{"$ref":"#/definitions/email","description":"Email address to contact the club ([email protected])"},"board":{"type":"array","title":"Board Members","description":"Who are the board members of the club?","items":{"type":"string","title":"Name"}}},"additionalProperties":false},"donations":{"type":"object","title":"Donations","properties":{"bankaccount":{"type":"object","title":"Bank Account","properties":{"IBAN":{"type":"string","title":"IBAN"},"BIC":{"type":"string","title":"BIC"},"usage":{"type":"string","title":"Usage of the donations","description":"Please use this string as transfer-purpose to define a special usage of your donation."}},"additionalProperties":false},"campaigns":{"type":"array","title":"Campaigns","items":{"type":"object","title":"campaign","properties":{"provider":{"type":"string","title":"Campaign Providers","description":"Where do you host your donations?","enum":["","betterplace","boost"],"default":""},"projectid":{"type":"string","title":"Project ID","description":"ID of your project, Betterplace-IDs are multiple digits and can be found within the URL"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"socialprojects":{"type":"object","title":"","properties":{"number":{"type":"integer","mininum":0,"title":"Number of Projects","description":"Number of projects supported by your Community"},"website":{"$ref":"#/definitions/url","title":"URL of your page","description":"A link to a web site where people can find an overview over your projects"},"contact":{"$ref":"#/definitions/email","title":"Contact Email","description":"Please provide an email address to contact you on refugees and social projects"}},"additionalProperties":false},"privacy":{"type":"object","title":"Privacy Policy","properties":{"policyurl":{"$ref":"#/definitions/url","title":"Privacy Policy URL","description":"URL to your privacy policy description"}},"additionalProperties":false},"techDetails":{"type":"object","description":"Technical details of your community's Freifunk implementation","properties":{"firmware":{"type":"object","properties":{"url":{"$ref":"#/definitions/url","title":"Firmware download","description":"Link to your firmware images"},"docs":{"$ref":"#/definitions/url","title":"Firmware Document","description":"Link to your firmware docs"},"vpnaccess":{"type":"string","title":"VPN Access","description":"How to access your VPN services","enum":["","automatic","fwimage","mail","webform","else"],"default":""},"registrationurl":{"$ref":"#/definitions/url","title":"VPN Registration URL","description":"link to your website to request a new VPN key"},"orgrestrictions":{"type":"string","title":"Organizational Restrictions","description":"Are there any organizational restrictions when using/installing your firmware?"},"techrestrictions":{"type":"string","title":"Technical Restriction","description":"Are there any technical restrictions like hardware?"},"name":{"type":"string","title":"Firmware Name","description":"Name of your firmware"}},"additionalProperties":false},"dns":{"type":"array","title":"DNS Servers","description":"DNS servers for domains used by your community","items":{"type":"object","title":"dns","properties":{"domainname":{"type":"string","title":"Domain Name","description":"The domain name (e.g. ffhh, ffol)","pattern":"^[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df\\.\\-\\_]{2,}$"},"nameserver":{"type":"array","title":"Nameserver","description":"Nameservers servings zones of your domain","items":{"type":"string","pattern":"^[A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df_\\-\\.:]*$"}}},"additionalProperties":false}},"networks":{"type":"object","description":"Networks used by your community","properties":{"ipv6":{"type":"array","title":"IPv6 networks","description":"IPv6 networks used by your community","items":{"type":"object","title":"ipv6 network object","properties":{"network":{"type":"string","description":"IPv6 network network (e.g.2620:0:2d0:200::7/32) in CIDR notation","pattern":"^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*(\\/(\\d|\\d\\d|1[0-1]\\d|12[0-8]))$"}},"additionalProperties":false}},"ipv4":{"type":"array","description":"IPv4 networks used by your community","items":{"type":"object","title":"ipv4 network object","properties":{"network":{"type":"string","description":"IPv4 network name (e.g. 10.w.x.y/z) in CIDR notation","pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(\\d|[1-2]\\d|3[0-2]))$"}},"additionalProperties":false}}},"additionalProperties":false},"routing":{"type":"array","title":"Routing protocols","description":"Routing protocols used within your community","items":{"type":"string","title":"option","enum":["802.11s","Babel","batman-adv","bmx6","bmxd","cjdns","OLSR","OLSRv2"]}},"legals":{"type":"array","title":"Legal Issues","description":"What do you use to handle legal issues, e.g. the German St\u00f6rerhaftung or restrictions in your country?","items":{"type":"string","title":"option","enum":["nothing","vpnnational","vpninternational","zappscript","p2pblock","splashpage","termsconditions","anonymizer","institutions"]}},"updatemode":{"type":"array","title":"Updatemode","description":"How do you deploy firmware updates?","items":{"type":"string","title":"option","enum":["none","manual","autoupdate"]}}},"additionalProperties":false}},"required":["name","location","contact","url","state","techDetails"],"additionalProperties":false}
Provide a JSON object that satisfies the schema "0.5.2". Here are the required top‑level fields: name, location, contact, url, state, techDetails. Return only the valid JSON object.
0.5.2
schema-store
schema_store_6
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"id\":\"https://json.schemastore.org/gatewaycore-options-2021-07\",\"title\":\"Cloudtoid GatewayCore Options\",\"description\":\"Root Schema of options for Cloudtoid GatewayCore\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"system\":{\"type\":\"object\",\"description\":\"This section that contains all system wide configurations.\",\"additionalProperties\":false,\"properties\":{\"routeCacheMaxCount\":{\"type\":\"integer\",\"default\":100000,\"description\":\"The maximum number of mappings between \\\"inbound downstream request path\\\" and \\\"outbound upstream request URL\\\" that can be cached in memory.\"}}},\"routes\":{\"type\":\"object\",\"description\":\"This is the section in which proxy routes are defined.\",\"additionalProperties\":{\"type\":\"object\",\"description\":\"This is the url path pattern that if matched, the request is proxied to the address defined by its `to` property.\",\"additionalProperties\":false,\"properties\":{\"proxy\":{\"type\":\"object\",\"description\":\"The proxy configuration.\",\"additionalProperties\":false,\"properties\":{\"to\":{\"type\":\"string\",\"description\":\"This is an expression that defines the URL of the upstream server to which the downstream request is forwarded to.\",\"examples\":[\"http://example.com:85/api/\"]},\"proxyName\":{\"type\":\"string\",\"description\":\"This is an expression that defines the name of this proxy. This value is used in the Via HTTP header send on the outbound upstream request, and the outbound downstream response. If a value is specified, an `x-gwcore-proxy-name` header with this value is also added to the outbound upstream request.\",\"default\":\"gwcore\"},\"upstreamRequest\":{\"type\":\"object\",\"description\":\"The options that control the upstream requests.\",\"additionalProperties\":false,\"properties\":{\"httpVersion\":{\"type\":\"string\",\"description\":\"An expression that defines the HTTP protocol version of outbound upstream requests.\",\"default\":\"HTTP/2.0\"},\"headers\":{\"type\":\"object\",\"description\":\"The options that control the upstream request headers.\",\"additionalProperties\":false,\"properties\":{\"discardInboundHeaders\":{\"type\":\"boolean\",\"description\":\"Specifies if downstream inbound request and content headers should be discarded and not forwarded to the upstream.\",\"default\":false},\"discardEmpty\":{\"type\":\"boolean\",\"description\":\"Specifies if inbound headers with empty value should be discarded.\",\"default\":false},\"discardUnderscore\":{\"type\":\"boolean\",\"description\":\"Specifies if inbound headers with an underscore in their name should be discarded.\",\"default\":false},\"addExternalAddress\":{\"type\":\"boolean\",\"description\":\"Specifies if a `x-gwcore-external-address` header with the IP address of the immediate caller should be added to the outbound upstream request.\",\"default\":false},\"skipVia\":{\"type\":\"boolean\",\"description\":\"Specifies if the `via` header should be skipped from the outbound request.\",\"default\":false},\"skipForwarded\":{\"type\":\"boolean\",\"description\":\"Specifies if `forwarded` header and `x-forwarded-*` headers should be skipped from the outbound requests.\",\"default\":false},\"appends\":{\"type\":\"object\",\"description\":\"The headers to be appended to the outbound upstream requests. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"The value can be either text or an expression.\"}}},\"overrides\":{\"type\":\"object\",\"description\":\"The headers to be added to the outbound upstream requests. If the header already exists, its value is replaced. The value can be either text or an expression.\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"The value can be either text or an expression.\"}}},\"discards\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"Specifies the inbound downstream headers that should be discarded.\"}}}},\"sender\":{\"type\":\"object\",\"description\":\"The options that control connection to the upstream server.\",\"additionalProperties\":false,\"properties\":{\"httpClientName\":{\"type\":\"string\",\"description\":\"The name of the .NET HttpClient that will be used to send the request. The default value is a system generated unique name.\"},\"timeoutInMilliseconds\":{\"type\":[\"string\",\"integer\"],\"description\":\"The total timeout in milliseconds to wait for the outbound upstream request to complete. This can be a number or an expression.\",\"default\":240000},\"connectTimeoutInMilliseconds\":{\"type\":\"integer\",\"description\":\"The connect timeout in milliseconds. No timeout is set by default.\"},\"expect100ContinueTimeoutInMilliseconds\":{\"type\":\"integer\",\"description\":\"The expect 100 continue timeout in milliseconds.\",\"default\":1000},\"pooledConnectionIdleTimeoutInMilliseconds\":{\"type\":\"integer\",\"description\":\"Specifies how long a connection can be idle in the pool to be considered reusable.\",\"default\":2000},\"pooledConnectionLifetimeInMilliseconds\":{\"type\":\"integer\",\"description\":\"Specifies how long a connection can live in the connection pool. By default, no timeout is set and the connection can stay in the pool.\"},\"responseDrainTimeoutInMilliseconds\":{\"type\":\"integer\",\"description\":\"Specifies the response drain timeout.\",\"default\":2000},\"maxAutomaticRedirections\":{\"type\":\"integer\",\"description\":\"The maximum number of allowed HTTP redirects.\",\"default\":50},\"maxConnectionsPerServer\":{\"type\":\"integer\",\"description\":\"The maximum number of simultaneous TCP connections allowed to a single server. No caps are set by default.\"},\"maxResponseDrainSizeInBytes\":{\"type\":\"integer\",\"description\":\"The maximum size of data that can be drained from responses in bytes.\",\"default\":1048576},\"maxResponseHeadersLengthInKilobytes\":{\"type\":\"integer\",\"description\":\"The maximum length, in kilobytes (1024 bytes), of the response headers.\",\"default\":64},\"allowAutoRedirect\":{\"type\":\"boolean\",\"description\":\"Indicates whether the HTTP handler used by the outbound upstream request sender should follow redirection responses.\",\"default\":false},\"useCookies\":{\"type\":\"boolean\",\"description\":\"Indicates whether the HTTP handler used by the outbound upstream request sender should store server cookies and use these cookies when sending requests.\",\"default\":false}}}}},\"downstreamResponse\":{\"type\":\"object\",\"description\":\"The options that control the downstream responses sent to the clients.\",\"additionalProperties\":false,\"properties\":{\"headers\":{\"type\":\"object\",\"description\":\"The options that control the downstream response headers sent to the clients.\",\"additionalProperties\":false,\"properties\":{\"discardInboundHeaders\":{\"type\":\"boolean\",\"description\":\"Specifies if upstream inbound response, content, and trailing headers should be discarded and not forwarded to the downstream client.\",\"default\":false},\"discardEmpty\":{\"type\":\"boolean\",\"description\":\"Specifies if inbound headers with empty value should be discarded.\",\"default\":false},\"discardUnderscore\":{\"type\":\"boolean\",\"description\":\"Specifies if inbound headers with an underscore in their name should be discarded.\",\"default\":false},\"addServer\":{\"type\":\"boolean\",\"description\":\"Specifies if a `server` header should be added. The value of this header is set to `gwcore`.\",\"default\":false},\"addVia\":{\"type\":\"boolean\",\"description\":\"Specifies if the `via` header should be added to the outbound response.\",\"default\":false},\"cookies\":{\"type\":\"object\",\"description\":\"The options that are applied to the `set-cookie` headers in the inbound upstream response. If the cookie name is symbol '*', then the settings are applied to all `set-cookie` headers.\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"secure\":{\"type\":\"boolean\",\"description\":\"It limits the scope of the cookie to 'secure' channels. A secure cookie is only sent to the server when a request is made using HTTPS.\",\"default\":false},\"httpOnly\":{\"type\":\"boolean\",\"description\":\"It limits the scope of the cookie to HTTP requests, forbidding JavaScript from accessing the cookie.\",\"default\":false},\"sameSite\":{\"type\":\"string\",\"description\":\"It asserts that a cookie must not be sent with cross-origin requests, providing some protection against cross-site request forgery attacks. The valid values are `strict`, `lax`, and `none`.\",\"enum\":[\"none\",\"lax\",\"strict\"],\"default\":\"lax\"},\"domain\":{\"type\":\"string\",\"description\":\"It specifies the hosts to which the cookie will be sent and can be an expression. For example, if the value of the Domain attribute is 'example.com', the user agent will include the cookie in the Cookie header when making HTTP requests to example.com, www.example.com, and www.corp.example.com. Use this property to specify or override the domain attribute. Set this value to an empty string (\\\"\\\") to remove the domain attribute from the cookie.\",\"examples\":[\"example.com\"]}}}},\"appends\":{\"type\":\"object\",\"description\":\"The headers to be appended to the outbound downstream response. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"The value can be either text or an expression.\"}}},\"overrides\":{\"type\":\"object\",\"description\":\"The headers to be added to the outbound downstream response. If the header already exists, its value is replaced. The value can be either text or an expression.\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"The value can be either text or an expression.\"}}},\"discards\":{\"type\":\"array\",\"description\":\"The inbound upstream headers that should be discarded.\",\"items\":{\"type\":\"string\",\"description\":\"The name of the header to be discarded.\"}}}}}}},\"required\":[\"to\"]}}}}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"Cloudtoid GatewayCore Options\". Here are the required top‑level fields: none (all optional). Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$schema":"http://json-schema.org/draft-04/schema","id":"https://json.schemastore.org/gatewaycore-options-2021-07","title":"Cloudtoid GatewayCore Options","description":"Root Schema of options for Cloudtoid GatewayCore","type":"object","additionalProperties":false,"properties":{"system":{"type":"object","description":"This section that contains all system wide configurations.","additionalProperties":false,"properties":{"routeCacheMaxCount":{"type":"integer","default":100000,"description":"The maximum number of mappings between \"inbound downstream request path\" and \"outbound upstream request URL\" that can be cached in memory."}}},"routes":{"type":"object","description":"This is the section in which proxy routes are defined.","additionalProperties":{"type":"object","description":"This is the url path pattern that if matched, the request is proxied to the address defined by its `to` property.","additionalProperties":false,"properties":{"proxy":{"type":"object","description":"The proxy configuration.","additionalProperties":false,"properties":{"to":{"type":"string","description":"This is an expression that defines the URL of the upstream server to which the downstream request is forwarded to.","examples":["http://example.com:85/api/"]},"proxyName":{"type":"string","description":"This is an expression that defines the name of this proxy. This value is used in the Via HTTP header send on the outbound upstream request, and the outbound downstream response. If a value is specified, an `x-gwcore-proxy-name` header with this value is also added to the outbound upstream request.","default":"gwcore"},"upstreamRequest":{"type":"object","description":"The options that control the upstream requests.","additionalProperties":false,"properties":{"httpVersion":{"type":"string","description":"An expression that defines the HTTP protocol version of outbound upstream requests.","default":"HTTP/2.0"},"headers":{"type":"object","description":"The options that control the upstream request headers.","additionalProperties":false,"properties":{"discardInboundHeaders":{"type":"boolean","description":"Specifies if downstream inbound request and content headers should be discarded and not forwarded to the upstream.","default":false},"discardEmpty":{"type":"boolean","description":"Specifies if inbound headers with empty value should be discarded.","default":false},"discardUnderscore":{"type":"boolean","description":"Specifies if inbound headers with an underscore in their name should be discarded.","default":false},"addExternalAddress":{"type":"boolean","description":"Specifies if a `x-gwcore-external-address` header with the IP address of the immediate caller should be added to the outbound upstream request.","default":false},"skipVia":{"type":"boolean","description":"Specifies if the `via` header should be skipped from the outbound request.","default":false},"skipForwarded":{"type":"boolean","description":"Specifies if `forwarded` header and `x-forwarded-*` headers should be skipped from the outbound requests.","default":false},"appends":{"type":"object","description":"The headers to be appended to the outbound upstream requests. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.","additionalProperties":{"type":"array","items":{"type":"string","description":"The value can be either text or an expression."}}},"overrides":{"type":"object","description":"The headers to be added to the outbound upstream requests. If the header already exists, its value is replaced. The value can be either text or an expression.","additionalProperties":{"type":"array","items":{"type":"string","description":"The value can be either text or an expression."}}},"discards":{"type":"array","items":{"type":"string","description":"Specifies the inbound downstream headers that should be discarded."}}}},"sender":{"type":"object","description":"The options that control connection to the upstream server.","additionalProperties":false,"properties":{"httpClientName":{"type":"string","description":"The name of the .NET HttpClient that will be used to send the request. The default value is a system generated unique name."},"timeoutInMilliseconds":{"type":["string","integer"],"description":"The total timeout in milliseconds to wait for the outbound upstream request to complete. This can be a number or an expression.","default":240000},"connectTimeoutInMilliseconds":{"type":"integer","description":"The connect timeout in milliseconds. No timeout is set by default."},"expect100ContinueTimeoutInMilliseconds":{"type":"integer","description":"The expect 100 continue timeout in milliseconds.","default":1000},"pooledConnectionIdleTimeoutInMilliseconds":{"type":"integer","description":"Specifies how long a connection can be idle in the pool to be considered reusable.","default":2000},"pooledConnectionLifetimeInMilliseconds":{"type":"integer","description":"Specifies how long a connection can live in the connection pool. By default, no timeout is set and the connection can stay in the pool."},"responseDrainTimeoutInMilliseconds":{"type":"integer","description":"Specifies the response drain timeout.","default":2000},"maxAutomaticRedirections":{"type":"integer","description":"The maximum number of allowed HTTP redirects.","default":50},"maxConnectionsPerServer":{"type":"integer","description":"The maximum number of simultaneous TCP connections allowed to a single server. No caps are set by default."},"maxResponseDrainSizeInBytes":{"type":"integer","description":"The maximum size of data that can be drained from responses in bytes.","default":1048576},"maxResponseHeadersLengthInKilobytes":{"type":"integer","description":"The maximum length, in kilobytes (1024 bytes), of the response headers.","default":64},"allowAutoRedirect":{"type":"boolean","description":"Indicates whether the HTTP handler used by the outbound upstream request sender should follow redirection responses.","default":false},"useCookies":{"type":"boolean","description":"Indicates whether the HTTP handler used by the outbound upstream request sender should store server cookies and use these cookies when sending requests.","default":false}}}}},"downstreamResponse":{"type":"object","description":"The options that control the downstream responses sent to the clients.","additionalProperties":false,"properties":{"headers":{"type":"object","description":"The options that control the downstream response headers sent to the clients.","additionalProperties":false,"properties":{"discardInboundHeaders":{"type":"boolean","description":"Specifies if upstream inbound response, content, and trailing headers should be discarded and not forwarded to the downstream client.","default":false},"discardEmpty":{"type":"boolean","description":"Specifies if inbound headers with empty value should be discarded.","default":false},"discardUnderscore":{"type":"boolean","description":"Specifies if inbound headers with an underscore in their name should be discarded.","default":false},"addServer":{"type":"boolean","description":"Specifies if a `server` header should be added. The value of this header is set to `gwcore`.","default":false},"addVia":{"type":"boolean","description":"Specifies if the `via` header should be added to the outbound response.","default":false},"cookies":{"type":"object","description":"The options that are applied to the `set-cookie` headers in the inbound upstream response. If the cookie name is symbol '*', then the settings are applied to all `set-cookie` headers.","additionalProperties":{"type":"object","properties":{"secure":{"type":"boolean","description":"It limits the scope of the cookie to 'secure' channels. A secure cookie is only sent to the server when a request is made using HTTPS.","default":false},"httpOnly":{"type":"boolean","description":"It limits the scope of the cookie to HTTP requests, forbidding JavaScript from accessing the cookie.","default":false},"sameSite":{"type":"string","description":"It asserts that a cookie must not be sent with cross-origin requests, providing some protection against cross-site request forgery attacks. The valid values are `strict`, `lax`, and `none`.","enum":["none","lax","strict"],"default":"lax"},"domain":{"type":"string","description":"It specifies the hosts to which the cookie will be sent and can be an expression. For example, if the value of the Domain attribute is 'example.com', the user agent will include the cookie in the Cookie header when making HTTP requests to example.com, www.example.com, and www.corp.example.com. Use this property to specify or override the domain attribute. Set this value to an empty string (\"\") to remove the domain attribute from the cookie.","examples":["example.com"]}}}},"appends":{"type":"object","description":"The headers to be appended to the outbound downstream response. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.","additionalProperties":{"type":"array","items":{"type":"string","description":"The value can be either text or an expression."}}},"overrides":{"type":"object","description":"The headers to be added to the outbound downstream response. If the header already exists, its value is replaced. The value can be either text or an expression.","additionalProperties":{"type":"array","items":{"type":"string","description":"The value can be either text or an expression."}}},"discards":{"type":"array","description":"The inbound upstream headers that should be discarded.","items":{"type":"string","description":"The name of the header to be discarded."}}}}}}},"required":["to"]}}}}}}
Provide a JSON object that satisfies the schema "Cloudtoid GatewayCore Options". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.
Cloudtoid GatewayCore Options
schema-store
schema_store_7
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$id\":\"https://spec.openapis.org/oas/3.1/schema/2022-10-07\",\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"description\":\"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0\",\"type\":\"object\",\"properties\":{\"openapi\":{\"type\":\"string\",\"pattern\":\"^3\\\\.1\\\\.\\\\d+(-.+)?$\"},\"info\":{\"$ref\":\"#/$defs/info\"},\"jsonSchemaDialect\":{\"type\":\"string\",\"format\":\"uri\",\"default\":\"https://spec.openapis.org/oas/3.1/dialect/base\"},\"servers\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/server\"},\"default\":[{\"url\":\"/\"}]},\"paths\":{\"$ref\":\"#/$defs/paths\"},\"webhooks\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/path-item-or-reference\"}},\"components\":{\"$ref\":\"#/$defs/components\"},\"security\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/security-requirement\"}},\"tags\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/tag\"}},\"externalDocs\":{\"$ref\":\"#/$defs/external-documentation\"}},\"required\":[\"openapi\",\"info\"],\"anyOf\":[{\"required\":[\"paths\"]},{\"required\":[\"components\"]},{\"required\":[\"webhooks\"]}],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false,\"$defs\":{\"info\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#info-object\",\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"termsOfService\":{\"type\":\"string\",\"format\":\"uri\"},\"contact\":{\"$ref\":\"#/$defs/contact\"},\"license\":{\"$ref\":\"#/$defs/license\"},\"version\":{\"type\":\"string\"}},\"required\":[\"title\",\"version\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"contact\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#contact-object\",\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\",\"format\":\"uri\"},\"email\":{\"type\":\"string\",\"format\":\"email\"}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"license\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#license-object\",\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"identifier\":{\"type\":\"string\"},\"url\":{\"type\":\"string\",\"format\":\"uri\"}},\"required\":[\"name\"],\"dependentSchemas\":{\"identifier\":{\"not\":{\"required\":[\"url\"]}}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"server\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#server-object\",\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"description\":{\"type\":\"string\"},\"variables\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/server-variable\"}}},\"required\":[\"url\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"server-variable\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#server-variable-object\",\"type\":\"object\",\"properties\":{\"enum\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1},\"default\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}},\"required\":[\"default\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"components\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#components-object\",\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"object\",\"additionalProperties\":{\"$dynamicRef\":\"#meta\"}},\"responses\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/response-or-reference\"}},\"parameters\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/parameter-or-reference\"}},\"examples\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/example-or-reference\"}},\"requestBodies\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/request-body-or-reference\"}},\"headers\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/header-or-reference\"}},\"securitySchemes\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/security-scheme-or-reference\"}},\"links\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/link-or-reference\"}},\"callbacks\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/callbacks-or-reference\"}},\"pathItems\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/path-item-or-reference\"}}},\"patternProperties\":{\"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$\":{\"$comment\":\"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected\",\"propertyNames\":{\"pattern\":\"^[a-zA-Z0-9._-]+$\"}}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"paths\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#paths-object\",\"type\":\"object\",\"patternProperties\":{\"^/\":{\"$ref\":\"#/$defs/path-item\"}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"path-item\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#path-item-object\",\"type\":\"object\",\"properties\":{\"summary\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"servers\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/server\"}},\"parameters\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/parameter-or-reference\"}},\"get\":{\"$ref\":\"#/$defs/operation\"},\"put\":{\"$ref\":\"#/$defs/operation\"},\"post\":{\"$ref\":\"#/$defs/operation\"},\"delete\":{\"$ref\":\"#/$defs/operation\"},\"options\":{\"$ref\":\"#/$defs/operation\"},\"head\":{\"$ref\":\"#/$defs/operation\"},\"patch\":{\"$ref\":\"#/$defs/operation\"},\"trace\":{\"$ref\":\"#/$defs/operation\"}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"path-item-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/path-item\"}},\"operation\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#operation-object\",\"type\":\"object\",\"properties\":{\"tags\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"summary\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"externalDocs\":{\"$ref\":\"#/$defs/external-documentation\"},\"operationId\":{\"type\":\"string\"},\"parameters\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/parameter-or-reference\"}},\"requestBody\":{\"$ref\":\"#/$defs/request-body-or-reference\"},\"responses\":{\"$ref\":\"#/$defs/responses\"},\"callbacks\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/callbacks-or-reference\"}},\"deprecated\":{\"default\":false,\"type\":\"boolean\"},\"security\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/security-requirement\"}},\"servers\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/$defs/server\"}}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"external-documentation\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#external-documentation-object\",\"type\":\"object\",\"properties\":{\"description\":{\"type\":\"string\"},\"url\":{\"type\":\"string\",\"format\":\"uri\"}},\"required\":[\"url\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"parameter\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#parameter-object\",\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"in\":{\"enum\":[\"query\",\"header\",\"path\",\"cookie\"]},\"description\":{\"type\":\"string\"},\"required\":{\"default\":false,\"type\":\"boolean\"},\"deprecated\":{\"default\":false,\"type\":\"boolean\"},\"schema\":{\"$dynamicRef\":\"#meta\"},\"content\":{\"$ref\":\"#/$defs/content\",\"minProperties\":1,\"maxProperties\":1}},\"required\":[\"name\",\"in\"],\"oneOf\":[{\"required\":[\"schema\"]},{\"required\":[\"content\"]}],\"if\":{\"properties\":{\"in\":{\"const\":\"query\"}},\"required\":[\"in\"]},\"then\":{\"properties\":{\"allowEmptyValue\":{\"default\":false,\"type\":\"boolean\"}}},\"dependentSchemas\":{\"schema\":{\"properties\":{\"style\":{\"type\":\"string\"},\"explode\":{\"type\":\"boolean\"}},\"allOf\":[{\"$ref\":\"#/$defs/examples\"},{\"$ref\":\"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path\"},{\"$ref\":\"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header\"},{\"$ref\":\"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query\"},{\"$ref\":\"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie\"},{\"$ref\":\"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form\"}],\"$defs\":{\"styles-for-path\":{\"if\":{\"properties\":{\"in\":{\"const\":\"path\"}},\"required\":[\"in\"]},\"then\":{\"properties\":{\"name\":{\"pattern\":\"[^/#?]+$\"},\"style\":{\"default\":\"simple\",\"enum\":[\"matrix\",\"label\",\"simple\"]},\"required\":{\"const\":true}},\"required\":[\"required\"]}},\"styles-for-header\":{\"if\":{\"properties\":{\"in\":{\"const\":\"header\"}},\"required\":[\"in\"]},\"then\":{\"properties\":{\"style\":{\"default\":\"simple\",\"const\":\"simple\"}}}},\"styles-for-query\":{\"if\":{\"properties\":{\"in\":{\"const\":\"query\"}},\"required\":[\"in\"]},\"then\":{\"properties\":{\"style\":{\"default\":\"form\",\"enum\":[\"form\",\"spaceDelimited\",\"pipeDelimited\",\"deepObject\"]},\"allowReserved\":{\"default\":false,\"type\":\"boolean\"}}}},\"styles-for-cookie\":{\"if\":{\"properties\":{\"in\":{\"const\":\"cookie\"}},\"required\":[\"in\"]},\"then\":{\"properties\":{\"style\":{\"default\":\"form\",\"const\":\"form\"}}}},\"styles-for-form\":{\"if\":{\"properties\":{\"style\":{\"const\":\"form\"}},\"required\":[\"style\"]},\"then\":{\"properties\":{\"explode\":{\"default\":true}}},\"else\":{\"properties\":{\"explode\":{\"default\":false}}}}}}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"parameter-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/parameter\"}},\"request-body\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#request-body-object\",\"type\":\"object\",\"properties\":{\"description\":{\"type\":\"string\"},\"content\":{\"$ref\":\"#/$defs/content\"},\"required\":{\"default\":false,\"type\":\"boolean\"}},\"required\":[\"content\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"request-body-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/request-body\"}},\"content\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10\",\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/media-type\"},\"propertyNames\":{\"format\":\"media-range\"}},\"media-type\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#media-type-object\",\"type\":\"object\",\"properties\":{\"schema\":{\"$dynamicRef\":\"#meta\"},\"encoding\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/encoding\"}}},\"allOf\":[{\"$ref\":\"#/$defs/specification-extensions\"},{\"$ref\":\"#/$defs/examples\"}],\"unevaluatedProperties\":false},\"encoding\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#encoding-object\",\"type\":\"object\",\"properties\":{\"contentType\":{\"type\":\"string\",\"format\":\"media-range\"},\"headers\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/header-or-reference\"}},\"style\":{\"default\":\"form\",\"enum\":[\"form\",\"spaceDelimited\",\"pipeDelimited\",\"deepObject\"]},\"explode\":{\"type\":\"boolean\"},\"allowReserved\":{\"default\":false,\"type\":\"boolean\"}},\"allOf\":[{\"$ref\":\"#/$defs/specification-extensions\"},{\"$ref\":\"#/$defs/encoding/$defs/explode-default\"}],\"unevaluatedProperties\":false,\"$defs\":{\"explode-default\":{\"if\":{\"properties\":{\"style\":{\"const\":\"form\"}},\"required\":[\"style\"]},\"then\":{\"properties\":{\"explode\":{\"default\":true}}},\"else\":{\"properties\":{\"explode\":{\"default\":false}}}}}},\"responses\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#responses-object\",\"type\":\"object\",\"properties\":{\"default\":{\"$ref\":\"#/$defs/response-or-reference\"}},\"patternProperties\":{\"^[1-5](?:[0-9]{2}|XX)$\":{\"$ref\":\"#/$defs/response-or-reference\"}},\"minProperties\":1,\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"response\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#response-object\",\"type\":\"object\",\"properties\":{\"description\":{\"type\":\"string\"},\"headers\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/header-or-reference\"}},\"content\":{\"$ref\":\"#/$defs/content\"},\"links\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/link-or-reference\"}}},\"required\":[\"description\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"response-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/response\"}},\"callbacks\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#callback-object\",\"type\":\"object\",\"$ref\":\"#/$defs/specification-extensions\",\"additionalProperties\":{\"$ref\":\"#/$defs/path-item-or-reference\"}},\"callbacks-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/callbacks\"}},\"example\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#example-object\",\"type\":\"object\",\"properties\":{\"summary\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"value\":true,\"externalValue\":{\"type\":\"string\",\"format\":\"uri\"}},\"not\":{\"required\":[\"value\",\"externalValue\"]},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"example-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/example\"}},\"link\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#link-object\",\"type\":\"object\",\"properties\":{\"operationRef\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"operationId\":{\"type\":\"string\"},\"parameters\":{\"$ref\":\"#/$defs/map-of-strings\"},\"requestBody\":true,\"description\":{\"type\":\"string\"},\"body\":{\"$ref\":\"#/$defs/server\"}},\"oneOf\":[{\"required\":[\"operationRef\"]},{\"required\":[\"operationId\"]}],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"link-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/link\"}},\"header\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#header-object\",\"type\":\"object\",\"properties\":{\"description\":{\"type\":\"string\"},\"required\":{\"default\":false,\"type\":\"boolean\"},\"deprecated\":{\"default\":false,\"type\":\"boolean\"},\"schema\":{\"$dynamicRef\":\"#meta\"},\"content\":{\"$ref\":\"#/$defs/content\",\"minProperties\":1,\"maxProperties\":1}},\"oneOf\":[{\"required\":[\"schema\"]},{\"required\":[\"content\"]}],\"dependentSchemas\":{\"schema\":{\"properties\":{\"style\":{\"default\":\"simple\",\"const\":\"simple\"},\"explode\":{\"default\":false,\"type\":\"boolean\"}},\"$ref\":\"#/$defs/examples\"}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"header-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/header\"}},\"tag\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#tag-object\",\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"externalDocs\":{\"$ref\":\"#/$defs/external-documentation\"}},\"required\":[\"name\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"reference\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#reference-object\",\"type\":\"object\",\"properties\":{\"$ref\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"summary\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}},\"unevaluatedProperties\":false},\"schema\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#schema-object\",\"$dynamicAnchor\":\"meta\",\"type\":[\"object\",\"boolean\"]},\"security-scheme\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#security-scheme-object\",\"type\":\"object\",\"properties\":{\"type\":{\"enum\":[\"apiKey\",\"http\",\"mutualTLS\",\"oauth2\",\"openIdConnect\"]},\"description\":{\"type\":\"string\"}},\"required\":[\"type\"],\"allOf\":[{\"$ref\":\"#/$defs/specification-extensions\"},{\"$ref\":\"#/$defs/security-scheme/$defs/type-apikey\"},{\"$ref\":\"#/$defs/security-scheme/$defs/type-http\"},{\"$ref\":\"#/$defs/security-scheme/$defs/type-http-bearer\"},{\"$ref\":\"#/$defs/security-scheme/$defs/type-oauth2\"},{\"$ref\":\"#/$defs/security-scheme/$defs/type-oidc\"}],\"unevaluatedProperties\":false,\"$defs\":{\"type-apikey\":{\"if\":{\"properties\":{\"type\":{\"const\":\"apiKey\"}},\"required\":[\"type\"]},\"then\":{\"properties\":{\"name\":{\"type\":\"string\"},\"in\":{\"enum\":[\"query\",\"header\",\"cookie\"]}},\"required\":[\"name\",\"in\"]}},\"type-http\":{\"if\":{\"properties\":{\"type\":{\"const\":\"http\"}},\"required\":[\"type\"]},\"then\":{\"properties\":{\"scheme\":{\"type\":\"string\"}},\"required\":[\"scheme\"]}},\"type-http-bearer\":{\"if\":{\"properties\":{\"type\":{\"const\":\"http\"},\"scheme\":{\"type\":\"string\",\"pattern\":\"^[Bb][Ee][Aa][Rr][Ee][Rr]$\"}},\"required\":[\"type\",\"scheme\"]},\"then\":{\"properties\":{\"bearerFormat\":{\"type\":\"string\"}}}},\"type-oauth2\":{\"if\":{\"properties\":{\"type\":{\"const\":\"oauth2\"}},\"required\":[\"type\"]},\"then\":{\"properties\":{\"flows\":{\"$ref\":\"#/$defs/oauth-flows\"}},\"required\":[\"flows\"]}},\"type-oidc\":{\"if\":{\"properties\":{\"type\":{\"const\":\"openIdConnect\"}},\"required\":[\"type\"]},\"then\":{\"properties\":{\"openIdConnectUrl\":{\"type\":\"string\",\"format\":\"uri\"}},\"required\":[\"openIdConnectUrl\"]}}}},\"security-scheme-or-reference\":{\"if\":{\"type\":\"object\",\"required\":[\"$ref\"]},\"then\":{\"$ref\":\"#/$defs/reference\"},\"else\":{\"$ref\":\"#/$defs/security-scheme\"}},\"oauth-flows\":{\"type\":\"object\",\"properties\":{\"implicit\":{\"$ref\":\"#/$defs/oauth-flows/$defs/implicit\"},\"password\":{\"$ref\":\"#/$defs/oauth-flows/$defs/password\"},\"clientCredentials\":{\"$ref\":\"#/$defs/oauth-flows/$defs/client-credentials\"},\"authorizationCode\":{\"$ref\":\"#/$defs/oauth-flows/$defs/authorization-code\"}},\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false,\"$defs\":{\"implicit\":{\"type\":\"object\",\"properties\":{\"authorizationUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"refreshUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"scopes\":{\"$ref\":\"#/$defs/map-of-strings\"}},\"required\":[\"authorizationUrl\",\"scopes\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"password\":{\"type\":\"object\",\"properties\":{\"tokenUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"refreshUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"scopes\":{\"$ref\":\"#/$defs/map-of-strings\"}},\"required\":[\"tokenUrl\",\"scopes\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"client-credentials\":{\"type\":\"object\",\"properties\":{\"tokenUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"refreshUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"scopes\":{\"$ref\":\"#/$defs/map-of-strings\"}},\"required\":[\"tokenUrl\",\"scopes\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false},\"authorization-code\":{\"type\":\"object\",\"properties\":{\"authorizationUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"tokenUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"refreshUrl\":{\"type\":\"string\",\"format\":\"uri\"},\"scopes\":{\"$ref\":\"#/$defs/map-of-strings\"}},\"required\":[\"authorizationUrl\",\"tokenUrl\",\"scopes\"],\"$ref\":\"#/$defs/specification-extensions\",\"unevaluatedProperties\":false}}},\"security-requirement\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#security-requirement-object\",\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"specification-extensions\":{\"$comment\":\"https://spec.openapis.org/oas/v3.1.0#specification-extensions\",\"patternProperties\":{\"^x-\":true}},\"examples\":{\"properties\":{\"example\":true,\"examples\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/$defs/example-or-reference\"}}}},\"map-of-strings\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"2022-10-07\". Here are the required top‑level fields: openapi, info. Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$id":"https://spec.openapis.org/oas/3.1/schema/2022-10-07","$schema":"https://json-schema.org/draft/2020-12/schema","description":"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0","type":"object","properties":{"openapi":{"type":"string","pattern":"^3\\.1\\.\\d+(-.+)?$"},"info":{"$ref":"#/$defs/info"},"jsonSchemaDialect":{"type":"string","format":"uri","default":"https://spec.openapis.org/oas/3.1/dialect/base"},"servers":{"type":"array","items":{"$ref":"#/$defs/server"},"default":[{"url":"/"}]},"paths":{"$ref":"#/$defs/paths"},"webhooks":{"type":"object","additionalProperties":{"$ref":"#/$defs/path-item-or-reference"}},"components":{"$ref":"#/$defs/components"},"security":{"type":"array","items":{"$ref":"#/$defs/security-requirement"}},"tags":{"type":"array","items":{"$ref":"#/$defs/tag"}},"externalDocs":{"$ref":"#/$defs/external-documentation"}},"required":["openapi","info"],"anyOf":[{"required":["paths"]},{"required":["components"]},{"required":["webhooks"]}],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false,"$defs":{"info":{"$comment":"https://spec.openapis.org/oas/v3.1.0#info-object","type":"object","properties":{"title":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"termsOfService":{"type":"string","format":"uri"},"contact":{"$ref":"#/$defs/contact"},"license":{"$ref":"#/$defs/license"},"version":{"type":"string"}},"required":["title","version"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"contact":{"$comment":"https://spec.openapis.org/oas/v3.1.0#contact-object","type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"email":{"type":"string","format":"email"}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"license":{"$comment":"https://spec.openapis.org/oas/v3.1.0#license-object","type":"object","properties":{"name":{"type":"string"},"identifier":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["name"],"dependentSchemas":{"identifier":{"not":{"required":["url"]}}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"server":{"$comment":"https://spec.openapis.org/oas/v3.1.0#server-object","type":"object","properties":{"url":{"type":"string","format":"uri-reference"},"description":{"type":"string"},"variables":{"type":"object","additionalProperties":{"$ref":"#/$defs/server-variable"}}},"required":["url"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"server-variable":{"$comment":"https://spec.openapis.org/oas/v3.1.0#server-variable-object","type":"object","properties":{"enum":{"type":"array","items":{"type":"string"},"minItems":1},"default":{"type":"string"},"description":{"type":"string"}},"required":["default"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"components":{"$comment":"https://spec.openapis.org/oas/v3.1.0#components-object","type":"object","properties":{"schemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}},"responses":{"type":"object","additionalProperties":{"$ref":"#/$defs/response-or-reference"}},"parameters":{"type":"object","additionalProperties":{"$ref":"#/$defs/parameter-or-reference"}},"examples":{"type":"object","additionalProperties":{"$ref":"#/$defs/example-or-reference"}},"requestBodies":{"type":"object","additionalProperties":{"$ref":"#/$defs/request-body-or-reference"}},"headers":{"type":"object","additionalProperties":{"$ref":"#/$defs/header-or-reference"}},"securitySchemes":{"type":"object","additionalProperties":{"$ref":"#/$defs/security-scheme-or-reference"}},"links":{"type":"object","additionalProperties":{"$ref":"#/$defs/link-or-reference"}},"callbacks":{"type":"object","additionalProperties":{"$ref":"#/$defs/callbacks-or-reference"}},"pathItems":{"type":"object","additionalProperties":{"$ref":"#/$defs/path-item-or-reference"}}},"patternProperties":{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{"$comment":"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected","propertyNames":{"pattern":"^[a-zA-Z0-9._-]+$"}}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"paths":{"$comment":"https://spec.openapis.org/oas/v3.1.0#paths-object","type":"object","patternProperties":{"^/":{"$ref":"#/$defs/path-item"}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"path-item":{"$comment":"https://spec.openapis.org/oas/v3.1.0#path-item-object","type":"object","properties":{"summary":{"type":"string"},"description":{"type":"string"},"servers":{"type":"array","items":{"$ref":"#/$defs/server"}},"parameters":{"type":"array","items":{"$ref":"#/$defs/parameter-or-reference"}},"get":{"$ref":"#/$defs/operation"},"put":{"$ref":"#/$defs/operation"},"post":{"$ref":"#/$defs/operation"},"delete":{"$ref":"#/$defs/operation"},"options":{"$ref":"#/$defs/operation"},"head":{"$ref":"#/$defs/operation"},"patch":{"$ref":"#/$defs/operation"},"trace":{"$ref":"#/$defs/operation"}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"path-item-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/path-item"}},"operation":{"$comment":"https://spec.openapis.org/oas/v3.1.0#operation-object","type":"object","properties":{"tags":{"type":"array","items":{"type":"string"}},"summary":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/$defs/external-documentation"},"operationId":{"type":"string"},"parameters":{"type":"array","items":{"$ref":"#/$defs/parameter-or-reference"}},"requestBody":{"$ref":"#/$defs/request-body-or-reference"},"responses":{"$ref":"#/$defs/responses"},"callbacks":{"type":"object","additionalProperties":{"$ref":"#/$defs/callbacks-or-reference"}},"deprecated":{"default":false,"type":"boolean"},"security":{"type":"array","items":{"$ref":"#/$defs/security-requirement"}},"servers":{"type":"array","items":{"$ref":"#/$defs/server"}}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"external-documentation":{"$comment":"https://spec.openapis.org/oas/v3.1.0#external-documentation-object","type":"object","properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"parameter":{"$comment":"https://spec.openapis.org/oas/v3.1.0#parameter-object","type":"object","properties":{"name":{"type":"string"},"in":{"enum":["query","header","path","cookie"]},"description":{"type":"string"},"required":{"default":false,"type":"boolean"},"deprecated":{"default":false,"type":"boolean"},"schema":{"$dynamicRef":"#meta"},"content":{"$ref":"#/$defs/content","minProperties":1,"maxProperties":1}},"required":["name","in"],"oneOf":[{"required":["schema"]},{"required":["content"]}],"if":{"properties":{"in":{"const":"query"}},"required":["in"]},"then":{"properties":{"allowEmptyValue":{"default":false,"type":"boolean"}}},"dependentSchemas":{"schema":{"properties":{"style":{"type":"string"},"explode":{"type":"boolean"}},"allOf":[{"$ref":"#/$defs/examples"},{"$ref":"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{"$ref":"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{"$ref":"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{"$ref":"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{"$ref":"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],"$defs":{"styles-for-path":{"if":{"properties":{"in":{"const":"path"}},"required":["in"]},"then":{"properties":{"name":{"pattern":"[^/#?]+$"},"style":{"default":"simple","enum":["matrix","label","simple"]},"required":{"const":true}},"required":["required"]}},"styles-for-header":{"if":{"properties":{"in":{"const":"header"}},"required":["in"]},"then":{"properties":{"style":{"default":"simple","const":"simple"}}}},"styles-for-query":{"if":{"properties":{"in":{"const":"query"}},"required":["in"]},"then":{"properties":{"style":{"default":"form","enum":["form","spaceDelimited","pipeDelimited","deepObject"]},"allowReserved":{"default":false,"type":"boolean"}}}},"styles-for-cookie":{"if":{"properties":{"in":{"const":"cookie"}},"required":["in"]},"then":{"properties":{"style":{"default":"form","const":"form"}}}},"styles-for-form":{"if":{"properties":{"style":{"const":"form"}},"required":["style"]},"then":{"properties":{"explode":{"default":true}}},"else":{"properties":{"explode":{"default":false}}}}}}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"parameter-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/parameter"}},"request-body":{"$comment":"https://spec.openapis.org/oas/v3.1.0#request-body-object","type":"object","properties":{"description":{"type":"string"},"content":{"$ref":"#/$defs/content"},"required":{"default":false,"type":"boolean"}},"required":["content"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"request-body-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/request-body"}},"content":{"$comment":"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10","type":"object","additionalProperties":{"$ref":"#/$defs/media-type"},"propertyNames":{"format":"media-range"}},"media-type":{"$comment":"https://spec.openapis.org/oas/v3.1.0#media-type-object","type":"object","properties":{"schema":{"$dynamicRef":"#meta"},"encoding":{"type":"object","additionalProperties":{"$ref":"#/$defs/encoding"}}},"allOf":[{"$ref":"#/$defs/specification-extensions"},{"$ref":"#/$defs/examples"}],"unevaluatedProperties":false},"encoding":{"$comment":"https://spec.openapis.org/oas/v3.1.0#encoding-object","type":"object","properties":{"contentType":{"type":"string","format":"media-range"},"headers":{"type":"object","additionalProperties":{"$ref":"#/$defs/header-or-reference"}},"style":{"default":"form","enum":["form","spaceDelimited","pipeDelimited","deepObject"]},"explode":{"type":"boolean"},"allowReserved":{"default":false,"type":"boolean"}},"allOf":[{"$ref":"#/$defs/specification-extensions"},{"$ref":"#/$defs/encoding/$defs/explode-default"}],"unevaluatedProperties":false,"$defs":{"explode-default":{"if":{"properties":{"style":{"const":"form"}},"required":["style"]},"then":{"properties":{"explode":{"default":true}}},"else":{"properties":{"explode":{"default":false}}}}}},"responses":{"$comment":"https://spec.openapis.org/oas/v3.1.0#responses-object","type":"object","properties":{"default":{"$ref":"#/$defs/response-or-reference"}},"patternProperties":{"^[1-5](?:[0-9]{2}|XX)$":{"$ref":"#/$defs/response-or-reference"}},"minProperties":1,"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"response":{"$comment":"https://spec.openapis.org/oas/v3.1.0#response-object","type":"object","properties":{"description":{"type":"string"},"headers":{"type":"object","additionalProperties":{"$ref":"#/$defs/header-or-reference"}},"content":{"$ref":"#/$defs/content"},"links":{"type":"object","additionalProperties":{"$ref":"#/$defs/link-or-reference"}}},"required":["description"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"response-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/response"}},"callbacks":{"$comment":"https://spec.openapis.org/oas/v3.1.0#callback-object","type":"object","$ref":"#/$defs/specification-extensions","additionalProperties":{"$ref":"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/callbacks"}},"example":{"$comment":"https://spec.openapis.org/oas/v3.1.0#example-object","type":"object","properties":{"summary":{"type":"string"},"description":{"type":"string"},"value":true,"externalValue":{"type":"string","format":"uri"}},"not":{"required":["value","externalValue"]},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"example-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/example"}},"link":{"$comment":"https://spec.openapis.org/oas/v3.1.0#link-object","type":"object","properties":{"operationRef":{"type":"string","format":"uri-reference"},"operationId":{"type":"string"},"parameters":{"$ref":"#/$defs/map-of-strings"},"requestBody":true,"description":{"type":"string"},"body":{"$ref":"#/$defs/server"}},"oneOf":[{"required":["operationRef"]},{"required":["operationId"]}],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"link-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/link"}},"header":{"$comment":"https://spec.openapis.org/oas/v3.1.0#header-object","type":"object","properties":{"description":{"type":"string"},"required":{"default":false,"type":"boolean"},"deprecated":{"default":false,"type":"boolean"},"schema":{"$dynamicRef":"#meta"},"content":{"$ref":"#/$defs/content","minProperties":1,"maxProperties":1}},"oneOf":[{"required":["schema"]},{"required":["content"]}],"dependentSchemas":{"schema":{"properties":{"style":{"default":"simple","const":"simple"},"explode":{"default":false,"type":"boolean"}},"$ref":"#/$defs/examples"}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"header-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/header"}},"tag":{"$comment":"https://spec.openapis.org/oas/v3.1.0#tag-object","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/$defs/external-documentation"}},"required":["name"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"reference":{"$comment":"https://spec.openapis.org/oas/v3.1.0#reference-object","type":"object","properties":{"$ref":{"type":"string","format":"uri-reference"},"summary":{"type":"string"},"description":{"type":"string"}},"unevaluatedProperties":false},"schema":{"$comment":"https://spec.openapis.org/oas/v3.1.0#schema-object","$dynamicAnchor":"meta","type":["object","boolean"]},"security-scheme":{"$comment":"https://spec.openapis.org/oas/v3.1.0#security-scheme-object","type":"object","properties":{"type":{"enum":["apiKey","http","mutualTLS","oauth2","openIdConnect"]},"description":{"type":"string"}},"required":["type"],"allOf":[{"$ref":"#/$defs/specification-extensions"},{"$ref":"#/$defs/security-scheme/$defs/type-apikey"},{"$ref":"#/$defs/security-scheme/$defs/type-http"},{"$ref":"#/$defs/security-scheme/$defs/type-http-bearer"},{"$ref":"#/$defs/security-scheme/$defs/type-oauth2"},{"$ref":"#/$defs/security-scheme/$defs/type-oidc"}],"unevaluatedProperties":false,"$defs":{"type-apikey":{"if":{"properties":{"type":{"const":"apiKey"}},"required":["type"]},"then":{"properties":{"name":{"type":"string"},"in":{"enum":["query","header","cookie"]}},"required":["name","in"]}},"type-http":{"if":{"properties":{"type":{"const":"http"}},"required":["type"]},"then":{"properties":{"scheme":{"type":"string"}},"required":["scheme"]}},"type-http-bearer":{"if":{"properties":{"type":{"const":"http"},"scheme":{"type":"string","pattern":"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},"required":["type","scheme"]},"then":{"properties":{"bearerFormat":{"type":"string"}}}},"type-oauth2":{"if":{"properties":{"type":{"const":"oauth2"}},"required":["type"]},"then":{"properties":{"flows":{"$ref":"#/$defs/oauth-flows"}},"required":["flows"]}},"type-oidc":{"if":{"properties":{"type":{"const":"openIdConnect"}},"required":["type"]},"then":{"properties":{"openIdConnectUrl":{"type":"string","format":"uri"}},"required":["openIdConnectUrl"]}}}},"security-scheme-or-reference":{"if":{"type":"object","required":["$ref"]},"then":{"$ref":"#/$defs/reference"},"else":{"$ref":"#/$defs/security-scheme"}},"oauth-flows":{"type":"object","properties":{"implicit":{"$ref":"#/$defs/oauth-flows/$defs/implicit"},"password":{"$ref":"#/$defs/oauth-flows/$defs/password"},"clientCredentials":{"$ref":"#/$defs/oauth-flows/$defs/client-credentials"},"authorizationCode":{"$ref":"#/$defs/oauth-flows/$defs/authorization-code"}},"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false,"$defs":{"implicit":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/$defs/map-of-strings"}},"required":["authorizationUrl","scopes"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"password":{"type":"object","properties":{"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/$defs/map-of-strings"}},"required":["tokenUrl","scopes"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"client-credentials":{"type":"object","properties":{"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/$defs/map-of-strings"}},"required":["tokenUrl","scopes"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false},"authorization-code":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/$defs/map-of-strings"}},"required":["authorizationUrl","tokenUrl","scopes"],"$ref":"#/$defs/specification-extensions","unevaluatedProperties":false}}},"security-requirement":{"$comment":"https://spec.openapis.org/oas/v3.1.0#security-requirement-object","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"specification-extensions":{"$comment":"https://spec.openapis.org/oas/v3.1.0#specification-extensions","patternProperties":{"^x-":true}},"examples":{"properties":{"example":true,"examples":{"type":"object","additionalProperties":{"$ref":"#/$defs/example-or-reference"}}}},"map-of-strings":{"type":"object","additionalProperties":{"type":"string"}}}}
Provide a JSON object that satisfies the schema "2022-10-07". Here are the required top‑level fields: openapi, info. Return only the valid JSON object.
2022-10-07
schema-store
schema_store_8
[ { "from": "system", "value": "You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:\n<schema>\n{\"$id\":\"https://raw.githubusercontent.com/roadrunner-server/roadrunner/refs/heads/master/schemas/config/3.0.schema.json\",\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"title\":\"RoadRunner Main Configuration File\",\"description\":\"This is your main RoadRunner configuration file. It should contain all the plugins you want to load and their configuration.\",\"type\":\"object\",\"required\":[\"version\"],\"properties\":{\"version\":{\"description\":\"RoadRunner configuration file version.\",\"type\":\"string\",\"default\":\"3\",\"enum\":[\"3\"]},\"amqp\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/amqp/refs/heads/master/schema.json#/definitions/driver\"},\"beanstalk\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/beanstalk/refs/heads/master/schema.json#/definitions/driver\"},\"centrifuge\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/centrifuge/refs/heads/master/schema.json\"},\"fileserver\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/fileserver/refs/heads/master/schema.json\"},\"grpc\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/grpc/refs/heads/master/schema.json\"},\"http\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/http/refs/heads/master/schema.json\"},\"jobs\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/jobs/refs/heads/master/schema.json\"},\"kafka\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/kafka/refs/heads/master/schema.json#/definitions/driver\"},\"kv\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/kv/refs/heads/master/schema.json\"},\"logs\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/logger/refs/heads/master/schema.json\"},\"metrics\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/metrics/refs/heads/master/schema.json\"},\"nats\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/nats/refs/heads/master/schema.json#/definitions/driver\"},\"otel\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/otel/refs/heads/master/schema.json\"},\"redis\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/redis/refs/heads/master/schema.json\"},\"rpc\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/rpc/refs/heads/master/schema.json\"},\"server\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/server/refs/heads/master/schema.json\"},\"service\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/service/refs/heads/master/schema.json\"},\"status\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/status/refs/heads/master/schema.json\"},\"sqs\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/sqs/refs/heads/master/schema.json#/definitions/driver\"},\"temporal\":{\"$ref\":\"https://raw.githubusercontent.com/temporalio/roadrunner-temporal/refs/heads/master/schema.json\"},\"tcp\":{\"$ref\":\"https://raw.githubusercontent.com/roadrunner-server/tcp/refs/heads/master/schema.json\"}},\"definitions\":{\"Duration\":{\"description\":\"Time duration\",\"type\":\"string\",\"pattern\":\"^([0-9]*(\\\\.[0-9]*)?(ms|h|m|s))+$\",\"examples\":[\"1h\",\"2.5h\",\"2m\",\".2m\",\"30s\",\"30.03s\",\"300ms\",\"1h3m40s500ms\"]}}}\n</schema>" }, { "from": "human", "value": "Provide a JSON object that satisfies the schema \"RoadRunner Main Configuration File\". Here are the required top‑level fields: version. Return only the valid JSON object." }, { "from": "gpt", "value": "" } ]
{"$id":"https://raw.githubusercontent.com/roadrunner-server/roadrunner/refs/heads/master/schemas/config/3.0.schema.json","$schema":"https://json-schema.org/draft/2019-09/schema","title":"RoadRunner Main Configuration File","description":"This is your main RoadRunner configuration file. It should contain all the plugins you want to load and their configuration.","type":"object","required":["version"],"properties":{"version":{"description":"RoadRunner configuration file version.","type":"string","default":"3","enum":["3"]},"amqp":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/amqp/refs/heads/master/schema.json#/definitions/driver"},"beanstalk":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/beanstalk/refs/heads/master/schema.json#/definitions/driver"},"centrifuge":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/centrifuge/refs/heads/master/schema.json"},"fileserver":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/fileserver/refs/heads/master/schema.json"},"grpc":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/grpc/refs/heads/master/schema.json"},"http":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/http/refs/heads/master/schema.json"},"jobs":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/jobs/refs/heads/master/schema.json"},"kafka":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/kafka/refs/heads/master/schema.json#/definitions/driver"},"kv":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/kv/refs/heads/master/schema.json"},"logs":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/logger/refs/heads/master/schema.json"},"metrics":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/metrics/refs/heads/master/schema.json"},"nats":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/nats/refs/heads/master/schema.json#/definitions/driver"},"otel":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/otel/refs/heads/master/schema.json"},"redis":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/redis/refs/heads/master/schema.json"},"rpc":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/rpc/refs/heads/master/schema.json"},"server":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/server/refs/heads/master/schema.json"},"service":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/service/refs/heads/master/schema.json"},"status":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/status/refs/heads/master/schema.json"},"sqs":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/sqs/refs/heads/master/schema.json#/definitions/driver"},"temporal":{"$ref":"https://raw.githubusercontent.com/temporalio/roadrunner-temporal/refs/heads/master/schema.json"},"tcp":{"$ref":"https://raw.githubusercontent.com/roadrunner-server/tcp/refs/heads/master/schema.json"}},"definitions":{"Duration":{"description":"Time duration","type":"string","pattern":"^([0-9]*(\\.[0-9]*)?(ms|h|m|s))+$","examples":["1h","2.5h","2m",".2m","30s","30.03s","300ms","1h3m40s500ms"]}}}
Provide a JSON object that satisfies the schema "RoadRunner Main Configuration File". Here are the required top‑level fields: version. Return only the valid JSON object.
RoadRunner Main Configuration File
schema-store
schema_store_9
[{"from":"system","value":"You are a helpful assistant that answers strictly in JSON. Here's the JSO(...TRUNCATED)
"{\"openapi\":\"3.0.2\",\"components\":{\"parameters\":{\"$filter\":{\"name\":\"$filter\",\"in\":\"q(...TRUNCATED)
"Provide a JSON object that satisfies the schema \"AppDefinition\". Here are the required top‑leve(...TRUNCATED)
AppDefinition
schema-store
schema_store_10
[{"from":"system","value":"You are a helpful assistant that answers strictly in JSON. Here's the JSO(...TRUNCATED)
"{\"$schema\":\"http://json-schema.org/draft-04/schema#\",\"description\":\"BizTalk Server Applicati(...TRUNCATED)
"Provide a JSON object that satisfies the schema \"BizTalkServerApplicationInventorySchema\". Here a(...TRUNCATED)
BizTalkServerApplicationInventorySchema
schema-store
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
10