Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 3.5 instead?
Each ContentType is defined by a couple of fixed, required fields that are used internally, but otherwise you're free to define how the content in a ContentType is structured.
For instance, in an 'event', you'll need a date on which the event takes place.
Whereas, for a 'book review', you'll need an author and publisher of the book.
Other commonly used fields are
introduction or maybe an
Some of the Fields are fixed, which means that every ContentType has them. For
example, every ContentType has a Field for
This section explains the different types of fields that are available and what options one can use with them.
All fields have a general structure, like this:
name: type: name-of-field-type option: value option: value ..
All fields have a number of common options, that you can use on all field types. These are mostly different ways to show information to the editor, but also includes things like making a field required.
See the section "Common options for all fields" for a more in-depth explanation of these fields.