{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://seedtactics.com/schemas/seedsim", "title": "SeedTactic Simulation JSON API", "type": "object", "properties": { "PluginInfoOutput": { "$ref": "#/$defs/PluginInfo" }, "LoadZinCmdOutput": { "$ref": "/schemas/flexplan#/$defs/FlexPlan" }, "ForecastCmdInput": { "$ref": "/schemas/flexplan#/$defs/FlexProject" }, "ForecastCmdOutput": { "$ref": "/schemas/forecast#/$defs/ForecastResults" }, "AllocateCmdInput": { "$ref": "/schemas/allocate#/$defs/AllocateRequest" }, "AllocateCmdOutput": { "$ref": "/schemas/allocate#/$defs/AllocateResult" }, "LoadBookingsCmdOutput": { "type": "array", "items": { "$ref": "/schemas/orders#/$defs/Booking" } }, "CreateScheduleCmdInput": { "$ref": "/schemas/orders#/$defs/NewSchedule" }, "BackoutCmdOutput": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/JobAndDecrementQuantity" } }, "CreateJobsCmdOutput": { "$ref": "#/$defs/JobsToMake" }, "SyncWorkordersCmdOutput": { "$ref": "#/$defs/WorkordersToSync" }, "ManualCreateJobsCmdInput": { "$ref": "#/$defs/ManualJobInput" }, "ManualCreateJobsCmdOutput": { "$ref": "#/$defs/JobsToMake" }, "ReplaceWorkordersFMSInsightAPIBodyRequest": { "$ref": "/schemas/fms-insight#/components/schemas/WorkordersAndPrograms" } }, "$defs": { "PluginInfo": { "type": "object", "required": ["Version"], "properties": { "Version": { "type": "string" }, "LoadBookings": { "type": "boolean" }, "CreateJobs": { "type": "boolean" }, "CreateScheduleAfterCreateJobs": { "type": "boolean" }, "BackoutJobs": { "type": "boolean" }, "SyncWorkordersToInsight": { "type": "boolean" }, "ReportWorkordersToERP": { "type": "boolean" }, "ManualCreateJobsFromBookings": { "type": "boolean" }, "ManualCreateJobsFromPaths": { "type": "boolean" } } }, "JobsToMake": { "type": "object", "properties": { "AllocateRequest": { "$ref": "/schemas/allocate#/$defs/AllocateRequest" }, "Jobs": { "$ref": "/schemas/fms-insight#/components/schemas/NewJobs" }, "WorkordersToSync": { "$ref": "#/$defs/WorkordersToSync" }, "NewSchedule": { "$ref": "/schemas/orders#/$defs/NewSchedule" }, "SimStationsForExecutionOfCurrentStatus": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/SimulatedStationUtilization" } }, "AllocationError": { "type": "string" }, "AllocationWarning": { "type": "array", "items": { "type": "string" } }, "DebugData": { "type": "object", "additionalProperties": { "type": "string" } } } }, "WorkordersToSync": { "type": "object", "additionalProperties": false, "properties": { "PreviousScheduleId": { "type": "string" }, "NewWorkorders": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/Workorder" } }, "ModifiedWorkorders": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/Workorder" } }, "UnchangedWorkorders": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/Workorder" } }, "Programs": { "type": "array", "items": { "$ref": "/schemas/fms-insight#/components/schemas/NewProgramContent" } } } }, "ManualJobInput": { "type": "object", "additionalProperties": false, "required": ["Bookings"], "properties": { "Bookings": { "type": "array", "items": { "$ref": "/schemas/orders#/$defs/Booking" } } } } } }