From 09c6d3cf9a1259b306ddd2abf00a4a3b66116b9a Mon Sep 17 00:00:00 2001 From: Matthew Wilcoxson Date: Thu, 20 Nov 2025 10:37:03 +0000 Subject: [PATCH] Update type.md --- pages/understanding-json-schema/reference/type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/understanding-json-schema/reference/type.md b/pages/understanding-json-schema/reference/type.md index acce0d971..48deee280 100644 --- a/pages/understanding-json-schema/reference/type.md +++ b/pages/understanding-json-schema/reference/type.md @@ -129,7 +129,7 @@ The `type` keyword can take two forms: 1. **A single string**. When it is a single string, it must be one of the types mentioned above (`array`, `boolean`, `integer`, `number`, `null`, `object`, `regular expressions`, or `string`). This specifies that the instance data is only valid when it matches that specific type. -Here is an example of using the `string` keyword as a single string: +Here is an example of using the `number` keyword as a single number: ```json // props { "isSchema": true } @@ -251,4 +251,4 @@ Dates and times are represented in [RFC 3339, section 5.6](https://tools.ietf.or #### Regular Expressions -- `"regex"`: A regular expression that should be valid according to the [ECMA 262](https://www.ecma-international.org/publications-and-standards/standards/ecma-262/) [dialect](../../learn/glossary#dialect). Be careful, in practice, JSON Schema validators are only required to accept the safe subset of [regular expressions](../../understanding-json-schema/reference/regular_expressions) described elsewhere in this document. \ No newline at end of file +- `"regex"`: A regular expression that should be valid according to the [ECMA 262](https://www.ecma-international.org/publications-and-standards/standards/ecma-262/) [dialect](../../learn/glossary#dialect). Be careful, in practice, JSON Schema validators are only required to accept the safe subset of [regular expressions](../../understanding-json-schema/reference/regular_expressions) described elsewhere in this document.