{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stabledrop-me/json-schema/stabledrop-me-escrow-address-body-schema.json",
  "title": "EscrowAddressBody",
  "description": "The terms of a payment contract that may not exist yet. Every field is in the factory's salt.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stabledrop-me-openapi.json#/components/schemas/EscrowAddressBody",
  "properties": {
    "factory": {
      "type": "string",
      "title": "Factory",
      "description": "The factory to ask: the one the quote is made against"
    },
    "token_address": {
      "type": "string",
      "title": "Token Address"
    },
    "buyer": {
      "type": "string",
      "title": "Buyer",
      "description": "The nominal buyer's wallet"
    },
    "seller": {
      "type": "string",
      "title": "Seller",
      "description": "The seller's wallet"
    },
    "amount": {
      "type": "integer",
      "title": "Amount",
      "description": "Token base units"
    },
    "expiry_timestamp": {
      "type": "integer",
      "title": "Expiry Timestamp",
      "description": "Unix seconds; 0 for an instant transfer"
    },
    "arbiter": {
      "type": "string",
      "title": "Arbiter",
      "description": "The arbiter's wallet"
    },
    "contractservice_id": {
      "type": "string",
      "title": "Contractservice Id",
      "description": "What seeds the address (the external id)"
    }
  },
  "type": "object",
  "required": [
    "factory",
    "token_address",
    "buyer",
    "seller",
    "amount",
    "expiry_timestamp",
    "arbiter",
    "contractservice_id"
  ]
}