Infrastructure · Data Structures

Resource

Finite allocatable entity

Definition

Mechanism

A finite, identifiable entity that can be allocated, consumed, or locked. Resources are individuated, may be renewable or exhaustible, and are subject to contention when demand exceeds supply. Forms the basis for Budget allocation and mutex coordination.

Invariants

  1. Conservation: Resources cannot be created from nothing within a closed system
  2. Identity: Each resource instance has a unique handle

Risks

Failure modes

None stated.

Relationships

Builds on

References

Budget

Resource allocation limit

Used by

References

Mutex

Ownership-based mutual exclusion

Shard

Deterministic partitioning of state

Society

UniqueHandle

Single current authority over a transferable resource reference

Reference

Data schema

{
  "type": "object",
  "required": [
    "resource_id",
    "type",
    "owner_id"
  ],
  "properties": {
    "resource_id": {
      "type": "string",
      "description": "Unique asset ID"
    },
    "type": {
      "type": "string",
      "enum": [
        "Compute",
        "Storage",
        "Bandwidth",
        "Token"
      ]
    },
    "quantity": {
      "type": "number"
    },
    "unit": {
      "type": "string"
    },
    "owner_id": {
      "type": "string",
      "description": "Current holder/owner"
    },
    "lock_state": {
      "type": "object",
      "properties": {
        "locked": {
          "type": "boolean"
        },
        "locked_until": {
          "type": "string",
          "format": "date-time"
        },
        "holder_id": {
          "type": "string"
        }
      }
    }
  }
}

Identity

Ref
Resource#0e5e
Sema ID
sema:Resource#mh:SHA-256:0e5e5e6735fa9ee49f7e623029d977e435625b8ad05b28f83f962683a0ebb19b
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Resource#mh:SHA-256:9bb2dd733e5900d441d35d2c6e74f69dc4e4afe536c12adbcfc5863f3ada2922
  • sema:Resource#mh:SHA-256:f18a2d66448ccb0cc712adcc06c5344a6f3c38ba927fd5d642d5e50dbfdca898