5,641
edits
Tag: Undo |
(add non-expert view) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
== Data Annotator == | |||
<div class="JsonEditor" style="font-size:medium;height:500px" data-config='{ | |||
"schema": { | |||
"@context": { | |||
"name": "https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#title", | |||
"keywords": "https://www.w3.org/ns/dcat#themeTaxonomy" | |||
}, | |||
"type": "object", | |||
"title": "My Dataset", | |||
"required": ["name", "keywords", "columns"], | |||
"properties": { | |||
"name": {"type": "string"}, | |||
"keywords": { | |||
"type": "array", | |||
"title": "Keywords", | |||
"description": "Type to get suggestions from the EMMO ontologies", | |||
"items": { | |||
"$ref": "/wiki/JsonSchema:UuidUriProperty?action=raw" | |||
} | |||
}, | |||
"columns": { | |||
"type": "array", | |||
"items": { | |||
"type": "object", | |||
"properties": { | |||
"name": { | |||
"type": "string" | |||
}, | |||
"quantity": { | |||
"$ref": "/wiki/JsonSchema:UuidUriProperty?action=raw" | |||
} | |||
} | |||
} | |||
} | |||
} | |||
}, "data": { | |||
"name": "My dataset name", | |||
"keywords": [ | |||
"http://emmo.info/battery#battery_b5910d2f_3114_4663_8d46_e418ff859251" | |||
] | |||
}, | |||
"mode":"default", | |||
"submit_enabled": false, | |||
"schema_editor": {"container_id":"test-input-element"}, | |||
"data_editor": {"container_id":"test-output-element", "download": true}, | |||
"JSONEditorConfig": { | |||
"disable_properties": false, | |||
"show_opt_in": false, | |||
"display_required_only": false, | |||
"disable_array_reorder": true, | |||
"disable_array_delete_all_rows": true, | |||
"disable_array_delete_last_row": true | |||
} | |||
}'></div> | |||
<div id="test-output-element" style="height:500px; display:none"><div> | |||
== Data Annotator== | == Data Annotator (Expert View) == | ||
{| class="layout-table layout-table-fixed" style="min-width:1500px" | {| class="layout-table layout-table-fixed" style="min-width:1500px" | ||
| Input <code>[https://demo.open-semantic-lab.org/w/index.php?title=Item:OSWf4a9514baed04859a4c6c374a7312f10&reveal=true#/ jsonschema]</code> | | Input <code>[https://demo.open-semantic-lab.org/w/index.php?title=Item:OSWf4a9514baed04859a4c6c374a7312f10&reveal=true#/ jsonschema]</code> |