You're probably correct, I've been working on this for three days and I think I've gotten myself turned upside down. I wasn't using a "Select" originally. I'll post both schemas below.
Here is my schema that gets my customerDescription, customerCode, orderNumber, and PONumber:
{
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"orderNumber": {
"type": [
"string",
"null"
]
},
"customerCode": {
"type": [
"string",
"null"
]
},
"customerDescription": {
"type": [
"string",
"null"
]
},
"PONumber": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"uniqueID": {
"type": [
"integer",
"null"
]
}
}
}
}
},
"required": [
"Data"
]
}
Here is my schema that gets "order_routing" data, which is the bulk of my data.
{
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"actualEndDate": {
"type": [
"string",
"null"
]
},
"actualPiecesGood": {
"type": [
"integer",
"null"
]
},
"actualPiecesScrap": {
"type": [
"integer",
"null"
]
},
"actualStartDate": {
"type": [
"string",
"null"
]
},
"burdenRate": {
"type": [
"integer",
"null"
]
},
"departmentNumber": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"employeeCode": {
"type": [
"string",
"null"
]
},
"estimatedEndDate": {
"type": [
"string",
"null"
]
},
"estimatedQuantity": {
"type": [
"integer",
"null"
]
},
"estimatedStartDate": {
"type": [
"string",
"null"
]
},
"itemNumber": {
"type": [
"integer",
"null"
]
},
"jobNumber": {
"type": [
"string",
"null"
]
},
"laborRate": {
"type": [
"number",
"null"
]
},
"lastModDate": {
"type": [
"string",
"null"
]
},
"leadTime": {
"type": [
"integer",
"null"
]
},
"machinesRun": {
"type": [
"integer",
"null"
]
},
"numberMachinesForJob": {
"type": [
"integer",
"null"
]
},
"operationCode": {
"type": [
"string",
"null"
]
},
"orderNumber": {
"type": [
"string",
"null"
]
},
"uniqueID": {
"type": [
"integer",
"null"
]
},
"partNumber": {
"type": [
"string",
"null"
]
},
"shift2DefaultEmployeeCode": {
"type": [
"string",
"null"
]
},
"shift3DefaultEmployeeCode": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"stepNumber": {
"type": [
"integer",
"null"
]
},
"timeUnit": {
"type": [
"string",
"null"
]
},
"totalActualHours": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"totalEstimatedHours": {
"type": [
"number",
"null"
]
},
"totalHoursLeft": {
"type": [
"number",
"null"
]
},
"vendorCode": {
"type": [
"string",
"null"
]
},
"workCenter": {
"type": [
"string",
"null"
]
},
"workCenterOrVendor": {
"type": [
"string",
"null"
]
}
}
}
}
}
}