{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The dictionary of LibreSky verification payments.",
      "key": "literal:self",
      "record": {
        "properties": {
          "payments": {
            "description": "Keyed by PayPal order id. The did is the signed-in account. Status is pending, completed, cancelled, or refunded. A refund does not remove the check.",
            "type": "object"
          },
          "products": {
            "description": "PayPal catalog ids for Basic verification and Supporter.",
            "type": "object"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "webhookId": {
            "type": "string"
          }
        },
        "required": [
          "payments"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "LibreSky verification payments. One record, rkey self. Each payment is a PayPal order for the account that was signed in. Basic verification is level 1. Supporter is level 5. A payment is not a gift, and the check does not expire.",
  "id": "app.libresky.server.payments",
  "lexicon": 1
}
