Path: blob/master/Help/manual/file_api/schema_stateful_query.json
5016 views
{1"$schema": "http://json-schema.org/draft-07/schema#",2"description": "Schema for CMake file API query.json files",3"type": "object",4"required": [5"requests"6],7"properties": {8"requests": {9"type": "array",10"items": {11"type": "object",12"required": [13"kind",14"version"15],16"properties": {17"kind": {18"type": "string",19"description": "Specifies one of the Object Kinds to be included in the reply"20},21"version": {22"description": "Version(s) of the object kind that the client understands",23"oneOf": [24{25"$ref": "#/definitions/versionMajorOnly"26},27{28"$ref": "#/definitions/versionObject"29},30{31"type": "array",32"items": {33"oneOf": [34{35"$ref": "#/definitions/versionMajorOnly"36},37{38"$ref": "#/definitions/versionObject"39}40]41}42}43]44},45"client": {46"description": "Optional member reserved for use by the client. This value is preserved in the reply."47}48}49}50},51"client": {52"description": "Optional member reserved for use by the client. This value is preserved in the reply."53}54},55"$comment": "Other top level properties are reserved for future use. If present, they are ignored for forward compatibility.",56"additionalProperties": true,57"definitions": {58"versionMajorOnly": {59"type": "integer",60"description": "A non-negative major version number",61"minimum": 062},63"versionObject": {64"type": "object",65"required": [66"major"67],68"properties": {69"major": {70"type": "integer",71"description": "The major version number",72"minimum": 073},74"minor": {75"type": "integer",76"description": "The minor version number",77"minimum": 078}79},80"additionalProperties": false81}82}83}848586