1 # The MIT License (MIT)
3 # Copyright (c) 2020 Philippe Proulx <pproulx@efficios.com>
5 # Permission is hereby granted, free of charge, to any person obtaining
6 # a copy of this software and associated documentation files (the
7 # "Software"), to deal in the Software without restriction, including
8 # without limitation the rights to use, copy, modify, merge, publish,
9 # distribute, sublicense, and/or sell copies of the Software, and to
10 # permit persons to whom the Software is furnished to do so, subject to
11 # the following conditions:
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 $schema: http://json-schema.org/draft-07/schema#
25 $id: https://barectf.org/schemas/2/config/config.json
26 title: Effective configuration object
43 - $ref: https://barectf.org/schemas/2/config/field-type.json
45 opt-struct-field-type:
47 - $ref: https://barectf.org/schemas/2/config/field-type.json#/definitions/struct-field-type
54 $ref: https://barectf.org/schemas/2/config/byte-order-prop.json
57 - $ref: https://barectf.org/schemas/2/config/uuid-prop.json
62 $ref: '#/definitions/opt-struct-field-type'
65 additionalProperties: false
84 - $ref: https://barectf.org/schemas/2/config/uuid-prop.json
87 $ref: '#/definitions/opt-string'
94 $ref: '#/definitions/opt-int-min-0'
100 $ref: '#/definitions/opt-int-min-0'
102 $ref: '#/definitions/opt-int-min-0'
103 additionalProperties: false
106 $ref: '#/definitions/opt-bool'
108 $ref: '#/definitions/opt-string'
110 $ref: '#/definitions/opt-string'
111 additionalProperties: false
115 pattern: '^[A-Za-z_][A-Za-z0-9_]*$'
122 $ref: '#/definitions/opt-bool'
124 $ref: '#/definitions/opt-struct-field-type'
126 $ref: '#/definitions/opt-struct-field-type'
128 $ref: '#/definitions/opt-struct-field-type'
133 '^[A-Za-z_][A-Za-z0-9_]*$':
134 $ref: '#/definitions/event'
135 additionalProperties: false
139 additionalProperties: false
145 $ref: '#/definitions/opt-int-min-0'
147 $ref: '#/definitions/opt-struct-field-type'
149 $ref: '#/definitions/opt-struct-field-type'
150 additionalProperties: false
162 - pattern: '^[A-Za-z_][A-Za-z0-9_]*$'
181 title: Configuration options object
186 gen-default-stream-def:
188 additionalProperties: false
190 title: Metadata object
194 $ref: '#/definitions/trace'
196 title: Environment variables
200 '^[A-Za-z_][A-Za-z0-9_]*$':
204 additionalProperties: false
210 '^[A-Za-z_][A-Za-z0-9_]*$':
211 $ref: '#/definitions/clock'
212 additionalProperties: false
214 $ref: '#/definitions/opt-string'
216 title: Streams object
219 '^[A-Za-z_][A-Za-z0-9_]*$':
220 $ref: '#/definitions/stream'
221 additionalProperties: false
226 additionalProperties: false
230 additionalProperties: false