Localess
Schemas

Asset (One)

References a single asset (image, file, etc.) uploaded to the space.

References a single asset (image, file, etc.) uploaded to the space.

Value shape

{
  "kind": "ASSET",
  "uri": "019df317-9ad5-7228-a070-afc8f94a07d2"
}

Resolve the URI to a full URL with client.assetLink(value) (see @localess/client) or the resolveAsset helper in @localess/react.

Options

OptionDescription
File TypeRestricts the asset picker to a file type (e.g., image, video, document).
NameUnique field name in the Schema. Appears in the generated model and in the API response.
Display NameLabel shown to editors in the Content Editor.
RequiredWhen set, editors cannot save the document without a value.
TranslatableWhen set, the field stores a separate value per locale.
DescriptionHelp text shown to editors under the field.
Default ValueValue applied when a document is first created.

On this page