Schema:Company: Difference between revisions
Appearance
Update schema via NeoWiki UI Tag: Reverted |
Importing NeoWiki demo data Tag: Manual revert |
||
| 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": [ | ||
{ | { | ||
| Line 53: | Line 39: | ||
} | } | ||
], | ], | ||
" | "required": true | ||
}, | }, | ||
"World domination progress": { | "World domination progress": { | ||
"type": "number", | "type": "number", | ||
" | "default": 0 | ||
} | } | ||
} | } | ||
} | } | ||