|
180 | 180 | "type": "string" |
181 | 181 | }, |
182 | 182 | { |
| 183 | + "additionalProperties": false, |
183 | 184 | "type": "object", |
184 | | - "required": ["content-type"], |
| 185 | + "required": ["file"], |
185 | 186 | "properties": { |
| 187 | + "file": { |
| 188 | + "title": "README file path", |
| 189 | + "type": "string" |
| 190 | + }, |
186 | 191 | "content-type": { |
187 | | - "title": "README text content-type", |
| 192 | + "title": "README content-type", |
188 | 193 | "description": "RFC 1341 compliant content-type (with optional charset, defaulting to UTF-8)", |
189 | 194 | "type": "string" |
190 | 195 | } |
191 | 196 | }, |
192 | | - "oneOf": [ |
193 | | - { |
194 | | - "additionalProperties": false, |
195 | | - "required": ["file"], |
196 | | - "properties": { |
197 | | - "file": { |
198 | | - "title": "README file path", |
199 | | - "type": "string" |
200 | | - }, |
201 | | - "content-type": { |
202 | | - "title": "README content-type", |
203 | | - "type": "string" |
204 | | - } |
205 | | - }, |
206 | | - "x-tombi-table-keys-order": "schema" |
| 197 | + "x-tombi-table-keys-order": "schema" |
| 198 | + }, |
| 199 | + { |
| 200 | + "additionalProperties": false, |
| 201 | + "type": "object", |
| 202 | + "required": ["text"], |
| 203 | + "properties": { |
| 204 | + "text": { |
| 205 | + "title": "README text", |
| 206 | + "type": "string" |
207 | 207 | }, |
208 | | - { |
209 | | - "additionalProperties": false, |
210 | | - "required": ["text"], |
211 | | - "properties": { |
212 | | - "text": { |
213 | | - "title": "README text", |
214 | | - "type": "string" |
215 | | - }, |
216 | | - "content-type": { |
217 | | - "title": "README content-type", |
218 | | - "type": "string" |
219 | | - } |
220 | | - }, |
221 | | - "x-tombi-table-keys-order": "schema" |
| 208 | + "content-type": { |
| 209 | + "title": "README content-type", |
| 210 | + "description": "RFC 1341 compliant content-type (with optional charset, defaulting to UTF-8)", |
| 211 | + "type": "string" |
222 | 212 | } |
223 | | - ] |
| 213 | + }, |
| 214 | + "x-tombi-table-keys-order": "schema" |
| 215 | + }, |
| 216 | + { |
| 217 | + "additionalProperties": false, |
| 218 | + "type": "object", |
| 219 | + "required": ["content-type"], |
| 220 | + "properties": { |
| 221 | + "content-type": { |
| 222 | + "title": "README content-type", |
| 223 | + "description": "RFC 1341 compliant content-type (with optional charset, defaulting to UTF-8)", |
| 224 | + "type": "string" |
| 225 | + } |
| 226 | + }, |
| 227 | + "x-tombi-table-keys-order": "schema" |
224 | 228 | } |
225 | 229 | ], |
226 | 230 | "examples": [ |
|
0 commit comments