<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: spec/util_jsonschema_spec.lua history</title>
    <description>spec/util_jsonschema_spec.lua revision history</description>
    <item>
    <title>util.jsonschema: Fix handling of `false` as schema</title>
    <link>http://hg.omfa.de/prosody-hg/log/eabd38507c1d/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Fix handling of `false` as schema<br/>
<br/>
Schemas can be either a boolean or a table (object) but since it only<br/>
checked for truthiness, the case of `false` would be handled<br/>
incorrectly.<br/>
<br/>
There seems to be no tests that cover `then` and `else` being `false`,<br/>
only a couple that check the `if` keyword.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 30 Mar 2025 17:27:23 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Return basic structured validation response</title>
    <link>http://hg.omfa.de/prosody-hg/log/72d7830505f0/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Return basic structured validation response]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Dec 2023 21:45:38 +0100</pubDate>
</item>
<item>
    <title>util.jsonschema: Update test suite ignore rules</title>
    <link>http://hg.omfa.de/prosody-hg/log/8c762a30eae0/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Update test suite ignore rules<br/>
<br/>
A test case was added in the middle, so all these need to be reordered.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 20 May 2023 15:44:55 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Fix UTF-8ness of 'minLength' and 'maxLength'</title>
    <link>http://hg.omfa.de/prosody-hg/log/0fbb2b3fd4c0/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Fix UTF-8ness of 'minLength' and 'maxLength']]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 23 Apr 2023 10:42:07 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Implement 'minContains' and 'maxContains'</title>
    <link>http://hg.omfa.de/prosody-hg/log/5d3e8a226840/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Implement 'minContains' and 'maxContains']]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 23 Apr 2023 10:26:43 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Tweak description of disabled test</title>
    <link>http://hg.omfa.de/prosody-hg/log/962a746842a0/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Tweak description of disabled test<br/>
<br/>
This doesn't fail because of additionalProperties, looks more like some<br/>
issue with recursive definitions and util.jsonpointer that I don't want<br/>
feel like investigating now.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 22 Apr 2023 12:45:58 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Enable passing IEEE 754 equality test</title>
    <link>http://hg.omfa.de/prosody-hg/log/acf8a2372764/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Enable passing IEEE 754 equality test]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 22 Apr 2023 12:44:53 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Implement 'dependentSchemas'</title>
    <link>http://hg.omfa.de/prosody-hg/log/dee080c2441e/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Implement 'dependentSchemas'<br/>
<br/>
If this object key exists then this schema must validate against the<br/>
current object.  Seems useful.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 26 Mar 2023 15:20:07 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Implement 'dependentRequired'</title>
    <link>http://hg.omfa.de/prosody-hg/log/8592770be63a/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Implement 'dependentRequired'<br/>
<br/>
If this field exists, then these fields must also exist.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 26 Mar 2023 15:19:14 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Disable some further new failing tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/05ec70a9f755/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Disable some further new failing tests<br/>
<br/>
Absolute references, weird fractions, unevaluatedProperties???]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 11 Mar 2023 12:12:49 +0100</pubDate>
</item>
<item>
    <title>util.jsonschema: Ignore some new tests in test suite</title>
    <link>http://hg.omfa.de/prosody-hg/log/297b4cfcc3d9/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Ignore some new tests in test suite<br/>
<br/>
These seem to be using absolute URI references, Not Yet Implemented]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 11 Mar 2023 12:01:17 +0100</pubDate>
</item>
<item>
    <title>util.jsonschema: Ignore test case for JavaScript specific detail</title>
    <link>http://hg.omfa.de/prosody-hg/log/7929c0ffbe14/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Ignore test case for JavaScript specific detail<br/>
<br/>
Also touching on how arrays are indistinguishable from tables in Lua]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 09 Oct 2022 15:24:30 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Ignore some further test cases for URI references</title>
    <link>http://hg.omfa.de/prosody-hg/log/edbc888b1e05/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Ignore some further test cases for URI references<br/>
<br/>
Full-URI references are not implemented]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 09 Oct 2022 15:24:26 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Sort test cases to skip</title>
    <link>http://hg.omfa.de/prosody-hg/log/cd7da871ce10/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Sort test cases to skip<br/>
<br/>
Piped trough `sort -g`]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 09 Oct 2022 14:58:07 +0200</pubDate>
</item>
<item>
    <title>util.jsonschema: Fix validation to not assume presence of &quot;type&quot; field</title>
    <link>http://hg.omfa.de/prosody-hg/log/ca6a43fe0231/spec/util_jsonschema_spec.lua</link>
    <description><![CDATA[util.jsonschema: Fix validation to not assume presence of &quot;type&quot; field<br/>
<br/>
MattJ reported a curious issue where validation did not work as<br/>
expected. Primarily that the &quot;type&quot; field was expected to be mandatory,<br/>
and thus leaving it out would result in no checks being performed.<br/>
This was likely caused by misreading during initial development.<br/>
<br/>
Spent some time testing against<br/>
https://github.com/json-schema-org/JSON-Schema-Test-Suite.git and<br/>
discovered a multitude of issues, far too many to bother splitting into<br/>
separate commits.<br/>
<br/>
More than half of them fail. Many because of features not implemented,<br/>
which have been marked NYI. For example, some require deep comparisons<br/>
e.g. when objects or arrays are present in enums fields.<br/>
<br/>
Some because of quirks with how Lua differs from JavaScript, e.g. no<br/>
distinct array or object types. Tests involving fractional floating<br/>
point numbers. We're definitely not going to follow references to remote<br/>
resources. Or deal with UTF-16 sillyness. One test asserted that 1.0 is<br/>
an integer, where Lua 5.3+ will disagree.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 08 Jul 2022 14:38:23 +0200</pubDate>
</item>

  </channel>
</rss>
