{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonomous-solutions/json-schema/autonomous-solutions-loyalty-points-calculation-schema-schema.json",
  "title": "LoyaltyPointsCalculationSchema",
  "description": "Schema for calculating potential points for an order",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonomous-solutions-loyalty-points-api-openapi.yml#/components/schemas/LoyaltyPointsCalculationSchema",
  "properties": {
    "order_total": {
      "type": "integer",
      "title": "Order Total",
      "description": "Order total in cents"
    },
    "points_to_earn": {
      "type": "integer",
      "title": "Points To Earn",
      "description": "VenBucks that will be earned"
    },
    "points_value": {
      "type": "integer",
      "title": "Points Value",
      "description": "Monetary value in cents"
    }
  },
  "type": "object",
  "required": [
    "order_total",
    "points_to_earn",
    "points_value"
  ]
}