{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-redeemed-points-schema.json",
  "title": "redeemedPoints",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-reward-points-openapi.yml#/components/schemas/redeemedPoints",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier of the redeemed points"
    },
    "description": {
      "type": "string",
      "description": "A comment for the redeem operation"
    },
    "points": {
      "type": "integer",
      "description": "The amount of the redeemed points"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the points were redeemed"
    },
    "allPointsAfterCreation": {
      "type": "integer",
      "description": "Number of points after creation"
    }
  },
  "required": [
    "points"
  ]
}