Documentation Index
Fetch the complete documentation index at: https://docs.manthan.systems/llms.txt
Use this file to discover all available pages before exploring further.
integer
Whole numbers only. Floats and strings are rejected.
"amount": { "type": "integer" }
| Value | Valid? | Error |
|---|
100 | ✅ | - |
-50 | ✅ | - |
0 | ✅ | - |
1.5 | ❌ | VAL-007 |
"100" | ❌ | VAL-007 |
null | ❌ | VAL-007 |
number
Any numeric value including floats.
"score": { "type": "number" }
| Value | Valid? | Error |
|---|
1.5 | ✅ | - |
100 | ✅ | - |
-0.5 | ✅ | - |
"1.5" | ❌ | VAL-005 |
null | ❌ | VAL-005 |
boolean
Must be exactly true or false. Truthy values like 1 or "true" are rejected.
"verified": { "type": "boolean" }
| Value | Valid? | Error |
|---|
true | ✅ | - |
false | ✅ | - |
1 | ❌ | VAL-006 |
"true" | ❌ | VAL-006 |
null | ❌ | VAL-006 |
string
Any string value, including empty string.
"user_id": { "type": "string" }
| Value | Valid? | Error |
|---|
"abc" | ✅ | - |
"" | ✅ | - |
123 | ❌ | VAL-008 |
null | ❌ | VAL-008 |
enum
String value restricted to a declared set of values. The values array is required.
"status": {
"type": "enum",
"values": ["active", "inactive", "pending"]
}
| Value | Valid? | Error |
|---|
"active" | ✅ | - |
"pending" | ✅ | - |
"unknown" | ❌ | VAL-009 |
"" | ❌ | VAL-009 |
null | ❌ | VAL-009 |
Missing values array in the signal definition raises POL-012 at compile time.
Common validation errors
| Code | Signal type | Cause |
|---|
VAL-003 | any | Signal not declared in signalsSchema |
VAL-004 | any | Required signal missing from input |
VAL-005 | number | Non-numeric value |
VAL-006 | boolean | Non-boolean value |
VAL-007 | integer | Non-integer (float or string) |
VAL-008 | string | Non-string value |
VAL-009 | enum | Value not in declared values array |
VAL-011 | enum | Missing values array in schema definition |
VAL-012 | any | Unsupported signal type in schema |
See also