{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/luniumpay-com/json-schema/luniumpay-com-referral-attestation-schema.json",
  "title": "ReferralAttestation",
  "description": "Token assinado (JWS HS256) que PROVA quem indicou. Uso unico, com prazo. Sem ele o agente entra como raiz e ninguem recebe por ele.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/luniumpay-com-mesh-network-api-openapi.yml#/components/schemas/ReferralAttestation",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "referrer_agent_id": {
      "type": "string"
    },
    "referral_token": {
      "type": "string"
    },
    "capability": {
      "type": [
        "string",
        "null"
      ]
    },
    "nonce": {
      "type": "string"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "one_time_use": {
      "type": "boolean"
    }
  }
}