blob: f8a4971e9f44e4a52bdea89198966b637d3f9e16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"myArray": {
"type": "array",
"minContains": 2,
"contains": {"properties": {"itemType": {"const": "type A"}}
},
"items": {"properties": {"itemType": {"type": "string"}}}
}
}
}
|