{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/openeo/main/json-schema/openeo-json-schema-schema.json", "title": "JSON Schema", "description": "A JSON Schema compliant to [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html) or later.\n\nJSON Schemas SHOULD always be dereferenced (i.e. all `$refs` should be resolved).\nThis allows clients to consume the schemas much better.\nClients are not expected to support dereferencing `$refs`.\n\nNote: The specified schema in the OpenAPI document is only a common subset of JSON Schema.\nAdditional keywords from the JSON Schema specification MAY be used.", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/openeo-openapi.yml#/components/schemas/json_schema", "type": "object", "properties": { "$schema": { "description": "The JSON Schema version. If not given in the context of openEO,\ndefaults to JSON Schema draft-07: `http://json-schema.org/draft-07/schema#`\n\nThe default value for `$schema` property may have to be added to the JSON Schema\nobject before passing it to a JSON Schema validator.", "type": "string", "format": "uri", "default": "http://json-schema.org/draft-07/schema#" }, "$id": { "description": "ID of your JSON Schema.", "type": "string", "format": "uri" }, "type": { "description": "The allowed data type(s) for a value.\n\nIf this property is not present, all data types are allowed.", "oneOf": [ { "$ref": "#/$defs/json_schema_type" }, { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/json_schema_type" } } ] }, "pattern": { "type": "string", "format": "regex", "description": "The regular expression a string value must match against." }, "enum": { "type": "array", "items": {}, "description": "An exclusive list of allowed values." }, "minimum": { "type": "number", "description": "The minimum value (inclusive) allowed for a numerical value." }, "maximum": { "type": "number", "description": "The maximum value (inclusive) allowed for a numerical value." }, "minItems": { "type": "number", "minimum": 0, "default": 0, "description": "The minimum number of items required in an array." }, "maxItems": { "type": "number", "minimum": 0, "description": "The maximum number of items required in an array." }, "items": { "description": "Specifies schemas for the items in an array.", "anyOf": [ { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/json_schema" } }, { "$ref": "#/$defs/json_schema" } ] } }, "additionalProperties": { "description": "Any other property supported by the JSON Schema version that is given through the property `$schema` are allowed. Defaults to JSON Schema [draft-07](https://json-schema.org/draft-07/json-schema-validation.html), but can also be any later version of JSON Schema." }, "$defs": { "json_schema": { "type": "object", "title": "JSON Schema", "description": "A JSON Schema compliant to [JSON Schema draft-07](https://json-schema.org/draft-07/json-schema-validation.html) or later.\n\nJSON Schemas SHOULD always be dereferenced (i.e. all `$refs` should be resolved).\nThis allows clients to consume the schemas much better.\nClients are not expected to support dereferencing `$refs`.\n\nNote: The specified schema in the OpenAPI document is only a common subset of JSON Schema.\nAdditional keywords from the JSON Schema specification MAY be used.", "properties": { "$schema": { "description": "The JSON Schema version. If not given in the context of openEO,\ndefaults to JSON Schema draft-07: `http://json-schema.org/draft-07/schema#`\n\nThe default value for `$schema` property may have to be added to the JSON Schema\nobject before passing it to a JSON Schema validator.", "type": "string", "format": "uri", "default": "http://json-schema.org/draft-07/schema#" }, "$id": { "description": "ID of your JSON Schema.", "type": "string", "format": "uri" }, "type": { "description": "The allowed data type(s) for a value.\n\nIf this property is not present, all data types are allowed.", "oneOf": [ { "$ref": "#/$defs/json_schema_type" }, { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/json_schema_type" } } ] }, "pattern": { "type": "string", "format": "regex", "description": "The regular expression a string value must match against." }, "enum": { "type": "array", "items": {}, "description": "An exclusive list of allowed values." }, "minimum": { "type": "number", "description": "The minimum value (inclusive) allowed for a numerical value." }, "maximum": { "type": "number", "description": "The maximum value (inclusive) allowed for a numerical value." }, "minItems": { "type": "number", "minimum": 0, "default": 0, "description": "The minimum number of items required in an array." }, "maxItems": { "type": "number", "minimum": 0, "description": "The maximum number of items required in an array." }, "items": { "description": "Specifies schemas for the items in an array.", "anyOf": [ { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/json_schema" } }, { "$ref": "#/$defs/json_schema" } ] } }, "additionalProperties": { "description": "Any other property supported by the JSON Schema version that is given through the property `$schema` are allowed. Defaults to JSON Schema [draft-07](https://json-schema.org/draft-07/json-schema-validation.html), but can also be any later version of JSON Schema." } }, "json_schema_type": { "type": "string", "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ] } } }