Updated UUID #127

This commit is contained in:
DaanV2
2022-10-13 19:25:17 +02:00
parent c271a33a7d
commit 1550f8100d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
{
"$id": "UUIDV4",
"description": "A valid uuid v4.",
"description": "A valid UUID v4.",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"title": "A UUID V4",
"title": "A UUID format v4",
"type": "string",
"defaultSnippets": [{ "label": "new UUID v4", "body": "$UUID" }]
}

View File

@@ -9,7 +9,7 @@
"uuidv4": {
"type": "string",
"title": "An UUID V4",
"description": "A valid uuid v4.",
"description": "A valid UUID v4.",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"format": "uuid"
},

View File

@@ -11,7 +11,7 @@
"description": "A reference to a pack.",
"type": "object",
"properties": {
"pack_id": { "description": "The uuid of the pack to include.", "$ref": "./UUIDV4.json", "title": "Pack Id" },
"pack_id": { "description": "The UUID of the pack to include.", "$ref": "./UUIDV4.json", "title": "Pack Id" },
"version": { "description": "The version of the pack.", "$ref": "./Version.json", "title": "Version" }
}
}