ProjectHelm
Home / Documentation / Fields, Types & Swatches
Data Modeling

Fields, Types & Swatches

Declarative property definitions, input format validations, color swatches, secrets, and file uploads.

Updated September 2026 • 5 min read • .NET 10 & C#

Standard Scalar & Semantic Types

ProjectHelm supports rich declarative property formats that automatically enforce database data types, client-side HTML validation, and table formatting:

  • Text: Single-line strings or multi-line textareas (isMultiline: true) with regex validation and custom error messages.
  • Numbers: Integer, Long, Decimal, and Double with configurable decimalPlaces and display prefix (e.g. currency signs).
  • Semantic Types: Date (date picker, zero timezone drift), RichText (rich WYSIWYG HTML editor with headings, bold, italic, lists, links, and HTML source toggle), ToggleSwitch (modern sliding toggle switch control for booleans), RadioButtons (inline radio group control for mutually exclusive enums or boolean Yes/No), ProgressBar (visual progress track with percentage in tables/details, interactive slider + numeric input on forms), Repeater (dynamic string array with interactive item adder and badge pills), Email, Phone, Url, Money (2 decimals with thousands separators), and Percent.
  • Repeater Lists: Freeform dynamic string arrays (tags, keywords, certifications, bullet features) managed via an interactive list with + Add Item and delete buttons on forms, formatted as badge pills across grid and detail views.
  • Color Swatches: Stored as standard #RRGGBB hex tokens and rendered with interactive HTML5 color picker dialogs.
  • Secret Credentials: Stored encrypted with zero readback in UI, ideal for API keys and webhooks.
  • Files & Images: Single or multiple attachments with configurable size limits (maxFileSizeKb) and aspect ratio cropping.