Skip to content

IEO — Institutional Entity Object

Version 0.2 | Ambrósio Institute


Overview

The Institutional Entity Object (IEO) represents any organization, system, or professional that interacts with biological data on behalf of, or with the consent of, a BEO holder.

Every institution in the BSP ecosystem — from a national hospital chain to a wearable device manufacturer to an independent physician — is represented as an IEO.

Creating an IEO is open to any institution. BSP Certification is voluntary — but unlocks meaningful benefits within the ecosystem.


IEO Object Schema

typescript
IEO {
  // ─── IDENTITY ──────────────────────────────────────────────────
  ieo_id:       string     // Universally unique institutional identifier
  domain:       string     // .bsp address — e.g. "fleury.bsp"
  display_name: string     // Full legal name of the institution
  ieo_type:     IEOType    // LABORATORY | HOSPITAL | WEARABLE | PHYSICIAN |
                           // INSURER | RESEARCH | PLATFORM
  country:      ISO3166    // Country of primary operation
  jurisdiction: string     // Regulatory jurisdiction
  legal_id:     string     // CNPJ (BR) / EIN (US) / VAT (EU) etc.
  public_key:   string     // Institutional public key for signed submissions
  created_at:   ISO8601    // IEO registration timestamp
  version:      semver     // BSP version at time of creation

  // ─── CERTIFICATION ─────────────────────────────────────────────
  certification: {
    level:        CertLevel    // BASIC | ADVANCED | FULL | RESEARCH
    granted_at:   ISO8601
    expires_at:   ISO8601      // Annual renewal
    categories:   string[]     // Authorized BSP categories (e.g. ["BSP-LA", "BSP-HM"])
    intents:      BSPIntent[]  // Authorized exchange intents
    restrictions: string[]     // Explicit prohibitions if any
    certified_by: string       // Institute auditor reference
    audit_ref:    string       // Audit transaction ID on Arweave
  }

  // ─── OPERATIONAL RECORD ────────────────────────────────────────
  operations: {
    biorecords_submitted: number   // Total BioRecords submitted to date
    last_submission:      ISO8601
    compliance_rate:      float    // Schema compliance rate (0.0–1.0)
    active_consents:      number   // Current open consent tokens
    complaints:           number
    audits:               Audit[]
  }

  // ─── CONTACTS ──────────────────────────────────────────────────
  contacts: {
    technical_lead:   ContactRef
    compliance_lead:  ContactRef
    api_endpoint:     string     // Primary BSP API endpoint URL
    webhook_url:      string     // Notification webhook (optional)
  }

  // ─── STATUS ────────────────────────────────────────────────────
  status:             IEOStatus  // ACTIVE | SUSPENDED | REVOKED | PENDING
  suspension_reason:  string | null
  revocation_reason:  string | null
}

IEO Types

LAB — Clinical & Diagnostic Laboratory (IEOType.LABORATORY)

Clinical and diagnostic laboratories — the primary source of BioRecords in the BSP ecosystem.

PropertyRule
Default authorized levelsL2 Standard
Advanced authorized levelsL1 Core, L3 Extended on certification
Can READ BEOsNever — submission is write-only
Domain formatinstitutionname.bsp (e.g. fleury.bsp)
RenewalAnnual compliance audit

HSP — Hospital & Health System (IEOType.HOSPITAL)

Hospitals and health systems. Authorized across multiple taxonomy levels simultaneously. May credential physicians as sub-IEOs.

PropertyRule
Default authorized levelsL1 Core + L2 Standard
Advanced authorized levelsL3 Extended, L4 Device on certification
Can READ BEOsWith active consent token, time-limited
Physician sub-IEOsdr.silva@hcor.bsp format

WRB — Wearable & Device (IEOType.WEARABLE)

Hardware and software companies producing wearable devices and continuous monitoring systems.

PropertyRule
Authorized levelsL4 Device (BSP-DV) exclusively
Submission frequencyDaily consolidated records per user
Can READ BEOsNever — permanent restriction, cannot be overridden by user consent
SDK requirementMust use official BSP Device SDK

Critical: Wearable IEOs are the only IEO type that may never be granted READ_RECORDS access under any circumstances.

PHY — Physician & Practitioner (IEOType.PHYSICIAN)

Licensed physicians and health practitioners. Unique in that READ_RECORDS is their primary function.

PropertyRule
Primary functionREAD_RECORDS with consent token
Submission rightsClinical assessments only (BSP-CL)
Consent modelTime-limited and scope-limited tokens
Credential verificationMedical license number required at registration

INS — Health Insurer (IEOType.INSURER)

Health insurance companies. Operate under the most restrictive access model.

PropertyRule
Read accessAggregate anonymized data only
Individual accessOnly with explicit ongoing consent, never automatic
PROHIBITEDCannot use BSP data for underwriting, coverage denial, or premium calculation based on individual biological risk

This restriction is encoded in the IEO contract and enforced at the smart contract level.

RES — Research Institution (IEOType.RESEARCH)

Universities, research centers, and clinical trial organizations.

PropertyRule
Data accessAnonymized aggregate with explicit opt-in
Individual identificationStructurally impossible — BEO references stripped
Commercial restrictionCannot commercialize raw BSP data access

PLT — Digital Health Platform & AI System (IEOType.PLATFORM)

Digital health platforms, telemedicine services, and AI systems. This is the category for AVA/SVA implementations.

PropertyRule
Primary functionANALYZE_VITALITY and REQUEST_SCORE intents
Read accessWith persistent user consent — refreshable
Write accessCannot — platforms interpret, not measure

Certification Levels

LevelRequirementsWhat it unlocks
BSP-Compliant BasicL2 Standard biomarkers onlyDiretory listing, basic badge
BSP-Compliant AdvancedL1 Core + L2 StandardAVA data feed, advanced badge
BSP-Compliant Full-SpectrumAll levelsFull ecosystem integration
BSP Research PartnerResearch IEO with BIP contributionAnonymized research data access

Certification is voluntary. Any institution can participate in the BSP ecosystem without certification — but certified institutions:

  • Appear in the official directory
  • Display a verifiable on-chain badge
  • Have their data feed into AVA analysis
  • Are recommended by the Ambrósio OS

Non-certified institutions can operate but the Ambrósio app displays a "unverified source" notice.


Exchange Intents

Each IEO type is authorized for specific exchange intents:

IntentDescriptionAuthorized IEO Types
SUBMIT_RECORDSubmit biological measurements to a BEOLAB, HSP, WRB, PHY
READ_RECORDSRead BioRecords from a BEOPHY, PLT, INS (aggregate only)
REQUEST_CERTIFICATIONApply for BSP certificationAll types
ANALYZE_VITALITYSubmit BioRecords for AVA analysisPLT
REQUEST_SCORERequest SVA score generationPLT
SUBMIT_BIPSubmit a BSP Improvement ProposalAll types

Sovereignty Operations

IEOs support the same data sovereignty operations available to BEO holders, adapted for institutional context:

Lock / Unlock

An IEO can be temporarily locked, freezing all operations. While locked, no data can be submitted or read through this institution. The lock is reversible by the institution's key holder.

Key Rotation

Institutions can rotate their Ed25519 key pair at any time. Upon rotation, the previous public key is invalidated and a new key_version is incremented. All active consent tokens referencing the old key are re-validated against the new key.

Cryptographic Erasure

An IEO can be permanently destroyed through cryptographic erasure. This revokes all active consent tokens, invalidates the institutional key, and renders all submitted data irrecoverable. This operation is irreversible.

Social Recovery

Institutions can configure 2-of-3 guardian recovery using Shamir Secret Sharing, similar to BEO social recovery. If the institution loses access to its key, 2 of 3 designated guardians can authorize key replacement.


Ambrósio Institute · ambrosioinstitute.org · biologicalsovereigntyprotocol.com