Liquid Studio Documentation
In This Topic
    Schema Representation
    In This Topic

    Draft 4

    In the Draft 4 JSON Schema Standard a schema is represented by an JSON Object. So where ever a schema specification is required it must be described using a JSON Object, this includes PropertiesPattern PropertiesProperty NamesItemsContainsAllOf, AnyOf, OneOfNotIf Then ElseSchema Dependency etc.

    The exception to this was the Additional Items and the Additional Properties properties which could be represented as a boolean, with true meaning allow all, and false meaning deny all.

    Draft 6 and above

    From the Draft 6 version of the JSON Schema Standard onwards, anywhere that requires a definition for a JSON Schema could represent it as an object (as before) or as boolean (as was only possible with Additional Items and the Additional Properties).

    The User interface

    In order to change the representation used within the schema, a property has been added to the schema object allowing its representation to be changed.

    Changing the representation will remove all content from the schema.