com.suibari.atsumeat.transaction

suibari.com

Documentation

Definition of a transaction

main record

Definition of a transaction

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

isEasyExchange boolean Optional

Flag to indicate if this is an Easy Exchange (random partner).

message string Optional

Optional message attached to the exchange offer or completion.

maxLength: 6400 bytesmaxGraphemes: 640 graphemes
partner string did Optional

The DID of the exchange partner.

refPartner string uri Optional

URI of the partner's profile, used for Constellation backlinking during the offer stage.

refTransaction string uri Optional

URI of the referencing transaction (e.g., the original Offer) when completing or rejecting.

status string Required

The current status of the transaction.

maxLength: 64 bytes
Known values: offered, completed, rejected
stickerIn array of string uri Optional

URIs of the stickers received in this exchange (if completed).

stickerOut array of string uri Optional

URIs of the stickers given in this exchange.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "status",
      "createdAt"
    ],
    "properties": {
      "status": {
        "type": "string",
        "maxLength": 64,
        "description": "The current status of the transaction.",
        "knownValues": [
          "offered",
          "completed",
          "rejected"
        ]
      },
      "message": {
        "type": "string",
        "maxLength": 6400,
        "description": "Optional message attached to the exchange offer or completion.",
        "maxGraphemes": 640
      },
      "partner": {
        "type": "string",
        "format": "did",
        "description": "The DID of the exchange partner."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "stickerIn": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "uri"
        },
        "description": "URIs of the stickers received in this exchange (if completed)."
      },
      "refPartner": {
        "type": "string",
        "format": "uri",
        "description": "URI of the partner's profile, used for Constellation backlinking during the offer stage."
      },
      "stickerOut": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "uri"
        },
        "description": "URIs of the stickers given in this exchange."
      },
      "isEasyExchange": {
        "type": "boolean",
        "description": "Flag to indicate if this is an Easy Exchange (random partner)."
      },
      "refTransaction": {
        "type": "string",
        "format": "uri",
        "description": "URI of the referencing transaction (e.g., the original Offer) when completing or rejecting."
      }
    }
  },
  "description": "Definition of a transaction"
}

Lexicon Garden

@