GET http://[host-proxy]/api/view/AddFeature_SelectModels/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"models": {
"title": "Model Types",
"items": {
"type": "object",
"properties": {
"model": {
"format": "uri",
"type": "string",
"title": "Model Type",
"target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"choices": []
},
"create_group": {
"type": "boolean",
"title": "Group this model's fields"
},
"cardinality": {
"default": "1",
"choices": [
{
"value": "1",
"title": "Always One"
},
{
"value": "0-1",
"title": "Zero or One"
},
{
"value": "0-N",
"title": "Zero or More"
},
{
"value": "1-N",
"title": "One or More"
}
],
"type": "string",
"title": "How Many"
}
}
},
"required": false,
"readonly": false,
"type": "array"
}
},
"schema_version": "0.1.0"
}