Google Custom Search · Schema
Google Custom Search Result
A search result returned by the Google Custom Search JSON API.
Custom SearchGoogleImage SearchSearchWeb Search
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | The kind of result. |
| title | string | The title of the search result. |
| htmlTitle | string | The title with HTML formatting. |
| link | string | The URL of the search result. |
| displayLink | string | An abridged version of the URL. |
| snippet | string | A snippet of the search result. |
| htmlSnippet | string | The snippet with HTML formatting. |
| cacheId | string | The cache ID for Google's cached version. |
| formattedUrl | string | The formatted URL. |
| htmlFormattedUrl | string | The formatted URL with HTML formatting. |
| pagemap | object | PageMap information for the result. |
| mime | string | The MIME type of the result. |
| fileFormat | string | The file format of the result. |
| image | object | Image information if this is an image result. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "SearchResult.json",
"title": "Google Custom Search Result",
"description": "A search result returned by the Google Custom Search JSON API.",
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "The kind of result."
},
"title": {
"type": "string",
"description": "The title of the search result."
},
"htmlTitle": {
"type": "string",
"description": "The title with HTML formatting."
},
"link": {
"type": "string",
"format": "uri",
"description": "The URL of the search result."
},
"displayLink": {
"type": "string",
"description": "An abridged version of the URL."
},
"snippet": {
"type": "string",
"description": "A snippet of the search result."
},
"htmlSnippet": {
"type": "string",
"description": "The snippet with HTML formatting."
},
"cacheId": {
"type": "string",
"description": "The cache ID for Google's cached version."
},
"formattedUrl": {
"type": "string",
"description": "The formatted URL."
},
"htmlFormattedUrl": {
"type": "string",
"description": "The formatted URL with HTML formatting."
},
"pagemap": {
"type": "object",
"description": "PageMap information for the result."
},
"mime": {
"type": "string",
"description": "The MIME type of the result."
},
"fileFormat": {
"type": "string",
"description": "The file format of the result."
},
"image": {
"type": "object",
"description": "Image information if this is an image result.",
"properties": {
"contextLink": {
"type": "string"
},
"height": {
"type": "integer"
},
"width": {
"type": "integer"
},
"byteSize": {
"type": "integer"
},
"thumbnailLink": {
"type": "string"
},
"thumbnailHeight": {
"type": "integer"
},
"thumbnailWidth": {
"type": "integer"
}
}
}
}
}