Logo
NeoArc Studio

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.

SpecialisationDescription
int88-bit signed (-128 to 127)
int1616-bit signed
int3232-bit signed (default)
int6464-bit signed
uint88-bit unsigned (0 to 255)
uint1616-bit unsigned
uint3232-bit unsigned
uint6464-bit unsigned
bigintArbitrary precision

Number Fields

Decimal numbers with fractional parts.

SpecialisationDescription
float32-bit floating point
double64-bit floating point (default)
decimalExact decimal representation
percentageValue 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 TypeDescription
String ArrayList of strings
Integer ArrayList of integers
Number ArrayList of numbers
Object ArrayList of objects (references a schema)
Enum ArrayList 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.

Choosing the Right Type

Use Specific Types
Choose the most specific type available (integer vs number)
Apply Specialisations
Use specialisations when they match your data format
Use Object References
Reference shared structures to avoid duplication
Use Enum Schemas
Create enum schemas for reusable option sets

Next Steps

Validation Rules
Add validation to enforce data quality
Learn more →
Schema Inheritance
Extend and reuse schemas
Learn more →