Newer
Older
---
template: reference
foo: bar
---
# Arrays Schema
```
https://example.com/schemas/arrays
```
This is an example schema with examples for multiple array types and their constraints.
| [Abstract](../abstract.md) | Extensible | [Status](../status.md) | Identifiable | Custom Properties | Additional Properties | Defined In |
|----------------------------|------------|------------------------|--------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Experimental | No | Forbidden | Permitted | [arrays.schema.json](arrays.schema.json) |
| Property | Type | Required | Nullable | Defined by |
|----------|------|----------|----------|------------|
| [JoinTypelist](#jointypelist) | `array` | Optional | No | Arrays (this schema) |
| [boollist](#boollist) | `boolean[]` | Optional | No | Arrays (this schema) |
| [coordinatelist](#coordinatelist) | `number[][]` | Optional | No | Arrays (this schema) |
| [intlist](#intlist) | `integer[]` | Optional | No | Arrays (this schema) |
| [list](#list) | `string[]` | Optional | No | Arrays (this schema) |
| [listlist](#listlist) | `array[]` | Optional | No | Arrays (this schema) |
| [numlist](#numlist) | `number[]` | Optional | No | Arrays (this schema) |
| [objectlist](#objectlist) | `object[]` | Optional | No | Arrays (this schema) |
| [stringlistlist](#stringlistlist) | `string[][]` | Optional | No | Arrays (this schema) |
| `*` | any | Additional | Yes | this schema *allows* additional properties |
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
## JoinTypelist
An array of simple objects
`JoinTypelist`
* is optional
* type: `array`
* defined in this schema
### JoinTypelist Type
Array type: `array`
All items must be of the type:
**One** of the following *conditions* need to be fulfilled.
#### Condition 1
`object` with following properties:
| Property | Type | Required |
|----------|------|----------|
| `foo`| string | Optional |
#### foo
A simple string.
`foo`
* is optional
* type: `string`
##### foo Type
`string`
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
##### foo Example
```json
hello
```
#### Condition 2
`object` with following properties:
| Property | Type | Required |
|----------|------|----------|
| `bar`| string | Optional |
#### bar
A simple string.
`bar`
* is optional
* type: `string`
##### bar Type
`string`
##### bar Example
```json
world
```
* type: `boolean[]`
* at least `1` items in the array
All items must be of the type:
This is an array of coordinates in three-dimensional space.
* type: `number[][]` (nested array)
* no more than `10` items in the array
All items must be of the type:
`number`
* minimum value: `0`
* maximum value: `10`
A coordinate, specified by `x`, `y`, and `z` values
* is optional
* type: `integer[]`
* between `1` and `10` items in the array
* defined in this schema
All items must be of the type:
`integer`
All items must be of the type:
### listlist Type
Nested array type: `array`
## numlist
This is an array
`numlist`
* no more than `10` items in the array
* defined in this schema
### numlist Type
All items must be of the type:
`number`
## objectlist
An array of simple objects
`objectlist`
* is optional
* type: `object[]`
* defined in this schema
### objectlist Type
Array type: `object[]`
All items must be of the type:
`object` with following properties:
| `a`| string | **Required** |
| `b`| integer | Optional |
#### a
The a property
`a`
* is **required**
* type: `string`
##### a Type
`string`
#### b
The b property
`b`
* is optional
* type: `integer`
##### b Type
`integer`
This is an array of arrays of strings
* type: `string[][]` (nested array)