@@ -135,14 +135,14 @@ depending on the type:
135
135
- * array* : An ordered list of instances, from the JSON "array" value
136
136
- * number* : An arbitrary-precision, base-10 decimal number value, from the JSON
137
137
"number" value
138
- - * string* : A string of Unicode code points, from the JSON "string" value
138
+ - * string* : A string of [ Unicode] code points, from the JSON "string" value
139
139
140
140
Whitespace and formatting concerns, including different lexical representations
141
141
of numbers that are equal within the data model, are thus outside the scope of
142
142
JSON Schema. Extensions to JSON Schema that wish to work with such differences
143
143
in lexical representations SHOULD define keywords to precisely interpret
144
144
formatted strings within the data model rather than relying on having the
145
- original JSON representation Unicode characters available.
145
+ original JSON representation available.
146
146
147
147
Since an object cannot have two properties with the same key, behavior for a
148
148
JSON document that tries to define two properties with the same key in a single
@@ -335,14 +335,14 @@ considered to be implicitly anchored at either end. All regular expression
335
335
keywords in this specification and its companion documents are un-anchored.
336
336
337
337
Regular expressions SHOULD be built with the "u" flag (or equivalent) to provide
338
- Unicode support, or processed in such a way which provides Unicode support as
338
+ [ Unicode] support, or processed in such a way which provides Unicode support as
339
339
defined by ECMA-262.
340
340
341
341
Furthermore, given the high disparity in regular expression constructs support,
342
342
schema authors SHOULD limit themselves to the following regular expression
343
343
tokens:
344
344
345
- - individual Unicode characters , as defined by the [ JSON
345
+ - individual Unicode code points , as defined by the [ JSON
346
346
specification] [ rfc8259 ] ;
347
347
- simple atoms: ` . ` (any character except line terminator);
348
348
- simple character classes (` [abc] ` ), range character classes (` [a-z] ` );
@@ -2628,3 +2628,4 @@ to the document.
2628
2628
[ rfc8259 ] : https://www.rfc-editor.org/info/rfc8259
2629
2629
[ rfc8288 ] : https://www.rfc-editor.org/info/rfc8288
2630
2630
[ application/schema+json ] : ../ietf/json-schema-media-types.md
2631
+ [ Unicode ] : https://www.unicode.org/versions/Unicode16.0.0/
0 commit comments