Attributes and blocks

How each shape is written in configuration, and how the Go struct or Python dataclass declares it.