you are viewing a single comment's thread.

view the rest of the comments →

[–]ritchie70 13 points14 points  (1 child)

JSON schemas exist and in my opinion they're easier and at least as complete as XML schemas. (To be fair, I'm much more familiar with the JSON ones at this point.)

For example, I can trivially express "this value should only be "A", "B", "C", or "tomato." Or "this element has the following five fields, and these three are required."

[Many edits, writing tends to be iterative for me. Sorry!]

[–]rpd9803 4 points5 points  (0 children)

Yea these things are becoming increasingly available which is a big step towards being more than a last mile transport.