{
  "type": "object",
  "properties": {
    "factoryId": { "type": "string" },
    "operationArea": { "type": "string" },
    "operationOrg": { "type": "string" },
    "processLine": { "type": "string" },
    "schedule": {
      "type": "object",
      "properties": {
        "shiftStart": { "type": "string", "description": "HH:mm format" },
        "shiftEnd": { "type": "string", "description": "HH:mm format" },
        "shiftName": { "type": "string" }
      },
      "required": ["shiftStart", "shiftEnd", "shiftName"]
    },
    "shiftTargetPieces": { "type": "integer" },
    "breaks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": { "type": "string", "description": "HH:mm format" },
          "end": { "type": "string", "description": "HH:mm format" }
        },
        "required": ["start", "end"]
      }
    }
  },
  "required": ["factoryId", "operationArea", "operationOrg", "processLine", "schedule", "shiftTargetPieces"]
}
