-
Notifications
You must be signed in to change notification settings - Fork 0
/
yaml-schema.yaml
29 lines (29 loc) · 931 Bytes
/
yaml-schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://json-schema.org/draft/2020-12/meta/core
title: YAML Schema meta-schema
description: Meta-schema for YAML Schema, based on JSON Schema meta-schema
type: object
properties:
$schema:
description: Specifies which draft of the JSON Schema standard the schema adheres to.
type: string
$id:
description: |
Sets a URI for the schema. You can use this unique URI to refer to elements of the
schema from inside the same document or from external JSON documents.
type: string
title:
description: The title of the schema
type: string
description:
description: A description of the schema
type: string
type:
description: defines the first constraint on the JSON data.
type: string
enum:
- object
- string
properties:
description: The properties that are defined in the schema
type: object