am.noz.at.spl.settlement

An immutable record of money paid between two ledger members, optionally filed in a group.

Repository @noz.am did:plc:lmkzmvv6sdxntwtyxpg7fqqq namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityspl.at.noz.am
Indexed
cid bafyreicbasq5hzq3fdlyjdmmb5b3d4fqimxvxneg6sncfdy42pxkrcma24

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An immutable record of money paid between two ledger members, optionally filed in a group.",
      "key": "tid",
      "record": {
        "properties": {
          "amountMinor": {
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "currency": {
            "maxLength": 3,
            "minLength": 3,
            "type": "string"
          },
          "fromDid": {
            "format": "did",
            "type": "string"
          },
          "groupId": {
            "description": "Optional organizational group or trip within the ledger Space.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "minorUnit": {
            "maximum": 4,
            "minimum": 0,
            "type": "integer"
          },
          "note": {
            "maxGraphemes": 300,
            "maxLength": 2000,
            "type": "string"
          },
          "occurredAt": {
            "format": "datetime",
            "type": "string"
          },
          "paymentReference": {
            "description": "Optional opaque reference from a payment integration; never store credentials or secrets.",
            "maxLength": 500,
            "type": "string"
          },
          "schemaVersion": {
            "const": 1,
            "type": "integer"
          },
          "settlementId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "toDid": {
            "format": "did",
            "type": "string"
          },
          "voided": {
            "type": "boolean"
          }
        },
        "required": [
          "schemaVersion",
          "settlementId",
          "fromDid",
          "toDid",
          "currency",
          "minorUnit",
          "amountMinor",
          "occurredAt",
          "createdAt",
          "voided"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "am.noz.at.spl.settlement",
  "lexicon": 1
}