| @@ -1814,9 +1814,15 @@ | ||
| 1814 | 1814 | 'enum' => [ |
| 1815 | 1815 | 'Article', 'BlogPosting', 'TechnicalArticle', 'NewsArticle', |
| 1816 | 1816 | 'ScholarlyArticle', 'Report', 'Product', 'Organization', |
| 1817 | 1817 | 'LocalBusiness', 'Person', 'WebSite', 'FAQPage', |
| 1818 | - 'Event', 'HowTo', 'SoftwareApplication', 'Review', 'VideoObject' | |
| 1818 | + 'Event', 'HowTo', 'SoftwareApplication', 'Review', 'VideoObject', | |
| 1819 | + // The WebPage family (#624). This route is the one the | |
| 1820 | + // per-page selector calls, and it did not accept even | |
| 1821 | + // WebPage — so every entry in that dropdown was refused | |
| 1822 | + // with a 400 before any of the registries below were | |
| 1823 | + // consulted. Appended so existing ordering is unchanged. | |
| 1824 | + 'WebPage', 'AboutPage', 'ContactPage', 'ProfilePage' | |
| 1819 | 1825 | ] |
| 1820 | 1826 | ], |
| 1821 | 1827 | 'description' => 'Schema types to generate' |
| 1822 | 1828 | ], |
| @@ -1861,9 +1867,11 @@ | ||
| 1861 | 1867 | 'enum' => [ |
| 1862 | 1868 | 'Article', 'BlogPosting', 'TechnicalArticle', 'NewsArticle', |
| 1863 | 1869 | 'ScholarlyArticle', 'Report', 'Product', 'Organization', |
| 1864 | 1870 | 'LocalBusiness', 'Person', 'WebSite', 'WebPage', 'FAQPage', |
| 1865 | - 'SoftwareApplication', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject' | |
| 1871 | + 'SoftwareApplication', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject', | |
| 1872 | + // WebPage's subtypes, which validate exactly as it does (#624). | |
| 1873 | + 'AboutPage', 'ContactPage', 'ProfilePage' | |
| 1866 | 1874 | ], |
| 1867 | 1875 | 'description' => 'Schema type' |
| 1868 | 1876 | ], |
| 1869 | 1877 | 'options' => [ |
| @@ -1927,9 +1935,11 @@ | ||
| 1927 | 1935 | 'type' => 'string', |
| 1928 | 1936 | 'enum' => [ |
| 1929 | 1937 | 'Article', 'BlogPosting', 'Product', 'Organization', 'LocalBusiness', |
| 1930 | 1938 | 'Person', 'WebSite', 'WebPage', 'FAQPage', 'SoftwareApplication', |
| 1931 | - 'BreadcrumbList', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject' | |
| 1939 | + 'BreadcrumbList', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject', | |
| 1940 | + // WebPage's subtypes, which carry the same properties (#624). | |
| 1941 | + 'AboutPage', 'ContactPage', 'ProfilePage' | |
| 1932 | 1942 | ], |
| 1933 | 1943 | 'description' => 'Schema type' |
| 1934 | 1944 | ], |
| 1935 | 1945 | 'options' => [ |
| @@ -1959,9 +1969,11 @@ | ||
| 1959 | 1969 | 'type' => 'string', |
| 1960 | 1970 | 'enum' => [ |
| 1961 | 1971 | 'Article', 'BlogPosting', 'Product', 'Organization', 'LocalBusiness', |
| 1962 | 1972 | 'Person', 'WebSite', 'WebPage', 'FAQPage', 'SoftwareApplication', |
| 1963 | - 'BreadcrumbList', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject' | |
| 1973 | + 'BreadcrumbList', 'Event', 'Recipe', 'HowTo', 'Review', 'VideoObject', | |
| 1974 | + // WebPage's subtypes, which carry the same properties (#624). | |
| 1975 | + 'AboutPage', 'ContactPage', 'ProfilePage' | |
| 1964 | 1976 | ], |
| 1965 | 1977 | 'description' => 'Schema type' |
| 1966 | 1978 | ] |
| 1967 | 1979 | ]; |