JSON-LD Schema SearchAction

Hello,
Does anybody implement the schema.org specification for search to include in json-ld for example.

			"potentialAction": [
				{
					"@type": "SearchAction",
					"target": {
						"@type": "EntryPoint",
						"urlTemplate": ""
					},
					"query-input": ""
				}
			]

Trying to establish what we need for urlTemplate property ?
Thanks
Paul

Phrase this another way. Is it possible to create a url on my domain with a search string to query algolia and return result ?

Eg www.mydomain/mysearchpage/idofdivusedbyalgolia=“texttosearch”