Skip to content

Commit 4023a6f

Browse files
committed
Add problem UUID attribute.
Assume it's in standard human readable string format.
1 parent 5204c1c commit 4023a6f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

contest-api/json-schema/problem.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
"type": "object",
77
"properties": {
88
"id": { "$ref": "common.json#/identifier" },
9+
"uuid": {
10+
"oneOf": [
11+
{
12+
"type": "string",
13+
"pattern": "^[A-Fa-f0-9]{8}-([A-Fa-f0-9]{4}-){3}[A-Fa-f0-9]{12}$"
14+
},
15+
{ "type": "null" }
16+
]
17+
},
918
"label": { "$ref": "common.json#/label" },
1019
"name": { "type": "string" },
1120
"ordinal": { "$ref": "common.json#/ordinal" },

0 commit comments

Comments
 (0)