{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simcloud-co-za/json-schema/simcloud-co-za-recharge-queued-schema.json",
  "title": "RechargeQueued",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/simcloud-co-za-openapi.yaml#/components/schemas/RechargeQueued",
  "type": "object",
  "required": [
    "status",
    "message",
    "service",
    "request_id",
    "msisdn",
    "network",
    "amount",
    "reference",
    "queue_status",
    "timestamp"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success"
      ]
    },
    "message": {
      "type": "string"
    },
    "service": {
      "type": "string",
      "enum": [
        "airtime",
        "data"
      ]
    },
    "request_id": {
      "type": "integer",
      "minimum": 1
    },
    "msisdn": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "reference": {
      "type": "string"
    },
    "queue_status": {
      "type": "string",
      "enum": [
        "queued"
      ]
    },
    "timestamp": {
      "$ref": "#/$defs/LocalTimestamp"
    }
  },
  "$defs": {
    "LocalTimestamp": {
      "type": "string",
      "description": "Local timestamp in Africa/Johannesburg, using YYYY-MM-DD HH:MM:SS."
    }
  }
}