-
Notifications
You must be signed in to change notification settings - Fork 7
/
valor.example.yaml
43 lines (42 loc) · 984 Bytes
/
valor.example.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
resources:
- name: user_account
type: file
path: ./example/resource
format: json
batch_size: 3 # new in v0.0.5
regex_pattern: "[a-z]" # new in v0.0.6
framework_names:
- user_account_evaluation
frameworks:
- name: user_account_evaluation
schemas:
- name: user_account_rule
type: file
format: json
path: ./example/schema/user_account_rule.json
output:
treat_as: error
targets:
- name: std_output
type: std
format: yaml
definitions:
- name: memberships
format: json
type: file
path: ./example/definition
regex_pattern: "[a-z]" # new in v0.0.6
function:
type: file
path: ./example/procedure/construct_membership_dictionary.jsonnet
procedures:
- name: enrich_user_account
type: file
format: jsonnet
path: ./example/procedure/enrich_user_account.jsonnet
output:
treat_as: success
targets:
- name: std_output
type: std
format: yaml