-
Notifications
You must be signed in to change notification settings - Fork 3
/
base_operations_deprecated.yaml
4841 lines (4609 loc) · 151 KB
/
base_operations_deprecated.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: Base Operations (before 4.4)
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "5.1"
servers:
- url: "https://{server}"
variables:
server:
default: cloud.seatable.io
## Questions for later:
# - same variables as path and query? Why?
# - objects not uniform: table_id sometimes inside the object, sometimes outside the object (compare insert column vs append columns)
# - File-Upload super complicated: a) "parent_dir, parent_file, parent_path"? why not using the same name for the same thing? b) why requires appending file to a base, type, name and size? Image requires only url.
# - why is it necessary to pass the base_uuid? The base-token identifies the base already...
# - sometimes column_key, sometimes column_name. Why?
# - why column_key and not column_id?
# - sometimes base_uuid, sometimes dtable_uuid. Why?
# - some calls allow table_name or table_id. "lock rows" requires table_name. "links" requires table_id. Confusing!
# - sometimes "convert", sometimes "convert_keys"
# - create row link and create row links => one time table names, one time table_ids
# - "get row": why do I have to provide row_id as path and body?
# - Upload File/Image: why ret-json=1 in URL?
x-readme:
explorer-enabled: true
metrics-enabled: false
proxy-enabled: false
components:
# Security scheme definitions (see Authentication)
securitySchemes:
BaseTokenAuth:
type: http
scheme: bearer
description: This is the [Base-Token](/reference/authentication).
# Reusable path, query, header and cookie parameters
parameters:
#=======================Query parameters=======================#
row_id:
name: row_id
description: Unique id of a row.
in: query
schema:
type: string
pattern: ^[A-Za-z0-9]{22}$
example: YMIviMeERQCUiQhPPqo6Gw
required: true
page:
name: page
description: The page number you want to start showing the entries. If no value is provided, 1 will be used.
in: query
schema:
type: integer
minimum: 1
example: 1
required: false
per_page:
name: per_page
in: query
schema:
type: integer
minimum: 1
description: The number of results that should be returned. If no value is provided, 25 results will be returned.
example: 25
required: false
op_type:
name: op_type
description: >-
Type of delete operation that should be listed. Optional. Choose
from `delete_row`, `delete_rows`, `delete_table`, and
`delete_column`.
in: query
schema:
type: string
enum: ["delete_row", "delete_rows", "delete_table", "delete_column"]
example: delete_row
required: true
table_id:
name: table_id
in: query
schema:
type: string
pattern: "^[A-Za-z0-9]{4}$"
description: "The id of the table. The id of a table is unique inside a base and is often used to identify a table. **Important: the table_id is not the table_name**."
example: "0000"
required: true
table_name:
name: table_name
description: The name of the table.
in: query
schema:
type: string
example: Table1
required: true
view_name:
name: view_name
in: query
schema:
type: string
required: false
description: The name of the view.
example: "Default View"
order_by:
name: order_by
in: query
schema:
type: string
required: false
description: The name or id of a column that is used to sort the results.
example: Likes
direction:
name: direction
in: query
schema:
type: string
enum: ["", "asc", "desc"]
default: ""
required: false
description: The direction of the sort, ascending `asc` or descending `desc`. asc by default. Works only if start and limit are set, too.
example: "desc"
start:
name: start
in: query
schema:
type: integer
required: false
description: Starting position (number) of the returned rows. 0 by default.
example: 0
limit:
name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 1000
required: false
description: Number of rows that should be returned. 1000 by default.
example: 100
days:
name: days
in: query
schema:
type: integer
minimum: 1
example: 7
convert:
name: convert
in: query
schema:
type: boolean
description: If 'true', the column's id will be converted to column names.
example: true
#=======================Path parameters=======================#
base_uuid:
name: base_uuid
in: path
schema:
type: string
pattern: '^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$'
required: true
description: The unique identifier of a base. Sometimes also called dtable_uuid.
example: 5c264e76-0e5a-448a-9f34-580b551364ca
row_id_path:
name: row_id
in: path
schema:
type: string
pattern: ^[A-Za-z0-9]{22}$
required: true
description: The id of the row.
example: Qtf7xPmoRaiFyQPO1aENTjb
view_name_path:
name: view_name
in: path
schema:
type: string
required: true
description: The name of the view.
example: "Default View"
comment_id:
name: comment_id
description: The id of the comment.
in: path
schema:
type: integer
minimum: 1
required: true
example: 1
notification_id:
name: notification_id
description: The id of the notification.
in: path
schema:
type: integer
minimum: 1
required: true
example: 1
# Reusable schemas (data models)
schemas:
row_id:
type: string
pattern: '^[a-zA-Z0-9\-]{22}$'
description: The id of the row. The id of a row is unique inside a base and is often used to identify one specific row.
example: "Qtf7xPmoRaiFyQPO1aENTjb"
base:
type: object
description: base (database) in SeaTable
properties:
_id:
type: string
pattern: "^[a-zA-Z0-9]{4}$"
name:
type: string
is_header_locked:
type: boolean
summary_configs:
type: object
columns:
type: array
rows:
type: array
items:
$ref: "#/components/schemas/row_id"
views:
type: array
id_row_map:
type: object
example:
_id: IfcB
name: New table
is_header_locked: false
summary_configs: {}
columns:
- key: "0000"
type: number
name: First column
editable: true
width: 200
resizable: true
draggable: true
data: null
permission_type: ""
permitted_users: []
- key: 2w6F
type: text
name: second column
editable: true
width: 200
resizable: true
draggable: true
data: null
permission_type: ""
permitted_users: []
- key: 3aAf
type: date
name: third column
editable: true
width: 200
resizable: true
draggable: true
data: null
permission_type: ""
permitted_users: []
rows: []
views:
- _id: "0000"
name: Default View
type: table
is_locked: false
filter_conjunction: And
filters: []
sorts: []
groupbys: []
group_rows: []
groups: []
colorbys: {}
hidden_columns: []
rows: []
formula_rows: {}
link_rows: {}
summaries: {}
colors: {}
id_row_map: {}
sql_query:
type: object
properties:
sql:
type: string
format: SQL-Query
description: SQL-Query to get rows from base
convert_keys:
type: boolean
description: Determines if the columns are returned as their keys (false by default) or their names (true).
example:
sql: "SELECT Name, Status FROM Table1 LIMIT 3"
convert_keys: true
required:
- sql
sql_query_response:
type: object
properties:
metadata:
type: array
# $ref: "#/components/schemas/base_metadata"
results:
type: array
success:
type: boolean
example:
metadata:
- key: "0000"
name: Name
type: text
data:
default_value: "{creator.id}"
enable_fill_default_value: true
results:
- Name: Box
_id: Re7GZaC9Sh-G6RC5zeAn2w
- Name: Chocolate
_id: BrmPfAWyQaO7PDdAPe7G-w
- Name: Flowers
_id: ZrFd2YOXQ0eIYJjPbQPGng
success: true
base_metadata:
type: object
description: Metadata object of the base
properties:
key:
type: string
name:
type: string
type:
type: string
data:
type: object
properties:
default_value:
type: string
enable_fill_default_value:
type: string
row:
type: object
title: Row
description: |
Pass the set of column names and their values. The column names must be present in your table. Different column types require different ways to input values. For eg:
{"Name":"Max", "Age":"21", "Birthday":"2023-02-18", "Checkbox":"true"}
example:
Name: "Max"
Age: 21
Birthday: "2023-02-18"
Checkbox: true
table_name:
type: string
description: The name of the table.
example: "Table1"
table_name_object:
type: object
properties:
table_name:
$ref: "#/components/schemas/table_name"
required:
- table_name
column_name:
type: string
# all chars except [., {}, `´]
pattern: "^[^.}{`]*$"
description: The name of the column.
append_row:
title: Append a row
type: object
description: Append a new row at the end of your table.
properties:
table_name:
$ref: "#/components/schemas/table_name"
row:
$ref: "#/components/schemas/row"
required:
- table_name
- row
insert_row:
title: Insert a row (above or below another row)
type: object
description: Insert a row below or above another row your specified by his row-ID.
properties:
table_name:
$ref: "#/components/schemas/table_name"
anchor_row_id:
type: string
description: "Id of the row the new row should be added next to"
example: "Qtf7xPmoRaiFyQPO1aNTjA"
row_insert_position:
type: string
description: Defines if the new row is added below or above anchor row. If this parameter is left blank, `insert_below` is taken as default value.
enum: ["", "insert_above", "insert_below"]
row:
$ref: "#/components/schemas/row"
required:
- table_name
- row
update_row:
type: object
description: update Row
properties:
table_name:
$ref: "#/components/schemas/table_name"
row_id:
$ref: "#/components/schemas/row_id"
row:
$ref: "#/components/schemas/row"
required:
- table_name
- row
- row_id
delete_row:
type: object
description: delete a row
properties:
table_name:
$ref: "#/components/schemas/table_name"
row_id:
$ref: "#/components/schemas/row_id"
required:
- table_name
- row_id
rows:
type: object
description: object to append multiple rows
properties:
rows:
type: array
items:
$ref: "#/components/schemas/row"
required:
- rows
rows_with_table_name:
allOf:
- $ref: "#/components/schemas/table_name_object"
- $ref: "#/components/schemas/rows"
append_rows:
type: object
description: add multiple rows
properties:
table_name:
$ref: "#/components/schemas/table_name"
rows:
type: array
description: "Defines the rows which should be added."
title: Row Object X
items:
$ref: "#/components/schemas/row"
required:
- table_name
- rows
update_rows:
type: object
description: update multiple rows
properties:
table_name:
$ref: "#/components/schemas/table_name"
updates:
type: array
description: "Defines the rows which should be updated."
items:
type: object
properties:
row_id:
$ref: "#/components/schemas/row_id"
row:
$ref: "#/components/schemas/row"
required:
- table_name
- updates
delete_rows:
type: object
description: delete multiple rows
properties:
table_name:
$ref: "#/components/schemas/table_name"
row_ids:
type: array
description: "Defines the rows which should be updated."
items:
$ref: "#/components/schemas/row_id"
required:
- table_name
- row_ids
table_with_row_ids:
type: object
properties:
table_name:
$ref: "#/components/schemas/table_name"
row_ids:
type: array
description: ID of the rows
items:
$ref: "#/components/schemas/row_id"
example:
row_ids:
- "ZrFd2YOXQ0eIYJjPbQPGng"
- "afCU_L5PQLe5AOVwCuGXVw"
required:
- table_name
- row_ids
create_row_link:
type: object
description: create row link
properties:
table_name:
$ref: "#/components/schemas/table_name"
other_table_name:
$ref: "#/components/schemas/table_name"
link_id:
$ref: "#/components/schemas/link_id"
table_row_id:
$ref: "#/components/schemas/row_id"
other_table_row_id:
$ref: "#/components/schemas/row_id"
required:
- table_name
- other_table_name
- link_id
- table_row_id
- other_table_row_id
table_id:
type: string
description: "The id of the table. The id of a table is unique inside a base and is often used to identify a table. **Important: the table_id is not the table_name**."
pattern: "^[a-zA-Z0-9]{4}$"
example: "0000"
link_id:
type: string
description: Every *link column* has a `key` and `link_id` in the column object. Use [Get Metadata](/reference/getmetadatadeprecated) or [Get Base Info](/reference/getbaseinfodeprecated) to get this `link_id`. Don't use the `key` of the link column.
minLength: 4
maxLength: 4
example: jYc7
create_row_links:
type: object
properties:
table_name:
$ref: "#/components/schemas/table_name"
other_table_name:
$ref: "#/components/schemas/table_name"
link_id:
$ref: "#/components/schemas/link_id"
row_id:
$ref: "#/components/schemas/row_id"
other_rows_ids:
type: array
description: ID of the rows
items:
type: string
example: "GconSYtETlWLyRs5xqkHLQ"
required:
- row_id
- link_id
- table_name
- other_table_name
- other_rows_id
update_links:
type: object
description: update row links (batch)
properties:
table_id:
$ref: "#/components/schemas/table_id"
other_table_id:
$ref: "#/components/schemas/table_id"
link_id:
$ref: "#/components/schemas/link_id"
row_id_list:
type: array
description: List of the source rows IDs whose links you'd like to update.
items:
$ref: "#/components/schemas/row_id"
other_rows_ids_map:
type: object
description: Map of IDs of the target rows which you'd like to link your source rows to.
items:
type: string
required:
- link_id
- table_id
- other_table_id
- row_id_list
- other_rows_ids_map
archived_row_links:
type: object
description: handle row links of archived data (batch)
properties:
table_id:
$ref: "#/components/schemas/table_id"
other_table_id:
$ref: "#/components/schemas/table_id"
link_id:
$ref: "#/components/schemas/link_id"
other_rows_ids_map:
type: array
additionalProperties: { type: array, items: { type: string } }
description: |
Map of IDs of the target rows which you'd like to link/unlink your source rows. Use a key-to-list like:
```
"other_rows_ids_map": {
"<row1 of table>": ["<row1 of other_table>", "<row2 of other_table>"],
"<row2 of table>": ["<row3 of other_table>"]
}
```
required:
- link_id
- table_id
- other_table_id
- other_rows_ids_map
delete_row_link:
type: object
properties:
table_name:
$ref: "#/components/schemas/table_name"
other_table_name:
$ref: "#/components/schemas/table_name"
link_id:
$ref: "#/components/schemas/link_id"
table_row_id:
$ref: "#/components/schemas/table_id"
other_table_row_id:
$ref: "#/components/schemas/table_id"
required:
- table_name
- other_table_name
- link_id
- table_row_id
- other_table_row_id
list_row_links:
type: object
properties:
table_id:
$ref: "#/components/schemas/table_id"
link_column:
type: string
description: This is the key of the link column. Do not use the `link_id` of the link column here.
minLength: 4
maxLength: 4
rows:
type: array
description: the rows you want to get the links for.
items:
type: object
properties:
row_id:
$ref: "#/components/schemas/row_id"
offset:
type: integer
description: "offset is the beginning number of your query. If your record is linked to multiple records, use e.g. 0 to start quering from the 1st element or e.g. 5 to start querying from the 6th element, etc. Attention: The returned list of linked rows is not ordered by its original order on the web interface, but rather by created time (ctime)."
limit:
type: integer
description: "limit lets you to set a limit to the number of records returned. Use e.g. 10 to return no more than 10 records."
required:
- table_id
- link_column
- row_id
- rows_id
rename_table:
type: object
description: Rename Table
properties:
table_name:
$ref: "#/components/schemas/table_name"
new_table_name:
type: string
required:
- table_name
- new_table_name
example:
new_table_name: New Name
delete_table:
type: object
description: Delete a table
properties:
table_name:
$ref: "#/components/schemas/table_name"
required:
- table_name
duplicate_table:
type: object
properties:
table_name:
$ref: "#/components/schemas/table_name"
is_duplicate_records:
type: boolean
required:
- table_name
- is_duplicate_records
example:
- is_duplicate_records: true
new_view:
type: object
properties:
name:
type: string
description: Name of the new view.
example: "New view"
type:
type: string
description: Type of the view, either normal view or a big data view. The default value is *table*.
enum: ["", "table", "archive"]
is_locked:
type: boolean
required:
- name
- type
example:
- name: Table1
- type: table
- is_locked: false
view_name:
type: string
description: "The new name of the view, if you want to give the view a new name."
example: "Default View"
is_locked:
type: boolean
column_key:
type: string
string_filter_predicate:
type: string
enum:
[
"contains",
"does_not_contain",
"is",
"is_not",
"is_empty",
"is_not_empty",
"is_current_user_ID",
]
number_filter_predicate:
type: string
enum:
[
"equal",
"not_equal",
"less",
"greater",
"less_or_equal",
"greater_or_equal",
"is empty",
"is not empty",
]
collaborator_filter_predicate:
type: string
enum:
[
"has_any_of",
"has_all_of",
"has_none_of",
"is_exactly",
"is_empty",
"is_not_empty",
"include_me",
]
date_filter_predicate:
type: string
enum:
[
"is",
"is_within",
"is_before",
"is_after",
"is_on_or_before",
"is_on_or_after",
"is_not",
"is_empty",
"is_not_empty",
]
single-select_filter_predicate:
type: string
enum:
["is", "is_not", "is_any_of", "is_none_of", "is_empty", "is_not_empty"]
multiple-select_filter_predicate:
type: string
enum:
[
"has_any_of",
"has_all_of",
"has_none_of",
"is_exactly",
"is_empty",
"is_not_empty",
]
image_filter_predicate:
type: string
enum: ["is_empty", "is_not_empty"]
email_filter_predicate:
type: string
enum:
[
"contains",
"does_not_contain",
"is",
"is_not",
"is_empty",
"is_not_empty",
]
checkbox_filter_predicate:
type: string
enum: ["is"]
link_filter_predicate:
type: string
enum:
[
"contains",
"does_not_contain",
"is",
"is_not",
"is_empty",
"is_not_empty",
"is_current_user_ID",
]
creator_filter_predicate:
type: string
enum: ["contains", "does_not_contain", "include_me", "is", "is_not"]
automatic_filter_predicate:
type: string
enum: ["contains", "does not contain", "is", "is not"]
filter_term:
type: string
integer_filter_term:
type: integer
array_of_strings_filter_term:
type: array
items:
type: string
boolean_filter_term:
type: boolean
rating_filter_term:
type: integer
enum: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
date_filter_term:
type: string
pattern: "^[0-9]{4}-((0[1-9])|(1[0-2]))?-(([0-2][0-9])|(3[01]))?$" # --> pattern für das Datum im Format 2012-03-30
filter_term_modifier:
type: string
date_filter_term_modifier:
type: string
enum:
[
"today",
"tomorrow",
"yesterday",
"one_week_ago",
"one_week_from_now",
"one_month_ago",
"one_month_from_now",
"number_of_days_ago",
"number_of_days_from_now",
"exact_date",
]
filter_conjunction:
type: string
enum: ["And", "Or"]
description: "If your view has multiple filters you have to decide how the filters are should hang together."
sort_type:
type: string
enum: ["up", "down"]
sorts:
type: array
items:
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
sort_type:
$ref: "#/components/schemas/sort_type"
description: "sorting of your view"
groupbys:
type: array
items:
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
sort_type:
$ref: "#/components/schemas/sort_type"
description: "grouping of your view"
hidden_columns:
type: array
items:
type: string
description: "IDs of the rows that should be hidden"
filters_text:
title: Text
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
filter_predicate:
$ref: "#/components/schemas/string_filter_predicate"
filter_term:
$ref: "#/components/schemas/filter_term"
filters_long_text:
title: Long Text
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
filter_predicate:
$ref: "#/components/schemas/image_filter_predicate"
filter_term:
$ref: "#/components/schemas/filter_term"
filters_number:
title: Number
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
filter_predicate:
$ref: "#/components/schemas/number_filter_predicate"
filter_term:
$ref: "#/components/schemas/filter_term"
filters_collaborator:
title: Collaborator
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
filter_predicate:
$ref: "#/components/schemas/collaborator_filter_predicate"
filter_term:
$ref: "#/components/schemas/array_of_strings_filter_term"
filters_date:
title: Date
type: object
properties:
column_key:
$ref: "#/components/schemas/column_key"
filter_predicate:
$ref: "#/components/schemas/date_filter_predicate"
filter_term:
$ref: "#/components/schemas/date_filter_term"