|
6 | 6 | }, |
7 | 7 | "components": { |
8 | 8 | "schemas": { |
9 | | - "A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```": { |
| 9 | + "A_collection_of_row_objects": { |
10 | 10 | "type": "array", |
11 | 11 | "items": { |
12 | 12 | "type": "object", |
|
373 | 373 | "rows": { |
374 | 374 | "anyOf": [ |
375 | 375 | { |
376 | | - "$ref": "#/components/schemas/A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```" |
| 376 | + "$ref": "#/components/schemas/A_collection_of_row_objects" |
377 | 377 | }, |
378 | 378 | { |
379 | 379 | "type": "object", |
|
401 | 401 | "additionalProperties": false |
402 | 402 | }, |
403 | 403 | { |
404 | | - "$ref": "#/components/schemas/A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```" |
| 404 | + "$ref": "#/components/schemas/A_collection_of_row_objects" |
405 | 405 | } |
406 | 406 | ] |
407 | 407 | } |
|
413 | 413 | "example": "Name,Age,Birthday\nAlice,25,2024-08-29T09:46:16.722Z\nBob,30,2020-01-15T09:00:16.722Z" |
414 | 414 | } |
415 | 415 | }, |
416 | | - "text/tab-separated-values": { |
417 | | - "schema": { |
418 | | - "type": "string", |
419 | | - "description": "A TSV string. The first line is column IDs, and each subsequent line is a row of data. The schema will be inferred from the data. The name of the table must be passed in the query parameter `name`.", |
420 | | - "example": "Name\tAge\tBirthday\nAlice\t25\t2024-08-29T09:46:16.722Z\nBob\t30\t2020-01-15T09:00:16.722Z" |
421 | | - } |
422 | | - }, |
423 | | - "text/csv": { |
424 | | - "schema": { |
425 | | - "type": "string", |
426 | | - "description": "A CSV string. The first line is column IDs, and each subsequent line is a row of data. The schema will be inferred from the data. The name of the table must be passed in the query parameter `name`.", |
427 | | - "example": "Name,Age,Birthday\nAlice,25,2024-08-29T09:46:16.722Z\nBob,30,2020-01-15T09:00:16.722Z" |
428 | | - } |
429 | | - }, |
430 | 416 | "text/tab-separated-values": { |
431 | 417 | "schema": { |
432 | 418 | "type": "string", |
|
715 | 701 | "rows": { |
716 | 702 | "anyOf": [ |
717 | 703 | { |
718 | | - "$ref": "#/components/schemas/A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```" |
| 704 | + "$ref": "#/components/schemas/A_collection_of_row_objects" |
719 | 705 | }, |
720 | 706 | { |
721 | 707 | "type": "object", |
|
742 | 728 | "additionalProperties": false |
743 | 729 | }, |
744 | 730 | { |
745 | | - "$ref": "#/components/schemas/A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```" |
| 731 | + "$ref": "#/components/schemas/A_collection_of_row_objects" |
746 | 732 | } |
747 | 733 | ] |
748 | 734 | } |
|
754 | 740 | "example": "Name,Age,Birthday\nAlice,25,2024-08-29T09:46:16.722Z\nBob,30,2020-01-15T09:00:16.722Z" |
755 | 741 | } |
756 | 742 | }, |
757 | | - "text/tab-separated-values": { |
758 | | - "schema": { |
759 | | - "type": "string", |
760 | | - "description": "A TSV string. The first line is column IDs, and each subsequent line is a row of data.", |
761 | | - "example": "Name\tAge\tBirthday\nAlice\t25\t2024-08-29T09:46:16.722Z\nBob\t30\t2020-01-15T09:00:16.722Z" |
762 | | - } |
763 | | - }, |
764 | | - "text/csv": { |
765 | | - "schema": { |
766 | | - "type": "string", |
767 | | - "description": "A CSV string. The first line is column IDs, and each subsequent line is a row of data.", |
768 | | - "example": "Name,Age,Birthday\nAlice,25,2024-08-29T09:46:16.722Z\nBob,30,2020-01-15T09:00:16.722Z" |
769 | | - } |
770 | | - }, |
771 | 743 | "text/tab-separated-values": { |
772 | 744 | "schema": { |
773 | 745 | "type": "string", |
|
0 commit comments