-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_request.json
39 lines (39 loc) · 1.14 KB
/
create_request.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CSV Data with Theme",
"description": "Schema for specifying CSV data with an optional theme",
"type": "object",
"properties": {
"theme": {
"type": "string",
"description": "The theme to apply to the CSV data (e.g., 'blueish', 'greyish'). If omitted, 'default' is used.",
"enum": [
"blueish",
"greyish",
"default"
],
"default": "default"
},
"csv": {
"type": "object",
"description": "The CSV data",
"properties": {
"isFirstRowHeaders": {
"type": "boolean",
"description": "Indicates whether the first row contains headers"
},
"data": {
"type": "string",
"description": "The CSV data as a string"
}
},
"required": [
"isFirstRowHeaders",
"data"
]
}
},
"required": [
"csv"
]
}