JSON representation of a Property.
Members
Array.<object>
|
null
# availableValues
If property has restricted number of values
Properties:
Name | Type | Description |
---|---|---|
label |
string | |
value |
string |
object
# components Optional
All component names overridden by the user in PropertyOptions
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
show |
string |
<optional> |
|
edit |
string |
<optional> |
|
filter |
string |
<optional> |
|
list |
string |
<optional> |
object
# custom
Custom parameters passed from the PropertyOptions.custom.
Properties:
Name | Type | Description |
---|---|---|
{...} |
any |
string
|
null
# reference
Has a name of a resource to which it is a reference.
For instance property userId
will have here Users
Array.<PropertyJSON>
# subProperties
Contain list of all sub properties. This is the case for nested schemas in MongoDB.