Class SchemaObject

java.lang.Object
io.github.springwolf.asyncapi.v3.model.ExtendableObject
io.github.springwolf.asyncapi.v3.model.schema.SchemaObject
All Implemented Interfaces:
Schema

public class SchemaObject extends ExtendableObject implements Schema
The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 07. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.

Further information about the properties can be found in JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema specification as referenced here.
See Also:
  • Constructor Details

    • SchemaObject

      public SchemaObject()