fork of https://github.com/sourcegraph/zoekt
1{
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "$ref": "#/definitions/XdsServer",
4 "definitions": {
5 "XdsServer": {
6 "properties": {
7 "server_uri": {
8 "type": "string",
9 "description": "Required."
10 },
11 "channel_creds": {
12 "items": {
13 "$ref": "#/definitions/grpc.service_config.XdsServer.ChannelCredentials"
14 },
15 "type": "array",
16 "description": "A list of channel creds to use. The first supported type will be used."
17 },
18 "server_features": {
19 "items": {
20 "oneOf": [
21 {
22 "type": "array"
23 },
24 {
25 "type": "boolean"
26 },
27 {
28 "type": "number"
29 },
30 {
31 "type": "object"
32 },
33 {
34 "type": "string"
35 }
36 ],
37 "title": "Value",
38 "description": "`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. The JSON representation for `Value` is JSON value."
39 },
40 "type": "array",
41 "description": "A repeated list of server features."
42 }
43 },
44 "additionalProperties": true,
45 "type": "object",
46 "title": "Xds Server",
47 "description": "Represents an xDS server."
48 },
49 "grpc.service_config.XdsServer.ChannelCredentials": {
50 "properties": {
51 "type": {
52 "type": "string",
53 "description": "Required."
54 },
55 "config": {
56 "additionalProperties": true,
57 "type": "object",
58 "description": "Optional JSON config."
59 }
60 },
61 "additionalProperties": true,
62 "type": "object",
63 "title": "Channel Credentials"
64 }
65 }
66}