{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-vault-deposit-confirm-body-schema.json",
  "title": "VaultDepositConfirmBody",
  "description": "Indexer/operator confirms vault deposit → L0 share credit.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agentnet-api-openapi.yml#/components/schemas/VaultDepositConfirmBody",
  "properties": {
    "user_id": {
      "type": "integer",
      "minimum": 1.0,
      "title": "User Id"
    },
    "shares_atomic": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "title": "Shares Atomic"
    },
    "underlying_usdt_atomic": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "title": "Underlying Usdt Atomic"
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 8,
      "title": "Idempotency Key"
    },
    "bridge_intent_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Bridge Intent Id"
    },
    "tx_hash": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Tx Hash"
    }
  },
  "type": "object",
  "required": [
    "user_id",
    "shares_atomic",
    "underlying_usdt_atomic",
    "idempotency_key"
  ]
}