Changed how the rules are kept up to date with source names and went through 3 CPAN...
[dbsrgits/DBIx-Class-Fixtures.git] / t / var / configs / rules.json
1 {
2         "might_have": {
3             "fetch": 0
4         },
5         "has_many": {
6             "fetch": 0
7         },
8         "sets": [{
9             "class": "CD",
10             "ids": ["5"]
11         }, {
12             "class": "Artist",
13             "ids": ["1"],
14             "fetch": [{
15                 "rel": "cds",
16                 "quantity": "all"
17             }]
18         }],
19         "rules": {
20             "might_have": {
21                 "fetch": 0
22             },
23             "CD": {
24                 "cond": [{ "tags.tag": "Cheesy" }],
25                 "join": ["tags"],
26                 "fetch": [{
27                     "rel": "tracks",
28                     "cond": { "position": 2 }
29                 }]
30             }                    
31         }
32 }