{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-loyalty-adjustment-response-schema.json",
  "title": "LoyaltyAdjustmentResponse",
  "description": "Response for the loyalty balance adjustment request",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-loyalty-adjustments-beta-api-openapi.yml#/components/schemas/LoyaltyAdjustmentResponse",
  "properties": {
    "applied": {
      "description": "adjustments that were successful",
      "items": {
        "properties": {
          "balance": {
            "description": "updated customer balance",
            "type": "number"
          },
          "customer_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "errors": {
      "description": "adjustments that failed",
      "items": {
        "properties": {
          "customer_id": {
            "type": "string"
          },
          "error": {
            "description": "update error",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}