Reference schema

Learn how to define references to other schemas.

Reference schemas allow you to reuse components that appear in multiple places.

Reference form

The input for a reference schema is the same as the input for the referenced component.

Examples

Below is an example of a reference schema:

1234
{
"type": "reference",
"id": "button"
}

Properties

The following properties are available for reference schemas:

type
string

The type of the schema. Always reference for reference schemas.

id
string

The ID of the referenced component.