{"lexicon":1,"id":"network.attested.payment.oneTime","defs":{"main":{"type":"record","key":"tid","record":{"type":"object","required":["subject","amount","currency","txnid","createdAt"],"properties":{"subject":{"type":"string","format":"did"},"amount":{"type":"integer","minimum":1,"description":"Payment amount in smallest currency unit (e.g. cents)."},"currency":{"type":"string","maxLength":3,"minLength":3,"description":"ISO 4217 currency code (e.g. USD, EUR)."},"txnid":{"type":"string","maxLength":64,"description":"Unique transaction identifier for deduplication. Typically a ULID or UUID assigned by the payment broker."},"memo":{"type":"string","maxLength":1024,"maxGraphemes":256,"description":"Optional note from the supporter."},"createdAt":{"type":"string","format":"datetime"},"entitlements":{"type":"array","items":{"type":"ref","ref":"com.atproto.repo.strongRef"},"description":"Optional list of strongRefs to records representing goods/services the payer is entitled to as a result of this payment."},"signatures":{"type":"array","items":{"type":"ref","ref":"com.atproto.repo.strongRef"},"description":"Attestation entries. Each entry is a com.atproto.repo.strongRef pointing to a network.attested.payment.proof record in a creator or broker repository."}}}}}}