diff --git a/models/SearchAction.php b/models/SearchAction.php
index <HASH>..<HASH> 100644
--- a/models/SearchAction.php
+++ b/models/SearchAction.php
@@ -14,4 +14,15 @@ class SearchAction extends Action {
 	*/
 	public $query;
 
+	/**
+	 * @inheritdoc
+	 */
+	public function fields() {
+		return array_merge(
+			parent::fields(),
+			[
+				'query-input' => 'required'
+			]
+		);
+	}
 }
\ No newline at end of file
diff --git a/views/schema-org/model-template.php b/views/schema-org/model-template.php
index <HASH>..<HASH> 100644
--- a/views/schema-org/model-template.php
+++ b/views/schema-org/model-template.php
@@ -32,5 +32,21 @@ foreach ($properties as $property) {
 
 <?php
 }
+
+if ($className === 'SearchAction') {
+?>
+	/**
+	* @inheritdoc
+	*/
+	public function fields() {
+		return array_merge(
+			parent::fields(),
+			[
+				'query-input' => 'required'
+			]
+		);
+	}
+<?php
+}
 ?>
 }
\ No newline at end of file
fixed search action (added query-input not documented required param)