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

PropertyTypeDescription
BlockReferences[]stringThe BlockReferences value.
TagValuestringThe TagValue value.
PayloadstringThe Payload value.
DiscriminatorstringThe Discriminator value.
IdentitystringThe 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 }

Source schema/embedded.go:28

Methods