Schema:Company: Difference between revisions
Appearance
Content deleted Content added
Importing NeoWiki demo data |
Update schema via NeoWiki UI |
||
| Line 2: | Line 2: | ||
"propertyDefinitions": { |
"propertyDefinitions": { |
||
"Founded at": { |
"Founded at": { |
||
"type": "number" |
"type": "number", |
||
"description": "", |
|||
"required": false |
|||
}, |
}, |
||
"Websites": { |
"Websites": { |
||
"type": "url", |
"type": "url", |
||
" |
"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": [ |
||
"Active", |
"Active", |
||
| Line 27: | Line 41: | ||
"Dissolved" |
"Dissolved" |
||
], |
], |
||
" |
"multiple": false |
||
}, |
}, |
||
"World domination progress": { |
"World domination progress": { |
||
"type": "number", |
"type": "number", |
||
" |
"description": "", |
||
"required": false |
|||
}, |
|||
"DemoExample": { |
|||
"type": "number", |
|||
"description": "", |
|||
"required": false, |
|||
"minimum": 42, |
|||
"maximum": 100, |
|||
"precision": 3 |
|||
} |
} |
||
} |
} |
||