type
EmbeddedTreeCase
EmbeddedTreeCase declares schema-owned payloads for one structural node tag. Like a Blocks field, it selects block definitions by slug; an empty selection reserves the envelope while admitting no payloads.
Properties
| Property | Type | Description |
|---|---|---|
BlockReferences | []string | The BlockReferences value. |
TagValue | string | The TagValue value. |
Payload | string | The Payload value. |
Discriminator | string | The Discriminator value. |
Identity | string | The Identity value. |
Full signature
type EmbeddedTreeCase struct {
BlockReferences []string `json:"blockReferences,omitempty"`
TagValue string `json:"tagValue"`
Payload string `json:"payload"`
Discriminator string `json:"discriminator"`
Identity string `json:"identity"`
// contains filtered or unexported fields
}Methods
EmbeddedTreeCase.Definition()Definition returns the case's block type that slug selects.
EmbeddedTreeCase.Definitions()Definitions returns the case's selectable block types, as BlocksField.Definitions does.
EmbeddedTreeCase.ResolvedTypes()Public method EmbeddedTreeCase.ResolvedTypes from github.com/riducms/ridu/schema.