Schemas
Link
Stores either an external URL or an internal content reference, with optional target.
Stores either an external URL or an internal content reference, with optional target.
Value shape
External Link
{
"kind": "LINK",
"type": "url",
"target": "_blank",
"uri": "https://example.com"
}Internal Link
{
"kind": "LINK",
"type": "content",
"target": "_blank",
"uri": "019df317-9ad5-7228-a070-afc8f94a07d2"
}type is "url" for external links and "content" for an internal slug reference. Resolve a link to a final href with the findLink helper in @localess/react.
Options
| Option | Description |
|---|---|
| Name | Unique field name in the Schema. Appears in the generated model and in the API response. |
| Display Name | Label shown to editors in the Content Editor. |
| Required | When set, editors cannot save the document without a value. |
| Translatable | When set, the field stores a separate value per locale. |
| Description | Help text shown to editors under the field. |
| Default Value | Value applied when a document is first created. |