Skip to content

Commit

Permalink
refactor(schemas): JSON Schema Draft 07
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakisan committed Mar 30, 2024
1 parent 4cfc67f commit 3901999
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions asyncapi-core/src/main/java/com/asyncapi/v3/schema/Schema.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.asyncapi.v3.jackson.SchemaItemsDeserializer;
import com.asyncapi.v3.ExtendableObject;
import com.asyncapi.v3.jackson.schema.SchemasAdditionalPropertiesDeserializer;
import com.asyncapi.v3._0_0.model.ExternalDocumentation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
Expand All @@ -15,21 +14,8 @@
import java.util.List;
import java.util.Map;

// TODO: Finish. Not all properties are present.
// TODO: Write tests

/**
* 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 <a href="http://json-schema.org/">JSON Schema Specification Draft 07</a>.
* <br>
* Further information about the properties can be found in <a href="https://tools.ietf.org/html/draft-handrews-json-schema-01">JSON Schema Core</a> and <a href="https://tools.ietf.org/html/draft-handrews-json-schema-validation-01">JSON Schema Validation</a>.
* Unless stated otherwise, the property definitions follow the JSON Schema specification as referenced here.
* <br><br>
* The AsyncAPI Schema Object is a JSON Schema vocabulary which extends JSON Schema Core and Validation vocabularies.
* As such, any keyword available for those vocabularies is by definition available in AsyncAPI, and will work the
* exact same way, including but not limited to defined properties.
* <br><br>
* <b>New properties may appear in this class after community requests.</b>
* JSON Schema Draft 07
*
* @see <a href="https://json-schema.org/draft-07/schema">Draft 07 JSON Schema</a>
* @see <a href="https://json-schema.org/draft-07/json-schema-validation">Draft 07 JSON Schema Validation</a>
Expand Down

0 comments on commit 3901999

Please sign in to comment.