edi_translator sample EDI/JEDI docs
[working/Evergreen.git] / Open-ILS / src / edi_translator / data / test_output / ruby_json2edi.tmp
1
2 {
3  "msg_type": "ORDERS",
4  "msg": ["order", {
5     "po_number":6,
6     "date":"20100301",
7     "buyer":[
8         {"id":"6666666",
9          "reference":{"API":"6666666"}}
10     ],
11     "vendor":[         "0672891",
12         {"id-qualifier":"91", "reference":{"IA":"1"}, "id":"0672891"}
13     ],
14     "currency":"USD",
15     "items":[
16         
17         {
18             "identifiers":[
19                 {"id-qualifier":"SA","id":"38"},
20                 {"id-qualifier":"IB","id":""}
21             ],
22             "price":9.99,
23             "desc":[
24                 {"BTI":"Twilight zone/twilight tone / arr. Paul Jennings"}, 
25                 {"BPU":"Jenson Publications,"},
26                 {"BPD":"1982, c1979"},
27                 {"BPH":"1 score + parts"}
28             ],
29             "quantity":4        },
30         
31         {
32             "identifiers":[
33                 {"id-qualifier":"SA","id":"40"},
34                 {"id-qualifier":"IB","id":"0393048799"}
35             ],
36             "price":16.44,
37             "desc":[
38                 {"BTI":"The twilight of American culture / Morris Berman."}, 
39                 {"BPU":"Norton,"},
40                 {"BPD":"c2000."},
41                 {"BPH":"xiv, 205 p. ;"}
42             ],
43             "quantity":3        },
44         
45         {
46             "identifiers":[
47                 {"id-qualifier":"SA","id":"27"},
48                 {"id-qualifier":"IB","id":"0439139597"}
49             ],
50             "price":14.99,
51             "desc":[
52                 {"BTI":"Harry Potter and the goblet of fire / by J.K. Rowling ; illustrations by Mary GrandPr\u00e9."}, 
53                 {"BPU":"Arthur A. Levine Books,"},
54                 {"BPD":"c2000."},
55                 {"BPH":"xi, 734 p. :"}
56             ],
57             "quantity":19        },
58         
59         {
60             "identifiers":[
61                 {"id-qualifier":"SA","id":"30"},
62                 {"id-qualifier":"IB","id":"0786222735"}
63             ],
64             "price":15.99,
65             "desc":[
66                 {"BTI":"Harry Potter and the Chamber of Secrets / J.K. Rowling ; illustrations by Mary GrandPr\u00e9."}, 
67                 {"BPU":"Thorndike Press,"},
68                 {"BPD":"1999."},
69                 {"BPH":"464 p. ; 22 cm."}
70             ],
71             "quantity":4        }
72         
73     ],
74     "line_items":4
75  }],
76  "recipient":"0672891",
77  "sender":"6666666"
78 }