A payload field that a manifest declares.
Summary
Types
@type t() :: %VerifiedPubSub.Dsl.Field{ __identifier__: term(), __spark_metadata__: term(), description: String.t() | nil, name: atom(), required: boolean(), type: type() }
The fields of the field:
name: the key of the field in the payload.type: the type of the value.required: whether the payload must hold the key with a value that is notnil.description: the description, ornil.__identifier__and__spark_metadata__: Spark sets these.
The type of a field. Each value is one of these:
- a primitive:
:string,:integer,:float,:boolean,:atom,:map,:list, or:any - a
{:list, type}tuple - a struct module