Skip to content

Commit f459807

Browse files
committed
MOAR updates
- Removed hyphen - Updated naming convention to reference only Wright Draft 00 - Simplified explanation of JSON Reference resolution
1 parent 7648c72 commit f459807

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

versions/3.0.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ By convention, the OpenAPI Specification (OAS) file is named `openapi.json` or `
144144

145145
### Data Types
146146

147-
Primitive data types in the OAS are based on the types supported by the [JSON-Schema Draft Wright 00](https://tools.ietf.org/html/draft-wright-json-schema-00#section-4.2) (also known as, JSON Schema Draft 05). Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part. `null` is not supported as a value.
148-
Models are described using the [Schema Object](#schemaObject) which is an extended subset of JSON Schema Draft 05.
147+
Primitive data types in the OAS are based on the types supported by the [JSON Schema Specification Wright Draft 00](https://tools.ietf.org/html/draft-wright-json-schema-00#section-4.2). Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part. `null` is not supported as a value.
148+
Models are described using the [Schema Object](#schemaObject) which is an extended subset of JSON Schema Specification Wright Draft 00.
149149

150150
<a name="dataTypeFormat"></a>Primitives have an optional modifier property `format`.
151151
OAS uses several known formats to more finely define the data type being used.
@@ -2216,7 +2216,8 @@ A simple object to allow referencing other definitions in the specification.
22162216
It can be used to reference parameters and responses that are defined at the top level for reuse.
22172217
22182218
The Reference Object is a [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03) that uses a [JSON Pointer](http://tools.ietf.org/html/rfc6901) as its value.
2219-
For this specification, only [External references](https://tools.ietf.org/html/draft-wright-json-schema-00#section-8.2.2) are supported ([Internal references](https://tools.ietf.org/html/draft-wright-json-schema-00#section-8.2.1) are not supported).
2219+
2220+
For this specification, reference resolution is done as defined by the JSON Reference specification and not by the JSON Schema specification.
22202221
22212222
##### Fixed Fields
22222223
Field Name | Type | Description
@@ -2261,7 +2262,7 @@ $ref: 'definitions.yaml#/Pet'
22612262

22622263
The Schema Object allows the definition of input and output data types.
22632264
These types can be objects, but also primitives and arrays.
2264-
This object is an extended subset of the [JSON Schema Specification Wright Draft 00](http://json-schema.org/), also known as JSON Schema Draft 05.
2265+
This object is an extended subset of the [JSON Schema Specification Wright Draft 00](http://json-schema.org/).
22652266

22662267
Further information about the properties can be found in [JSON Schema Core](https://tools.ietf.org/html/draft-wright-json-schema-00) and [JSON Schema Validation](https://tools.ietf.org/html/draft-wright-json-schema-validation-00).
22672268
Unless stated otherwise, the property definitions follow the JSON Schema specification as referenced here.

0 commit comments

Comments
 (0)