summaryrefslogtreecommitdiff
path: root/tests/files/success/test_ident.yaml
blob: 0f3c95c707e97f54986d1f9d1b88a8af7b3a8e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##
---
name:  ident1
desc:  ident constraint test
#
schema:
  type: seq
  sequence:
    - type: map
      mapping:
       "name":
          ident: true
       "age":
          type: int
#
data:
  - name: foo
    age:  10
  - name: bar
    age:  10
  - name: baz
    age:  10