Liquid XML Studio 2019
Property
JSON Schema Editor > Graphical Notation Overview > Properties Container > Property
Draft 04 Draft 06 Draft 07

A property provides the validation for a member within the instance object.

Each property in the container must have a unique name, and this name is used to match it against the member in the instance object.

Matching instance objects are validated using the properties schema.

If the property is drawn with a dotted line (as above) then it is optional in the instance object. If it is drawn with a solid line then it is required, and a member with the corresponding name must exist in the instance object.

 

Properties can be added to the parent schema or containing Properties container using the right click context menu.

 

For more in depth information regarding see the keywords properties, patternProperties, additionalProperties and propertyNames.

Its recommended that you use strongly typed properties wherever possible (i.e. set the type property).

See Also

JSON Schema Editor

Object Constraints