This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
post_schema.json
85 lines (85 loc) · 1.95 KB
/
post_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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"env",
"namespace",
"app_id",
"dvce_created_tstamp",
"event_data_json"
],
"properties": {
"env": {
"$id": "#/properties/env",
"type": "string",
"title": "The Env Schema",
"default": "",
"examples": [
"test",
"prod"
],
"pattern": "^(test|prod)$"
},
"namespace": {
"$id": "#/properties/namespace",
"type": "string",
"title": "The Namespace Schema",
"default": "",
"examples": [
"TheQ_dev"
],
"pattern": "^(.*)$"
},
"app_id": {
"$id": "#/properties/app_id",
"type": "string",
"title": "The App_id Schema",
"default": "",
"examples": [
"theq"
],
"pattern": "^(.*)$"
},
"dvce_created_tstamp": {
"$id": "#/properties/dvce_created_tstamp",
"type": "integer",
"title": "The Dvce_created_tstamp Schema",
"default": 0,
"examples": [
1419038000
]
},
"event_data_json": {
"$id": "#/properties/event_data_json",
"type": "object",
"title": "The Event_data_json Schema",
"required": [
"contexts",
"data",
"schema"
],
"properties": {
"contexts": {
"$id": "#/properties/event_data_json/properties/contexts",
"type": "array",
"title": "The Contexts Schema"
},
"data": {
"$id": "#/properties/event_data_json/properties/data",
"type": "object",
"title": "The Data Schema"
},
"schema": {
"$id": "#/properties/event_data_json/properties/schema",
"type": "string",
"title": "The Schema Schema",
"default": "",
"examples": [
"iglu:ca.bc.gov.cfmspoc/finish/jsonschema/2-0-0"
],
"pattern": "^(.*)$"
}
}
}
}
}