{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitesplaced-com/json-schema/sitesplaced-com-order-batch-result-schema.json",
  "title": "OrderBatchResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitesplaced-com-openapi.json#/components/schemas/OrderBatchResult",
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "external_id",
          "ok"
        ],
        "properties": {
          "external_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "ok": {
            "type": "boolean"
          },
          "action": {
            "type": "string",
            "enum": [
              "created",
              "updated",
              "unchanged",
              "skipped"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}