News for hackers. Stuff that matters.
Re:Camlistore: a new project from Brad Fitzpatrick by 6ren on Sunday January 30, 2011 @06:39AM (#2157877)
meta: their schema seems to be JSON instances plus comments. http://camlistore.org/code/?p=camlistore.git;a=tree;f=doc/sc...

This is probably just a temporary notation, but perhaps it's clear enough for ongoing use?

Optional/required is handled by comments; JSON "[ ]" syntax indicates lists - but it's unclear if the contents represent a repeated group, like (abc)* , or alternatives, like (a|b|c)*; alternatives in general don't seem to be handled - in general, alternatives could also appear as the value of a field, not just in a list.

There are no comments on this comment yet.