com.atiproto.item

atiproto.com

{
  "id": "com.atiproto.item",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "amount",
          "currency",
          "status",
          "createdAt"
        ],
        "properties": {
          "amount": {
            "type": "integer",
            "minimum": 0,
            "description": "Tip amount in cents (0 when recipient allows zero items)"
          },
          "status": {
            "enum": [
              "pending",
              "authorized",
              "completed",
              "failed",
              "refunded"
            ],
            "type": "string",
            "maxLength": 64,
            "description": "Tip status"
          },
          "message": {
            "type": "string",
            "maxLength": 5000,
            "description": "Optional message (max 500 chars)",
            "maxGraphemes": 500
          },
          "subject": {
            "type": "string",
            "format": "did",
            "description": "DID of the user receiving the item"
          },
          "currency": {
            "type": "string",
            "maxLength": 3,
            "description": "ISO 4217 currency code"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Creation timestamp"
          },
          "recordUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of specific record being tipped"
          },
          "completedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Completion timestamp"
          }
        }
      },
      "description": "A record representing a item given by one user to another"
    },
    "view": {
      "type": "object",
      "required": [
        "uri",
        "amount",
        "currency",
        "status",
        "createdAt"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the item record"
        },
        "amount": {
          "type": "integer",
          "minimum": 0,
          "description": "Tip amount in cents (0 when recipient allows zero items)"
        },
        "status": {
          "enum": [
            "pending",
            "authorized",
            "completed",
            "failed",
            "refunded"
          ],
          "type": "string",
          "maxLength": 64,
          "description": "Tip status"
        },
        "message": {
          "type": "string",
          "maxLength": 5000,
          "description": "Optional message (max 500 chars)",
          "maxGraphemes": 500
        },
        "subject": {
          "type": "string",
          "format": "did",
          "description": "DID of the user receiving the item"
        },
        "currency": {
          "type": "string",
          "maxLength": 3,
          "description": "ISO 4217 currency code"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "Creation timestamp"
        },
        "recordUri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of specific record being tipped"
        },
        "completedAt": {
          "type": "string",
          "format": "datetime",
          "description": "Completion timestamp"
        }
      },
      "description": "View of a item record for use in API responses"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.atiproto.item

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4x5dcv6u4wlkjcssto7f22nu
CID
bafyreiclrf5baycy4iy2nsxzx5gvcbjnfhwoojg6bsbvnuyyfwj6rkpnsq
Indexed At
2026-04-29 14:50 UTC
AT-URI
at://did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atproto.lexicon.schema/com.atiproto.item

Lexicon Garden

@