smw/schema:Simple search profile
De Semantic MediaWiki - Sandbox
SEARCH_FORM_SCHEMA
This schema type supports the definition of input forms and characteristics for the extended search profile where it contains instructions on how to generate input fields, define default namespaces, or declare prefix expressions for a search request.
{ "type": "SEARCH_FORM_SCHEMA", "term_parser": { "prefix": { "lang": [ "Language code", "File attachment.Content language", "Has interlanguage link.Page content language" ] } }, "default_form": "Books and journals", "forms": { "Open": {}, "Books and journals": [ "Has title", "Has author", "Published", { "Has genre": { "autocomplete": true } }, { "Has Publisher": { "autocomplete": true, "placeholder": "Publisher ..." } } ], "Media and files": [ { "Media type": { "autocomplete": true } }, { "MIME type": { "autocomplete": true } }, { "File attachment.Content type": { "autocomplete": true, "placeholder": "Content type ...", "tooltip": "This property together with File attachment has been retrieved from the ES ingest processor" } } ], "By Language": [ { "Language code": { "autocomplete": true } }, { "Has interlanguage link.Page content language": { "autocomplete": true, "placeholder": "Page content language ..." } } ] }, "namespaces": { "default_hide": true, "hide": [ "NS_MEDIAWIKI", "NS_MEDIAWIKI_TALK" ], "preselect": { "Media and files": [ "NS_FILE" ] } } }