{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rsnc-network/json-schema/rsnc-network-event-response-schema.json",
  "title": "EventResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rsnc-network-openapi.yml#/components/schemas/EventResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "eventId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique event identifier"
    },
    "message": {
      "type": "string"
    },
    "rewardAmount": {
      "type": "integer",
      "description": "Amount of RSNC tokens rewarded"
    },
    "eventType": {
      "type": "string"
    },
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "User's wallet address (created if new)"
    },
    "transactionHash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Blockchain transaction hash"
    },
    "reward": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "integer"
        },
        "eventType": {
          "type": "string"
        },
        "walletAddress": {
          "type": "string"
        },
        "transactionHash": {
          "type": "string"
        }
      }
    }
  }
}