blob: c57c1e435f841f30de01fd0ffa7de0da6b053b59 [file] [log] [blame]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/userinfo.email": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04006 "description": "See your primary Google Account email address"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08007 }
8 }
9 }
10 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040011 "basePath": "",
12 "baseUrl": "https://factchecktools.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Fact Check Tools",
15 "description": "",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/fact-check/tools/api/",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "factchecktools:v1alpha1",
24 "kind": "discovery#restDescription",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080025 "mtlsRootUrl": "https://factchecktools.mtls.googleapis.com/",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040026 "name": "factchecktools",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800107 "resources": {
108 "claims": {
109 "methods": {
110 "search": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 "description": "Search through fact-checked claims.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400112 "flatPath": "v1alpha1/claims:search",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800113 "httpMethod": "GET",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400114 "id": "factchecktools.claims.search",
115 "parameterOrder": [],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800116 "parameters": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400117 "languageCode": {
118 "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". Can be used to restrict results by language, though we do not currently consider the region.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800119 "location": "query",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400120 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800121 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400122 "maxAgeDays": {
123 "description": "The maximum age of the returned search results, in days. Age is determined by either claim date or review date, whichever is newer.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800124 "format": "int32",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800125 "location": "query",
126 "type": "integer"
127 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400128 "offset": {
129 "description": "An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset. For example, 0 means to return results starting from the first matching result, and 10 means to return from the 11th result.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800130 "format": "int32",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400131 "location": "query",
132 "type": "integer"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800133 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400134 "pageSize": {
135 "description": "The pagination size. We will return up to that many results. Defaults to 10 if not set.",
136 "format": "int32",
137 "location": "query",
138 "type": "integer"
139 },
140 "pageToken": {
141 "description": "The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same values as in the previous request.",
142 "location": "query",
143 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800144 },
145 "query": {
146 "description": "Textual query string. Required unless `review_publisher_site_filter` is specified.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400147 "location": "query",
148 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800149 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400150 "reviewPublisherSiteFilter": {
151 "description": "The review publisher site to filter results by, e.g. nytimes.com.",
152 "location": "query",
153 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800154 }
155 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400156 "path": "v1alpha1/claims:search",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800157 "response": {
158 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse"
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400159 }
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800160 }
161 }
162 },
163 "pages": {
164 "methods": {
165 "create": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800166 "description": "Create `ClaimReview` markup on a page.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400167 "flatPath": "v1alpha1/pages",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800168 "httpMethod": "POST",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400169 "id": "factchecktools.pages.create",
170 "parameterOrder": [],
171 "parameters": {},
172 "path": "v1alpha1/pages",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800173 "request": {
174 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
175 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400176 "response": {
177 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
178 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800179 "scopes": [
180 "https://www.googleapis.com/auth/userinfo.email"
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400181 ]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800182 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400183 "delete": {
184 "description": "Delete all `ClaimReview` markup on a page.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800185 "flatPath": "v1alpha1/pages/{pagesId}",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400186 "httpMethod": "DELETE",
187 "id": "factchecktools.pages.delete",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800188 "parameterOrder": [
189 "name"
190 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400191 "parameters": {
192 "name": {
193 "description": "The name of the resource to delete, in the form of `pages/{page_id}`.",
194 "location": "path",
195 "pattern": "^pages/[^/]+$",
196 "required": true,
197 "type": "string"
198 }
199 },
200 "path": "v1alpha1/{+name}",
201 "response": {
202 "$ref": "GoogleProtobufEmpty"
203 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800204 "scopes": [
205 "https://www.googleapis.com/auth/userinfo.email"
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400206 ]
207 },
208 "get": {
209 "description": "Get all `ClaimReview` markup on a page.",
210 "flatPath": "v1alpha1/pages/{pagesId}",
211 "httpMethod": "GET",
212 "id": "factchecktools.pages.get",
213 "parameterOrder": [
214 "name"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800215 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400216 "parameters": {
217 "name": {
218 "description": "The name of the resource to get, in the form of `pages/{page_id}`.",
219 "location": "path",
220 "pattern": "^pages/[^/]+$",
221 "required": true,
222 "type": "string"
223 }
224 },
225 "path": "v1alpha1/{+name}",
226 "response": {
227 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
228 },
229 "scopes": [
230 "https://www.googleapis.com/auth/userinfo.email"
231 ]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800232 },
233 "list": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400234 "description": "List the `ClaimReview` markup pages for a specific URL or for an organization.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800235 "flatPath": "v1alpha1/pages",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800236 "httpMethod": "GET",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400237 "id": "factchecktools.pages.list",
238 "parameterOrder": [],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800239 "parameters": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800240 "offset": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800241 "description": "An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset, and if the request is not for a specific URL. For example, 0 means to return results starting from the first matching result, and 10 means to return from the 11th result.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400242 "format": "int32",
243 "location": "query",
244 "type": "integer"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800245 },
246 "organization": {
247 "description": "The organization for which we want to fetch markups for. For instance, \"site.com\". Cannot be specified along with an URL.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400248 "location": "query",
249 "type": "string"
250 },
251 "pageSize": {
252 "description": "The pagination size. We will return up to that many results. Defaults to 10 if not set. Has no effect if a URL is requested.",
253 "format": "int32",
254 "location": "query",
255 "type": "integer"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800256 },
257 "pageToken": {
258 "description": "The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same values as in the previous request.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400259 "location": "query",
260 "type": "string"
261 },
262 "url": {
263 "description": "The URL from which to get `ClaimReview` markup. There will be at most one result. If markup is associated with a more canonical version of the URL provided, we will return that URL instead. Cannot be specified along with an organization.",
264 "location": "query",
265 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800266 }
267 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400268 "path": "v1alpha1/pages",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800269 "response": {
270 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse"
271 },
272 "scopes": [
273 "https://www.googleapis.com/auth/userinfo.email"
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400274 ]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800275 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400276 "update": {
277 "description": "Update for all `ClaimReview` markup on a page Note that this is a full update. To retain the existing `ClaimReview` markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire `ClaimReview` markup as the body.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800278 "flatPath": "v1alpha1/pages/{pagesId}",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400279 "httpMethod": "PUT",
280 "id": "factchecktools.pages.update",
281 "parameterOrder": [
282 "name"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800283 ],
284 "parameters": {
285 "name": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400286 "description": "The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800287 "location": "path",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400288 "pattern": "^pages/[^/]+$",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800289 "required": true,
290 "type": "string"
291 }
292 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800293 "path": "v1alpha1/{+name}",
294 "request": {
295 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
296 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400297 "response": {
298 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800299 },
300 "scopes": [
301 "https://www.googleapis.com/auth/userinfo.email"
302 ]
303 }
304 }
305 }
306 },
yoshi-code-bot33237a82021-06-09 00:26:03 -0700307 "revision": "20210607",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400308 "rootUrl": "https://factchecktools.googleapis.com/",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800309 "schemas": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 "GoogleFactcheckingFactchecktoolsV1alpha1Claim": {
311 "description": "Information about the claim.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400312 "id": "GoogleFactcheckingFactchecktoolsV1alpha1Claim",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800313 "properties": {
314 "claimDate": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400315 "description": "The date that the claim was made.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800316 "format": "google-datetime",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400317 "type": "string"
318 },
319 "claimReview": {
320 "description": "One or more reviews of this claim (namely, a fact-checking article).",
321 "items": {
322 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview"
323 },
324 "type": "array"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800325 },
326 "claimant": {
327 "description": "A person or organization stating the claim. For instance, \"John Doe\".",
328 "type": "string"
329 },
330 "text": {
331 "description": "The claim text. For instance, \"Crime has doubled in the last 2 years.\"",
332 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800333 }
334 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800335 "type": "object"
336 },
337 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800338 "description": "Information about the claim author.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400339 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800340 "properties": {
341 "imageUrl": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400342 "description": "Corresponds to `ClaimReview.itemReviewed.author.image`.",
343 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800344 },
345 "jobTitle": {
346 "description": "Corresponds to `ClaimReview.itemReviewed.author.jobTitle`.",
347 "type": "string"
348 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400349 "name": {
350 "description": "A person or organization stating the claim. For instance, \"John Doe\". Corresponds to `ClaimReview.itemReviewed.author.name`.",
351 "type": "string"
352 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800353 "sameAs": {
354 "description": "Corresponds to `ClaimReview.itemReviewed.author.sameAs`.",
355 "type": "string"
356 }
357 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400358 "type": "object"
359 },
360 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating": {
361 "description": "Information about the claim rating.",
362 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating",
363 "properties": {
364 "bestRating": {
365 "description": "For numeric ratings, the best value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.bestRating`.",
366 "format": "int32",
367 "type": "integer"
368 },
369 "imageUrl": {
370 "description": "Corresponds to `ClaimReview.reviewRating.image`.",
371 "type": "string"
372 },
373 "ratingExplanation": {
374 "description": "Corresponds to `ClaimReview.reviewRating.ratingExplanation`.",
375 "type": "string"
376 },
377 "ratingValue": {
378 "description": "A numeric rating of this claim, in the range worstRating \u2014 bestRating inclusive. Corresponds to `ClaimReview.reviewRating.ratingValue`.",
379 "format": "int32",
380 "type": "integer"
381 },
382 "textualRating": {
383 "description": "The truthfulness rating as a human-readible short word or phrase. Corresponds to `ClaimReview.reviewRating.alternateName`.",
384 "type": "string"
385 },
386 "worstRating": {
387 "description": "For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.worstRating`.",
388 "format": "int32",
389 "type": "integer"
390 }
391 },
392 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800393 },
394 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400395 "description": "Information about a claim review.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800396 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview",
397 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400398 "languageCode": {
399 "description": "The language this review was written in. For instance, \"en\" or \"de\".",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800400 "type": "string"
401 },
402 "publisher": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400403 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1Publisher",
404 "description": "The publisher of this claim review."
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800405 },
406 "reviewDate": {
407 "description": "The date the claim was reviewed.",
408 "format": "google-datetime",
409 "type": "string"
410 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400411 "textualRating": {
412 "description": "Textual rating. For instance, \"Mostly false\".",
413 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800414 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400415 "title": {
416 "description": "The title of this claim review, if it can be determined.",
417 "type": "string"
418 },
419 "url": {
420 "description": "The URL of this claim review.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800421 "type": "string"
422 }
423 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400424 "type": "object"
425 },
426 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor": {
427 "description": "Information about the claim review author.",
428 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor",
429 "properties": {
430 "imageUrl": {
431 "description": "Corresponds to `ClaimReview.author.image`.",
432 "type": "string"
433 },
434 "name": {
435 "description": "Name of the organization that is publishing the fact check. Corresponds to `ClaimReview.author.name`.",
436 "type": "string"
437 }
438 },
439 "type": "object"
440 },
441 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup": {
442 "description": "Fields for an individual `ClaimReview` element. Except for sub-messages that group fields together, each of these fields correspond those in https://schema.org/ClaimReview. We list the precise mapping for each field.",
443 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup",
444 "properties": {
445 "claimAppearances": {
446 "description": "A list of links to works in which this claim appears, aside from the one specified in `claim_first_appearance`. Corresponds to `ClaimReview.itemReviewed[@type=Claim].appearance.url`.",
447 "items": {
448 "type": "string"
449 },
450 "type": "array"
451 },
452 "claimAuthor": {
453 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor",
454 "description": "Info about the author of this claim."
455 },
456 "claimDate": {
457 "description": "The date when the claim was made or entered public discourse. Corresponds to `ClaimReview.itemReviewed.datePublished`.",
458 "type": "string"
459 },
460 "claimFirstAppearance": {
461 "description": "A link to a work in which this claim first appears. Corresponds to `ClaimReview.itemReviewed[@type=Claim].firstAppearance.url`.",
462 "type": "string"
463 },
464 "claimLocation": {
465 "description": "The location where this claim was made. Corresponds to `ClaimReview.itemReviewed.name`.",
466 "type": "string"
467 },
468 "claimReviewed": {
469 "description": "A short summary of the claim being evaluated. Corresponds to `ClaimReview.claimReviewed`.",
470 "type": "string"
471 },
472 "rating": {
473 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating",
474 "description": "Info about the rating of this claim review."
475 },
476 "url": {
477 "description": "This field is optional, and will default to the page URL. We provide this field to allow you the override the default value, but the only permitted override is the page URL plus an optional anchor link (\"page jump\"). Corresponds to `ClaimReview.url`",
478 "type": "string"
479 }
480 },
481 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800482 },
483 "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage": {
484 "description": "Holds one or more instances of `ClaimReview` markup for a webpage.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400485 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800486 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400487 "claimReviewAuthor": {
488 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor",
489 "description": "Info about the author of this claim review. Similar to the above, semantically these are page-level fields, and each `ClaimReview` on this page will contain the same values."
490 },
491 "claimReviewMarkups": {
492 "description": "A list of individual claim reviews for this page. Each item in the list corresponds to one `ClaimReview` element.",
493 "items": {
494 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup"
495 },
496 "type": "array"
497 },
498 "name": {
499 "description": "The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user.",
500 "type": "string"
501 },
502 "pageUrl": {
503 "description": "The URL of the page associated with this `ClaimReview` markup. While every individual `ClaimReview` has its own URL field, semantically this is a page-level field, and each `ClaimReview` on this page will use this value unless individually overridden. Corresponds to `ClaimReview.url`",
504 "type": "string"
505 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800506 "publishDate": {
507 "description": "The date when the fact check was published. Similar to the URL, semantically this is a page-level field, and each `ClaimReview` on this page will contain the same value. Corresponds to `ClaimReview.datePublished`",
508 "type": "string"
509 },
510 "versionId": {
511 "description": "The version ID for this markup. Except for update requests, this field is output-only and should not be set by the user.",
512 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800513 }
514 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800515 "type": "object"
516 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400517 "GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse": {
518 "description": "Response from searching fact-checked claims.",
519 "id": "GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800520 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400521 "claims": {
522 "description": "The list of claims and all of their associated information.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800523 "items": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400524 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1Claim"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800525 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400526 "type": "array"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800527 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400528 "nextPageToken": {
529 "description": "The next pagination token in the Search response. It should be used as the `page_token` for the following request. An empty value means no more results.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800530 "type": "string"
531 }
532 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400533 "type": "object"
534 },
535 "GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse": {
536 "description": "Response from listing `ClaimReview` markup.",
537 "id": "GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse",
538 "properties": {
539 "claimReviewMarkupPages": {
540 "description": "The result list of pages of `ClaimReview` markup.",
541 "items": {
542 "$ref": "GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage"
543 },
544 "type": "array"
545 },
546 "nextPageToken": {
547 "description": "The next pagination token in the Search response. It should be used as the `page_token` for the following request. An empty value means no more results.",
548 "type": "string"
549 }
550 },
551 "type": "object"
552 },
553 "GoogleFactcheckingFactchecktoolsV1alpha1Publisher": {
554 "description": "Information about the publisher.",
555 "id": "GoogleFactcheckingFactchecktoolsV1alpha1Publisher",
556 "properties": {
557 "name": {
558 "description": "The name of this publisher. For instance, \"Awesome Fact Checks\".",
559 "type": "string"
560 },
561 "site": {
562 "description": "Host-level site name, without the protocol or \"www\" prefix. For instance, \"awesomefactchecks.com\". This value of this field is based purely on the claim review URL.",
563 "type": "string"
564 }
565 },
566 "type": "object"
567 },
568 "GoogleProtobufEmpty": {
569 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
570 "id": "GoogleProtobufEmpty",
571 "properties": {},
572 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800573 }
574 },
575 "servicePath": "",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800576 "title": "Fact Check Tools API",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400577 "version": "v1alpha1",
578 "version_module": true
579}