mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
The JSON Schema specification says that schemas are objects or booleans, and that the 'type' property is optional and can be an array. This module previously allowed bare type names as schemas and did not really handle booleans. It now handles missing 'type' properties and boolean 'true' as a schema. Objects and arrays are guessed based on the presence of 'properties' or 'items' field. |
||
---|---|---|
.. | ||
plugins | ||
util | ||
module.d.tl |