Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wagn0033 authored Jul 25, 2023
1 parent 35ef2f2 commit a315885
Show file tree
Hide file tree
Showing 95 changed files with 12,148 additions and 0 deletions.
Binary file not shown.
12 changes: 12 additions & 0 deletions Examples/upload-docket/Tutorial/Example01/docket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Type ID": "Z00100300001",
"Sources":
[
{
"File": "HWItems.xlsx",
"Sheet": "Sheet1",
"Encoder Source": "encoders.json",
"Encoder Name": "HWItem_Encoder"
}
]
}
21 changes: 21 additions & 0 deletions Examples/upload-docket/Tutorial/Example01/encoders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"Type ID": "Z00100300001",
"Encoders":
[
{
"Encoder Name": "HWItem_Encoder",
"Item Identifier": "Widget ID",
"Grouping":
[
{
"Members":
{
"Widget ID": "string",
"Color": "string",
"Comment": "string"
}
}
]
}
]
}
65 changes: 65 additions & 0 deletions Examples/upload-docket/Tutorial/Example01/item-receipt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"S00019": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime Inc",
"Serial Number": "S00019",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00019",
"Color": "red",
"Comment": "This is a comment."
}
},
"S00020": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime Inc",
"Serial Number": "S00020",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00020",
"Color": "green",
"Comment": "Another comment."
}
},
"S00021": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime Inc",
"Serial Number": "S00021",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00021",
"Color": "blue",
"Comment": "Third comment."
}
}
}
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions Examples/upload-docket/Tutorial/Example02/docket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"Type ID": "Z00100300001",
"Sources":
[
{
"File": "HWItems.xlsx",
"Sheet": "Sheet1",
"Encoder Source": "encoders.json",
"Encoder Name": "HWItem_Encoder"
},
{
"File": "Test_Bounce.xlsx",
"Sheet": "Sheet1",
"Encoder Source": "encoders.json",
"Encoder Name": "Test_Bounce_Encoder"
}
]
}
37 changes: 37 additions & 0 deletions Examples/upload-docket/Tutorial/Example02/encoders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"Type ID": "Z00100300001",
"Encoders":
[
{
"Encoder Name": "HWItem_Encoder",
"Item Identifier": "Widget ID",
"Grouping":
[
{
"Members":
{
"Widget ID": "string",
"Color": "string",
"Comment": "string"
}
}
]
},
{
"Encoder Name": "Test_Bounce_Encoder",
"Test Name": "Bounce",
"Item Identifier": "Widget ID",
"Grouping":
[
{
"Members":
{
"Widget ID": "string",
"Bounce Height": "string",
"Test Result": "string"
}
}
]
}
]
}
107 changes: 107 additions & 0 deletions Examples/upload-docket/Tutorial/Example02/item-receipt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"S00013": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime, Inc",
"Serial Number": "S00013",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00013",
"Color": "red",
"Comment": "This is a comment."
},
"Tests": {
"Bounce": {
"_meta": {
"_column_order": [
"Widget ID",
"Bounce Height",
"Test Result"
]
},
"Widget ID": "S00013",
"Bounce Height": 1.001,
"Test Result": "Pass"
}
}
},
"S00014": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime, Inc",
"Serial Number": "S00014",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00014",
"Color": "green",
"Comment": "Another comment."
},
"Tests": {
"Bounce": {
"_meta": {
"_column_order": [
"Widget ID",
"Bounce Height",
"Test Result"
]
},
"Widget ID": "S00014",
"Bounce Height": 0.997,
"Test Result": "Fail"
}
}
},
"S00015": {
"_in_manifest": true,
"External ID": null,
"Country": "US",
"Institution": 186,
"Manufacturer": "Hajime, Inc",
"Serial Number": "S00015",
"Batch ID": null,
"Specifications": {
"_meta": {
"_column_order": [
"Widget ID",
"Color",
"Comment"
]
},
"Widget ID": "S00015",
"Color": "blue",
"Comment": "Third comment."
},
"Tests": {
"Bounce": {
"_meta": {
"_column_order": [
"Widget ID",
"Bounce Height",
"Test Result"
]
},
"Widget ID": "S00015",
"Bounce Height": 1.211,
"Test Result": "Fail"
}
}
}
}
Binary file not shown.
22 changes: 22 additions & 0 deletions Examples/upload-docket/Tutorial/Example03/docket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"Type ID": "Z00100300005",
"Sources":
[
{
"File": "item-manifest.xlsx",
"Encoder Source": "encoders.json",
"Encoder Name": "item"
},
{
"File": "test-bounce.xlsx",
"Encoder Source": "encoders.json",
"Encoder Name": "test-bounce"
},
{
"File": "test-bounce-subtable-*.xlsx",
"Encoder Source": "encoders.json",
"Encoder Name": "test-bounce-detail"
}
],
}

97 changes: 97 additions & 0 deletions Examples/upload-docket/Tutorial/Example03/encoders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"Type ID": "Z00100300005",
"Encoders":
[
{
"Encoder Name": "item",
"Item Identifier": "Widget ID",
"Grouping":
[
{
"Name": "Specifications",
"Key": "Widget ID",
"Members":
{
"Widget ID": "string",
"Color": "string",
"Flavor": "string"
}
},
{
"Name": "Doodads",
"Key": "Doodad",
"Members":
{
"Doodad": "string",
"Weight (kg)": "float",
"Length (mm)": "float"
}
}
]
},
{
"Encoder Name": "test-bounce",
"Item Identifier": "Widget ID",
"Test Name": "Bounce",
"Grouping":
[
{
"Name": "<Main>",
"Key": "Widget ID",
"Members":
{
"Widget ID": "string"
}
},
{
"Name": "Test Results",
"Key": ["Test ID", "Operator"],
"Members":
{
"Test ID": "string",
"Operator": "string",
"Timestamp": "string",
"Temperature (K)": "float",
"Average Elasticity": "float"
}
}
]
},
{
"Encoder Name": "test-bounce-detail",
"Item Identifier": "Widget ID",
"Test Name": "Bounce",
"Grouping":
[
{
"Key": "Widget ID",
"Members":
{
"Widget ID": "string"
}
},
{
"Name": "Test Results",
"Key": ["Test ID", "Operator"],
"Members":
{
"Test ID": "string",
"Operator": "string"
}
},
{
"Name": "Details",
"Key": null,
"Members":
{
"Timestamp": "string",
"Drop Height (cm)": "float",
"Bounce Height (cm)": "float",
"Elasticity": "float"
}
}
]
}
]
}

Binary file not shown.
Loading

0 comments on commit a315885

Please sign in to comment.