<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JSON Schema Definition Languages</title>
	<atom:link href="http://barelyenough.org/blog/2007/07/json-schema-definition-languages/feed/" rel="self" type="application/rss+xml" />
	<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/</link>
	<description>… and there is much to be learned</description>
	<lastBuildDate>Sun, 06 May 2012 15:09:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Bill Braasch</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-75131</link>
		<dc:creator>Bill Braasch</dc:creator>
		<pubDate>Fri, 31 Jul 2009 01:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-75131</guid>
		<description>&lt;p&gt;The itemscript project includes a JSON schema definition language and a validator, also a JSON application markup (itemscript JAM).&lt;/p&gt;

&lt;p&gt;itemscript also provides a reference client implementation called Item Lens and a reference server called Item Store.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The itemscript project includes a JSON schema definition language and a validator, also a JSON application markup (itemscript JAM).</p>
<p>itemscript also provides a reference client implementation called Item Lens and a reference server called Item Store.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Lions</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-67779</link>
		<dc:creator>Randy Lions</dc:creator>
		<pubDate>Fri, 19 Dec 2008 23:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-67779</guid>
		<description>&lt;p&gt;Here&#039;s a good example that meets Peter&#039;s primary objective for a schema.&lt;/p&gt;

&lt;p&gt;class Foo
{
   int? bar; // Obviously nullable. 
   int[] baz; // I&#039;m not convinced it&#039;s good if this can be null in the strictest sense. Should have a minimum two elements, maximum 8
   string qux; // This probably ought to be a proper name with no funny characters
}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a good example that meets Peter&#8217;s primary objective for a schema.</p>
<p>class Foo<br />
{<br />
   int? bar; // Obviously nullable.<br />
   int[] baz; // I&#8217;m not convinced it&#8217;s good if this can be null in the strictest sense. Should have a minimum two elements, maximum 8<br />
   string qux; // This probably ought to be a proper name with no funny characters<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick O'Shay</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-67777</link>
		<dc:creator>Rick O'Shay</dc:creator>
		<pubDate>Fri, 19 Dec 2008 23:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-67777</guid>
		<description>&lt;p&gt;Here&#039;s a good example that meets Peter&#039;s primary objective for a schema.&lt;/p&gt;

&lt;p&gt;class Foo
{
   int? bar; // Obviously nullable. 
   int[] baz; // I&#039;m not convinced it&#039;s good if this can be null in the strictest sense. Should have a minimum two elements, maximum 8
   string qux; // This probably ought to be a proper name with no funny characters
}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a good example that meets Peter&#8217;s primary objective for a schema.</p>
<p>class Foo<br />
{<br />
   int? bar; // Obviously nullable.<br />
   int[] baz; // I&#8217;m not convinced it&#8217;s good if this can be null in the strictest sense. Should have a minimum two elements, maximum 8<br />
   string qux; // This probably ought to be a proper name with no funny characters<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick O'Shay</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-67771</link>
		<dc:creator>Rick O'Shay</dc:creator>
		<pubDate>Fri, 19 Dec 2008 20:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-67771</guid>
		<description>&lt;p&gt;JSON schema languages are unnecessary. That you are not entirely sure it&#039;s necessary, in any strict sense, means you are on the right track.&lt;/p&gt;

&lt;p&gt;It is equally obvious that having a standard means of specifying the structure and type of JSON objects has the potential to add great value. Given that, you might be on the wrong track when you say &quot;document validation is overrated&quot;. That sort of generalization really doesn&#039;t provide any insight without some sort of context.&lt;/p&gt;

&lt;p&gt;Now, as far as the stipulation that &quot;schema languages should be designed to communicate the structure of documents to humans, and only incidentally to validator programs&quot;, I&#039;m putting that in the &quot;wrong track&quot; column. Maybe I&#039;m missing something, but it doesn&#039;t make a lick of sense. You can use C#, Java, Ruby or whatever to define your JSON structures, and check them with the compiler.&lt;/p&gt;

&lt;p&gt;A JSON schema should primarily exist to allow applications to validate JSON instances. Tools could generate schemas from objects or vice versa. Of course it should be human readable, that&#039;s a given.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>JSON schema languages are unnecessary. That you are not entirely sure it&#8217;s necessary, in any strict sense, means you are on the right track.</p>
<p>It is equally obvious that having a standard means of specifying the structure and type of JSON objects has the potential to add great value. Given that, you might be on the wrong track when you say &#8220;document validation is overrated&#8221;. That sort of generalization really doesn&#8217;t provide any insight without some sort of context.</p>
<p>Now, as far as the stipulation that &#8220;schema languages should be designed to communicate the structure of documents to humans, and only incidentally to validator programs&#8221;, I&#8217;m putting that in the &#8220;wrong track&#8221; column. Maybe I&#8217;m missing something, but it doesn&#8217;t make a lick of sense. You can use C#, Java, Ruby or whatever to define your JSON structures, and check them with the compiler.</p>
<p>A JSON schema should primarily exist to allow applications to validate JSON instances. Tools could generate schemas from objects or vice versa. Of course it should be human readable, that&#8217;s a given.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hatem Nassrat</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-40231</link>
		<dc:creator>Hatem Nassrat</dc:creator>
		<pubDate>Wed, 12 Dec 2007 11:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-40231</guid>
		<description>&lt;p&gt;I have been searching the web for such a schema language and have managed to find one described at http://giftfile.org/depot/home/acarrico/json/json-rng.txt.&lt;/p&gt;

&lt;p&gt;As the link describes, it is an attempt for a json relax ng schema, and a quite goo one in fact. It seems to be in early development stages, and by that I mean they may not be validators written to parse this schema yet.&lt;/p&gt;

&lt;p&gt;I will be pursing this language as it seems promising; However, Kwalify, may be my only other choice., but a JSON schema in JSON does not seem so wise. Already this new schema allows for more than Kwalify.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have been searching the web for such a schema language and have managed to find one described at <a href="http://giftfile.org/depot/home/acarrico/json/json-rng.txt" rel="nofollow">http://giftfile.org/depot/home/acarrico/json/json-rng.txt</a>.</p>
<p>As the link describes, it is an attempt for a json relax ng schema, and a quite goo one in fact. It seems to be in early development stages, and by that I mean they may not be validators written to parse this schema yet.</p>
<p>I will be pursing this language as it seems promising; However, Kwalify, may be my only other choice., but a JSON schema in JSON does not seem so wise. Already this new schema allows for more than Kwalify.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://pezra.barelyenough.org/</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-40228</link>
		<dc:creator>http://pezra.barelyenough.org/</dc:creator>
		<pubDate>Mon, 10 Dec 2007 16:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-40228</guid>
		<description>&lt;p&gt;Hatem Nassrat, I have no news...  I have ended up just using Kwalify.  It works for the sorts of validations I want to perform (ie, automated acceptance tests).  And when combined with an example or two it makes workable documentation of the formats we use.&lt;/p&gt;

&lt;p&gt;I am not especially happy with the results but it does work.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hatem Nassrat, I have no news&#8230;  I have ended up just using Kwalify.  It works for the sorts of validations I want to perform (ie, automated acceptance tests).  And when combined with an example or two it makes workable documentation of the formats we use.</p>
<p>I am not especially happy with the results but it does work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hatem Nassrat</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-40227</link>
		<dc:creator>Hatem Nassrat</dc:creator>
		<pubDate>Sun, 09 Dec 2007 22:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-40227</guid>
		<description>&lt;p&gt;So is there any news on a JSON schema similar to compact Relax NG? or did you end up writing one?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So is there any news on a JSON schema similar to compact Relax NG? or did you end up writing one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Williams</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-30783</link>
		<dc:creator>Peter Williams</dc:creator>
		<pubDate>Mon, 24 Sep 2007 15:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-30783</guid>
		<description>&lt;p&gt;Brian, I actually do think that JSON is a serialization format for JavaScript objects.  It was  &lt;a href=&quot;http://www.cerny-online.com/&quot; rel=&quot;nofollow&quot;&gt;Robert Cerny&lt;/a&gt; who claimed it was not.  In his defense, though it would not be feasible to use JSON, as it is defined today, as general purpose serialization format.&lt;/p&gt;

&lt;p&gt;Your JSON schema is interesting.  However it feels a lot like &lt;a href=&quot;http://www.kuwata-lab.com/kwalify/&quot; rel=&quot;nofollow&quot;&gt;Kwalify&lt;/a&gt;. Any reason you did not just implement support for Kwalify schemas?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Brian, I actually do think that JSON is a serialization format for JavaScript objects.  It was  <a href="http://www.cerny-online.com/" rel="nofollow">Robert Cerny</a> who claimed it was not.  In his defense, though it would not be feasible to use JSON, as it is defined today, as general purpose serialization format.</p>
<p>Your JSON schema is interesting.  However it feels a lot like <a href="http://www.kuwata-lab.com/kwalify/" rel="nofollow">Kwalify</a>. Any reason you did not just implement support for Kwalify schemas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-30706</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Mon, 24 Sep 2007 01:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-30706</guid>
		<description>&lt;p&gt;@Peter you say: &quot;JSON is not a serialization format for JavaScript objects&quot;, if not, then what is it in a practical sense?&lt;/p&gt;

&lt;p&gt;Regarding the percieved baggage of XML schemas, i just have to say that I have no problems with XML schemas, they work just fine for the most part and XSD is better then XDR which is better than DTDs so we are at least moving forward.  Regarding XML schema validation, I have typically had to shut it off due to the performance costs.&lt;/p&gt;

&lt;p&gt;What I typically use XML schemas for is to help generate valid XML inputs to non-REST web services.  Also, they can be used to auto-generate UIs. They are also useful for generating &quot;Beans&quot; (if the schema is good) when using Java/C# or similar.&lt;/p&gt;

&lt;p&gt;I would love to see JSON schemas for the same reasons.  I could auto-generate things like registration forms, we could finally have a standard JSON format for things like RSS, Atom, OPML, etc.&lt;/p&gt;

&lt;p&gt;JSON is the best transport for client apps written in javascript, bringing some order to the party would not hurt if it is done right.&lt;/p&gt;

&lt;p&gt;this blog entry seams to be off to a good start, but it would really need to be enhanced to be of any real use: http://www.epiphantastic.com/?p=22&lt;/p&gt;

&lt;p&gt;standards and structure are good, so long as it is not for their own sake.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Peter you say: &#8220;JSON is not a serialization format for JavaScript objects&#8221;, if not, then what is it in a practical sense?</p>
<p>Regarding the percieved baggage of XML schemas, i just have to say that I have no problems with XML schemas, they work just fine for the most part and XSD is better then XDR which is better than DTDs so we are at least moving forward.  Regarding XML schema validation, I have typically had to shut it off due to the performance costs.</p>
<p>What I typically use XML schemas for is to help generate valid XML inputs to non-REST web services.  Also, they can be used to auto-generate UIs. They are also useful for generating &#8220;Beans&#8221; (if the schema is good) when using Java/C# or similar.</p>
<p>I would love to see JSON schemas for the same reasons.  I could auto-generate things like registration forms, we could finally have a standard JSON format for things like RSS, Atom, OPML, etc.</p>
<p>JSON is the best transport for client apps written in javascript, bringing some order to the party would not hurt if it is done right.</p>
<p>this blog entry seams to be off to a good start, but it would really need to be enhanced to be of any real use: <a href="http://www.epiphantastic.com/?p=22" rel="nofollow">http://www.epiphantastic.com/?p=22</a></p>
<p>standards and structure are good, so long as it is not for their own sake.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Zyp</title>
		<link>http://barelyenough.org/blog/2007/07/json-schema-definition-languages/comment-page-1/#comment-27671</link>
		<dc:creator>Kris Zyp</dc:creator>
		<pubDate>Wed, 29 Aug 2007 20:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/json-schema-definition-languages/#comment-27671</guid>
		<description>&lt;p&gt;Have you looked at &lt;a href=&quot;http://www.jspon.org&quot; rel=&quot;nofollow&quot;&gt;JSPON&lt;/a&gt;? JSPON does include specification for object structure definition, i.e. schemas. If JSPON can be augmented to better suit your needs I would be glad to discuss evolving JSPON for better validation. I would really like to see further interopability in this area, so let me know if JSPON would be helpful, or if there is anything I could do make JSPON useful for what you are doing.
kriszyp@xucia.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Have you looked at <a href="http://www.jspon.org" rel="nofollow">JSPON</a>? JSPON does include specification for object structure definition, i.e. schemas. If JSPON can be augmented to better suit your needs I would be glad to discuss evolving JSPON for better validation. I would really like to see further interopability in this area, so let me know if JSPON would be helpful, or if there is anything I could do make JSPON useful for what you are doing.<br />
<a href="mailto:kriszyp@xucia.com">kriszyp@xucia.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

