Schema:Company: Difference between revisions
Appearance
Content deleted Content added
Importing NeoWiki demo data |
Importing NeoWiki demo data |
||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 18: | Line 18: | ||
"targetSchema": "Product", |
"targetSchema": "Product", |
||
"multiple": true |
"multiple": true |
||
}, |
|||
"Departments": { |
|||
"type": "relation", |
|||
"relation": "Has department", |
|||
"targetSchema": "Department", |
|||
"multiple": true |
|||
}, |
|||
"Offices": { |
|||
"type": "relation", |
|||
"relation": "Has office", |
|||
"targetSchema": "Office", |
|||
"multiple": true |
|||
}, |
|||
"Headquarters": { |
|||
"type": "relation", |
|||
"relation": "Has headquarters", |
|||
"targetSchema": "Office" |
|||
}, |
}, |
||
"Status": { |
"Status": { |
||
"type": "select", |
"type": "select", |
||
"options": [ |
"options": [ |
||
{ |
|||
" |
"id": "o1demo1aaaaaaa1", |
||
" |
"label": "Active" |
||
}, |
|||
{ |
|||
"id": "o1demo1aaaaaaa2", |
|||
"label": "Inactive" |
|||
}, |
|||
{ |
|||
"id": "o1demo1aaaaaaa3", |
|||
"label": "Acquired" |
|||
}, |
|||
{ |
|||
"id": "o1demo1aaaaaaa4", |
|||
"label": "Dissolved" |
|||
} |
|||
], |
], |
||
"required": true |
"required": true |
||
| Line 32: | Line 61: | ||
"type": "number", |
"type": "number", |
||
"default": 0 |
"default": 0 |
||
}, |
|||
"Is public": { |
|||
"type": "boolean" |
|||
} |
} |
||
} |
} |
||