| 1 | # $Id: piece-right.yaml 1 2007-09-10 01:08:43Z matsu $ |
|---|
| 2 | name: config |
|---|
| 3 | desc: the definition of Piece_Right configuration file. |
|---|
| 4 | type: seq |
|---|
| 5 | sequence: |
|---|
| 6 | - type: map |
|---|
| 7 | required: yes |
|---|
| 8 | mapping: |
|---|
| 9 | "name": { type: str, required: yes } |
|---|
| 10 | "required": |
|---|
| 11 | type: map |
|---|
| 12 | required: no |
|---|
| 13 | mapping: |
|---|
| 14 | "message": { type: str, required: no } |
|---|
| 15 | "enabled": { type: bool, required: no } |
|---|
| 16 | "filter": |
|---|
| 17 | type: seq |
|---|
| 18 | required: no |
|---|
| 19 | sequence: |
|---|
| 20 | - type: str |
|---|
| 21 | "validator": |
|---|
| 22 | type: seq |
|---|
| 23 | required: no |
|---|
| 24 | sequence: |
|---|
| 25 | - type: map |
|---|
| 26 | required: yes |
|---|
| 27 | mapping: |
|---|
| 28 | "name": { type: str, required: yes } |
|---|
| 29 | "rule": |
|---|
| 30 | type: map |
|---|
| 31 | required: no |
|---|
| 32 | mapping: |
|---|
| 33 | =: |
|---|
| 34 | type: any |
|---|
| 35 | "message": { type: str, required: no } |
|---|
| 36 | "watcher": |
|---|
| 37 | type: map |
|---|
| 38 | required: no |
|---|
| 39 | mapping: |
|---|
| 40 | "target": |
|---|
| 41 | type: seq |
|---|
| 42 | required: yes |
|---|
| 43 | sequence: |
|---|
| 44 | - type: map |
|---|
| 45 | required: yes |
|---|
| 46 | mapping: |
|---|
| 47 | "name": { type: str, required: yes } |
|---|
| 48 | "trigger": |
|---|
| 49 | type: map |
|---|
| 50 | required: no |
|---|
| 51 | mapping: |
|---|
| 52 | "comparisonOperator": |
|---|
| 53 | type: str |
|---|
| 54 | required: yes |
|---|
| 55 | enum: |
|---|
| 56 | - "==" |
|---|
| 57 | - "!=" |
|---|
| 58 | - "<>" |
|---|
| 59 | - "<" |
|---|
| 60 | - ">" |
|---|
| 61 | - "<=" |
|---|
| 62 | - ">=" |
|---|
| 63 | "comparisonTo": { type: text, required: yes } |
|---|
| 64 | "turnOn": |
|---|
| 65 | type: seq |
|---|
| 66 | required: no |
|---|
| 67 | sequence: |
|---|
| 68 | - type: str |
|---|
| 69 | "turnOff": |
|---|
| 70 | type: seq |
|---|
| 71 | required: no |
|---|
| 72 | sequence: |
|---|
| 73 | - type: str |
|---|
| 74 | "turnOnForceValidation": { type: bool, required: no } |
|---|
| 75 | "description": { type: str, required: no } |
|---|
| 76 | "pseudo": |
|---|
| 77 | type: map |
|---|
| 78 | required: no |
|---|
| 79 | mapping: |
|---|
| 80 | "format": |
|---|
| 81 | type: str |
|---|
| 82 | required: yes |
|---|
| 83 | "arg": |
|---|
| 84 | type: seq |
|---|
| 85 | required: no |
|---|
| 86 | sequence: |
|---|
| 87 | - type: str |
|---|
| 88 | "forceValidation": { type: bool, required: no } |
|---|