Okyline Schema

Okyline · 2026-05-30 21:57
StudioFree Java libFree Documentation & AIFree
Okyline symbols reference
@
Required
Field must be present
?
Nullable
Value can be null
{ , }
String Length
Min and max characters
(...)
Value Constraint
Number ranges or enums
~ ~
Format
Regex or built-in format
[ , ]
Array Size
Min and max elements
#
Key Field
Unique identifier
!
Uniqueness
No duplicate objects
Item Constraint
For array elements
1{
2 "$oky": {
3 "name|@ {2,50}|Full name": "John Doe",
4 "employeeId|@ ~$EmployeeID~|Employee ID": "AD-00124",
5 "role|@ ($ROLES)|User role": "USER"
6 },
7 "$format": {
8 "EmployeeID": "^[A-Z]{2}-\\d{5}$"
9 },
10 "$nomenclature": {
11 "ROLES": "ADMIN,USER,GUEST"
12 }
13}