Schema:Company: Difference between revisions
Appearance
Importing NeoWiki demo data Tag: Manual revert |
Update schema via NeoWiki UI |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
"propertyDefinitions": { | "propertyDefinitions": { | ||
"Founded at": { | "Founded at": { | ||
"type": "number" | "type": "number", | ||
"description": "", | |||
"required": false | |||
}, | }, | ||
"Websites": { | "Websites": { | ||
"type": "url", | "type": "url", | ||
"multiple": true | "description": "", | ||
"required": false, | |||
"multiple": true, | |||
"uniqueItems": true | |||
}, | }, | ||
"Main product": { | "Main product": { | ||
"type": "relation", | "type": "relation", | ||
"description": "", | |||
"required": false, | |||
"relation": "Has main product", | "relation": "Has main product", | ||
"targetSchema": "Product" | "targetSchema": "Product", | ||
"multiple": false, | |||
"uniqueItems": true | |||
}, | }, | ||
"Products": { | "Products": { | ||
"type": "relation", | "type": "relation", | ||
"description": "", | |||
"required": false, | |||
"relation": "Has product", | "relation": "Has product", | ||
"targetSchema": "Product", | "targetSchema": "Product", | ||
"multiple": true | "multiple": true, | ||
"uniqueItems": true | |||
}, | }, | ||
"Status": { | "Status": { | ||
"type": "select", | "type": "select", | ||
"description": "", | |||
"required": true, | |||
"options": [ | "options": [ | ||
{ | { | ||
| Line 39: | Line 53: | ||
} | } | ||
], | ], | ||
" | "multiple": false | ||
}, | }, | ||
"World domination progress": { | "World domination progress": { | ||
"type": "number", | "type": "number", | ||
" | "description": "", | ||
"required": false | |||
}, | |||
"Brand Color": { | |||
"type": "color", | |||
"description": "", | |||
"required": false, | |||
"allowedColors": [] | |||
}, | |||
"Another Color": { | |||
"type": "color", | |||
"description": "", | |||
"required": false, | |||
"allowedColors": [ | |||
"#ff0000", | |||
"" | |||
] | |||
} | } | ||
} | } | ||
} | } | ||