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