{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coudrebros-eu/json-schema/coudrebros-eu-register-request-schema.json",
  "title": "RegisterRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coudrebros-eu-auth-api-openapi.yml#/components/schemas/RegisterRequest",
  "properties": {
    "from_address": {
      "type": "string",
      "pattern": "^addr1[a-z0-9]+$",
      "title": "From Address",
      "description": "Cardano address that sent the registration fee, and that the new API key will be bound to. Must be a mainnet address (starts with 'addr1')."
    },
    "registration_tx": {
      "type": "string",
      "title": "Registration Tx",
      "description": "Transaction hash of the registration fee payment (currently 3 ADA) sent from from_address to the operator's payment address -- see GET /info for the exact address. Must already be confirmed on-chain (check GET /payment/status, or simply wait ~20-30s and retry /register, before retrying rapidly)."
    }
  },
  "type": "object",
  "required": [
    "from_address",
    "registration_tx"
  ]
}