Example: Article
A published article: status, author, tags, a bytes body, cover image, comments, and metadata.Extends · closed
| title Headline of the article. | ||
| slug URL-friendly short name for the article. | ||
| status Publication status: `draft`, `published` or `archived`. | ||
| author The person who wrote the article. | ||
| tags Topic tags for the article. | optional | |
| body The article's content as raw bytes. | optional | |
| wordCount Number of words in the body. | optional | |
| featured Whether the article is featured. | optional | |
| cover Cover image, a link to a Blob. | optional | |
| comments Links to the comments on the article. | of | optional |
| meta Open string metadata for anything the other fields do not cover. | optional |
A published article that pulls the other examples together. It is a struct with a status, an author link to a person, tags, a bytes body, a word count, a featured flag, a cover link to a blob, a list of comment links and open string metadata.
This page describes the example/article type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App