In this article, we cover the entities available in FORGE, used to shape the content and its presentation.
Topics covered here:
Entities
Digital content is a mixture of text, photos, and videos. Each content type owns its structure and way of being crafted, delivered, and consumed.
FORGE formalizes content type with the entities. Each entity is designed to make it efficient to craft and control the specific structure of a content type.
FORGE provides some built-in entity types — the most common ones — but allows customizing them too.
Built-in types
FORGE comes with a set of built-in entities, each one meant to contain specific content:
- Photo: It contains a photo.
- Album: It contains a set of photos.
- Document: It contains an attachment.
- Story: It contains one or many:
- Photo
- Album
- Document
- Editorial selection: It contains one or many:
- Story
- Photo
- Album
- Document
Custom types
When you, as a producer, need to shape entities beyond the built-in ones, there are two levels of customization you can proceed with:
- Extended fields: adding custom fields to the built-in entities.
- Custom entities: Defining a new entity from scratch by declaring it through a JSON.
Reference scenario
For your project, A big fan of Alpha, you want to manage the Player as a structured entity to speed up its usage into stories. Defining the custom entity Player meets that need.
Consider the following setup for the Jim Mij:
A story that uses the player Jim Mij looks like the following: