Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
push addional code
[sdc.git]
/
openecomp-be
/
lib
/
openecomp-core-lib
/
openecomp-utilities-lib
/
src
/
test
/
resources
/
jsonUtil
/
json_schema
/
aSchema.json
1
{
2
"$schema": "http://json-schema.org/draft-04/schema#",
3
"type": "object",
4
"definitions": {
5
"city": {
6
"type": "string",
7
"enum": [
8
"Tel Aviv",
9
"New York",
10
"London"
11
]
12
}
13
},
14
"properties": {
15
"address": {
16
"type": "object",
17
"properties": {
18
"streetAddress": {
19
"type": "string"
20
},
21
"city": {
22
"$ref": "#/definitions/city"
23
}
24
},
25
"enum": [
26
{
27
"streetAddress": "21 2nd Street",
28
"city": "New York"
29
}
30
],
31
"required": [
32
"streetAddress",
33
"city"
34
]
35
},
36
"phoneNumber": {
37
"type": "array",
38
"items": {
39
"type": "object",
40
"properties": {
41
"location": {
42
"type": "string"
43
},
44
"code": {
45
"type": "integer"
46
}
47
},
48
"required": [
49
"location",
50
"code"
51
]
52
}
53
},
54
"cityOfBirth" : { "$ref" : "#/definitions/city"}
55
},
56
"required": [
57
"address",
58
"phoneNumber"
59
]
60
}