{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ioswarm-io/json-schema/ioswarm-io-crypto-terms-schema.json",
  "title": "CryptoTerms",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ioswarm-io-openapi.json#/components/schemas/CryptoTerms",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "network": {
      "type": "string"
    },
    "chain_id": {
      "type": "integer"
    },
    "asset": {
      "type": "string"
    },
    "contract": {
      "type": "string"
    },
    "pay_to": {
      "type": "string",
      "description": "The receiving address — present only when enabled."
    },
    "min_usd": {
      "type": "number"
    },
    "credits_per_usd": {
      "type": "number"
    },
    "how": {
      "type": "string"
    }
  }
}