Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I'm now going to walk you through some of the setup we have for SimpleSearch, in order to help illustrate some of this.


WidgetType

This is going to dig a bit deeper into the type JSON for SimpleSearch. The WidgetType is quite large, so I'm going to break it into component sections and talk about what they do and how you can use them to define a WidgetDefinition which conforms to this Type.

Note
Please note that thise is still under development, so any of the specifics are subject to change.


Top level

Code Block
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"title": "SimpleSearch widget",
	"type": "object",
	"description": "SimpleSearch widget type",
	"additionalProperties": false,
	"required": ["baseUrl", "results"],
	"properties": { ... }
}