Skip to content

Commit 0c8bb67

Browse files
committed
Added contains for the array data type
1 parent 4126275 commit 0c8bb67

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
### Added
1111

1212
- `patternProperties`, `minProperties` and `maxProperties` for the `object` data type
13+
- `contains` for the `array` data type
1314
- `geometryTypes` for the `geometry` data type
1415

1516
### Changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ but it is likely unsupported by the fiboa tooling.
4747
- `minItems`
4848
- `maxItems`
4949
- `uniqueItems`
50+
- `contains` (sub-schema must be compliant to fiboa Schema)
5051

5152
### Object data type
5253

schema/schema.json

+3
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@
182182
"uniqueItems": {
183183
"type": "boolean",
184184
"default": false
185+
},
186+
"contains": {
187+
"$ref": "#/$defs/schema"
185188
}
186189
}
187190
}

0 commit comments

Comments
 (0)