Closed graingert closed 6 years ago
So, it will soon be possible load an existing schema so that it may be edited in the Edit View. Will that do? See screenshot below of a soon to be released (large) update...note the tabs in the LHS.
Mainly I'd want to be able to edit the text of the JSON schema directly
But you could do that in the input tab on the LHS (just using the textarea, and then load it?). Unless I'm missing something here.
@jackwootton can't wait to see this feature ! Any ETA on this hudge update ? :smiley:
It should be out this weekend. I'm currently testing and clearing technical debt. The initial version won't support all JSON schema attributes, but it will support everything currently generated by jsonschema.net.
@lmussier - are there any specific attributes, properties, or requirements you need in the schema parsing to make this initial release useful for you?
Deployment will, unfortunately, be pushed back to next weekend because a bug sucked-up my weekend. To make-up for this I'm keeping an old version of dev
running this week: https://json-schema-dev.appspot.com
...it's not pretty because it's my development version, but it may have the functionality you need to save yourself some time.
I would be very grateful if you could post any bugs here.
@jackwootton good news ! To answer to your previous question, for the moment I don't look for another feature, I'm quite new to json schema, your tool is very good for people like me 👍
@jackwootton I little feedback on https://json-schema-dev.appspot.com usage. I think it might be better to have the schema load function on the edit (right hand side) side rather on the left side. I imagine the following: Importing a schema and edit it by hand in text mode or withe the wonderful UI. And on the left side we only have a json populated with random things, I don't know if it easy or even doable, but it's definitively a cool feature
Looks like a nice feature. Will it be possible to load an existing schema by providing an URL as well? For example using the following link could directly open provided schema in edit mode:
https://jsonschema.net/?url=url_to_a_public_json_schema
This would be a very useful feature. The edit mode nicely shows the schema structure so it could be used for nicely visualizing existing schemas and experimenting with them.
Yes, but not with the initial update. A great idea, and one which others have requested too. Have you got some examples I can use to develop and test this feature?
We are currently working on a Fedora CI messages specification that should use JSON schemas for the definition of how messages should look like:
https://pagure.io/fedora-ci/messages/blob/devel/f/schemas
Now I realized we will be using schema referencing as well to prevent duplication. Would that work with the editor as well?
This has been implemented in the new version. @psss - do you mind opening a new issue for loading by URL?
Sure, filed as #19. Thanks.
Allow pasting and editing in the plain view