@ts-type/package-dts 1.0.60 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,317 @@
1
1
  {
2
- "title": "JSON schema for Travis CI configuration files",
3
2
  "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "allOf": [
4
+ {
5
+ "$ref": "#/definitions/job"
6
+ },
7
+ {
8
+ "type": "object",
9
+ "properties": {
10
+ "notifications": {
11
+ "type": "object",
12
+ "properties": {
13
+ "webhooks": {
14
+ "oneOf": [
15
+ {
16
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
17
+ },
18
+ {
19
+ "type": "boolean"
20
+ },
21
+ {
22
+ "$ref": "#/definitions/notificationObject/webhooks"
23
+ },
24
+ {
25
+ "type": "array",
26
+ "uniqueItems": true,
27
+ "minItems": 1,
28
+ "items": {
29
+ "$ref": "#/definitions/notificationObject/webhooks"
30
+ }
31
+ }
32
+ ]
33
+ },
34
+ "slack": {
35
+ "oneOf": [
36
+ {
37
+ "$ref": "#/definitions/slackRoom"
38
+ },
39
+ {
40
+ "type": "boolean"
41
+ },
42
+ {
43
+ "$ref": "#/definitions/notificationObject/slack"
44
+ },
45
+ {
46
+ "type": "array",
47
+ "uniqueItems": true,
48
+ "minItems": 1,
49
+ "items": {
50
+ "$ref": "#/definitions/notificationObject/slack"
51
+ }
52
+ }
53
+ ]
54
+ },
55
+ "email": {
56
+ "oneOf": [
57
+ {
58
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
59
+ },
60
+ {
61
+ "type": "boolean"
62
+ },
63
+ {
64
+ "$ref": "#/definitions/notificationObject/email"
65
+ },
66
+ {
67
+ "type": "array",
68
+ "uniqueItems": true,
69
+ "minItems": 1,
70
+ "items": {
71
+ "$ref": "#/definitions/notificationObject/email"
72
+ }
73
+ }
74
+ ]
75
+ },
76
+ "irc": {
77
+ "oneOf": [
78
+ {
79
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
80
+ },
81
+ {
82
+ "type": "boolean"
83
+ },
84
+ {
85
+ "$ref": "#/definitions/notificationObject/irc"
86
+ },
87
+ {
88
+ "type": "array",
89
+ "uniqueItems": true,
90
+ "minItems": 1,
91
+ "items": {
92
+ "$ref": "#/definitions/notificationObject/irc"
93
+ }
94
+ }
95
+ ]
96
+ },
97
+ "pushover": {
98
+ "oneOf": [
99
+ {
100
+ "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
101
+ },
102
+ {
103
+ "type": "boolean"
104
+ },
105
+ {
106
+ "$ref": "#/definitions/notificationObject/pushover"
107
+ },
108
+ {
109
+ "type": "array",
110
+ "uniqueItems": true,
111
+ "minItems": 1,
112
+ "items": {
113
+ "$ref": "#/definitions/notificationObject/pushover"
114
+ }
115
+ }
116
+ ]
117
+ },
118
+ "campfire": {
119
+ "oneOf": [
120
+ {
121
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
122
+ },
123
+ {
124
+ "type": "boolean"
125
+ },
126
+ {
127
+ "$ref": "#/definitions/notificationObject/campfire"
128
+ },
129
+ {
130
+ "type": "array",
131
+ "uniqueItems": true,
132
+ "minItems": 1,
133
+ "items": {
134
+ "$ref": "#/definitions/notificationObject/campfire"
135
+ }
136
+ }
137
+ ]
138
+ },
139
+ "flowdock": {
140
+ "oneOf": [
141
+ {
142
+ "$ref": "#/definitions/possiblySecretString"
143
+ },
144
+ {
145
+ "type": "boolean"
146
+ },
147
+ {
148
+ "$ref": "#/definitions/notificationObject/flowdock"
149
+ },
150
+ {
151
+ "type": "array",
152
+ "uniqueItems": true,
153
+ "minItems": 1,
154
+ "items": {
155
+ "$ref": "#/definitions/notificationObject/flowdock"
156
+ }
157
+ }
158
+ ]
159
+ },
160
+ "hipchat": {
161
+ "oneOf": [
162
+ {
163
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
164
+ },
165
+ {
166
+ "type": "boolean"
167
+ },
168
+ {
169
+ "$ref": "#/definitions/notificationObject/hipchat"
170
+ },
171
+ {
172
+ "type": "array",
173
+ "uniqueItems": true,
174
+ "minItems": 1,
175
+ "items": {
176
+ "$ref": "#/definitions/notificationObject/hipchat"
177
+ }
178
+ }
179
+ ]
180
+ }
181
+ },
182
+ "additionalProperties": false
183
+ },
184
+ "matrix": {
185
+ "type": "object",
186
+ "properties": {
187
+ "exclude": {
188
+ "type": "array",
189
+ "items": {
190
+ "$ref": "#/definitions/job"
191
+ }
192
+ },
193
+ "include": {
194
+ "type": "array",
195
+ "items": {
196
+ "$ref": "#/definitions/job"
197
+ }
198
+ },
199
+ "allow_failures": {
200
+ "type": "array",
201
+ "items": {
202
+ "$ref": "#/definitions/job"
203
+ }
204
+ },
205
+ "fast_finish": {
206
+ "type": "boolean",
207
+ "description": "If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
208
+ }
209
+ },
210
+ "additionalProperties": false
211
+ },
212
+ "jobs": {
213
+ "type": "object",
214
+ "additionalProperties": false,
215
+ "properties": {
216
+ "include": {
217
+ "type": "array",
218
+ "items": {
219
+ "allOf": [
220
+ {
221
+ "$ref": "#/definitions/job"
222
+ },
223
+ {
224
+ "type": "object",
225
+ "properties": {
226
+ "stage": {
227
+ "type": "string",
228
+ "description": "The name of the build stage",
229
+ "default": "test"
230
+ }
231
+ }
232
+ }
233
+ ]
234
+ }
235
+ },
236
+ "exclude": {
237
+ "type": "array",
238
+ "items": {
239
+ "allOf": [
240
+ {
241
+ "$ref": "#/definitions/job"
242
+ },
243
+ {
244
+ "type": "object",
245
+ "properties": {
246
+ "stage": {
247
+ "type": "string",
248
+ "description": "The name of the build stage",
249
+ "default": "test"
250
+ }
251
+ }
252
+ }
253
+ ]
254
+ }
255
+ },
256
+ "allow_failures": {
257
+ "type": "array",
258
+ "items": {
259
+ "$ref": "#/definitions/job"
260
+ }
261
+ },
262
+ "fast_finish": {
263
+ "type": "boolean",
264
+ "description": "If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
265
+ }
266
+ }
267
+ },
268
+ "stages": {
269
+ "type": "array",
270
+ "description": "Specifies the order of build stages",
271
+ "items": {
272
+ "oneOf": [
273
+ {
274
+ "type": "string"
275
+ },
276
+ {
277
+ "type": "object",
278
+ "additionalProperties": false,
279
+ "properties": {
280
+ "name": {
281
+ "type": "string"
282
+ },
283
+ "if": {
284
+ "description": "Specifies a condition for the stage",
285
+ "type": "string"
286
+ }
287
+ }
288
+ }
289
+ ]
290
+ }
291
+ },
292
+ "version": {
293
+ "type": "string",
294
+ "description": "Build config specification version",
295
+ "pattern": "^(~>|>|>=|=|<=|<) (\\d+(?:\\.\\d+)?(?:\\.\\d+)?)$"
296
+ },
297
+ "import": {
298
+ "description": "Import YAML config snippets that can be shared across repositories.",
299
+ "oneOf": [
300
+ {
301
+ "type": "array",
302
+ "uniqueItems": true,
303
+ "items": {
304
+ "$ref": "#/definitions/import"
305
+ }
306
+ },
307
+ {
308
+ "$ref": "#/definitions/import"
309
+ }
310
+ ]
311
+ }
312
+ }
313
+ }
314
+ ],
4
315
  "definitions": {
5
316
  "nonEmptyString": {
6
317
  "type": "string",
@@ -203,6 +514,7 @@
203
514
  },
204
515
  "xcodeVersions": {
205
516
  "enum": [
517
+ "xcode6.4",
206
518
  "xcode7.3",
207
519
  "xcode8",
208
520
  "xcode8.3",
@@ -220,6 +532,7 @@
220
532
  "xcode11.2",
221
533
  "xcode11.3",
222
534
  "xcode11.4",
535
+ "xcode11.4.1",
223
536
  "xcode11.5",
224
537
  "xcode11.6",
225
538
  "xcode12u",
@@ -229,7 +542,9 @@
229
542
  "xcode12.4",
230
543
  "xcode12.5",
231
544
  "xcode13.1",
232
- "xcode13.2"
545
+ "xcode13.2",
546
+ "xcode13.3",
547
+ "xcode13.4"
233
548
  ]
234
549
  },
235
550
  "envVars": {
@@ -674,6 +989,7 @@
674
989
  {
675
990
  "enum": [
676
991
  "amd64",
992
+ "x86_64",
677
993
  "arm64",
678
994
  "ppc64le",
679
995
  "s390x",
@@ -743,7 +1059,8 @@
743
1059
  "trusty",
744
1060
  "xenial",
745
1061
  "bionic",
746
- "focal"
1062
+ "focal",
1063
+ "jammy"
747
1064
  ]
748
1065
  },
749
1066
  "sudo": {
@@ -1803,129 +2120,9 @@
1803
2120
  "password": {
1804
2121
  "$ref": "#/definitions/possiblySecretString"
1805
2122
  },
1806
- "template": {
1807
- "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
1808
- },
1809
- "on_success": {
1810
- "$ref": "#/definitions/notificationFrequency",
1811
- "default": "always"
1812
- },
1813
- "on_failure": {
1814
- "$ref": "#/definitions/notificationFrequency",
1815
- "default": "always"
1816
- },
1817
- "on_start": {
1818
- "$ref": "#/definitions/notificationFrequency",
1819
- "default": "never"
1820
- },
1821
- "on_cancel": {
1822
- "$ref": "#/definitions/notificationFrequency",
1823
- "default": "always"
1824
- },
1825
- "on_error": {
1826
- "$ref": "#/definitions/notificationFrequency",
1827
- "default": "always"
1828
- },
1829
- "skip_join": {
1830
- "type": "boolean"
1831
- },
1832
- "use_notice": {
1833
- "type": "boolean"
1834
- }
1835
- }
1836
- },
1837
- "pushover": {
1838
- "type": "object",
1839
- "additionalProperties": false,
1840
- "properties": {
1841
- "disabled": {
1842
- "type": "boolean"
1843
- },
1844
- "enabled": {
1845
- "type": "boolean"
1846
- },
1847
- "api_key": {
1848
- "$ref": "#/definitions/possiblySecretString"
1849
- },
1850
- "users": {
1851
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
1852
- },
1853
- "template": {
1854
- "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
1855
- },
1856
- "on_success": {
1857
- "$ref": "#/definitions/notificationFrequency",
1858
- "default": "always"
1859
- },
1860
- "on_failure": {
1861
- "$ref": "#/definitions/notificationFrequency",
1862
- "default": "always"
1863
- },
1864
- "on_start": {
1865
- "$ref": "#/definitions/notificationFrequency",
1866
- "default": "never"
1867
- },
1868
- "on_cancel": {
1869
- "$ref": "#/definitions/notificationFrequency",
1870
- "default": "always"
1871
- },
1872
- "on_error": {
1873
- "$ref": "#/definitions/notificationFrequency",
1874
- "default": "always"
1875
- }
1876
- }
1877
- },
1878
- "campfire": {
1879
- "type": "object",
1880
- "additionalProperties": false,
1881
- "properties": {
1882
- "disabled": {
1883
- "type": "boolean"
1884
- },
1885
- "enabled": {
1886
- "type": "boolean"
1887
- },
1888
- "rooms": {
1889
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
1890
- },
1891
- "template": {
1892
- "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
1893
- },
1894
- "on_success": {
1895
- "$ref": "#/definitions/notificationFrequency",
1896
- "default": "always"
1897
- },
1898
- "on_failure": {
1899
- "$ref": "#/definitions/notificationFrequency",
1900
- "default": "always"
1901
- },
1902
- "on_start": {
1903
- "$ref": "#/definitions/notificationFrequency",
1904
- "default": "never"
1905
- },
1906
- "on_cancel": {
1907
- "$ref": "#/definitions/notificationFrequency",
1908
- "default": "always"
1909
- },
1910
- "on_error": {
1911
- "$ref": "#/definitions/notificationFrequency",
1912
- "default": "always"
1913
- }
1914
- }
1915
- },
1916
- "flowdock": {
1917
- "type": "object",
1918
- "additionalProperties": false,
1919
- "properties": {
1920
- "disabled": {
1921
- "type": "boolean"
1922
- },
1923
- "enabled": {
1924
- "type": "boolean"
1925
- },
1926
- "api_token": {
1927
- "$ref": "#/definitions/nonEmptyString"
1928
- },
2123
+ "template": {
2124
+ "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
2125
+ },
1929
2126
  "on_success": {
1930
2127
  "$ref": "#/definitions/notificationFrequency",
1931
2128
  "default": "always"
@@ -1945,10 +2142,16 @@
1945
2142
  "on_error": {
1946
2143
  "$ref": "#/definitions/notificationFrequency",
1947
2144
  "default": "always"
2145
+ },
2146
+ "skip_join": {
2147
+ "type": "boolean"
2148
+ },
2149
+ "use_notice": {
2150
+ "type": "boolean"
1948
2151
  }
1949
2152
  }
1950
2153
  },
1951
- "hipchat": {
2154
+ "pushover": {
1952
2155
  "type": "object",
1953
2156
  "additionalProperties": false,
1954
2157
  "properties": {
@@ -1958,23 +2161,14 @@
1958
2161
  "enabled": {
1959
2162
  "type": "boolean"
1960
2163
  },
1961
- "notify": {
1962
- "type": "boolean"
1963
- },
1964
- "on_pull_requests": {
1965
- "type": "boolean"
2164
+ "api_key": {
2165
+ "$ref": "#/definitions/possiblySecretString"
1966
2166
  },
1967
- "rooms": {
2167
+ "users": {
1968
2168
  "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
1969
2169
  },
1970
- "format": {
1971
- "enum": [
1972
- "html",
1973
- "text"
1974
- ]
1975
- },
1976
2170
  "template": {
1977
- "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
2171
+ "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
1978
2172
  },
1979
2173
  "on_success": {
1980
2174
  "$ref": "#/definitions/notificationFrequency",
@@ -1997,353 +2191,165 @@
1997
2191
  "default": "always"
1998
2192
  }
1999
2193
  }
2000
- }
2001
- },
2002
- "import": {
2003
- "anyOf": [
2004
- {
2005
- "type": "object",
2006
- "additionalProperties": false,
2007
- "required": [
2008
- "source"
2009
- ],
2010
- "properties": {
2011
- "source": {
2012
- "$ref": "#/definitions/nonEmptyString",
2013
- "description": "The source to import build config from"
2014
- },
2015
- "mode": {
2016
- "type": "string",
2017
- "enum": [
2018
- "merge",
2019
- "deep_merge",
2020
- "deep_merge_append",
2021
- "deep_merge_prepend"
2022
- ],
2023
- "description": "How to merge the imported config into the target config (defaults to deep_merge_append)"
2024
- },
2025
- "if": {
2026
- "$ref": "#/definitions/nonEmptyString",
2027
- "description": "Specifies a condition for the import"
2028
- }
2029
- }
2030
- },
2031
- {
2032
- "$ref": "#/definitions/nonEmptyString"
2033
- }
2034
- ]
2035
- }
2036
- },
2037
- "allOf": [
2038
- {
2039
- "$ref": "#/definitions/job"
2040
- },
2041
- {
2042
- "type": "object",
2043
- "properties": {
2044
- "notifications": {
2045
- "type": "object",
2046
- "properties": {
2047
- "webhooks": {
2048
- "oneOf": [
2049
- {
2050
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2051
- },
2052
- {
2053
- "type": "boolean"
2054
- },
2055
- {
2056
- "$ref": "#/definitions/notificationObject/webhooks"
2057
- },
2058
- {
2059
- "type": "array",
2060
- "uniqueItems": true,
2061
- "minItems": 1,
2062
- "items": {
2063
- "$ref": "#/definitions/notificationObject/webhooks"
2064
- }
2065
- }
2066
- ]
2067
- },
2068
- "slack": {
2069
- "oneOf": [
2070
- {
2071
- "$ref": "#/definitions/slackRoom"
2072
- },
2073
- {
2074
- "type": "boolean"
2075
- },
2076
- {
2077
- "$ref": "#/definitions/notificationObject/slack"
2078
- },
2079
- {
2080
- "type": "array",
2081
- "uniqueItems": true,
2082
- "minItems": 1,
2083
- "items": {
2084
- "$ref": "#/definitions/notificationObject/slack"
2085
- }
2086
- }
2087
- ]
2088
- },
2089
- "email": {
2090
- "oneOf": [
2091
- {
2092
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2093
- },
2094
- {
2095
- "type": "boolean"
2096
- },
2097
- {
2098
- "$ref": "#/definitions/notificationObject/email"
2099
- },
2100
- {
2101
- "type": "array",
2102
- "uniqueItems": true,
2103
- "minItems": 1,
2104
- "items": {
2105
- "$ref": "#/definitions/notificationObject/email"
2106
- }
2107
- }
2108
- ]
2109
- },
2110
- "irc": {
2111
- "oneOf": [
2112
- {
2113
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2114
- },
2115
- {
2116
- "type": "boolean"
2117
- },
2118
- {
2119
- "$ref": "#/definitions/notificationObject/irc"
2120
- },
2121
- {
2122
- "type": "array",
2123
- "uniqueItems": true,
2124
- "minItems": 1,
2125
- "items": {
2126
- "$ref": "#/definitions/notificationObject/irc"
2127
- }
2128
- }
2129
- ]
2130
- },
2131
- "pushover": {
2132
- "oneOf": [
2133
- {
2134
- "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
2135
- },
2136
- {
2137
- "type": "boolean"
2138
- },
2139
- {
2140
- "$ref": "#/definitions/notificationObject/pushover"
2141
- },
2142
- {
2143
- "type": "array",
2144
- "uniqueItems": true,
2145
- "minItems": 1,
2146
- "items": {
2147
- "$ref": "#/definitions/notificationObject/pushover"
2148
- }
2149
- }
2150
- ]
2151
- },
2152
- "campfire": {
2153
- "oneOf": [
2154
- {
2155
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2156
- },
2157
- {
2158
- "type": "boolean"
2159
- },
2160
- {
2161
- "$ref": "#/definitions/notificationObject/campfire"
2162
- },
2163
- {
2164
- "type": "array",
2165
- "uniqueItems": true,
2166
- "minItems": 1,
2167
- "items": {
2168
- "$ref": "#/definitions/notificationObject/campfire"
2169
- }
2170
- }
2171
- ]
2172
- },
2173
- "flowdock": {
2174
- "oneOf": [
2175
- {
2176
- "$ref": "#/definitions/possiblySecretString"
2177
- },
2178
- {
2179
- "type": "boolean"
2180
- },
2181
- {
2182
- "$ref": "#/definitions/notificationObject/flowdock"
2183
- },
2184
- {
2185
- "type": "array",
2186
- "uniqueItems": true,
2187
- "minItems": 1,
2188
- "items": {
2189
- "$ref": "#/definitions/notificationObject/flowdock"
2190
- }
2191
- }
2192
- ]
2193
- },
2194
- "hipchat": {
2195
- "oneOf": [
2196
- {
2197
- "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2198
- },
2199
- {
2200
- "type": "boolean"
2201
- },
2202
- {
2203
- "$ref": "#/definitions/notificationObject/hipchat"
2204
- },
2205
- {
2206
- "type": "array",
2207
- "uniqueItems": true,
2208
- "minItems": 1,
2209
- "items": {
2210
- "$ref": "#/definitions/notificationObject/hipchat"
2211
- }
2212
- }
2213
- ]
2214
- }
2194
+ },
2195
+ "campfire": {
2196
+ "type": "object",
2197
+ "additionalProperties": false,
2198
+ "properties": {
2199
+ "disabled": {
2200
+ "type": "boolean"
2201
+ },
2202
+ "enabled": {
2203
+ "type": "boolean"
2204
+ },
2205
+ "rooms": {
2206
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2215
2207
  },
2216
- "additionalProperties": false
2217
- },
2218
- "matrix": {
2219
- "type": "object",
2220
- "properties": {
2221
- "exclude": {
2222
- "type": "array",
2223
- "items": {
2224
- "$ref": "#/definitions/job"
2225
- }
2226
- },
2227
- "include": {
2228
- "type": "array",
2229
- "items": {
2230
- "$ref": "#/definitions/job"
2231
- }
2232
- },
2233
- "allow_failures": {
2234
- "type": "array",
2235
- "items": {
2236
- "$ref": "#/definitions/job"
2237
- }
2238
- },
2239
- "fast_finish": {
2240
- "type": "boolean",
2241
- "description": "If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
2242
- }
2208
+ "template": {
2209
+ "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
2243
2210
  },
2244
- "additionalProperties": false
2245
- },
2246
- "jobs": {
2211
+ "on_success": {
2212
+ "$ref": "#/definitions/notificationFrequency",
2213
+ "default": "always"
2214
+ },
2215
+ "on_failure": {
2216
+ "$ref": "#/definitions/notificationFrequency",
2217
+ "default": "always"
2218
+ },
2219
+ "on_start": {
2220
+ "$ref": "#/definitions/notificationFrequency",
2221
+ "default": "never"
2222
+ },
2223
+ "on_cancel": {
2224
+ "$ref": "#/definitions/notificationFrequency",
2225
+ "default": "always"
2226
+ },
2227
+ "on_error": {
2228
+ "$ref": "#/definitions/notificationFrequency",
2229
+ "default": "always"
2230
+ }
2231
+ }
2232
+ },
2233
+ "flowdock": {
2234
+ "type": "object",
2235
+ "additionalProperties": false,
2236
+ "properties": {
2237
+ "disabled": {
2238
+ "type": "boolean"
2239
+ },
2240
+ "enabled": {
2241
+ "type": "boolean"
2242
+ },
2243
+ "api_token": {
2244
+ "$ref": "#/definitions/nonEmptyString"
2245
+ },
2246
+ "on_success": {
2247
+ "$ref": "#/definitions/notificationFrequency",
2248
+ "default": "always"
2249
+ },
2250
+ "on_failure": {
2251
+ "$ref": "#/definitions/notificationFrequency",
2252
+ "default": "always"
2253
+ },
2254
+ "on_start": {
2255
+ "$ref": "#/definitions/notificationFrequency",
2256
+ "default": "never"
2257
+ },
2258
+ "on_cancel": {
2259
+ "$ref": "#/definitions/notificationFrequency",
2260
+ "default": "always"
2261
+ },
2262
+ "on_error": {
2263
+ "$ref": "#/definitions/notificationFrequency",
2264
+ "default": "always"
2265
+ }
2266
+ }
2267
+ },
2268
+ "hipchat": {
2269
+ "type": "object",
2270
+ "additionalProperties": false,
2271
+ "properties": {
2272
+ "disabled": {
2273
+ "type": "boolean"
2274
+ },
2275
+ "enabled": {
2276
+ "type": "boolean"
2277
+ },
2278
+ "notify": {
2279
+ "type": "boolean"
2280
+ },
2281
+ "on_pull_requests": {
2282
+ "type": "boolean"
2283
+ },
2284
+ "rooms": {
2285
+ "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
2286
+ },
2287
+ "format": {
2288
+ "enum": [
2289
+ "html",
2290
+ "text"
2291
+ ]
2292
+ },
2293
+ "template": {
2294
+ "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings"
2295
+ },
2296
+ "on_success": {
2297
+ "$ref": "#/definitions/notificationFrequency",
2298
+ "default": "always"
2299
+ },
2300
+ "on_failure": {
2301
+ "$ref": "#/definitions/notificationFrequency",
2302
+ "default": "always"
2303
+ },
2304
+ "on_start": {
2305
+ "$ref": "#/definitions/notificationFrequency",
2306
+ "default": "never"
2307
+ },
2308
+ "on_cancel": {
2309
+ "$ref": "#/definitions/notificationFrequency",
2310
+ "default": "always"
2311
+ },
2312
+ "on_error": {
2313
+ "$ref": "#/definitions/notificationFrequency",
2314
+ "default": "always"
2315
+ }
2316
+ }
2317
+ }
2318
+ },
2319
+ "import": {
2320
+ "anyOf": [
2321
+ {
2247
2322
  "type": "object",
2248
2323
  "additionalProperties": false,
2324
+ "required": [
2325
+ "source"
2326
+ ],
2249
2327
  "properties": {
2250
- "include": {
2251
- "type": "array",
2252
- "items": {
2253
- "allOf": [
2254
- {
2255
- "$ref": "#/definitions/job"
2256
- },
2257
- {
2258
- "type": "object",
2259
- "properties": {
2260
- "stage": {
2261
- "type": "string",
2262
- "description": "The name of the build stage",
2263
- "default": "test"
2264
- }
2265
- }
2266
- }
2267
- ]
2268
- }
2269
- },
2270
- "exclude": {
2271
- "type": "array",
2272
- "items": {
2273
- "allOf": [
2274
- {
2275
- "$ref": "#/definitions/job"
2276
- },
2277
- {
2278
- "type": "object",
2279
- "properties": {
2280
- "stage": {
2281
- "type": "string",
2282
- "description": "The name of the build stage",
2283
- "default": "test"
2284
- }
2285
- }
2286
- }
2287
- ]
2288
- }
2328
+ "source": {
2329
+ "$ref": "#/definitions/nonEmptyString",
2330
+ "description": "The source to import build config from"
2289
2331
  },
2290
- "allow_failures": {
2291
- "type": "array",
2292
- "items": {
2293
- "$ref": "#/definitions/job"
2294
- }
2332
+ "mode": {
2333
+ "type": "string",
2334
+ "enum": [
2335
+ "merge",
2336
+ "deep_merge",
2337
+ "deep_merge_append",
2338
+ "deep_merge_prepend"
2339
+ ],
2340
+ "description": "How to merge the imported config into the target config (defaults to deep_merge_append)"
2295
2341
  },
2296
- "fast_finish": {
2297
- "type": "boolean",
2298
- "description": "If some rows in the build matrix are allowed to fail, the build won’t be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
2342
+ "if": {
2343
+ "$ref": "#/definitions/nonEmptyString",
2344
+ "description": "Specifies a condition for the import"
2299
2345
  }
2300
2346
  }
2301
2347
  },
2302
- "stages": {
2303
- "type": "array",
2304
- "description": "Specifies the order of build stages",
2305
- "items": {
2306
- "oneOf": [
2307
- {
2308
- "type": "string"
2309
- },
2310
- {
2311
- "type": "object",
2312
- "additionalProperties": false,
2313
- "properties": {
2314
- "name": {
2315
- "type": "string"
2316
- },
2317
- "if": {
2318
- "description": "Specifies a condition for the stage",
2319
- "type": "string"
2320
- }
2321
- }
2322
- }
2323
- ]
2324
- }
2325
- },
2326
- "version": {
2327
- "type": "string",
2328
- "description": "Build config specification version",
2329
- "pattern": "^(~>|>|>=|=|<=|<) (\\d+(?:\\.\\d+)?(?:\\.\\d+)?)$"
2330
- },
2331
- "import": {
2332
- "description": "Import YAML config snippets that can be shared across repositories.",
2333
- "oneOf": [
2334
- {
2335
- "type": "array",
2336
- "uniqueItems": true,
2337
- "items": {
2338
- "$ref": "#/definitions/import"
2339
- }
2340
- },
2341
- {
2342
- "$ref": "#/definitions/import"
2343
- }
2344
- ]
2348
+ {
2349
+ "$ref": "#/definitions/nonEmptyString"
2345
2350
  }
2346
- }
2351
+ ]
2347
2352
  }
2348
- ]
2353
+ },
2354
+ "title": "JSON schema for Travis CI configuration files"
2349
2355
  }