-
Notifications
You must be signed in to change notification settings - Fork 181
Is there a way to define the format attribute? #43
Comments
@sciutand I don't think we support it yet. |
@sciutand not at this moment no. I was thinking about adding some validations to MSON. Can you please elaborate a bit? What is the particular validation you are looking for? |
@zdne some I have found useful would be |
Thanks for the input! I would like to keep collecting the feedback on this and then implement the most requested format / validators based on that. |
Sure, in addition to those, I think all the ones from json-schema validation spec are handy: |
I'm currently looking to do this with |
... so basically all of the predefined validations 😎 |
Hi there, Do note that the spec says The popular Also check out the v5 proposal implemented in Anyway, getting back to the topic. Proposal for
|
Hey @jmatsushita, We have originally intended to use the So in the case of # Date Type (string)
This is a description
## Validations
...
## Sample
1985-04-12T23:20:50.52Z Note this is not valid syntax at this moment.. |
That sounds good! I guess that would mean you'd have some predefined |
@jmatsushita could be, see #43 (comment) |
Any update on plans to support JSON schema's defined formats? I am particularly interested in |
Are there any plans to support this? It would be nice to have a firm statement, even if it's "no." |
Definitely yes. But we can't give an ETA. |
Json schema has a 'format' keyword. Is this supported by mson? I couldn't find any reference
http://json-schema.org/latest/json-schema-validation.html#anchor104
The text was updated successfully, but these errors were encountered: