Field Types and Specialisations
Complete guide to the available field types and type specialisations. Learn how to choose the right type for your data and apply format-specific validation.
Field types define what kind of data a field can hold. NeoArc Studio supports a range of field types, with type specialisations that provide more specific formatting and validation for common data patterns.
Primitive Types
String Fields
Text values of any length. String fields support a wide range of type specialisations for common formats.
Integer Fields
Whole numbers without decimal points.
| Specialisation | Description |
|---|---|
| int8 | 8-bit signed (-128 to 127) |
| int16 | 16-bit signed |
| int32 | 32-bit signed (default) |
| int64 | 64-bit signed |
| uint8 | 8-bit unsigned (0 to 255) |
| uint16 | 16-bit unsigned |
| uint32 | 32-bit unsigned |
| uint64 | 64-bit unsigned |
| bigint | Arbitrary precision |
Number Fields
Decimal numbers with fractional parts.
| Specialisation | Description |
|---|---|
| float | 32-bit floating point |
| double | 64-bit floating point (default) |
| decimal | Exact decimal representation |
| percentage | Value representing a percentage |
Boolean Fields
True or false values. Boolean fields can have a default value and support validation rules like mustBeTrue and mustBeFalse.
Reference Types
Object Fields
Reference to another object schema. Use object fields when you want to embed one schema inside another.
Enum Fields
Reference to an enum schema, or inline enum values. Use enum fields for fields that must be one of a predefined set of values.
Array Fields
Lists of values. Arrays can contain primitives or references.
| Array Type | Description |
|---|---|
| String Array | List of strings |
| Integer Array | List of integers |
| Number Array | List of numbers |
| Object Array | List of objects (references a schema) |
| Enum Array | List of enum values (references a schema) |
String Specialisations
String fields support type specialisations organised by category, covering time and date formats, networking, identifiers, binary encodings, security, contact information, localisation, structured content, web and UI patterns, and streaming and messaging.