{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitnob/json-schema/bitnob-signature-response-schema.json",
  "title": "SignatureResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/bitnob-swagger-openapi.yml#/components/schemas/SignatureResponse",
  "properties": {
    "activity_id": {
      "description": "Identifier of the underlying signing activity",
      "type": "string"
    },
    "address": {
      "description": "On-chain address whose key produced the signature",
      "type": "string"
    },
    "address_id": {
      "description": "Identifier of the address whose key produced the signature",
      "type": "string"
    },
    "algorithm": {
      "description": "Signing algorithm (e.g. ecdsa)",
      "type": "string"
    },
    "chain": {
      "description": "Blockchain associated with the signing key",
      "type": "string"
    },
    "curve": {
      "description": "Elliptic curve used (e.g. secp256k1, ed25519)",
      "type": "string"
    },
    "hash_function": {
      "description": "Hash function applied before signing",
      "type": "string"
    },
    "network": {
      "description": "Network associated with the signing key",
      "type": "string"
    },
    "object": {
      "description": "Object type, always \"signature\"",
      "type": "string"
    },
    "payload": {
      "description": "Payload that was signed",
      "type": "string"
    },
    "payload_encoding": {
      "description": "Encoding of the payload",
      "type": "string"
    },
    "r": {
      "description": "ECDSA signature r component",
      "type": "string"
    },
    "recovery_id": {
      "description": "Public-key recovery identifier",
      "type": "integer"
    },
    "s": {
      "description": "ECDSA signature s component",
      "type": "string"
    },
    "signature": {
      "description": "The produced signature",
      "type": "string"
    },
    "signature_encoding": {
      "description": "Encoding of the signature",
      "type": "string"
    },
    "signature_format": {
      "description": "Format of the signature (e.g. secp256k1_recoverable_65)",
      "type": "string"
    },
    "signed_at": {
      "description": "ISO-8601 timestamp when the payload was signed",
      "format": "date-time",
      "type": "string"
    },
    "signed_payload": {
      "description": "The payload as signed (after any hashing)",
      "type": "string"
    },
    "signed_payload_encoding": {
      "description": "Encoding of the signed payload",
      "type": "string"
    },
    "v": {
      "description": "ECDSA signature v (recovery) parameter",
      "type": "integer"
    },
    "wallet_id": {
      "description": "Identifier of the wallet whose key produced the signature",
      "type": "string"
    }
  },
  "type": "object"
}