forked from a-h/generate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharrayofref.json
More file actions
37 lines (37 loc) · 790 Bytes
/
arrayofref.json
File metadata and controls
37 lines (37 loc) · 790 Bytes
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ProductSet",
"type": "array",
"items": {
"$ref": "#/definitions/Product"
},
"definitions": {
"Product": {
"title": "Product",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for a product",
"type": "number"
},
"name": {
"type": "string"
},
"price": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": ["id", "name", "price"]
}
}
}