summaryrefslogtreecommitdiff
path: root/examples/kwalify-1.pp
blob: 852e46cc73f6539c8ba3358f458f586e18ab678c (plain)
1
2
3
4
5
6
7
8
9
$schema = {
  'type' => 'seq',
  'sequence' => [
    { 'type' => 'str', 'enum' => ['asdf','fdsa'] }
  ]
}
$document = ['a', 'b', 'c']

kwalify($schema, $document)