Schema:Company: Difference between revisions
Appearance
Content deleted Content added
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" |
||
"description": "", |
|||
"required": false |
|||
}, |
}, |
||
"Websites": { |
"Websites": { |
||
"type": "url", |
"type": "url", |
||
" |
"multiple": true |
||
"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 53: | Line 39: | ||
} |
} |
||
], |
], |
||
" |
"required": true |
||
}, |
}, |
||
"World domination progress": { |
"World domination progress": { |
||
"type": "number", |
"type": "number", |
||
" |
"default": 0 |
||
"required": false |
|||
}, |
|||
"Brand Color": { |
|||
"type": "color", |
|||
"description": "", |
|||
"required": false, |
|||
"allowedColors": [] |
|||
}, |
|||
"Another Color": { |
|||
"type": "color", |
|||
"description": "", |
|||
"required": false, |
|||
"allowedColors": [ |
|||
"#ff0000", |
|||
"" |
|||
] |
|||
} |
} |
||
} |
} |
||