-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.json
50 lines (50 loc) · 1.36 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"id": "https://hedwig.standard.ai/schema",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Example Schema",
"schemas": {
"user-created": {
"1.*": {
"description": "A new user was created",
"type": "object",
"x-version": "1.0",
"x-versions": [
"1.0"
],
"required": [
"user_id"
],
"properties": {
"user_id": {
"$ref": "https://hedwig.standard.ai/schema#/definitions/UserId/1.0"
}
}
}
},
"user-updated": {
"1.*": {
"description": "A user was updated",
"type": "object",
"x-version": "1.0",
"x-versions": [
"1.0"
],
"required": [
"user_id"
],
"properties": {
"user_id": {
"$ref": "https://hedwig.standard.ai/schema#/definitions/UserId/1.0"
}
}
}
}
},
"definitions": {
"UserId": {
"1.0": {
"type": "string"
}
}
}
}