xref: /aosp_15_r20/external/json-schema-validator/src/test/resources/schema/example-ref.json (revision 78c4dd6aa35290980cdcd1623a7e337e8d021c7c)
1{
2    "$schema": "https://json-schema.org/draft/2019-09/schema",
3    "type": "object",
4    "additionalProperties": false,
5    "definitions": {
6        "DriverProperties": {
7            "type": "object",
8            "properties": {
9                "field1": {
10                    "type": "string",
11                    "minLength": 1,
12                    "maxLength": 512
13                },
14                "field2": {
15                    "type": "string",
16                    "minLength": 1,
17                    "maxLength": 512
18                }
19            },
20            "required": ["field1"],
21            "additionalProperties": false
22        }
23    }
24}