How to represent property names that are keywords in JSON Schema?

26 views
Skip to first unread message

ashutosh raina

unread,
Dec 13, 2011, 11:02:02 AM12/13/11
to JSON Schema
Hello,
I am seeing a use case where a legacy schema has some properties that
are keywords in JSON Schema , like type and description. How should
that be handled in JSON Schema representation ?

Francis Galiegue

unread,
Dec 13, 2011, 11:20:23 AM12/13/11
to json-...@googlegroups.com

The same way as any other schema ;)

After all, JSON Schema itself is self-descriptive: see
http://json-schema.org/schema, which is draft v3 described by itself,
using draft v3 syntax.

--
Francis Galiegue, fgal...@gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)

Reply all
Reply to author
Forward
0 new messages