-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properties order #571
Comments
Feel free to file that over at https://github.com/json-schema-org/json-schema-vocabularies/issues - Currently this repo is for core and validation. Neither specify any UI generation. There are a few efforts already looking at this outside of official JSON Schema channels, such as https://github.com/json-schema-form and https://github.com/mozilla-services/react-jsonschema-form |
Okay, thank you for redirecting me. As I saw |
@mfulton26 sorry if I seemed a little heavy handed. I hadn't even noticed I'd probably want to see some of those annotation keywords moved out of the validation spec... seems kinda weird they are there but have nothing to do with validation. Any comments @handrews ? =] |
@Relequestual See #363 and #378 for why these keywords got into validation spec. |
@Relequestual the question of where the basic meta-data annotation keywords should live comes up regularly. Once we decide on a vocabulary approach (#561) we'll have a better feel for what the impact of moving or splitting that vocabulary out would be. Right now, we don't really have a definition of "vocabulary" (it roughly equates to "specification document", except when it doesn't), which makes it hard to figure out what to do with it. That said, property ordering is less about annotating with data (like a description) or an interaction hint (like |
I've created json-schema-org/json-schema-vocabularies#7. Thanks. |
UI generation tools would benefit, I think, from having a way to specify the order of properties.
For simple cases, perhaps
properties
could be optionally defined as an array of objects where at a minimum each object has aname
property:Alternatively a new keyword could be introduced,
propertiesOrder
:This keyword could also support patterns:
The text was updated successfully, but these errors were encountered: