You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versions/next/asyncapi.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1381,14 +1381,14 @@ components:
1381
1381
1382
1382
The Schema Object allows the definition of input and output data types.
1383
1383
These types can be objects, but also primitives and arrays.
1384
-
This object is an superset of the [JSON Schema Specification Draft 07](http://json-schema.org/).
1384
+
This object is a superset of the [JSON Schema Specification Draft 07](http://json-schema.org/).
1385
1385
1386
1386
Further information about the properties can be found in [JSON Schema Core](https://tools.ietf.org/html/draft-handrews-json-schema-01) and [JSON Schema Validation](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01).
1387
1387
Unless stated otherwise, the property definitions follow the JSON Schema specification as referenced here.
1388
1388
1389
1389
##### Properties
1390
1390
1391
-
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:
1391
+
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:
1392
1392
1393
1393
- title
1394
1394
- type
@@ -1412,20 +1412,20 @@ The AsyncAPI Schema Object is a JSON Schema vocabulary which extends JSON Schema
1412
1412
- if / then / else
1413
1413
- readOnly
1414
1414
- writeOnly
1415
+
- properties
1416
+
- patternProperties
1417
+
- additionalProperties
1418
+
- additionalItems
1419
+
- items
1420
+
- propertyNames
1421
+
- contains
1422
+
- allOf
1423
+
- oneOf
1424
+
- anyOf
1425
+
- not
1415
1426
1416
1427
The following properties are taken from the JSON Schema definition but their definitions were adjusted to the AsyncAPI Specification.
1417
1428
1418
-
- properties - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1419
-
- patternProperties - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1420
-
- additionalProperties - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1421
-
- additionalItems - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1422
-
- items - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1423
-
- propertyNames - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1424
-
- contains - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1425
-
- allOf - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1426
-
- oneOf - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1427
-
- anyOf - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1428
-
- not - Inline or referenced schema MUST be of a [Schema Object](#schemaObject) and not a standard JSON Schema.
1429
1429
- description - [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation.
1430
1430
- format - See [Data Type Formats](#dataTypeFormat) for further details. While relying on JSON Schema's defined formats, the AsyncAPI Specification offers a few additional predefined formats.
1431
1431
- default - The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, of `type` is `string`, then `default` can be `"foo"` but cannot be `1`.
0 commit comments