Skip to content

Latest commit

 

History

History
77 lines (43 loc) · 2.93 KB

property-oneof-single-value-property.md

File metadata and controls

77 lines (43 loc) · 2.93 KB

Single-Value Property Schema

https://ns.adobe.com/helix/shared/property#/oneOf/0

The property in an index. The value will be stored as a single cardinal value.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none property.schema.json*

0 Type

object (Single-Value Property)

0 Properties

Property Type Required Nullable Defined by
select string Required cannot be null Property
value string Required cannot be null Property
faceted boolean Optional cannot be null Property

select

A CSS selector expression that selects nodes in the HTML (DOM) or Markdown (MDAST) syntax tree

select

  • is required

  • Type: string

  • cannot be null

  • defined in: Property

select Type

string

value

A ES6 template literal expression that extracts the value from the matching node(s) to be stored in the index

value

  • is required

  • Type: string

  • cannot be null

  • defined in: Property

value Type

string

faceted

Whether to enable faceted search on this property

faceted

  • is optional

  • Type: boolean

  • cannot be null

  • defined in: Property

faceted Type

boolean