Skip to content

6.12.2.1 Article

6.12.2.1.1 Purpose

To be written.

6.12.2.1.2 Questions it answers

  • To be written.

6.12.2.1.3 Fields

Field Type Cardinality Description
id string (uuid) 1..1 Key.
status enum 1..1 Values: draft, in_review, scheduled, published, unpublished. Default: draft.
scheduled: publish_at is set and in the future; the news sweeper publishes it when it is due.
unpublished: its pages answer 410 Gone and leave the sitemap; it can be published again.
authors MoonitoringUser 1..* Shown on the article with their public name; the first author is the one shown in previews.
cover NewsAsset 0..1 The article's main image, also the base of its social preview when a translation has none (ArticleTranslation.social_image).
tags string 1..* Lowercase words, shared by the languages, shown translated by the site's own vocabulary.
publish_at datetime 0..1
published_at datetime 0..1 First publication; never changes, and is the datePublished of the page.
content_updated_at datetime 0..1 Last change of a published translation that readers can see; the dateModified of the page.
reviewed_by MoonitoringUser 0..1 Who published it. An author who holds news.articles.publish may publish their own article.
system_version SystemVersion 1..1
created_at datetime 1..1
updated_at datetime 1..1

6.12.2.1.4 Relationships

References

Referenced by

Uses types

SystemVersion

6.12.2.1.5 Rules & constraints

  • One news article, in one or more languages (148). Staff with news.articles.write (news.articles.write) write and submit it; staff with news.articles.publish (news.articles.publish) publish, schedule or unpublish it. Readers see only its ready translations; a reader whose language has none sees the first ready translation in the site's language order (it, en), told in its own language which language it is reading.
  • Publishing needs at least one translation with status ready, a cover alt text in every ready translation when the article has a cover, and a summary and a slug in each. Every change of status is a PlatformAuditEvent.