Example: App Block (Extended Core)
How a third party extends the block model: a strict union of Hypermedia’s core blocks plus the app’s own Poll block, rejecting block types it does not know.

· one of 2 variants:

How a third party extends the block model. This union holds Hypermedia's core blocks plus the app's own custom blocks, here a poll. It is strict: it accepts core blocks and polls, and rejects block types it does not know. An app validates its documents against it.

This page describes the example/app-block type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.

See also

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime