Skip to content

Commit 3c3a581

Browse files
committed
docs
1 parent 9389b5b commit 3c3a581

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/json-schema/advanced/string-formats.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ $userProfileSchema->isValid($validProfile); // true
189189
| `UriTemplate` ||||| URI Template |
190190
| `Regex` ||||| Regular expression pattern |
191191
| `IdnEmail` ||||| Internationalized email |
192+
| `IdnHostname` ||||| Internationalized hostname |
192193
| `Iri` ||||| Internationalized URI |
193194
| `IriReference` ||||| IRI reference |
194195
| **Draft 2019-09+** |

docs/json-schema/schema-types/string.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ $timeSchema = Schema::string('appointment_time')
137137
| `JsonPointer` | JSON Pointer | `/users/123/name` |
138138
| `RelativeJsonPointer`| Relative JSON Pointer | `1/name` |
139139
| `UriTemplate` | URI Template | `/users/{id}` |
140+
| `Regex`| Regular expression pattern | `^[a-zA-Z0-9_]+$` |
140141
| `IdnEmail`| Internationalized email | `用户@example.com` |
141142
| `IdnHostname`| Internationalized hostname | `例え.テスト` |
142143
| `Iri`| Internationalized URI | `https://例え.テスト` |

0 commit comments

Comments
 (0)