{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/averray-com/json-schema/averray-com-siwe-nonce-request-schema.json",
  "title": "SiweNonceRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/averray-com-auth-api-openapi.yml#/components/schemas/SiweNonceRequest",
  "type": "object",
  "required": [
    "wallet"
  ],
  "properties": {
    "wallet": {
      "$ref": "#/$defs/WalletSignInIdentity"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "WalletSignInIdentity": {
      "description": "An EVM H160 address or a native SS58 AccountId32 (checksum and identity type are validated by the server). Native subjects preserve case and earning requires a verified revive mapping.",
      "oneOf": [
        {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        {
          "type": "string",
          "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
          "description": "Valid SS58-encoded AccountId32."
        }
      ]
    }
  }
}