-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.json
More file actions
61 lines (61 loc) · 1.07 KB
/
sample.json
File metadata and controls
61 lines (61 loc) · 1.07 KB
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
{
"typeName": "test",
"additionalProperties": false,
"type": "object",
"required": [
"test1",
"test2",
"test3",
"test5"
],
"properties": {
"test1": {
"type": "string",
"maxLength": 200,
"minLength": 10,
"pattern": ".+[@].+[.]___"
},
"test2": {
"type": "number",
"maximum": 99999999.0,
"minimum": 0.0
},
"test3": {
"type": "string",
"title": "test3",
"description": "Description",
"format": "date-time"
},
"test4": {
"type": "object",
"title": "Object",
"properties":{
"name":{
"title":"Name",
"type":"string"
},
"lname":{
"title":"Last Name",
"type":"string"
}
}
},
"test5": {
"title":"enums",
"typeName": "testenum",
"type": "integer",
"enum": [
0,
1,
2
],
"enumNames": [
"e1",
"e2",
"e3"
]
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "test"
}