Skip to content

Commit c376bef

Browse files
authored
Fix table cell formatting containing nullable description (#2152)
1 parent 92a9104 commit c376bef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

versions/3.1.0.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2312,9 +2312,7 @@ In addition to the JSON Schema properties defined in the vocabularies defined in
23122312

23132313
Field Name | Type | Description
23142314
---|:---:|---
2315-
<a name="schemaNullable"></a>nullable | `boolean` | A `true` value adds "null" to the allowed types specified by the `type` keyword, only if `type` is explicitly defined within the same Schema Object. Other Schema Object constraints retain their defined behavior, and therefore may disallow the use of `null` as a value. A `false` value leaves the specified or default `type` unmodified. The default value is `false`.
2316-
2317-
<br><br>**Deprecated:** The `type` property now allows "null" as a type, alone or within a type array. This is the standard way to allow null values in JSON Schema. Use of `nullable` is discouraged, and later versions of this specification may remove it.
2315+
<a name="schemaNullable"></a>nullable | `boolean` | A `true` value adds "null" to the allowed types specified by the `type` keyword, only if `type` is explicitly defined within the same Schema Object. Other Schema Object constraints retain their defined behavior, and therefore may disallow the use of `null` as a value. A `false` value leaves the specified or default `type` unmodified. The default value is `false`.<br><br>**Deprecated:** The `type` property now allows "null" as a type, alone or within a type array. This is the standard way to allow null values in JSON Schema. Use of `nullable` is discouraged, and later versions of this specification may remove it.
23182316
<a name="schemaDiscriminator"></a>discriminator | [Discriminator Object](#discriminatorObject) | Adds support for polymorphism. The discriminator is an object name that is used to differentiate between other schemas which may satisfy the payload description. See [Composition and Inheritance](#schemaComposition) for more details.
23192317
<a name="schemaXml"></a>xml | [XML Object](#xmlObject) | This MAY be used only on properties schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property.
23202318
<a name="schemaExternalDocs"></a>externalDocs | [External Documentation Object](#externalDocumentationObject) | Additional external documentation for this schema.

0 commit comments

Comments
 (0)