Skip to content

Instantly share code, notes, and snippets.

@jbuyco
Created November 11, 2016 00:59
Show Gist options
  • Save jbuyco/7d9a8310d64ad97a1cd5ff7eb029b768 to your computer and use it in GitHub Desktop.
Save jbuyco/7d9a8310d64ad97a1cd5ff7eb029b768 to your computer and use it in GitHub Desktop.
Sample CPL job output for Bart's script to build an job file for prep center.
{
"media_type":"3m PSV",
"rows":10,
"items_per_row":4,
"items":[
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75000",
"barcode_1":"order:30000",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75001",
"barcode_1":"order:30000",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75002",
"barcode_1":"order:30000",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75003",
"barcode_1":"order:30000",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75004",
"barcode_1":"order:30001",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75005",
"barcode_1":"order:30001",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75006",
"barcode_1":"order:30001",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75007",
"barcode_1":"order:30001",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75008",
"barcode_1":"order:30002",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75009",
"barcode_1":"order:30002",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75010",
"barcode_1":"order:30002",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75011",
"barcode_1":"order:30002",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75012",
"barcode_1":"order:30003",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75013",
"barcode_1":"order:30003",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75014",
"barcode_1":"order:30003",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75015",
"barcode_1":"order:30003",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75016",
"barcode_1":"order:30004",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75017",
"barcode_1":"order:30004",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75018",
"barcode_1":"order:30004",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75019",
"barcode_1":"order:30004",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75020",
"barcode_1":"order:30005",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75021",
"barcode_1":"order:30005",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75022",
"barcode_1":"order:30005",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75023",
"barcode_1":"order:30005",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75024",
"barcode_1":"order:30006",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75025",
"barcode_1":"order:30006",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75026",
"barcode_1":"order:30006",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75027",
"barcode_1":"order:30006",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75028",
"barcode_1":"order:30007",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75029",
"barcode_1":"order:30007",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75030",
"barcode_1":"order:30007",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75031",
"barcode_1":"order:30007",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75032",
"barcode_1":"order:30008",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_2.eps",
"barcode_0":"item:75033",
"barcode_1":"order:30008",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_1.pdf",
"barcode_0":"item:75034",
"barcode_1":"order:30008",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75035",
"barcode_1":"order:30008",
"description":"4/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75036",
"barcode_1":"order:30009",
"description":"1/4"
},
{
"filename":"//some/network/path/to/image_0.pdf",
"barcode_0":"item:75037",
"barcode_1":"order:30009",
"description":"2/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75038",
"barcode_1":"order:30009",
"description":"3/4"
},
{
"filename":"//some/network/path/to/image_3.pdf",
"barcode_0":"item:75039",
"barcode_1":"order:30009",
"description":"4/4"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment