| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2019 Arm Ltd. |
| 3 |
%YAML 1.2 |
| 4 |
--- |
| 5 |
$id: http://devicetree.org/meta-schemas/nodes.yaml# |
| 6 |
$schema: https://json-schema.org/draft/2019-09/schema |
| 7 |
|
| 8 |
type: object |
| 9 |
|
| 10 |
description: 'DT nodes ("object" type in schemas) can only use a subset of json-schema keywords' |
| 11 |
|
| 12 |
properties: |
| 13 |
type: |
| 14 |
const: object |
| 15 |
|
| 16 |
propertyNames: |
| 17 |
enum: |
| 18 |
- type |
| 19 |
- description |
| 20 |
- dependencies |
| 21 |
- dependentRequired |
| 22 |
- dependentSchemas |
| 23 |
- properties |
| 24 |
- patternProperties |
| 25 |
- additionalProperties |
| 26 |
- unevaluatedProperties |
| 27 |
- deprecated |
| 28 |
- required |
| 29 |
- not |
| 30 |
- if |
| 31 |
- else |
| 32 |
- then |
| 33 |
- allOf |
| 34 |
- anyOf |
| 35 |
- oneOf |
| 36 |
- $ref |
| 37 |
|
| 38 |
required: |
| 39 |
- type |