google_api_fact_check_tools v0.5.1 GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup View Source

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.

Attributes

  • claimAppearances (type: list(String.t), default: nil) - 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.
  • claimAuthor (type: GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.t, default: nil) - Info about the author of this claim.
  • claimDate (type: String.t, default: nil) - The date when the claim was made or entered public discourse. Corresponds to ClaimReview.itemReviewed.datePublished.
  • claimFirstAppearance (type: String.t, default: nil) - A link to a work in which this claim first appears. Corresponds to ClaimReview.itemReviewed[@type=Claim].firstAppearance.url.
  • claimLocation (type: String.t, default: nil) - The location where this claim was made. Corresponds to ClaimReview.itemReviewed.name.
  • claimReviewed (type: String.t, default: nil) - A short summary of the claim being evaluated. Corresponds to ClaimReview.claimReviewed.
  • rating (type: GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.t, default: nil) - Info about the rating of this claim review.
  • url (type: String.t, default: nil) - 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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup{
    claimAppearances: [String.t()],
    claimAuthor:
      GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.t(),
    claimDate: String.t(),
    claimFirstAppearance: String.t(),
    claimLocation: String.t(),
    claimReviewed: String.t(),
    rating:
      GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.t(),
    url: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.