Schema:Company: Difference between revisions
Appearance
Created page with "{ "description": "Company in the NeoWiki example set", "propertyDefinitions": { "Founded at": { "type": "number", "minimum": 1800, "maximum": 2100 }, "Website": { "type": "url" }, "CEO": { "type": "relation", "relation": "Has CEO", "targetSchema": "Person" }, "Products": { "type": "relation", "relation": "Makes product", "targetSchema": "Product", "multiple": true } } }" |
Importing NeoWiki demo data |
||
| Line 1: | Line 1: | ||
{ | { | ||
"propertyDefinitions": { | "propertyDefinitions": { | ||
"Founded at": { | "Founded at": { | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
" | "Websites": { | ||
"type": "url" | "type": "url", | ||
"multiple": true | |||
}, | }, | ||
" | "Main product": { | ||
"type": "relation", | "type": "relation", | ||
"relation": "Has | "relation": "Has main product", | ||
"targetSchema": " | "targetSchema": "Product" | ||
}, | }, | ||
"Products": { | "Products": { | ||
"type": "relation", | "type": "relation", | ||
"relation": " | "relation": "Has product", | ||
"targetSchema": "Product", | "targetSchema": "Product", | ||
"multiple": true | "multiple": true | ||
}, | |||
"World domination progress": { | |||
"type": "number", | |||
"default": 0 | |||
} | } | ||
} | } | ||
} | } | ||