Model fields
prop
One prop. Object props describe their fields with nested props, array props their elements with items.
defaultOptionalThe value used when the caller does not pass the prop.
descriptionOptionalWhat the prop is for, shown to authors.
enumOptionalThe allowed values, separated by spaces.
itemsOptionalnameRequiredThe prop's name, as the caller writes it and as props. in the template and Lua.
- Minimum length
1
nullableOptionalWhether the prop also accepts null.
propsOptionalAn object prop's fields.
- Minimum items
0- Maximum items
9223372036854776000
List items
requiredOptionalWhether every caller must pass the prop.
typeRequiredThe prop's value type.
- Allowed values
["any","array","boolean","integer","number","object","string"]
Only the fields listed here are accepted.