{
	"x-i18n-description": "rest-schema-desc-search-results",
	"required": [
		"pages"
	],
	"properties": {
		"pages": {
			"type": "array",
			"x-i18n-description": "rest-property-desc-search-pages",
			"items": {
				"type": "object",
				"required": [
					"id",
					"key",
					"title",
					"excerpt",
					"matched_title",
					"description",
					"thumbnail"
				],
				"properties": {
					"id": {
						"type": "integer",
						"x-i18n-description": "rest-property-desc-page-id"
					},
					"key": {
						"type": "string",
						"x-i18n-description": "rest-property-desc-page-key"
					},
					"title": {
						"type": "string",
						"x-i18n-description": "rest-param-desc-page-content-title"
					},
					"excerpt": {
						"type": "string",
						"nullable": true,
						"x-i18n-description": "rest-property-desc-search-excerpt"
					},
					"matched_title": {
						"type": "string",
						"nullable": true,
						"x-i18n-description": "rest-property-desc-search-matched-title"
					},
					"description": {
						"type": "string",
						"nullable": true,
						"x-i18n-description": "rest-property-desc-search-description"
					},
					"thumbnail": {
						"type": "object",
						"nullable": true,
						"x-i18n-description": "rest-property-desc-search-thumbnail",
						"properties": {
							"mimetype": {
								"type": "string",
								"x-i18n-description": "rest-param-desc-media-mediatype"
							},
							"width": {
								"type": "integer",
								"nullable": true,
								"x-i18n-description": "rest-param-desc-media-width"
							},
							"height": {
								"type": "integer",
								"nullable": true,
								"x-i18n-description": "rest-param-desc-media-height"
							},
							"duration": {
								"type": "number",
								"nullable": true,
								"x-i18n-description": "rest-param-desc-media-duration"
							},
							"url": {
								"type": "string",
								"format": "uri",
								"x-i18n-description": "rest-param-desc-media-url"
							}
						},
						"required": [ "mimetype", "width", "height", "duration", "url" ]
					}
				}
			}
		}
	}
}
