Commit bdfe250
Fix required fields in schema overrides (#349)
Correct the `required` arrays for multiple schemas to exclude nullable
fields and include `type` where it was missing:
- admin: add missing `type` field
- article_list_item: exclude nullable `description`, `body`, `statistics`
- company: add missing `type` field
- contact: exclude 16+ nullable fields that were incorrectly required
- conversation: add required fields excluding nullable ones
- data_event: add missing `type` field
- message: exclude `subject` (only present for email type)
- note: exclude nullable `contact` and `author` fields
- ticket: exclude nullable `ticket_type` field
- visitor: add required fields (was missing entirely)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 184e88b commit bdfe250
1 file changed
+89
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1829 | 1829 | | |
1830 | 1830 | | |
1831 | 1831 | | |
1832 | | - | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
1833 | 1866 | | |
1834 | 1867 | | |
1835 | 1868 | | |
| |||
1841 | 1874 | | |
1842 | 1875 | | |
1843 | 1876 | | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
1844 | 1900 | | |
1845 | 1901 | | |
1846 | 1902 | | |
| |||
1852 | 1908 | | |
1853 | 1909 | | |
1854 | 1910 | | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
1855 | 1916 | | |
1856 | 1917 | | |
1857 | 1918 | | |
1858 | 1919 | | |
1859 | 1920 | | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
1860 | 1935 | | |
1861 | 1936 | | |
1862 | 1937 | | |
| |||
1877 | 1952 | | |
1878 | 1953 | | |
1879 | 1954 | | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
1880 | 1964 | | |
1881 | 1965 | | |
1882 | 1966 | | |
| |||
1905 | 1989 | | |
1906 | 1990 | | |
1907 | 1991 | | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1908 | 1996 | | |
1909 | 1997 | | |
1910 | 1998 | | |
| |||
0 commit comments