@jinshuju/mcp 0.2.0 → 0.4.0
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.
- package/README.md +33 -99
- package/dist/analytics.d.ts +25 -4
- package/dist/analytics.js +55 -2
- package/dist/api.js +2 -1
- package/dist/app.js +6 -1
- package/dist/auth.d.ts +14 -1
- package/dist/auth.js +32 -2
- package/dist/generated/meta.json +5 -3
- package/dist/generated/operations.json +238 -48
- package/dist/generated/schemas.json +1871 -89
- package/dist/generated/tools.json +981 -120
- package/dist/result.d.ts +2 -0
- package/dist/result.js +3 -1
- package/dist/server.js +1 -1
- package/dist/tools.js +40 -15
- package/dist/types.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +2 -2
- package/package.json +2 -2
|
@@ -116,6 +116,59 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
+
"AggregateDimension": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"required": [
|
|
122
|
+
"field"
|
|
123
|
+
],
|
|
124
|
+
"properties": {
|
|
125
|
+
"field": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "api_code of the field to group by; only fields whose `analytics.groupable` is true"
|
|
128
|
+
},
|
|
129
|
+
"bucket": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"enum": [
|
|
132
|
+
"day",
|
|
133
|
+
"week",
|
|
134
|
+
"month"
|
|
135
|
+
],
|
|
136
|
+
"description": "Time granularity, required for a date field and not allowed on any other"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"AggregateMetric": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"required": [
|
|
143
|
+
"func",
|
|
144
|
+
"field"
|
|
145
|
+
],
|
|
146
|
+
"properties": {
|
|
147
|
+
"func": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"enum": [
|
|
150
|
+
"count",
|
|
151
|
+
"count_non_empty",
|
|
152
|
+
"count_empty",
|
|
153
|
+
"count_unique",
|
|
154
|
+
"sum",
|
|
155
|
+
"avg",
|
|
156
|
+
"min",
|
|
157
|
+
"max",
|
|
158
|
+
"stddev",
|
|
159
|
+
"median",
|
|
160
|
+
"p25",
|
|
161
|
+
"p75",
|
|
162
|
+
"p90"
|
|
163
|
+
],
|
|
164
|
+
"description": "Aggregate function; the field's `analytics.agg_funcs` says which ones it supports"
|
|
165
|
+
},
|
|
166
|
+
"field": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"description": "api_code of the field to aggregate"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
119
172
|
"AnswerInput": {
|
|
120
173
|
"type": "object",
|
|
121
174
|
"title": "AnswerInput",
|
|
@@ -186,7 +239,64 @@
|
|
|
186
239
|
"media_type": {
|
|
187
240
|
"type": "object",
|
|
188
241
|
"additionalProperties": false,
|
|
189
|
-
"description": "Allowed file types: type is
|
|
242
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
243
|
+
"x-groups": {
|
|
244
|
+
"doc": [
|
|
245
|
+
"txt",
|
|
246
|
+
"pdf",
|
|
247
|
+
"doc",
|
|
248
|
+
"docx",
|
|
249
|
+
"xls",
|
|
250
|
+
"xlsx",
|
|
251
|
+
"ppt",
|
|
252
|
+
"pptx",
|
|
253
|
+
"wps",
|
|
254
|
+
"rtf",
|
|
255
|
+
"hlp"
|
|
256
|
+
],
|
|
257
|
+
"image": [
|
|
258
|
+
"jpg",
|
|
259
|
+
"jpeg",
|
|
260
|
+
"png",
|
|
261
|
+
"gif",
|
|
262
|
+
"bmp",
|
|
263
|
+
"psd",
|
|
264
|
+
"tif",
|
|
265
|
+
"heic",
|
|
266
|
+
"heif"
|
|
267
|
+
],
|
|
268
|
+
"video": [
|
|
269
|
+
"mkv",
|
|
270
|
+
"mp4",
|
|
271
|
+
"avi",
|
|
272
|
+
"swf",
|
|
273
|
+
"wmv",
|
|
274
|
+
"rmvb",
|
|
275
|
+
"mov",
|
|
276
|
+
"mpg"
|
|
277
|
+
],
|
|
278
|
+
"audio": [
|
|
279
|
+
"mp3",
|
|
280
|
+
"flac",
|
|
281
|
+
"ape",
|
|
282
|
+
"wma",
|
|
283
|
+
"wav",
|
|
284
|
+
"aac",
|
|
285
|
+
"m4a",
|
|
286
|
+
"au",
|
|
287
|
+
"ram",
|
|
288
|
+
"mmf",
|
|
289
|
+
"aif"
|
|
290
|
+
],
|
|
291
|
+
"compress": [
|
|
292
|
+
"rar",
|
|
293
|
+
"zip",
|
|
294
|
+
"7z",
|
|
295
|
+
"gz",
|
|
296
|
+
"arj",
|
|
297
|
+
"z"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
190
300
|
"properties": {
|
|
191
301
|
"type": {
|
|
192
302
|
"type": "string",
|
|
@@ -413,7 +523,7 @@
|
|
|
413
523
|
},
|
|
414
524
|
"expired": {
|
|
415
525
|
"type": "boolean",
|
|
416
|
-
"description": "Whether the
|
|
526
|
+
"description": "Whether the current paid plan has expired; false for accounts that have never paid"
|
|
417
527
|
}
|
|
418
528
|
}
|
|
419
529
|
},
|
|
@@ -1540,6 +1650,544 @@
|
|
|
1540
1650
|
}
|
|
1541
1651
|
]
|
|
1542
1652
|
},
|
|
1653
|
+
"CheckinCampaign": {
|
|
1654
|
+
"type": "object",
|
|
1655
|
+
"description": "Check-in campaign",
|
|
1656
|
+
"properties": {
|
|
1657
|
+
"id": {
|
|
1658
|
+
"type": "integer"
|
|
1659
|
+
},
|
|
1660
|
+
"name": {
|
|
1661
|
+
"type": "string"
|
|
1662
|
+
},
|
|
1663
|
+
"form_token": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"description": "The form it is bound to"
|
|
1666
|
+
},
|
|
1667
|
+
"enabled": {
|
|
1668
|
+
"type": "boolean",
|
|
1669
|
+
"description": "Whether it is in effect"
|
|
1670
|
+
},
|
|
1671
|
+
"checkin_field_api_code": {
|
|
1672
|
+
"type": "string",
|
|
1673
|
+
"description": "Field registrants check in with (usually the mobile number), matched against their entries"
|
|
1674
|
+
},
|
|
1675
|
+
"display_field_api_code": {
|
|
1676
|
+
"type": [
|
|
1677
|
+
"string",
|
|
1678
|
+
"null"
|
|
1679
|
+
],
|
|
1680
|
+
"description": "Field shown when verifying (usually the name)"
|
|
1681
|
+
},
|
|
1682
|
+
"enable_checkin_code": {
|
|
1683
|
+
"type": "boolean",
|
|
1684
|
+
"description": "Whether submitting goes on to the check-in code page"
|
|
1685
|
+
},
|
|
1686
|
+
"date_settings": {
|
|
1687
|
+
"type": "array",
|
|
1688
|
+
"description": "When check-in is open; empty means any time",
|
|
1689
|
+
"items": {
|
|
1690
|
+
"type": "object",
|
|
1691
|
+
"description": "A date range check-in is open in. Check-in works on the days within the range that fall on `periods`, inside the duration. For several durations, pass several date_settings",
|
|
1692
|
+
"required": [
|
|
1693
|
+
"start_date",
|
|
1694
|
+
"end_date",
|
|
1695
|
+
"periods",
|
|
1696
|
+
"durations"
|
|
1697
|
+
],
|
|
1698
|
+
"properties": {
|
|
1699
|
+
"start_date": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"format": "date"
|
|
1702
|
+
},
|
|
1703
|
+
"end_date": {
|
|
1704
|
+
"type": "string",
|
|
1705
|
+
"format": "date"
|
|
1706
|
+
},
|
|
1707
|
+
"periods": {
|
|
1708
|
+
"type": "array",
|
|
1709
|
+
"minItems": 1,
|
|
1710
|
+
"description": "Weekdays check-in is open on; list all seven for every day",
|
|
1711
|
+
"items": {
|
|
1712
|
+
"type": "string",
|
|
1713
|
+
"enum": [
|
|
1714
|
+
"Monday",
|
|
1715
|
+
"Tuesday",
|
|
1716
|
+
"Wednesday",
|
|
1717
|
+
"Thursday",
|
|
1718
|
+
"Friday",
|
|
1719
|
+
"Saturday",
|
|
1720
|
+
"Sunday"
|
|
1721
|
+
]
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
"durations": {
|
|
1725
|
+
"type": "array",
|
|
1726
|
+
"minItems": 1,
|
|
1727
|
+
"maxItems": 1,
|
|
1728
|
+
"description": "The time of day check-in is open; exactly one",
|
|
1729
|
+
"items": {
|
|
1730
|
+
"type": "object",
|
|
1731
|
+
"required": [
|
|
1732
|
+
"start",
|
|
1733
|
+
"end"
|
|
1734
|
+
],
|
|
1735
|
+
"properties": {
|
|
1736
|
+
"start": {
|
|
1737
|
+
"type": "string",
|
|
1738
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
1739
|
+
"description": "Start time, HH:MM"
|
|
1740
|
+
},
|
|
1741
|
+
"end": {
|
|
1742
|
+
"type": "string",
|
|
1743
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
1744
|
+
"description": "End time, HH:MM"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"additionalProperties": false
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
"additionalProperties": false
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"geo_location": {
|
|
1755
|
+
"description": "Location limit; null means anywhere",
|
|
1756
|
+
"oneOf": [
|
|
1757
|
+
{
|
|
1758
|
+
"type": "null"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"type": "object",
|
|
1762
|
+
"description": "Location limit; check-in works only within `range` meters of the coordinates",
|
|
1763
|
+
"required": [
|
|
1764
|
+
"longitude",
|
|
1765
|
+
"latitude",
|
|
1766
|
+
"range"
|
|
1767
|
+
],
|
|
1768
|
+
"properties": {
|
|
1769
|
+
"location_name": {
|
|
1770
|
+
"type": "string"
|
|
1771
|
+
},
|
|
1772
|
+
"address": {
|
|
1773
|
+
"type": "string"
|
|
1774
|
+
},
|
|
1775
|
+
"longitude": {
|
|
1776
|
+
"type": "number"
|
|
1777
|
+
},
|
|
1778
|
+
"latitude": {
|
|
1779
|
+
"type": "number"
|
|
1780
|
+
},
|
|
1781
|
+
"range": {
|
|
1782
|
+
"type": "integer",
|
|
1783
|
+
"minimum": 1,
|
|
1784
|
+
"description": "Radius check-in is allowed in, in meters"
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"additionalProperties": false
|
|
1788
|
+
}
|
|
1789
|
+
]
|
|
1790
|
+
},
|
|
1791
|
+
"checkin_count": {
|
|
1792
|
+
"type": "integer",
|
|
1793
|
+
"description": "How many have checked in"
|
|
1794
|
+
},
|
|
1795
|
+
"checkin_url": {
|
|
1796
|
+
"type": "string",
|
|
1797
|
+
"description": "Link registrants scan to check themselves in"
|
|
1798
|
+
},
|
|
1799
|
+
"verifier_invite_url": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "Link that invites a verifier, who can then verify check-ins on site"
|
|
1802
|
+
},
|
|
1803
|
+
"manage_url": {
|
|
1804
|
+
"type": "string",
|
|
1805
|
+
"description": "Page that manages the campaign in Jinshuju"
|
|
1806
|
+
},
|
|
1807
|
+
"created_at": {
|
|
1808
|
+
"type": "string",
|
|
1809
|
+
"format": "date-time"
|
|
1810
|
+
},
|
|
1811
|
+
"updated_at": {
|
|
1812
|
+
"type": "string",
|
|
1813
|
+
"format": "date-time"
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"CheckinCampaignCreateInput": {
|
|
1818
|
+
"type": "object",
|
|
1819
|
+
"title": "CheckinCampaignCreateInput",
|
|
1820
|
+
"description": "Request body of POST /plugins/checkin/campaigns",
|
|
1821
|
+
"required": [
|
|
1822
|
+
"form_token"
|
|
1823
|
+
],
|
|
1824
|
+
"properties": {
|
|
1825
|
+
"form_token": {
|
|
1826
|
+
"type": "string",
|
|
1827
|
+
"description": "The form to turn check-in on for"
|
|
1828
|
+
},
|
|
1829
|
+
"checkin_field_api_code": {
|
|
1830
|
+
"type": "string",
|
|
1831
|
+
"description": "Check-in field, a mobile, name, email, ID card or single-line text field; defaults to the first mobile field, then the first name field. Cannot be changed afterwards"
|
|
1832
|
+
},
|
|
1833
|
+
"name": {
|
|
1834
|
+
"type": "string",
|
|
1835
|
+
"minLength": 1,
|
|
1836
|
+
"description": "Campaign name; the form name by default"
|
|
1837
|
+
},
|
|
1838
|
+
"display_field_api_code": {
|
|
1839
|
+
"type": [
|
|
1840
|
+
"string",
|
|
1841
|
+
"null"
|
|
1842
|
+
],
|
|
1843
|
+
"description": "Field shown when verifying, not the check-in field; a mobile, name, email, ID card or single-line text field. null clears it"
|
|
1844
|
+
},
|
|
1845
|
+
"enable_checkin_code": {
|
|
1846
|
+
"type": "boolean",
|
|
1847
|
+
"description": "After submitting, go on to the check-in code page; registrants show the code on site"
|
|
1848
|
+
},
|
|
1849
|
+
"checkin_field_required_unique": {
|
|
1850
|
+
"type": "boolean",
|
|
1851
|
+
"description": "true makes the check-in field required and unique, so no registrant is left unable to check in"
|
|
1852
|
+
},
|
|
1853
|
+
"date_settings": {
|
|
1854
|
+
"type": "array",
|
|
1855
|
+
"description": "Replaces the check-in times as a whole; an empty list means any time",
|
|
1856
|
+
"items": {
|
|
1857
|
+
"type": "object",
|
|
1858
|
+
"description": "A date range check-in is open in. Check-in works on the days within the range that fall on `periods`, inside the duration. For several durations, pass several date_settings",
|
|
1859
|
+
"required": [
|
|
1860
|
+
"start_date",
|
|
1861
|
+
"end_date",
|
|
1862
|
+
"periods",
|
|
1863
|
+
"durations"
|
|
1864
|
+
],
|
|
1865
|
+
"properties": {
|
|
1866
|
+
"start_date": {
|
|
1867
|
+
"type": "string",
|
|
1868
|
+
"format": "date"
|
|
1869
|
+
},
|
|
1870
|
+
"end_date": {
|
|
1871
|
+
"type": "string",
|
|
1872
|
+
"format": "date"
|
|
1873
|
+
},
|
|
1874
|
+
"periods": {
|
|
1875
|
+
"type": "array",
|
|
1876
|
+
"minItems": 1,
|
|
1877
|
+
"description": "Weekdays check-in is open on; list all seven for every day",
|
|
1878
|
+
"items": {
|
|
1879
|
+
"type": "string",
|
|
1880
|
+
"enum": [
|
|
1881
|
+
"Monday",
|
|
1882
|
+
"Tuesday",
|
|
1883
|
+
"Wednesday",
|
|
1884
|
+
"Thursday",
|
|
1885
|
+
"Friday",
|
|
1886
|
+
"Saturday",
|
|
1887
|
+
"Sunday"
|
|
1888
|
+
]
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"durations": {
|
|
1892
|
+
"type": "array",
|
|
1893
|
+
"minItems": 1,
|
|
1894
|
+
"maxItems": 1,
|
|
1895
|
+
"description": "The time of day check-in is open; exactly one",
|
|
1896
|
+
"items": {
|
|
1897
|
+
"type": "object",
|
|
1898
|
+
"required": [
|
|
1899
|
+
"start",
|
|
1900
|
+
"end"
|
|
1901
|
+
],
|
|
1902
|
+
"properties": {
|
|
1903
|
+
"start": {
|
|
1904
|
+
"type": "string",
|
|
1905
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
1906
|
+
"description": "Start time, HH:MM"
|
|
1907
|
+
},
|
|
1908
|
+
"end": {
|
|
1909
|
+
"type": "string",
|
|
1910
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
1911
|
+
"description": "End time, HH:MM"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
"additionalProperties": false
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
"additionalProperties": false
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
"geo_location": {
|
|
1922
|
+
"description": "Sets the location limit; null lifts it",
|
|
1923
|
+
"oneOf": [
|
|
1924
|
+
{
|
|
1925
|
+
"type": "null"
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"type": "object",
|
|
1929
|
+
"description": "Location limit; check-in works only within `range` meters of the coordinates",
|
|
1930
|
+
"required": [
|
|
1931
|
+
"longitude",
|
|
1932
|
+
"latitude",
|
|
1933
|
+
"range"
|
|
1934
|
+
],
|
|
1935
|
+
"properties": {
|
|
1936
|
+
"location_name": {
|
|
1937
|
+
"type": "string"
|
|
1938
|
+
},
|
|
1939
|
+
"address": {
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
},
|
|
1942
|
+
"longitude": {
|
|
1943
|
+
"type": "number"
|
|
1944
|
+
},
|
|
1945
|
+
"latitude": {
|
|
1946
|
+
"type": "number"
|
|
1947
|
+
},
|
|
1948
|
+
"range": {
|
|
1949
|
+
"type": "integer",
|
|
1950
|
+
"minimum": 1,
|
|
1951
|
+
"description": "Radius check-in is allowed in, in meters"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"additionalProperties": false
|
|
1955
|
+
}
|
|
1956
|
+
]
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"additionalProperties": false
|
|
1960
|
+
},
|
|
1961
|
+
"CheckinCampaignUpdateInput": {
|
|
1962
|
+
"type": "object",
|
|
1963
|
+
"title": "CheckinCampaignUpdateInput",
|
|
1964
|
+
"description": "Request body of PATCH /plugins/checkin/campaigns/{id}; only the keys present are written",
|
|
1965
|
+
"properties": {
|
|
1966
|
+
"enabled": {
|
|
1967
|
+
"type": "boolean",
|
|
1968
|
+
"description": "false pauses check-in and unbinds it from the form; true turns it back on"
|
|
1969
|
+
},
|
|
1970
|
+
"name": {
|
|
1971
|
+
"type": "string",
|
|
1972
|
+
"minLength": 1,
|
|
1973
|
+
"description": "Campaign name"
|
|
1974
|
+
},
|
|
1975
|
+
"display_field_api_code": {
|
|
1976
|
+
"type": [
|
|
1977
|
+
"string",
|
|
1978
|
+
"null"
|
|
1979
|
+
],
|
|
1980
|
+
"description": "Field shown when verifying, not the check-in field; a mobile, name, email, ID card or single-line text field. null clears it"
|
|
1981
|
+
},
|
|
1982
|
+
"enable_checkin_code": {
|
|
1983
|
+
"type": "boolean",
|
|
1984
|
+
"description": "After submitting, go on to the check-in code page; registrants show the code on site"
|
|
1985
|
+
},
|
|
1986
|
+
"checkin_field_required_unique": {
|
|
1987
|
+
"type": "boolean",
|
|
1988
|
+
"description": "true makes the check-in field required and unique, so no registrant is left unable to check in"
|
|
1989
|
+
},
|
|
1990
|
+
"date_settings": {
|
|
1991
|
+
"type": "array",
|
|
1992
|
+
"description": "Replaces the check-in times as a whole; an empty list means any time",
|
|
1993
|
+
"items": {
|
|
1994
|
+
"type": "object",
|
|
1995
|
+
"description": "A date range check-in is open in. Check-in works on the days within the range that fall on `periods`, inside the duration. For several durations, pass several date_settings",
|
|
1996
|
+
"required": [
|
|
1997
|
+
"start_date",
|
|
1998
|
+
"end_date",
|
|
1999
|
+
"periods",
|
|
2000
|
+
"durations"
|
|
2001
|
+
],
|
|
2002
|
+
"properties": {
|
|
2003
|
+
"start_date": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"format": "date"
|
|
2006
|
+
},
|
|
2007
|
+
"end_date": {
|
|
2008
|
+
"type": "string",
|
|
2009
|
+
"format": "date"
|
|
2010
|
+
},
|
|
2011
|
+
"periods": {
|
|
2012
|
+
"type": "array",
|
|
2013
|
+
"minItems": 1,
|
|
2014
|
+
"description": "Weekdays check-in is open on; list all seven for every day",
|
|
2015
|
+
"items": {
|
|
2016
|
+
"type": "string",
|
|
2017
|
+
"enum": [
|
|
2018
|
+
"Monday",
|
|
2019
|
+
"Tuesday",
|
|
2020
|
+
"Wednesday",
|
|
2021
|
+
"Thursday",
|
|
2022
|
+
"Friday",
|
|
2023
|
+
"Saturday",
|
|
2024
|
+
"Sunday"
|
|
2025
|
+
]
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
"durations": {
|
|
2029
|
+
"type": "array",
|
|
2030
|
+
"minItems": 1,
|
|
2031
|
+
"maxItems": 1,
|
|
2032
|
+
"description": "The time of day check-in is open; exactly one",
|
|
2033
|
+
"items": {
|
|
2034
|
+
"type": "object",
|
|
2035
|
+
"required": [
|
|
2036
|
+
"start",
|
|
2037
|
+
"end"
|
|
2038
|
+
],
|
|
2039
|
+
"properties": {
|
|
2040
|
+
"start": {
|
|
2041
|
+
"type": "string",
|
|
2042
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
2043
|
+
"description": "Start time, HH:MM"
|
|
2044
|
+
},
|
|
2045
|
+
"end": {
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
2048
|
+
"description": "End time, HH:MM"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
"additionalProperties": false
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
"additionalProperties": false
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
"geo_location": {
|
|
2059
|
+
"description": "Sets the location limit; null lifts it",
|
|
2060
|
+
"oneOf": [
|
|
2061
|
+
{
|
|
2062
|
+
"type": "null"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"type": "object",
|
|
2066
|
+
"description": "Location limit; check-in works only within `range` meters of the coordinates",
|
|
2067
|
+
"required": [
|
|
2068
|
+
"longitude",
|
|
2069
|
+
"latitude",
|
|
2070
|
+
"range"
|
|
2071
|
+
],
|
|
2072
|
+
"properties": {
|
|
2073
|
+
"location_name": {
|
|
2074
|
+
"type": "string"
|
|
2075
|
+
},
|
|
2076
|
+
"address": {
|
|
2077
|
+
"type": "string"
|
|
2078
|
+
},
|
|
2079
|
+
"longitude": {
|
|
2080
|
+
"type": "number"
|
|
2081
|
+
},
|
|
2082
|
+
"latitude": {
|
|
2083
|
+
"type": "number"
|
|
2084
|
+
},
|
|
2085
|
+
"range": {
|
|
2086
|
+
"type": "integer",
|
|
2087
|
+
"minimum": 1,
|
|
2088
|
+
"description": "Radius check-in is allowed in, in meters"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
"additionalProperties": false
|
|
2092
|
+
}
|
|
2093
|
+
]
|
|
2094
|
+
}
|
|
2095
|
+
},
|
|
2096
|
+
"additionalProperties": false
|
|
2097
|
+
},
|
|
2098
|
+
"CheckinDateSetting": {
|
|
2099
|
+
"type": "object",
|
|
2100
|
+
"description": "A date range check-in is open in. Check-in works on the days within the range that fall on `periods`, inside the duration. For several durations, pass several date_settings",
|
|
2101
|
+
"required": [
|
|
2102
|
+
"start_date",
|
|
2103
|
+
"end_date",
|
|
2104
|
+
"periods",
|
|
2105
|
+
"durations"
|
|
2106
|
+
],
|
|
2107
|
+
"properties": {
|
|
2108
|
+
"start_date": {
|
|
2109
|
+
"type": "string",
|
|
2110
|
+
"format": "date"
|
|
2111
|
+
},
|
|
2112
|
+
"end_date": {
|
|
2113
|
+
"type": "string",
|
|
2114
|
+
"format": "date"
|
|
2115
|
+
},
|
|
2116
|
+
"periods": {
|
|
2117
|
+
"type": "array",
|
|
2118
|
+
"minItems": 1,
|
|
2119
|
+
"description": "Weekdays check-in is open on; list all seven for every day",
|
|
2120
|
+
"items": {
|
|
2121
|
+
"type": "string",
|
|
2122
|
+
"enum": [
|
|
2123
|
+
"Monday",
|
|
2124
|
+
"Tuesday",
|
|
2125
|
+
"Wednesday",
|
|
2126
|
+
"Thursday",
|
|
2127
|
+
"Friday",
|
|
2128
|
+
"Saturday",
|
|
2129
|
+
"Sunday"
|
|
2130
|
+
]
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
"durations": {
|
|
2134
|
+
"type": "array",
|
|
2135
|
+
"minItems": 1,
|
|
2136
|
+
"maxItems": 1,
|
|
2137
|
+
"description": "The time of day check-in is open; exactly one",
|
|
2138
|
+
"items": {
|
|
2139
|
+
"type": "object",
|
|
2140
|
+
"required": [
|
|
2141
|
+
"start",
|
|
2142
|
+
"end"
|
|
2143
|
+
],
|
|
2144
|
+
"properties": {
|
|
2145
|
+
"start": {
|
|
2146
|
+
"type": "string",
|
|
2147
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
2148
|
+
"description": "Start time, HH:MM"
|
|
2149
|
+
},
|
|
2150
|
+
"end": {
|
|
2151
|
+
"type": "string",
|
|
2152
|
+
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
|
|
2153
|
+
"description": "End time, HH:MM"
|
|
2154
|
+
}
|
|
2155
|
+
},
|
|
2156
|
+
"additionalProperties": false
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"additionalProperties": false
|
|
2161
|
+
},
|
|
2162
|
+
"CheckinGeoLocation": {
|
|
2163
|
+
"type": "object",
|
|
2164
|
+
"description": "Location limit; check-in works only within `range` meters of the coordinates",
|
|
2165
|
+
"required": [
|
|
2166
|
+
"longitude",
|
|
2167
|
+
"latitude",
|
|
2168
|
+
"range"
|
|
2169
|
+
],
|
|
2170
|
+
"properties": {
|
|
2171
|
+
"location_name": {
|
|
2172
|
+
"type": "string"
|
|
2173
|
+
},
|
|
2174
|
+
"address": {
|
|
2175
|
+
"type": "string"
|
|
2176
|
+
},
|
|
2177
|
+
"longitude": {
|
|
2178
|
+
"type": "number"
|
|
2179
|
+
},
|
|
2180
|
+
"latitude": {
|
|
2181
|
+
"type": "number"
|
|
2182
|
+
},
|
|
2183
|
+
"range": {
|
|
2184
|
+
"type": "integer",
|
|
2185
|
+
"minimum": 1,
|
|
2186
|
+
"description": "Radius check-in is allowed in, in meters"
|
|
2187
|
+
}
|
|
2188
|
+
},
|
|
2189
|
+
"additionalProperties": false
|
|
2190
|
+
},
|
|
1543
2191
|
"Choice": {
|
|
1544
2192
|
"type": "object",
|
|
1545
2193
|
"required": [
|
|
@@ -1834,6 +2482,11 @@
|
|
|
1834
2482
|
"folder_token": {
|
|
1835
2483
|
"type": "string",
|
|
1836
2484
|
"description": "Target folder token or id; when omitted, the copy is not put in a folder"
|
|
2485
|
+
},
|
|
2486
|
+
"with_notification_rules": {
|
|
2487
|
+
"type": "boolean",
|
|
2488
|
+
"default": false,
|
|
2489
|
+
"description": "Copy the notification rules too; takes manage permission on the source form, and copies none when the caller is outside the source form creator's account"
|
|
1837
2490
|
}
|
|
1838
2491
|
},
|
|
1839
2492
|
"additionalProperties": false
|
|
@@ -1878,14 +2531,14 @@
|
|
|
1878
2531
|
"string",
|
|
1879
2532
|
"null"
|
|
1880
2533
|
],
|
|
1881
|
-
"description": "Email"
|
|
2534
|
+
"description": "Email; null when the user has not bound one (a placeholder address made at signup counts as not bound)"
|
|
1882
2535
|
},
|
|
1883
2536
|
"mobile": {
|
|
1884
2537
|
"type": [
|
|
1885
2538
|
"string",
|
|
1886
2539
|
"null"
|
|
1887
2540
|
],
|
|
1888
|
-
"description": "Mobile number"
|
|
2541
|
+
"description": "Mobile number; null when the user has not bound one"
|
|
1889
2542
|
},
|
|
1890
2543
|
"role": {
|
|
1891
2544
|
"type": "string",
|
|
@@ -3682,7 +4335,8 @@
|
|
|
3682
4335
|
"form_token",
|
|
3683
4336
|
"name",
|
|
3684
4337
|
"matched",
|
|
3685
|
-
"serial_numbers"
|
|
4338
|
+
"serial_numbers",
|
|
4339
|
+
"folder_token"
|
|
3686
4340
|
],
|
|
3687
4341
|
"properties": {
|
|
3688
4342
|
"form_token": {
|
|
@@ -3701,6 +4355,13 @@
|
|
|
3701
4355
|
"items": {
|
|
3702
4356
|
"type": "integer"
|
|
3703
4357
|
}
|
|
4358
|
+
},
|
|
4359
|
+
"folder_token": {
|
|
4360
|
+
"type": [
|
|
4361
|
+
"string",
|
|
4362
|
+
"null"
|
|
4363
|
+
],
|
|
4364
|
+
"description": "Token of the folder the current identity put this form in (for an account token, the account owner's); null when the form is not in a folder"
|
|
3704
4365
|
}
|
|
3705
4366
|
}
|
|
3706
4367
|
},
|
|
@@ -3738,7 +4399,8 @@
|
|
|
3738
4399
|
12,
|
|
3739
4400
|
57,
|
|
3740
4401
|
88
|
|
3741
|
-
]
|
|
4402
|
+
],
|
|
4403
|
+
"folder_token": null
|
|
3742
4404
|
}
|
|
3743
4405
|
]
|
|
3744
4406
|
}
|
|
@@ -5074,6 +5736,47 @@
|
|
|
5074
5736
|
}
|
|
5075
5737
|
}
|
|
5076
5738
|
},
|
|
5739
|
+
"FieldDataCheck": {
|
|
5740
|
+
"type": "object",
|
|
5741
|
+
"required": [
|
|
5742
|
+
"field_api_code"
|
|
5743
|
+
],
|
|
5744
|
+
"properties": {
|
|
5745
|
+
"field_api_code": {
|
|
5746
|
+
"type": "string",
|
|
5747
|
+
"description": "api_code of the field to check; to check one column of a table / matrix field, that column's api_code, with `parent_field` set"
|
|
5748
|
+
},
|
|
5749
|
+
"choice_value": {
|
|
5750
|
+
"type": "string",
|
|
5751
|
+
"description": "api_code of one choice to check; omitted, checks whether the whole field has any data"
|
|
5752
|
+
},
|
|
5753
|
+
"choice_type": {
|
|
5754
|
+
"type": "string",
|
|
5755
|
+
"enum": [
|
|
5756
|
+
"choice",
|
|
5757
|
+
"statement",
|
|
5758
|
+
"dimension",
|
|
5759
|
+
"level_1",
|
|
5760
|
+
"level_2",
|
|
5761
|
+
"level_3",
|
|
5762
|
+
"level_4"
|
|
5763
|
+
],
|
|
5764
|
+
"description": "What `choice_value` names, `choice` by default; `statement` / `dimension` for matrix fields, `level_1` to `level_4` for cascading drop-downs"
|
|
5765
|
+
},
|
|
5766
|
+
"parent_field": {
|
|
5767
|
+
"type": "string",
|
|
5768
|
+
"description": "api_code of the parent field when checking one column of a matrix / table field"
|
|
5769
|
+
},
|
|
5770
|
+
"check_extended_text": {
|
|
5771
|
+
"type": "boolean",
|
|
5772
|
+
"description": "When true, checks whether the choice's \"Other\" extra text has any data"
|
|
5773
|
+
},
|
|
5774
|
+
"goods_item_dimension_options": {
|
|
5775
|
+
"type": "object",
|
|
5776
|
+
"description": "When checking one spec of a goods field, the mapping of spec dimensions to options"
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5779
|
+
},
|
|
5077
5780
|
"FieldDataCheckResponse": {
|
|
5078
5781
|
"type": "object",
|
|
5079
5782
|
"required": [
|
|
@@ -7043,7 +7746,64 @@
|
|
|
7043
7746
|
"media_type": {
|
|
7044
7747
|
"type": "object",
|
|
7045
7748
|
"additionalProperties": false,
|
|
7046
|
-
"description": "Allowed file types: type is
|
|
7749
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
7750
|
+
"x-groups": {
|
|
7751
|
+
"doc": [
|
|
7752
|
+
"txt",
|
|
7753
|
+
"pdf",
|
|
7754
|
+
"doc",
|
|
7755
|
+
"docx",
|
|
7756
|
+
"xls",
|
|
7757
|
+
"xlsx",
|
|
7758
|
+
"ppt",
|
|
7759
|
+
"pptx",
|
|
7760
|
+
"wps",
|
|
7761
|
+
"rtf",
|
|
7762
|
+
"hlp"
|
|
7763
|
+
],
|
|
7764
|
+
"image": [
|
|
7765
|
+
"jpg",
|
|
7766
|
+
"jpeg",
|
|
7767
|
+
"png",
|
|
7768
|
+
"gif",
|
|
7769
|
+
"bmp",
|
|
7770
|
+
"psd",
|
|
7771
|
+
"tif",
|
|
7772
|
+
"heic",
|
|
7773
|
+
"heif"
|
|
7774
|
+
],
|
|
7775
|
+
"video": [
|
|
7776
|
+
"mkv",
|
|
7777
|
+
"mp4",
|
|
7778
|
+
"avi",
|
|
7779
|
+
"swf",
|
|
7780
|
+
"wmv",
|
|
7781
|
+
"rmvb",
|
|
7782
|
+
"mov",
|
|
7783
|
+
"mpg"
|
|
7784
|
+
],
|
|
7785
|
+
"audio": [
|
|
7786
|
+
"mp3",
|
|
7787
|
+
"flac",
|
|
7788
|
+
"ape",
|
|
7789
|
+
"wma",
|
|
7790
|
+
"wav",
|
|
7791
|
+
"aac",
|
|
7792
|
+
"m4a",
|
|
7793
|
+
"au",
|
|
7794
|
+
"ram",
|
|
7795
|
+
"mmf",
|
|
7796
|
+
"aif"
|
|
7797
|
+
],
|
|
7798
|
+
"compress": [
|
|
7799
|
+
"rar",
|
|
7800
|
+
"zip",
|
|
7801
|
+
"7z",
|
|
7802
|
+
"gz",
|
|
7803
|
+
"arj",
|
|
7804
|
+
"z"
|
|
7805
|
+
]
|
|
7806
|
+
},
|
|
7047
7807
|
"properties": {
|
|
7048
7808
|
"type": {
|
|
7049
7809
|
"type": "string",
|
|
@@ -12094,6 +12854,33 @@
|
|
|
12094
12854
|
},
|
|
12095
12855
|
"additionalProperties": false
|
|
12096
12856
|
},
|
|
12857
|
+
"FieldTypeChangeCheck": {
|
|
12858
|
+
"type": "object",
|
|
12859
|
+
"required": [
|
|
12860
|
+
"field_api_code",
|
|
12861
|
+
"target_type"
|
|
12862
|
+
],
|
|
12863
|
+
"properties": {
|
|
12864
|
+
"field_api_code": {
|
|
12865
|
+
"type": "string",
|
|
12866
|
+
"description": "api_code of the field to convert"
|
|
12867
|
+
},
|
|
12868
|
+
"target_type": {
|
|
12869
|
+
"type": "string",
|
|
12870
|
+
"description": "Target field type; see `GET /field_types` for the values (`GET /field_types?kind=table` for tables)"
|
|
12871
|
+
},
|
|
12872
|
+
"target_precision": {
|
|
12873
|
+
"type": "string",
|
|
12874
|
+
"enum": [
|
|
12875
|
+
"month",
|
|
12876
|
+
"day",
|
|
12877
|
+
"minute",
|
|
12878
|
+
"second"
|
|
12879
|
+
],
|
|
12880
|
+
"description": "When the target is `DateTimeField`, the date precision the edit will use, so the preview matches the actual conversion; ignored otherwise"
|
|
12881
|
+
}
|
|
12882
|
+
}
|
|
12883
|
+
},
|
|
12097
12884
|
"FieldTypeChangePreviewResponse": {
|
|
12098
12885
|
"type": "object",
|
|
12099
12886
|
"required": [
|
|
@@ -12304,6 +13091,42 @@
|
|
|
12304
13091
|
]
|
|
12305
13092
|
]
|
|
12306
13093
|
},
|
|
13094
|
+
"setting_specs": {
|
|
13095
|
+
"type": "object",
|
|
13096
|
+
"description": "What each key of `settings` may hold, keyed by setting, as the JSON Schema the create request validates it against (the setting's schema in `<Type>Input`). An attachment's `media_type` also carries `x-groups`, the extensions of each preset group. Omitted when the type has no settings",
|
|
13097
|
+
"additionalProperties": {
|
|
13098
|
+
"type": "object"
|
|
13099
|
+
},
|
|
13100
|
+
"examples": [
|
|
13101
|
+
{
|
|
13102
|
+
"media_type": {
|
|
13103
|
+
"type": "object",
|
|
13104
|
+
"x-groups": {
|
|
13105
|
+
"audio": [
|
|
13106
|
+
"mp3",
|
|
13107
|
+
"wav"
|
|
13108
|
+
]
|
|
13109
|
+
},
|
|
13110
|
+
"properties": {
|
|
13111
|
+
"type": {
|
|
13112
|
+
"type": "string",
|
|
13113
|
+
"enum": [
|
|
13114
|
+
"unlimited",
|
|
13115
|
+
"audio",
|
|
13116
|
+
"custom"
|
|
13117
|
+
]
|
|
13118
|
+
},
|
|
13119
|
+
"value": {
|
|
13120
|
+
"type": "array",
|
|
13121
|
+
"items": {
|
|
13122
|
+
"type": "string"
|
|
13123
|
+
}
|
|
13124
|
+
}
|
|
13125
|
+
}
|
|
13126
|
+
}
|
|
13127
|
+
}
|
|
13128
|
+
]
|
|
13129
|
+
},
|
|
12307
13130
|
"summary": {
|
|
12308
13131
|
"type": "string",
|
|
12309
13132
|
"description": "A short explanation of what this field is and how to write it. Omitted when `kind=table`"
|
|
@@ -12383,6 +13206,42 @@
|
|
|
12383
13206
|
]
|
|
12384
13207
|
]
|
|
12385
13208
|
},
|
|
13209
|
+
"setting_specs": {
|
|
13210
|
+
"type": "object",
|
|
13211
|
+
"description": "What each key of `settings` may hold, keyed by setting, as the JSON Schema the create request validates it against (the setting's schema in `<Type>Input`). An attachment's `media_type` also carries `x-groups`, the extensions of each preset group. Omitted when the type has no settings",
|
|
13212
|
+
"additionalProperties": {
|
|
13213
|
+
"type": "object"
|
|
13214
|
+
},
|
|
13215
|
+
"examples": [
|
|
13216
|
+
{
|
|
13217
|
+
"media_type": {
|
|
13218
|
+
"type": "object",
|
|
13219
|
+
"x-groups": {
|
|
13220
|
+
"audio": [
|
|
13221
|
+
"mp3",
|
|
13222
|
+
"wav"
|
|
13223
|
+
]
|
|
13224
|
+
},
|
|
13225
|
+
"properties": {
|
|
13226
|
+
"type": {
|
|
13227
|
+
"type": "string",
|
|
13228
|
+
"enum": [
|
|
13229
|
+
"unlimited",
|
|
13230
|
+
"audio",
|
|
13231
|
+
"custom"
|
|
13232
|
+
]
|
|
13233
|
+
},
|
|
13234
|
+
"value": {
|
|
13235
|
+
"type": "array",
|
|
13236
|
+
"items": {
|
|
13237
|
+
"type": "string"
|
|
13238
|
+
}
|
|
13239
|
+
}
|
|
13240
|
+
}
|
|
13241
|
+
}
|
|
13242
|
+
}
|
|
13243
|
+
]
|
|
13244
|
+
},
|
|
12386
13245
|
"summary": {
|
|
12387
13246
|
"type": "string",
|
|
12388
13247
|
"description": "A short explanation of what this field is and how to write it. Omitted when `kind=table`"
|
|
@@ -12683,9 +13542,254 @@
|
|
|
12683
13542
|
"type": "array",
|
|
12684
13543
|
"items": {
|
|
12685
13544
|
"type": "object",
|
|
12686
|
-
"
|
|
13545
|
+
"title": "GoodsItemUpdateInput",
|
|
13546
|
+
"additionalProperties": false,
|
|
13547
|
+
"description": "A goods item; one with api_code is an existing item and keeps whatever it leaves out",
|
|
13548
|
+
"properties": {
|
|
13549
|
+
"name": {
|
|
13550
|
+
"type": "string",
|
|
13551
|
+
"description": "Goods name"
|
|
13552
|
+
},
|
|
13553
|
+
"layout": {
|
|
13554
|
+
"type": "string",
|
|
13555
|
+
"enum": [
|
|
13556
|
+
"without_images",
|
|
13557
|
+
"price_only",
|
|
13558
|
+
"images",
|
|
13559
|
+
"text_options"
|
|
13560
|
+
],
|
|
13561
|
+
"description": "Layout"
|
|
13562
|
+
},
|
|
13563
|
+
"api_code": {
|
|
13564
|
+
"type": "string",
|
|
13565
|
+
"description": "Keeps the identity of the item on edit; when left out, an existing item is matched by name"
|
|
13566
|
+
},
|
|
13567
|
+
"description": {
|
|
13568
|
+
"type": "string",
|
|
13569
|
+
"description": "Goods description"
|
|
13570
|
+
},
|
|
13571
|
+
"position": {
|
|
13572
|
+
"type": "integer",
|
|
13573
|
+
"minimum": 0
|
|
13574
|
+
},
|
|
13575
|
+
"hidden": {
|
|
13576
|
+
"type": "boolean"
|
|
13577
|
+
},
|
|
13578
|
+
"price": {
|
|
13579
|
+
"type": "number",
|
|
13580
|
+
"minimum": 0
|
|
13581
|
+
},
|
|
13582
|
+
"original_price": {
|
|
13583
|
+
"type": "number",
|
|
13584
|
+
"minimum": 0,
|
|
13585
|
+
"description": "Original price, shown struck through"
|
|
13586
|
+
},
|
|
13587
|
+
"predefined_number": {
|
|
13588
|
+
"type": "integer",
|
|
13589
|
+
"minimum": 0,
|
|
13590
|
+
"description": "Default quantity"
|
|
13591
|
+
},
|
|
13592
|
+
"fixed_number": {
|
|
13593
|
+
"type": "boolean",
|
|
13594
|
+
"description": "The quantity cannot be changed"
|
|
13595
|
+
},
|
|
13596
|
+
"inventory": {
|
|
13597
|
+
"type": "integer",
|
|
13598
|
+
"minimum": 0,
|
|
13599
|
+
"description": "Stock; with specifications, set it on each sku instead"
|
|
13600
|
+
},
|
|
13601
|
+
"inventory_reset": {
|
|
13602
|
+
"type": "boolean"
|
|
13603
|
+
},
|
|
13604
|
+
"min_purchase_quantity": {
|
|
13605
|
+
"type": "integer",
|
|
13606
|
+
"minimum": 0
|
|
13607
|
+
},
|
|
13608
|
+
"max_purchase_quantity": {
|
|
13609
|
+
"type": "integer",
|
|
13610
|
+
"minimum": 0
|
|
13611
|
+
},
|
|
13612
|
+
"dimensions": {
|
|
13613
|
+
"type": "array",
|
|
13614
|
+
"minItems": 1,
|
|
13615
|
+
"items": {
|
|
13616
|
+
"type": "object",
|
|
13617
|
+
"additionalProperties": false,
|
|
13618
|
+
"required": [
|
|
13619
|
+
"label",
|
|
13620
|
+
"options"
|
|
13621
|
+
],
|
|
13622
|
+
"properties": {
|
|
13623
|
+
"api_code": {
|
|
13624
|
+
"type": "string",
|
|
13625
|
+
"description": "Keeps the identity on edit"
|
|
13626
|
+
},
|
|
13627
|
+
"label": {
|
|
13628
|
+
"type": "string",
|
|
13629
|
+
"description": "Dimension name, such as `尺寸`"
|
|
13630
|
+
},
|
|
13631
|
+
"options": {
|
|
13632
|
+
"type": "array",
|
|
13633
|
+
"minItems": 1,
|
|
13634
|
+
"items": {
|
|
13635
|
+
"type": "object",
|
|
13636
|
+
"additionalProperties": false,
|
|
13637
|
+
"required": [
|
|
13638
|
+
"label"
|
|
13639
|
+
],
|
|
13640
|
+
"properties": {
|
|
13641
|
+
"label": {
|
|
13642
|
+
"type": "string"
|
|
13643
|
+
},
|
|
13644
|
+
"value": {
|
|
13645
|
+
"type": "string",
|
|
13646
|
+
"description": "Generated when left out; customized marks a custom amount option"
|
|
13647
|
+
}
|
|
13648
|
+
}
|
|
13649
|
+
}
|
|
13650
|
+
}
|
|
13651
|
+
}
|
|
13652
|
+
},
|
|
13653
|
+
"description": "Specification dimensions"
|
|
13654
|
+
},
|
|
13655
|
+
"skus": {
|
|
13656
|
+
"type": "array",
|
|
13657
|
+
"minItems": 1,
|
|
13658
|
+
"items": {
|
|
13659
|
+
"type": "object",
|
|
13660
|
+
"additionalProperties": false,
|
|
13661
|
+
"required": [
|
|
13662
|
+
"specification"
|
|
13663
|
+
],
|
|
13664
|
+
"properties": {
|
|
13665
|
+
"specification": {
|
|
13666
|
+
"type": "object",
|
|
13667
|
+
"additionalProperties": {
|
|
13668
|
+
"type": "string"
|
|
13669
|
+
},
|
|
13670
|
+
"description": "Keyed by dimension api_code or name; each value is an option value or name"
|
|
13671
|
+
},
|
|
13672
|
+
"price": {
|
|
13673
|
+
"type": "number",
|
|
13674
|
+
"minimum": 0
|
|
13675
|
+
},
|
|
13676
|
+
"original_price": {
|
|
13677
|
+
"type": "number",
|
|
13678
|
+
"minimum": 0
|
|
13679
|
+
},
|
|
13680
|
+
"inventory": {
|
|
13681
|
+
"type": "integer",
|
|
13682
|
+
"minimum": 0
|
|
13683
|
+
},
|
|
13684
|
+
"inventory_reset": {
|
|
13685
|
+
"type": "boolean"
|
|
13686
|
+
},
|
|
13687
|
+
"min_purchase_quantity": {
|
|
13688
|
+
"type": "integer",
|
|
13689
|
+
"minimum": 0
|
|
13690
|
+
},
|
|
13691
|
+
"max_purchase_quantity": {
|
|
13692
|
+
"type": "integer",
|
|
13693
|
+
"minimum": 0
|
|
13694
|
+
}
|
|
13695
|
+
}
|
|
13696
|
+
},
|
|
13697
|
+
"description": "Specification combinations; specification must name one option for every dimension"
|
|
13698
|
+
},
|
|
13699
|
+
"image_urls": {
|
|
13700
|
+
"type": "array",
|
|
13701
|
+
"items": {
|
|
13702
|
+
"type": "string",
|
|
13703
|
+
"format": "uri"
|
|
13704
|
+
},
|
|
13705
|
+
"description": "Goods image URLs for layout=images"
|
|
13706
|
+
},
|
|
13707
|
+
"image_base64s": {
|
|
13708
|
+
"type": "array",
|
|
13709
|
+
"items": {
|
|
13710
|
+
"type": "string"
|
|
13711
|
+
},
|
|
13712
|
+
"description": "Base64 goods images for layout=images"
|
|
13713
|
+
}
|
|
13714
|
+
},
|
|
13715
|
+
"dependentRequired": {
|
|
13716
|
+
"dimensions": [
|
|
13717
|
+
"skus"
|
|
13718
|
+
],
|
|
13719
|
+
"skus": [
|
|
13720
|
+
"dimensions"
|
|
13721
|
+
]
|
|
13722
|
+
},
|
|
13723
|
+
"if": {
|
|
13724
|
+
"not": {
|
|
13725
|
+
"required": [
|
|
13726
|
+
"api_code"
|
|
13727
|
+
]
|
|
13728
|
+
}
|
|
13729
|
+
},
|
|
13730
|
+
"then": {
|
|
13731
|
+
"required": [
|
|
13732
|
+
"name",
|
|
13733
|
+
"layout"
|
|
13734
|
+
],
|
|
13735
|
+
"allOf": [
|
|
13736
|
+
{
|
|
13737
|
+
"description": "The price_only / text_options layouts require specifications",
|
|
13738
|
+
"if": {
|
|
13739
|
+
"properties": {
|
|
13740
|
+
"layout": {
|
|
13741
|
+
"enum": [
|
|
13742
|
+
"price_only",
|
|
13743
|
+
"text_options"
|
|
13744
|
+
]
|
|
13745
|
+
}
|
|
13746
|
+
}
|
|
13747
|
+
},
|
|
13748
|
+
"then": {
|
|
13749
|
+
"required": [
|
|
13750
|
+
"dimensions",
|
|
13751
|
+
"skus"
|
|
13752
|
+
]
|
|
13753
|
+
}
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
"description": "The images layout needs at least one image",
|
|
13757
|
+
"if": {
|
|
13758
|
+
"properties": {
|
|
13759
|
+
"layout": {
|
|
13760
|
+
"const": "images"
|
|
13761
|
+
}
|
|
13762
|
+
}
|
|
13763
|
+
},
|
|
13764
|
+
"then": {
|
|
13765
|
+
"anyOf": [
|
|
13766
|
+
{
|
|
13767
|
+
"required": [
|
|
13768
|
+
"image_urls"
|
|
13769
|
+
],
|
|
13770
|
+
"properties": {
|
|
13771
|
+
"image_urls": {
|
|
13772
|
+
"minItems": 1
|
|
13773
|
+
}
|
|
13774
|
+
}
|
|
13775
|
+
},
|
|
13776
|
+
{
|
|
13777
|
+
"required": [
|
|
13778
|
+
"image_base64s"
|
|
13779
|
+
],
|
|
13780
|
+
"properties": {
|
|
13781
|
+
"image_base64s": {
|
|
13782
|
+
"minItems": 1
|
|
13783
|
+
}
|
|
13784
|
+
}
|
|
13785
|
+
}
|
|
13786
|
+
]
|
|
13787
|
+
}
|
|
13788
|
+
}
|
|
13789
|
+
]
|
|
13790
|
+
}
|
|
12687
13791
|
},
|
|
12688
|
-
"description": "Replaces the whole list; carry api_code to keep the identity of an item"
|
|
13792
|
+
"description": "Replaces the whole list; carry api_code to keep the identity of an item. An existing item keeps whatever it leaves out, so a reorder lists just the api_codes in the new order"
|
|
12689
13793
|
},
|
|
12690
13794
|
"reservation_items": {
|
|
12691
13795
|
"type": "array",
|
|
@@ -13235,7 +14339,64 @@
|
|
|
13235
14339
|
"media_type": {
|
|
13236
14340
|
"type": "object",
|
|
13237
14341
|
"additionalProperties": false,
|
|
13238
|
-
"description": "Allowed file types: type is
|
|
14342
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
14343
|
+
"x-groups": {
|
|
14344
|
+
"doc": [
|
|
14345
|
+
"txt",
|
|
14346
|
+
"pdf",
|
|
14347
|
+
"doc",
|
|
14348
|
+
"docx",
|
|
14349
|
+
"xls",
|
|
14350
|
+
"xlsx",
|
|
14351
|
+
"ppt",
|
|
14352
|
+
"pptx",
|
|
14353
|
+
"wps",
|
|
14354
|
+
"rtf",
|
|
14355
|
+
"hlp"
|
|
14356
|
+
],
|
|
14357
|
+
"image": [
|
|
14358
|
+
"jpg",
|
|
14359
|
+
"jpeg",
|
|
14360
|
+
"png",
|
|
14361
|
+
"gif",
|
|
14362
|
+
"bmp",
|
|
14363
|
+
"psd",
|
|
14364
|
+
"tif",
|
|
14365
|
+
"heic",
|
|
14366
|
+
"heif"
|
|
14367
|
+
],
|
|
14368
|
+
"video": [
|
|
14369
|
+
"mkv",
|
|
14370
|
+
"mp4",
|
|
14371
|
+
"avi",
|
|
14372
|
+
"swf",
|
|
14373
|
+
"wmv",
|
|
14374
|
+
"rmvb",
|
|
14375
|
+
"mov",
|
|
14376
|
+
"mpg"
|
|
14377
|
+
],
|
|
14378
|
+
"audio": [
|
|
14379
|
+
"mp3",
|
|
14380
|
+
"flac",
|
|
14381
|
+
"ape",
|
|
14382
|
+
"wma",
|
|
14383
|
+
"wav",
|
|
14384
|
+
"aac",
|
|
14385
|
+
"m4a",
|
|
14386
|
+
"au",
|
|
14387
|
+
"ram",
|
|
14388
|
+
"mmf",
|
|
14389
|
+
"aif"
|
|
14390
|
+
],
|
|
14391
|
+
"compress": [
|
|
14392
|
+
"rar",
|
|
14393
|
+
"zip",
|
|
14394
|
+
"7z",
|
|
14395
|
+
"gz",
|
|
14396
|
+
"arj",
|
|
14397
|
+
"z"
|
|
14398
|
+
]
|
|
14399
|
+
},
|
|
13239
14400
|
"properties": {
|
|
13240
14401
|
"type": {
|
|
13241
14402
|
"type": "string",
|
|
@@ -14183,6 +15344,8 @@
|
|
|
14183
15344
|
"required": [
|
|
14184
15345
|
"name",
|
|
14185
15346
|
"token",
|
|
15347
|
+
"kind",
|
|
15348
|
+
"scene",
|
|
14186
15349
|
"url",
|
|
14187
15350
|
"description",
|
|
14188
15351
|
"fields",
|
|
@@ -14195,10 +15358,35 @@
|
|
|
14195
15358
|
"token": {
|
|
14196
15359
|
"type": "string"
|
|
14197
15360
|
},
|
|
15361
|
+
"kind": {
|
|
15362
|
+
"type": "string",
|
|
15363
|
+
"enum": [
|
|
15364
|
+
"form",
|
|
15365
|
+
"table",
|
|
15366
|
+
"quickpay"
|
|
15367
|
+
],
|
|
15368
|
+
"description": "What the token is. A table's views are read with `GET /tables/{table_token}`"
|
|
15369
|
+
},
|
|
15370
|
+
"scene": {
|
|
15371
|
+
"type": "string",
|
|
15372
|
+
"enum": [
|
|
15373
|
+
"form",
|
|
15374
|
+
"survey",
|
|
15375
|
+
"registry",
|
|
15376
|
+
"vote",
|
|
15377
|
+
"exam",
|
|
15378
|
+
"reservation",
|
|
15379
|
+
"customer_acquisition",
|
|
15380
|
+
"evaluation",
|
|
15381
|
+
"online_payment",
|
|
15382
|
+
"quickpay"
|
|
15383
|
+
],
|
|
15384
|
+
"description": "Form scene, as set by `scene` on create"
|
|
15385
|
+
},
|
|
14198
15386
|
"url": {
|
|
14199
15387
|
"type": "string",
|
|
14200
15388
|
"format": "uri",
|
|
14201
|
-
"description": "Public
|
|
15389
|
+
"description": "Public URL of the form (built from the account's custom domain / subdomain; cannot be derived from the token). A quick payment form's is its payment page; a table, which has no public page, gives its URL in the product, the same as `GET /tables/{table_token}`"
|
|
14202
15390
|
},
|
|
14203
15391
|
"description": {
|
|
14204
15392
|
"type": [
|
|
@@ -14353,7 +15541,6 @@
|
|
|
14353
15541
|
"not": {
|
|
14354
15542
|
"enum": [
|
|
14355
15543
|
"PageBreak",
|
|
14356
|
-
"GoodsField",
|
|
14357
15544
|
"MultipleBlanksField",
|
|
14358
15545
|
"WidgetContact",
|
|
14359
15546
|
"WidgetVideo",
|
|
@@ -14556,6 +15743,8 @@
|
|
|
14556
15743
|
"required": [
|
|
14557
15744
|
"name",
|
|
14558
15745
|
"token",
|
|
15746
|
+
"kind",
|
|
15747
|
+
"scene",
|
|
14559
15748
|
"url",
|
|
14560
15749
|
"description",
|
|
14561
15750
|
"fields",
|
|
@@ -14568,10 +15757,35 @@
|
|
|
14568
15757
|
"token": {
|
|
14569
15758
|
"type": "string"
|
|
14570
15759
|
},
|
|
15760
|
+
"kind": {
|
|
15761
|
+
"type": "string",
|
|
15762
|
+
"enum": [
|
|
15763
|
+
"form",
|
|
15764
|
+
"table",
|
|
15765
|
+
"quickpay"
|
|
15766
|
+
],
|
|
15767
|
+
"description": "What the token is. A table's views are read with `GET /tables/{table_token}`"
|
|
15768
|
+
},
|
|
15769
|
+
"scene": {
|
|
15770
|
+
"type": "string",
|
|
15771
|
+
"enum": [
|
|
15772
|
+
"form",
|
|
15773
|
+
"survey",
|
|
15774
|
+
"registry",
|
|
15775
|
+
"vote",
|
|
15776
|
+
"exam",
|
|
15777
|
+
"reservation",
|
|
15778
|
+
"customer_acquisition",
|
|
15779
|
+
"evaluation",
|
|
15780
|
+
"online_payment",
|
|
15781
|
+
"quickpay"
|
|
15782
|
+
],
|
|
15783
|
+
"description": "Form scene, as set by `scene` on create"
|
|
15784
|
+
},
|
|
14571
15785
|
"url": {
|
|
14572
15786
|
"type": "string",
|
|
14573
15787
|
"format": "uri",
|
|
14574
|
-
"description": "Public
|
|
15788
|
+
"description": "Public URL of the form (built from the account's custom domain / subdomain; cannot be derived from the token). A quick payment form's is its payment page; a table, which has no public page, gives its URL in the product, the same as `GET /tables/{table_token}`"
|
|
14575
15789
|
},
|
|
14576
15790
|
"description": {
|
|
14577
15791
|
"type": [
|
|
@@ -15038,11 +16252,13 @@
|
|
|
15038
16252
|
"required": [
|
|
15039
16253
|
"name",
|
|
15040
16254
|
"token",
|
|
16255
|
+
"kind",
|
|
15041
16256
|
"tags",
|
|
15042
16257
|
"created_at",
|
|
15043
16258
|
"entries_count",
|
|
15044
16259
|
"last_entry_created_at",
|
|
15045
|
-
"creator"
|
|
16260
|
+
"creator",
|
|
16261
|
+
"folder_token"
|
|
15046
16262
|
],
|
|
15047
16263
|
"properties": {
|
|
15048
16264
|
"name": {
|
|
@@ -15052,6 +16268,12 @@
|
|
|
15052
16268
|
"token": {
|
|
15053
16269
|
"type": "string"
|
|
15054
16270
|
},
|
|
16271
|
+
"kind": {
|
|
16272
|
+
"type": "string",
|
|
16273
|
+
"enum": [
|
|
16274
|
+
"form"
|
|
16275
|
+
]
|
|
16276
|
+
},
|
|
15055
16277
|
"tags": {
|
|
15056
16278
|
"type": "array",
|
|
15057
16279
|
"items": {
|
|
@@ -15087,6 +16309,13 @@
|
|
|
15087
16309
|
}
|
|
15088
16310
|
}
|
|
15089
16311
|
},
|
|
16312
|
+
"folder_token": {
|
|
16313
|
+
"type": [
|
|
16314
|
+
"string",
|
|
16315
|
+
"null"
|
|
16316
|
+
],
|
|
16317
|
+
"description": "Token of the folder the current identity put this form in (for an account token, the account owner's); null when the form is not in a folder"
|
|
16318
|
+
},
|
|
15090
16319
|
"transactions": {
|
|
15091
16320
|
"type": "object",
|
|
15092
16321
|
"description": "Payment statistics, grouped by transaction status (present when `include_transactions=true` and the form is bound to a payment account). Only the `paid` group exists for now:\nentries whose transaction status is paid or refunding, summed by order total (refunds not deducted); refunded and partially refunded entries are not counted. This is not a net income report.\nAn amount of 0 does not mean the form is not a payment form.\n",
|
|
@@ -15821,7 +17050,13 @@
|
|
|
15821
17050
|
]
|
|
15822
17051
|
},
|
|
15823
17052
|
"entry_submit_mode": {
|
|
15824
|
-
"type": "string"
|
|
17053
|
+
"type": "string",
|
|
17054
|
+
"enum": [
|
|
17055
|
+
"show_message",
|
|
17056
|
+
"redirect",
|
|
17057
|
+
"reports",
|
|
17058
|
+
"exam_score"
|
|
17059
|
+
]
|
|
15825
17060
|
},
|
|
15826
17061
|
"success_redirect_url": {
|
|
15827
17062
|
"type": "string"
|
|
@@ -15833,7 +17068,12 @@
|
|
|
15833
17068
|
}
|
|
15834
17069
|
},
|
|
15835
17070
|
"open_entry_action": {
|
|
15836
|
-
"type": "string"
|
|
17071
|
+
"type": "string",
|
|
17072
|
+
"enum": [
|
|
17073
|
+
"hide",
|
|
17074
|
+
"view",
|
|
17075
|
+
"edit"
|
|
17076
|
+
]
|
|
15837
17077
|
},
|
|
15838
17078
|
"open_entry_message": {
|
|
15839
17079
|
"type": "string"
|
|
@@ -15959,7 +17199,16 @@
|
|
|
15959
17199
|
"type": "string"
|
|
15960
17200
|
},
|
|
15961
17201
|
"allowed_audience": {
|
|
15962
|
-
"type": "string"
|
|
17202
|
+
"type": "string",
|
|
17203
|
+
"enum": [
|
|
17204
|
+
"public",
|
|
17205
|
+
"internal",
|
|
17206
|
+
"private",
|
|
17207
|
+
"weixin_qiye_followers_only",
|
|
17208
|
+
"weixin_followers_only",
|
|
17209
|
+
"submitter_only",
|
|
17210
|
+
"gd_user_only"
|
|
17211
|
+
]
|
|
15963
17212
|
},
|
|
15964
17213
|
"weixin_limited": {
|
|
15965
17214
|
"type": "boolean"
|
|
@@ -16126,16 +17375,44 @@
|
|
|
16126
17375
|
},
|
|
16127
17376
|
"additionalProperties": false
|
|
16128
17377
|
},
|
|
17378
|
+
"FormSortRule": {
|
|
17379
|
+
"type": "object",
|
|
17380
|
+
"required": [
|
|
17381
|
+
"field"
|
|
17382
|
+
],
|
|
17383
|
+
"properties": {
|
|
17384
|
+
"field": {
|
|
17385
|
+
"type": "string",
|
|
17386
|
+
"enum": [
|
|
17387
|
+
"created_at",
|
|
17388
|
+
"last_entry_created_at",
|
|
17389
|
+
"entries_count"
|
|
17390
|
+
],
|
|
17391
|
+
"description": "Form attribute to sort by"
|
|
17392
|
+
},
|
|
17393
|
+
"order": {
|
|
17394
|
+
"type": "string",
|
|
17395
|
+
"enum": [
|
|
17396
|
+
"asc",
|
|
17397
|
+
"desc"
|
|
17398
|
+
],
|
|
17399
|
+
"default": "asc",
|
|
17400
|
+
"description": "Sort direction"
|
|
17401
|
+
}
|
|
17402
|
+
}
|
|
17403
|
+
},
|
|
16129
17404
|
"FormSummary": {
|
|
16130
17405
|
"type": "object",
|
|
16131
17406
|
"required": [
|
|
16132
17407
|
"name",
|
|
16133
17408
|
"token",
|
|
17409
|
+
"kind",
|
|
16134
17410
|
"tags",
|
|
16135
17411
|
"created_at",
|
|
16136
17412
|
"entries_count",
|
|
16137
17413
|
"last_entry_created_at",
|
|
16138
|
-
"creator"
|
|
17414
|
+
"creator",
|
|
17415
|
+
"folder_token"
|
|
16139
17416
|
],
|
|
16140
17417
|
"properties": {
|
|
16141
17418
|
"name": {
|
|
@@ -16145,6 +17422,12 @@
|
|
|
16145
17422
|
"token": {
|
|
16146
17423
|
"type": "string"
|
|
16147
17424
|
},
|
|
17425
|
+
"kind": {
|
|
17426
|
+
"type": "string",
|
|
17427
|
+
"enum": [
|
|
17428
|
+
"form"
|
|
17429
|
+
]
|
|
17430
|
+
},
|
|
16148
17431
|
"tags": {
|
|
16149
17432
|
"type": "array",
|
|
16150
17433
|
"items": {
|
|
@@ -16180,6 +17463,13 @@
|
|
|
16180
17463
|
}
|
|
16181
17464
|
}
|
|
16182
17465
|
},
|
|
17466
|
+
"folder_token": {
|
|
17467
|
+
"type": [
|
|
17468
|
+
"string",
|
|
17469
|
+
"null"
|
|
17470
|
+
],
|
|
17471
|
+
"description": "Token of the folder the current identity put this form in (for an account token, the account owner's); null when the form is not in a folder"
|
|
17472
|
+
},
|
|
16183
17473
|
"transactions": {
|
|
16184
17474
|
"type": "object",
|
|
16185
17475
|
"description": "Payment statistics, grouped by transaction status (present when `include_transactions=true` and the form is bound to a payment account). Only the `paid` group exists for now:\nentries whose transaction status is paid or refunding, summed by order total (refunds not deducted); refunded and partially refunded entries are not counted. This is not a net income report.\nAn amount of 0 does not mean the form is not a payment form.\n",
|
|
@@ -17266,7 +18556,64 @@
|
|
|
17266
18556
|
"media_type": {
|
|
17267
18557
|
"type": "object",
|
|
17268
18558
|
"additionalProperties": false,
|
|
17269
|
-
"description": "Allowed file types: type is
|
|
18559
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
18560
|
+
"x-groups": {
|
|
18561
|
+
"doc": [
|
|
18562
|
+
"txt",
|
|
18563
|
+
"pdf",
|
|
18564
|
+
"doc",
|
|
18565
|
+
"docx",
|
|
18566
|
+
"xls",
|
|
18567
|
+
"xlsx",
|
|
18568
|
+
"ppt",
|
|
18569
|
+
"pptx",
|
|
18570
|
+
"wps",
|
|
18571
|
+
"rtf",
|
|
18572
|
+
"hlp"
|
|
18573
|
+
],
|
|
18574
|
+
"image": [
|
|
18575
|
+
"jpg",
|
|
18576
|
+
"jpeg",
|
|
18577
|
+
"png",
|
|
18578
|
+
"gif",
|
|
18579
|
+
"bmp",
|
|
18580
|
+
"psd",
|
|
18581
|
+
"tif",
|
|
18582
|
+
"heic",
|
|
18583
|
+
"heif"
|
|
18584
|
+
],
|
|
18585
|
+
"video": [
|
|
18586
|
+
"mkv",
|
|
18587
|
+
"mp4",
|
|
18588
|
+
"avi",
|
|
18589
|
+
"swf",
|
|
18590
|
+
"wmv",
|
|
18591
|
+
"rmvb",
|
|
18592
|
+
"mov",
|
|
18593
|
+
"mpg"
|
|
18594
|
+
],
|
|
18595
|
+
"audio": [
|
|
18596
|
+
"mp3",
|
|
18597
|
+
"flac",
|
|
18598
|
+
"ape",
|
|
18599
|
+
"wma",
|
|
18600
|
+
"wav",
|
|
18601
|
+
"aac",
|
|
18602
|
+
"m4a",
|
|
18603
|
+
"au",
|
|
18604
|
+
"ram",
|
|
18605
|
+
"mmf",
|
|
18606
|
+
"aif"
|
|
18607
|
+
],
|
|
18608
|
+
"compress": [
|
|
18609
|
+
"rar",
|
|
18610
|
+
"zip",
|
|
18611
|
+
"7z",
|
|
18612
|
+
"gz",
|
|
18613
|
+
"arj",
|
|
18614
|
+
"z"
|
|
18615
|
+
]
|
|
18616
|
+
},
|
|
17270
18617
|
"properties": {
|
|
17271
18618
|
"type": {
|
|
17272
18619
|
"type": "string",
|
|
@@ -18686,45 +20033,281 @@
|
|
|
18686
20033
|
"items": {
|
|
18687
20034
|
"type": "object",
|
|
18688
20035
|
"properties": {
|
|
18689
|
-
"spec": {
|
|
20036
|
+
"spec": {
|
|
20037
|
+
"type": "object",
|
|
20038
|
+
"additionalProperties": {
|
|
20039
|
+
"type": "string"
|
|
20040
|
+
},
|
|
20041
|
+
"description": "Spec: keys are spec dimension names, values are spec options"
|
|
20042
|
+
},
|
|
20043
|
+
"price": {
|
|
20044
|
+
"type": [
|
|
20045
|
+
"number",
|
|
20046
|
+
"null"
|
|
20047
|
+
]
|
|
20048
|
+
},
|
|
20049
|
+
"original_price": {
|
|
20050
|
+
"type": [
|
|
20051
|
+
"number",
|
|
20052
|
+
"null"
|
|
20053
|
+
]
|
|
20054
|
+
},
|
|
20055
|
+
"inventory": {
|
|
20056
|
+
"type": [
|
|
20057
|
+
"integer",
|
|
20058
|
+
"null"
|
|
20059
|
+
]
|
|
20060
|
+
}
|
|
20061
|
+
}
|
|
20062
|
+
}
|
|
20063
|
+
}
|
|
20064
|
+
}
|
|
20065
|
+
},
|
|
20066
|
+
"GoodsItemInput": {
|
|
20067
|
+
"type": "object",
|
|
20068
|
+
"title": "GoodsItemInput",
|
|
20069
|
+
"additionalProperties": false,
|
|
20070
|
+
"description": "A goods item",
|
|
20071
|
+
"required": [
|
|
20072
|
+
"name",
|
|
20073
|
+
"layout"
|
|
20074
|
+
],
|
|
20075
|
+
"properties": {
|
|
20076
|
+
"name": {
|
|
20077
|
+
"type": "string",
|
|
20078
|
+
"description": "Goods name"
|
|
20079
|
+
},
|
|
20080
|
+
"layout": {
|
|
20081
|
+
"type": "string",
|
|
20082
|
+
"enum": [
|
|
20083
|
+
"without_images",
|
|
20084
|
+
"price_only",
|
|
20085
|
+
"images",
|
|
20086
|
+
"text_options"
|
|
20087
|
+
],
|
|
20088
|
+
"description": "Layout"
|
|
20089
|
+
},
|
|
20090
|
+
"api_code": {
|
|
20091
|
+
"type": "string",
|
|
20092
|
+
"description": "Keeps the identity of the item on edit; when left out, an existing item is matched by name"
|
|
20093
|
+
},
|
|
20094
|
+
"description": {
|
|
20095
|
+
"type": "string",
|
|
20096
|
+
"description": "Goods description"
|
|
20097
|
+
},
|
|
20098
|
+
"position": {
|
|
20099
|
+
"type": "integer",
|
|
20100
|
+
"minimum": 0
|
|
20101
|
+
},
|
|
20102
|
+
"hidden": {
|
|
20103
|
+
"type": "boolean"
|
|
20104
|
+
},
|
|
20105
|
+
"price": {
|
|
20106
|
+
"type": "number",
|
|
20107
|
+
"minimum": 0
|
|
20108
|
+
},
|
|
20109
|
+
"original_price": {
|
|
20110
|
+
"type": "number",
|
|
20111
|
+
"minimum": 0,
|
|
20112
|
+
"description": "Original price, shown struck through"
|
|
20113
|
+
},
|
|
20114
|
+
"predefined_number": {
|
|
20115
|
+
"type": "integer",
|
|
20116
|
+
"minimum": 0,
|
|
20117
|
+
"description": "Default quantity"
|
|
20118
|
+
},
|
|
20119
|
+
"fixed_number": {
|
|
20120
|
+
"type": "boolean",
|
|
20121
|
+
"description": "The quantity cannot be changed"
|
|
20122
|
+
},
|
|
20123
|
+
"inventory": {
|
|
20124
|
+
"type": "integer",
|
|
20125
|
+
"minimum": 0,
|
|
20126
|
+
"description": "Stock; with specifications, set it on each sku instead"
|
|
20127
|
+
},
|
|
20128
|
+
"inventory_reset": {
|
|
20129
|
+
"type": "boolean"
|
|
20130
|
+
},
|
|
20131
|
+
"min_purchase_quantity": {
|
|
20132
|
+
"type": "integer",
|
|
20133
|
+
"minimum": 0
|
|
20134
|
+
},
|
|
20135
|
+
"max_purchase_quantity": {
|
|
20136
|
+
"type": "integer",
|
|
20137
|
+
"minimum": 0
|
|
20138
|
+
},
|
|
20139
|
+
"dimensions": {
|
|
20140
|
+
"type": "array",
|
|
20141
|
+
"minItems": 1,
|
|
20142
|
+
"items": {
|
|
20143
|
+
"type": "object",
|
|
20144
|
+
"additionalProperties": false,
|
|
20145
|
+
"required": [
|
|
20146
|
+
"label",
|
|
20147
|
+
"options"
|
|
20148
|
+
],
|
|
20149
|
+
"properties": {
|
|
20150
|
+
"api_code": {
|
|
20151
|
+
"type": "string",
|
|
20152
|
+
"description": "Keeps the identity on edit"
|
|
20153
|
+
},
|
|
20154
|
+
"label": {
|
|
20155
|
+
"type": "string",
|
|
20156
|
+
"description": "Dimension name, such as `尺寸`"
|
|
20157
|
+
},
|
|
20158
|
+
"options": {
|
|
20159
|
+
"type": "array",
|
|
20160
|
+
"minItems": 1,
|
|
20161
|
+
"items": {
|
|
20162
|
+
"type": "object",
|
|
20163
|
+
"additionalProperties": false,
|
|
20164
|
+
"required": [
|
|
20165
|
+
"label"
|
|
20166
|
+
],
|
|
20167
|
+
"properties": {
|
|
20168
|
+
"label": {
|
|
20169
|
+
"type": "string"
|
|
20170
|
+
},
|
|
20171
|
+
"value": {
|
|
20172
|
+
"type": "string",
|
|
20173
|
+
"description": "Generated when left out; customized marks a custom amount option"
|
|
20174
|
+
}
|
|
20175
|
+
}
|
|
20176
|
+
}
|
|
20177
|
+
}
|
|
20178
|
+
}
|
|
20179
|
+
},
|
|
20180
|
+
"description": "Specification dimensions"
|
|
20181
|
+
},
|
|
20182
|
+
"skus": {
|
|
20183
|
+
"type": "array",
|
|
20184
|
+
"minItems": 1,
|
|
20185
|
+
"items": {
|
|
20186
|
+
"type": "object",
|
|
20187
|
+
"additionalProperties": false,
|
|
20188
|
+
"required": [
|
|
20189
|
+
"specification"
|
|
20190
|
+
],
|
|
20191
|
+
"properties": {
|
|
20192
|
+
"specification": {
|
|
18690
20193
|
"type": "object",
|
|
18691
20194
|
"additionalProperties": {
|
|
18692
20195
|
"type": "string"
|
|
18693
20196
|
},
|
|
18694
|
-
"description": "
|
|
20197
|
+
"description": "Keyed by dimension api_code or name; each value is an option value or name"
|
|
18695
20198
|
},
|
|
18696
20199
|
"price": {
|
|
18697
|
-
"type":
|
|
18698
|
-
|
|
18699
|
-
"null"
|
|
18700
|
-
]
|
|
20200
|
+
"type": "number",
|
|
20201
|
+
"minimum": 0
|
|
18701
20202
|
},
|
|
18702
20203
|
"original_price": {
|
|
18703
|
-
"type":
|
|
18704
|
-
|
|
18705
|
-
"null"
|
|
18706
|
-
]
|
|
20204
|
+
"type": "number",
|
|
20205
|
+
"minimum": 0
|
|
18707
20206
|
},
|
|
18708
20207
|
"inventory": {
|
|
18709
|
-
"type":
|
|
18710
|
-
|
|
18711
|
-
|
|
20208
|
+
"type": "integer",
|
|
20209
|
+
"minimum": 0
|
|
20210
|
+
},
|
|
20211
|
+
"inventory_reset": {
|
|
20212
|
+
"type": "boolean"
|
|
20213
|
+
},
|
|
20214
|
+
"min_purchase_quantity": {
|
|
20215
|
+
"type": "integer",
|
|
20216
|
+
"minimum": 0
|
|
20217
|
+
},
|
|
20218
|
+
"max_purchase_quantity": {
|
|
20219
|
+
"type": "integer",
|
|
20220
|
+
"minimum": 0
|
|
20221
|
+
}
|
|
20222
|
+
}
|
|
20223
|
+
},
|
|
20224
|
+
"description": "Specification combinations; specification must name one option for every dimension"
|
|
20225
|
+
},
|
|
20226
|
+
"image_urls": {
|
|
20227
|
+
"type": "array",
|
|
20228
|
+
"items": {
|
|
20229
|
+
"type": "string",
|
|
20230
|
+
"format": "uri"
|
|
20231
|
+
},
|
|
20232
|
+
"description": "Goods image URLs for layout=images"
|
|
20233
|
+
},
|
|
20234
|
+
"image_base64s": {
|
|
20235
|
+
"type": "array",
|
|
20236
|
+
"items": {
|
|
20237
|
+
"type": "string"
|
|
20238
|
+
},
|
|
20239
|
+
"description": "Base64 goods images for layout=images"
|
|
20240
|
+
}
|
|
20241
|
+
},
|
|
20242
|
+
"dependentRequired": {
|
|
20243
|
+
"dimensions": [
|
|
20244
|
+
"skus"
|
|
20245
|
+
],
|
|
20246
|
+
"skus": [
|
|
20247
|
+
"dimensions"
|
|
20248
|
+
]
|
|
20249
|
+
},
|
|
20250
|
+
"allOf": [
|
|
20251
|
+
{
|
|
20252
|
+
"description": "The price_only / text_options layouts require specifications",
|
|
20253
|
+
"if": {
|
|
20254
|
+
"properties": {
|
|
20255
|
+
"layout": {
|
|
20256
|
+
"enum": [
|
|
20257
|
+
"price_only",
|
|
20258
|
+
"text_options"
|
|
18712
20259
|
]
|
|
18713
20260
|
}
|
|
18714
20261
|
}
|
|
20262
|
+
},
|
|
20263
|
+
"then": {
|
|
20264
|
+
"required": [
|
|
20265
|
+
"dimensions",
|
|
20266
|
+
"skus"
|
|
20267
|
+
]
|
|
20268
|
+
}
|
|
20269
|
+
},
|
|
20270
|
+
{
|
|
20271
|
+
"description": "The images layout needs at least one image",
|
|
20272
|
+
"if": {
|
|
20273
|
+
"properties": {
|
|
20274
|
+
"layout": {
|
|
20275
|
+
"const": "images"
|
|
20276
|
+
}
|
|
20277
|
+
}
|
|
20278
|
+
},
|
|
20279
|
+
"then": {
|
|
20280
|
+
"anyOf": [
|
|
20281
|
+
{
|
|
20282
|
+
"required": [
|
|
20283
|
+
"image_urls"
|
|
20284
|
+
],
|
|
20285
|
+
"properties": {
|
|
20286
|
+
"image_urls": {
|
|
20287
|
+
"minItems": 1
|
|
20288
|
+
}
|
|
20289
|
+
}
|
|
20290
|
+
},
|
|
20291
|
+
{
|
|
20292
|
+
"required": [
|
|
20293
|
+
"image_base64s"
|
|
20294
|
+
],
|
|
20295
|
+
"properties": {
|
|
20296
|
+
"image_base64s": {
|
|
20297
|
+
"minItems": 1
|
|
20298
|
+
}
|
|
20299
|
+
}
|
|
20300
|
+
}
|
|
20301
|
+
]
|
|
18715
20302
|
}
|
|
18716
20303
|
}
|
|
18717
|
-
|
|
20304
|
+
]
|
|
18718
20305
|
},
|
|
18719
|
-
"
|
|
20306
|
+
"GoodsItemUpdateInput": {
|
|
18720
20307
|
"type": "object",
|
|
18721
|
-
"title": "
|
|
20308
|
+
"title": "GoodsItemUpdateInput",
|
|
18722
20309
|
"additionalProperties": false,
|
|
18723
|
-
"description": "A goods item",
|
|
18724
|
-
"required": [
|
|
18725
|
-
"name",
|
|
18726
|
-
"layout"
|
|
18727
|
-
],
|
|
20310
|
+
"description": "A goods item; one with api_code is an existing item and keeps whatever it leaves out",
|
|
18728
20311
|
"properties": {
|
|
18729
20312
|
"name": {
|
|
18730
20313
|
"type": "string",
|
|
@@ -18900,61 +20483,74 @@
|
|
|
18900
20483
|
"dimensions"
|
|
18901
20484
|
]
|
|
18902
20485
|
},
|
|
18903
|
-
"
|
|
18904
|
-
{
|
|
18905
|
-
"
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
20486
|
+
"if": {
|
|
20487
|
+
"not": {
|
|
20488
|
+
"required": [
|
|
20489
|
+
"api_code"
|
|
20490
|
+
]
|
|
20491
|
+
}
|
|
20492
|
+
},
|
|
20493
|
+
"then": {
|
|
20494
|
+
"required": [
|
|
20495
|
+
"name",
|
|
20496
|
+
"layout"
|
|
20497
|
+
],
|
|
20498
|
+
"allOf": [
|
|
20499
|
+
{
|
|
20500
|
+
"description": "The price_only / text_options layouts require specifications",
|
|
20501
|
+
"if": {
|
|
20502
|
+
"properties": {
|
|
20503
|
+
"layout": {
|
|
20504
|
+
"enum": [
|
|
20505
|
+
"price_only",
|
|
20506
|
+
"text_options"
|
|
20507
|
+
]
|
|
20508
|
+
}
|
|
18913
20509
|
}
|
|
20510
|
+
},
|
|
20511
|
+
"then": {
|
|
20512
|
+
"required": [
|
|
20513
|
+
"dimensions",
|
|
20514
|
+
"skus"
|
|
20515
|
+
]
|
|
18914
20516
|
}
|
|
18915
20517
|
},
|
|
18916
|
-
|
|
18917
|
-
"
|
|
18918
|
-
|
|
18919
|
-
"
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
|
|
18923
|
-
{
|
|
18924
|
-
"description": "The images layout needs at least one image",
|
|
18925
|
-
"if": {
|
|
18926
|
-
"properties": {
|
|
18927
|
-
"layout": {
|
|
18928
|
-
"const": "images"
|
|
20518
|
+
{
|
|
20519
|
+
"description": "The images layout needs at least one image",
|
|
20520
|
+
"if": {
|
|
20521
|
+
"properties": {
|
|
20522
|
+
"layout": {
|
|
20523
|
+
"const": "images"
|
|
20524
|
+
}
|
|
18929
20525
|
}
|
|
18930
|
-
}
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
20526
|
+
},
|
|
20527
|
+
"then": {
|
|
20528
|
+
"anyOf": [
|
|
20529
|
+
{
|
|
20530
|
+
"required": [
|
|
20531
|
+
"image_urls"
|
|
20532
|
+
],
|
|
20533
|
+
"properties": {
|
|
20534
|
+
"image_urls": {
|
|
20535
|
+
"minItems": 1
|
|
20536
|
+
}
|
|
18941
20537
|
}
|
|
18942
|
-
}
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
20538
|
+
},
|
|
20539
|
+
{
|
|
20540
|
+
"required": [
|
|
20541
|
+
"image_base64s"
|
|
20542
|
+
],
|
|
20543
|
+
"properties": {
|
|
20544
|
+
"image_base64s": {
|
|
20545
|
+
"minItems": 1
|
|
20546
|
+
}
|
|
18951
20547
|
}
|
|
18952
20548
|
}
|
|
18953
|
-
|
|
18954
|
-
|
|
20549
|
+
]
|
|
20550
|
+
}
|
|
18955
20551
|
}
|
|
18956
|
-
|
|
18957
|
-
|
|
20552
|
+
]
|
|
20553
|
+
}
|
|
18958
20554
|
},
|
|
18959
20555
|
"GoodsSku": {
|
|
18960
20556
|
"type": "object",
|
|
@@ -24268,6 +25864,57 @@
|
|
|
24268
25864
|
}
|
|
24269
25865
|
}
|
|
24270
25866
|
},
|
|
25867
|
+
"ScopeCondition": {
|
|
25868
|
+
"type": "object",
|
|
25869
|
+
"description": "One filter condition. A `filters` parameter is the JSON text of an array of these, combined with AND; each endpoint says which fields and operators it takes.",
|
|
25870
|
+
"required": [
|
|
25871
|
+
"operator"
|
|
25872
|
+
],
|
|
25873
|
+
"properties": {
|
|
25874
|
+
"field": {
|
|
25875
|
+
"type": "string",
|
|
25876
|
+
"description": "What to filter on; a field api_code for entries, or a form attribute such as `created_at` for form lists. Required unless the deprecated `api_code` or `trigger` is given instead."
|
|
25877
|
+
},
|
|
25878
|
+
"api_code": {
|
|
25879
|
+
"type": "string",
|
|
25880
|
+
"deprecated": true,
|
|
25881
|
+
"description": "Deprecated alias of `field`; use `field`."
|
|
25882
|
+
},
|
|
25883
|
+
"trigger": {
|
|
25884
|
+
"type": "string",
|
|
25885
|
+
"deprecated": true,
|
|
25886
|
+
"description": "Deprecated alias of `field`; use `field`."
|
|
25887
|
+
},
|
|
25888
|
+
"operator": {
|
|
25889
|
+
"type": "string",
|
|
25890
|
+
"enum": [
|
|
25891
|
+
"eq",
|
|
25892
|
+
"ne",
|
|
25893
|
+
"any_in",
|
|
25894
|
+
"none_in",
|
|
25895
|
+
"between",
|
|
25896
|
+
"not_between",
|
|
25897
|
+
"null",
|
|
25898
|
+
"not_null",
|
|
25899
|
+
"gte",
|
|
25900
|
+
"gt",
|
|
25901
|
+
"lte",
|
|
25902
|
+
"lt",
|
|
25903
|
+
"like",
|
|
25904
|
+
"not_like",
|
|
25905
|
+
"within_last",
|
|
25906
|
+
"equal",
|
|
25907
|
+
"not_equal",
|
|
25908
|
+
"start",
|
|
25909
|
+
"end"
|
|
25910
|
+
],
|
|
25911
|
+
"description": "Comparison; `equal` / `not_equal` / `start` / `end` are aliases of `eq` / `ne` / `gte` / `lte`. Each field type accepts only some operators, and an unsupported one returns 400 listing the available ones."
|
|
25912
|
+
},
|
|
25913
|
+
"value": {
|
|
25914
|
+
"description": "Condition value; its type depends on the field and the operator: a two-element array `[min, max]` for `between` / `not_between`, `{\"unit\": \"day\", \"n\": 30}` for `within_last`, and no value for `null` / `not_null`."
|
|
25915
|
+
}
|
|
25916
|
+
}
|
|
25917
|
+
},
|
|
24271
25918
|
"SectionBreakInput": {
|
|
24272
25919
|
"type": "object",
|
|
24273
25920
|
"title": "SectionBreakInput",
|
|
@@ -24733,6 +26380,27 @@
|
|
|
24733
26380
|
}
|
|
24734
26381
|
}
|
|
24735
26382
|
},
|
|
26383
|
+
"SortRule": {
|
|
26384
|
+
"type": "object",
|
|
26385
|
+
"required": [
|
|
26386
|
+
"api_code"
|
|
26387
|
+
],
|
|
26388
|
+
"properties": {
|
|
26389
|
+
"api_code": {
|
|
26390
|
+
"type": "string",
|
|
26391
|
+
"description": "api_code of the field to sort by; only sortable fields are allowed"
|
|
26392
|
+
},
|
|
26393
|
+
"order": {
|
|
26394
|
+
"type": "string",
|
|
26395
|
+
"enum": [
|
|
26396
|
+
"asc",
|
|
26397
|
+
"desc"
|
|
26398
|
+
],
|
|
26399
|
+
"default": "asc",
|
|
26400
|
+
"description": "Sort direction"
|
|
26401
|
+
}
|
|
26402
|
+
}
|
|
26403
|
+
},
|
|
24736
26404
|
"Statement": {
|
|
24737
26405
|
"type": "object",
|
|
24738
26406
|
"required": [
|
|
@@ -25665,7 +27333,64 @@
|
|
|
25665
27333
|
"media_type": {
|
|
25666
27334
|
"type": "object",
|
|
25667
27335
|
"additionalProperties": false,
|
|
25668
|
-
"description": "Allowed file types: type is
|
|
27336
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
27337
|
+
"x-groups": {
|
|
27338
|
+
"doc": [
|
|
27339
|
+
"txt",
|
|
27340
|
+
"pdf",
|
|
27341
|
+
"doc",
|
|
27342
|
+
"docx",
|
|
27343
|
+
"xls",
|
|
27344
|
+
"xlsx",
|
|
27345
|
+
"ppt",
|
|
27346
|
+
"pptx",
|
|
27347
|
+
"wps",
|
|
27348
|
+
"rtf",
|
|
27349
|
+
"hlp"
|
|
27350
|
+
],
|
|
27351
|
+
"image": [
|
|
27352
|
+
"jpg",
|
|
27353
|
+
"jpeg",
|
|
27354
|
+
"png",
|
|
27355
|
+
"gif",
|
|
27356
|
+
"bmp",
|
|
27357
|
+
"psd",
|
|
27358
|
+
"tif",
|
|
27359
|
+
"heic",
|
|
27360
|
+
"heif"
|
|
27361
|
+
],
|
|
27362
|
+
"video": [
|
|
27363
|
+
"mkv",
|
|
27364
|
+
"mp4",
|
|
27365
|
+
"avi",
|
|
27366
|
+
"swf",
|
|
27367
|
+
"wmv",
|
|
27368
|
+
"rmvb",
|
|
27369
|
+
"mov",
|
|
27370
|
+
"mpg"
|
|
27371
|
+
],
|
|
27372
|
+
"audio": [
|
|
27373
|
+
"mp3",
|
|
27374
|
+
"flac",
|
|
27375
|
+
"ape",
|
|
27376
|
+
"wma",
|
|
27377
|
+
"wav",
|
|
27378
|
+
"aac",
|
|
27379
|
+
"m4a",
|
|
27380
|
+
"au",
|
|
27381
|
+
"ram",
|
|
27382
|
+
"mmf",
|
|
27383
|
+
"aif"
|
|
27384
|
+
],
|
|
27385
|
+
"compress": [
|
|
27386
|
+
"rar",
|
|
27387
|
+
"zip",
|
|
27388
|
+
"7z",
|
|
27389
|
+
"gz",
|
|
27390
|
+
"arj",
|
|
27391
|
+
"z"
|
|
27392
|
+
]
|
|
27393
|
+
},
|
|
25669
27394
|
"properties": {
|
|
25670
27395
|
"type": {
|
|
25671
27396
|
"type": "string",
|
|
@@ -26715,7 +28440,64 @@
|
|
|
26715
28440
|
"media_type": {
|
|
26716
28441
|
"type": "object",
|
|
26717
28442
|
"additionalProperties": false,
|
|
26718
|
-
"description": "Allowed file types: type is
|
|
28443
|
+
"description": "Allowed file types: type is one preset group, whose extensions x-groups lists, or custom with the extensions listed in value. To allow several groups, write type=custom with the union of their extensions in value",
|
|
28444
|
+
"x-groups": {
|
|
28445
|
+
"doc": [
|
|
28446
|
+
"txt",
|
|
28447
|
+
"pdf",
|
|
28448
|
+
"doc",
|
|
28449
|
+
"docx",
|
|
28450
|
+
"xls",
|
|
28451
|
+
"xlsx",
|
|
28452
|
+
"ppt",
|
|
28453
|
+
"pptx",
|
|
28454
|
+
"wps",
|
|
28455
|
+
"rtf",
|
|
28456
|
+
"hlp"
|
|
28457
|
+
],
|
|
28458
|
+
"image": [
|
|
28459
|
+
"jpg",
|
|
28460
|
+
"jpeg",
|
|
28461
|
+
"png",
|
|
28462
|
+
"gif",
|
|
28463
|
+
"bmp",
|
|
28464
|
+
"psd",
|
|
28465
|
+
"tif",
|
|
28466
|
+
"heic",
|
|
28467
|
+
"heif"
|
|
28468
|
+
],
|
|
28469
|
+
"video": [
|
|
28470
|
+
"mkv",
|
|
28471
|
+
"mp4",
|
|
28472
|
+
"avi",
|
|
28473
|
+
"swf",
|
|
28474
|
+
"wmv",
|
|
28475
|
+
"rmvb",
|
|
28476
|
+
"mov",
|
|
28477
|
+
"mpg"
|
|
28478
|
+
],
|
|
28479
|
+
"audio": [
|
|
28480
|
+
"mp3",
|
|
28481
|
+
"flac",
|
|
28482
|
+
"ape",
|
|
28483
|
+
"wma",
|
|
28484
|
+
"wav",
|
|
28485
|
+
"aac",
|
|
28486
|
+
"m4a",
|
|
28487
|
+
"au",
|
|
28488
|
+
"ram",
|
|
28489
|
+
"mmf",
|
|
28490
|
+
"aif"
|
|
28491
|
+
],
|
|
28492
|
+
"compress": [
|
|
28493
|
+
"rar",
|
|
28494
|
+
"zip",
|
|
28495
|
+
"7z",
|
|
28496
|
+
"gz",
|
|
28497
|
+
"arj",
|
|
28498
|
+
"z"
|
|
28499
|
+
]
|
|
28500
|
+
},
|
|
26719
28501
|
"properties": {
|
|
26720
28502
|
"type": {
|
|
26721
28503
|
"type": "string",
|