summaryrefslogtreecommitdiff
path: root/examples/validate_resource-2.schema
blob: b51694540d3db8e3bdd71a9ded8359aeeef2749e (plain)
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
type: map
mapping:
  "title":
    type: str
    required: yes
  "name":
    type: str
    required: yes
  "caller_module_name":
    type: str
    required: yes
  "module_name":
    type: str
    required: yes
  "a":
    type: str
    required: yes
  "b":
    type: str
    required: yes
    pattern: /^foo/
  "c":
    type: seq
    required: yes
    sequence:
      - type: str