Property

Markdown

A custom property definition.

Fields

  • propertyDefIdstring · property idrequired

    The property's id.

  • keystringrequired

    The immutable key spots use in customValues.

  • labelstringrequired

    The label buyers see.

  • kindstringrequired

    The kind; it decides the value's type and whether buyers can filter by it. shortLabel holds a tiny fact of a few words; ownPage holds longer writing that opens on its own page. Explanations also fit in a spot's longDescription.

    shortLabelownPagereelsnumberdatecheckboxsingleSelectcategories
  • ordernumberrequired

    Display order (ascending).

  • requiredbooleanoptional

    true when every spot must carry a value. Absent means false.

  • visiblebooleanrequired

    Whether the property is shown on spot pages. New categories properties default to false; other kinds default to true. Existing properties without a saved flag stay visible. Filters and saved values are unaffected.

  • filterablebooleanrequired

    Whether buyers can filter by it (number, date, checkbox, singleSelect and categories).

  • placeholderstring or nullrequired

    Editor placeholder text.

  • numUnitstring or nullrequired

    Unit label for number properties.

  • optionsarray of objectsrequired

    Options of checkbox and singleSelect properties; categories supplies predefined ids and labels whose icons come from the category registry. Non-archived category options are enabled for new picks; disabling one preserves saved assignments, icons and buyer filters.

    Show 4 fields
    • idstringrequired

      The option's immutable id: the value spots store.

    • labelstringrequired

      The option's label.

    • ordernumberrequired

      Display order (ascending).

    • archivedbooleanrequired

      true when the option is retired; stored values stay.

  • archivedbooleanrequired

    true when the property is archived; stored values stay.

  • schemaVersionnumberrequired

    The guide's property schema version after the last change.

Used by