Steve
unread,Nov 9, 2009, 5:34:22 PM11/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSON Schema
Hi, I've been looking up and down for an answer to this question but
weren't successful -- perhaps I am searching for the wrong words, but
I wasn't able to find anything in the discussion or in the proposal
that addresses this issue.
In either case, consider the following -- I have a JSON file with
headlines for everyday, and it is organized as this:
{
"20091020": [
".........",
".........",
"........."
],
"20091021": [
".........",
"........."
],
...
}
It doesn't have to be dates -- it could be bank accounts that are
"keyed" by the account number. They are done this way so that they can
be looked up quickly without the use of something like JSONPath. The
keys / attribute names are all unique, but they can be in different
combination and it is not practical to define them all as a separate
schema attribute, as there can be hundreds/thousands of these entries.
Is there anyway to put this in JSON schema, or do I have to change the
format to an array w/ a "date" attribute?