{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/Log.json",
  "title": "Log",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Contract address",
      "examples": [
        "0x54C800d2331E10467143911aabCa092d68bF4166"
      ]
    },
    "topic0": {
      "type": "string",
      "description": "First topic",
      "examples": [
        "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
      ]
    },
    "topic1": {
      "type": "string",
      "description": "Second topic (optional)",
      "examples": [
        "0x0000000000000000000000000000333883f313ad709f583d0a3d2e18a44ef29b"
      ]
    },
    "topic2": {
      "type": "string",
      "description": "Third topic (optional)",
      "examples": [
        "0x0000000000000000000000000000000000000000000000000000000000000000"
      ]
    },
    "topic3": {
      "type": "string",
      "description": "Fourth topic (optional)",
      "examples": [
        "0x0000000000000000000000000000000000000000000000000000000000001350"
      ]
    },
    "data": {
      "type": "string",
      "description": "Event data",
      "examples": [
        "0x"
      ]
    },
    "transactionIndex": {
      "type": "number",
      "description": "Transaction index",
      "examples": [
        2
      ]
    },
    "logIndex": {
      "type": "number",
      "description": "Log index",
      "examples": [
        10
      ]
    },
    "removed": {
      "type": "boolean",
      "description": "Indicates if the log was removed",
      "examples": [
        false
      ]
    }
  },
  "required": [
    "address",
    "topic0",
    "data",
    "transactionIndex",
    "logIndex",
    "removed"
  ]
}