The standard JSON-Editor makes use of whitespace and lines to organise data. It should be possible to amend this layout to increase element density, and so reduce the space taken up by the schema editor on the page.