Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 24ee272

Browse files
custom field type for uuid
1 parent e04bca8 commit 24ee272

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/SqlStreamStore.HAL/Resources/Schema/AppendToStream.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
"properties": {
1010
"messageId": {
1111
"type": "string",
12-
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$"
12+
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
13+
"x-schema-form": {
14+
"key": "messageId",
15+
"type": "uuid"
16+
}
1317
},
1418
"type": {
1519
"type": "string"

0 commit comments

Comments
 (0)