{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/L1ValidatorDetailsTransaction.json",
  "title": "L1ValidatorDetailsTransaction",
  "type": "object",
  "properties": {
    "validationId": {
      "type": "string",
      "description": "Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed."
    },
    "validationIdHex": {
      "type": "string",
      "description": "Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format"
    },
    "nodeId": {
      "type": "string"
    },
    "subnetId": {
      "type": "string"
    },
    "weight": {
      "type": "number",
      "description": "Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid"
    },
    "remainingBalance": {
      "type": "number",
      "description": "Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx"
    },
    "balanceChange": {
      "type": "number",
      "description": "The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative"
    },
    "blsCredentials": {
      "type": "object"
    }
  },
  "required": [
    "validationId",
    "validationIdHex",
    "nodeId",
    "subnetId",
    "weight",
    "remainingBalance"
  ]
}