Skip to content

0.5.9 Release Notes

Jodie Burnett edited this page Dec 14, 2017 · 3 revisions

ANS 0.5.9

New Element Types

Numeric Rating

A new content element numeric_rating has been added to indicate a numeric rating, with the following fields:

  • numeric_rating -- a float indicating the item's value (required)
  • min -- a float the minimum possible value of rating
  • max -- a float indicating the maximum possible value of rating
  • units -- a string describing the rating units (e.g., "stars," "thumbs")
{
  "type": "numeric_rating",
  "numeric_rating": 4.5,
  "min": 0,
  "max": 5.0,
  "units": "stars"
}

Endorsements

A new content element endorsement has been added to indicate text-only appraisals, with the following fields:

  • endorsement: a string indicating the value (e.g. "Buy" or "Don't Buy") (required)
{
  "type": "endorsement",
  "endorsement": "Recommended"
}

New Author Object

  • Matches author fields to Google Transparency project (new Author Service fields)
  • Makes byline distinct from name
  • Makes byline a required field
  • Makes version required for authors

Audio/Transcription Changes

Documented here: https://github.com/washingtonpost/ans-schema/blob/master/docs/proposals/2017-05-10%20-%20Audio%20Transcription.md