jsonsystems / json-schema

JSONSchema.Net Public Repository
Apache License 2.0
663 stars 64 forks source link

edit jsonschema from RHS view, after clicking the format_clear button #20

Closed graingert closed 4 years ago

jackwootton commented 6 years ago

To confirm, this is the problem when clicking 'Minify' in the plaintext view of the generated schema (it disappears).

graingert commented 6 years ago

No I don't think so

jackwootton commented 6 years ago

OK, could you clarify the issue please?

graingert commented 6 years ago

Currently you can only edit JSONSchema textually on the LHS. I'd like to be able to edit it on the RHS instead

jackwootton commented 6 years ago

So would you like to swap the LHS and RHS panels?

On Tue, 21 Aug 2018 at 23:47, Thomas Grainger notifications@github.com wrote:

Currently you can only edit JSONSchema textually on the LHS. I'd like to be able to edit it on the RHS instead

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jackwootton/json-schema/issues/20#issuecomment-414846029, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjHvGE4U40CG_HTm0vVbPZRunPfolE9ks5uTI4TgaJpZM4WFekb .

-- Best, Jack at JSONschema.Net

graingert commented 6 years ago

The LHS should be for editing the JSON object for validation, and the RHS for editing the JSONSchema

jackwootton commented 6 years ago

I like the idea. But the RHS is for editing. You can’t edit on the LHS. The LHS allows users to either a) generate a schema from JSON, or, b) load an existing JSON schema to continue editing.

Although you can technically change the text in the LHS, they’re not kept in sync with the RHS, they’re just he starting point.

On Tue, 21 Aug 2018 at 23:50, Thomas Grainger notifications@github.com wrote:

The LHS should be for editing the JSON object for validation, and the RHS for editing the JSONSchema

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jackwootton/json-schema/issues/20#issuecomment-414846634, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjHvIb4sj_woM0utsqH_lLL3O-kHofCks5uTI6_gaJpZM4WFekb .

-- Best, Jack at JSONschema.Net

graingert commented 6 years ago

Basically I just want to edit the text of the JSONSchema document directly without using the GUI

jackwootton commented 6 years ago

Ok. And after editing the schema in a free text Area, what would you do next? Just want to think this use case through fully.

On Wed, 22 Aug 2018 at 00:07, Thomas Grainger notifications@github.com wrote:

Basically I just want to edit the text of the JSONSchema document directly without using the GUI

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jackwootton/json-schema/issues/20#issuecomment-414850205, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjHvGhp-Ux5sK0kUf_Qdzc54abcfWtMks5uTJKqgaJpZM4WFekb .

-- Best, Jack at JSONschema.Net

graingert commented 6 years ago

I'd go back to the GUI and see that my edits had been applied

jackwootton commented 4 years ago

Closing due to inactivity and because the new version is now generally available; www.jsonschema.net