Schema:Company: Difference between revisions
Appearance
Update schema via NeoWiki UI |
Importing NeoWiki demo data |
||
| Line 2: | Line 2: | ||
"propertyDefinitions": { | "propertyDefinitions": { | ||
"Founded at": { | "Founded at": { | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"Websites": { | "Websites": { | ||
"type": "url", | "type": "url", | ||
"multiple": true | |||
"multiple | |||
}, | }, | ||
"Main product": { | "Main product": { | ||
"type": "relation", | "type": "relation", | ||
"relation": "Has main product", | "relation": "Has main product", | ||
"targetSchema": "Product" | "targetSchema": "Product" | ||
}, | }, | ||
"Products": { | "Products": { | ||
"type": "relation", | "type": "relation", | ||
"relation": "Has product", | "relation": "Has product", | ||
"targetSchema": "Product", | "targetSchema": "Product", | ||
"multiple | "multiple": true | ||
}, | }, | ||
"Status": { | "Status": { | ||
"type": "select", | "type": "select", | ||
"options": [ | "options": [ | ||
"Active", | { | ||
"Inactive", | "id": "o1demo1aaaaaaa1", | ||
"Acquired", | "label": "Active" | ||
"Dissolved" | }, | ||
{ | |||
"id": "o1demo1aaaaaaa2", | |||
"label": "Inactive" | |||
}, | |||
{ | |||
"id": "o1demo1aaaaaaa3", | |||
"label": "Acquired" | |||
}, | |||
{ | |||
"id": "o1demo1aaaaaaa4", | |||
"label": "Dissolved" | |||
} | |||
], | ], | ||
" | "required": true | ||
}, | }, | ||
"World domination progress": { | "World domination progress": { | ||
"type": "number", | "type": "number", | ||
" | "default": 0 | ||
} | } | ||
} | } | ||
} | } | ||