{"lexicon":1,"id":"money.atmosphere.catalog.getProduct","defs":{"catalogPrice":{"type":"object","required":["uri","cid","currency","unitAmount","type","archived"],"nullable":["customUnitAmount","recurring"],"properties":{"uri":{"type":"string","format":"at-uri"},"cid":{"type":"string","format":"cid"},"currency":{"type":"string","minLength":3,"maxLength":3},"unitAmount":{"type":"integer","minimum":1},"customUnitAmount":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"},"preset":{"type":"integer","minimum":1},"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1}}},"type":{"type":"string","knownValues":["one-time","recurring"],"maxLength":16},"recurring":{"type":"object","required":["interval","intervalCount"],"properties":{"interval":{"type":"string","knownValues":["day","week","month","year"],"maxLength":16},"intervalCount":{"type":"integer","minimum":1,"maximum":36}}},"archived":{"type":"boolean"},"createdAt":{"type":"string","format":"datetime"}}},"catalogProduct":{"type":"object","required":["uri","cid","title","kind","archived","indexedAt"],"nullable":["defaultPrice","variantOf"],"properties":{"uri":{"type":"string","format":"at-uri"},"cid":{"type":"string","format":"cid"},"title":{"type":"string","minLength":1,"maxGraphemes":100,"maxLength":1000},"sku":{"type":"string","maxLength":64},"defaultPrice":{"type":"ref","ref":"#catalogPrice"},"kind":{"type":"string","knownValues":["physical","digital","commission","service","ticket","other"],"maxLength":32},"description":{"type":"string","maxGraphemes":1000,"maxLength":10000},"imageUrl":{"type":"string","format":"uri"},"variantOf":{"type":"ref","ref":"com.atproto.repo.strongRef"},"archived":{"type":"boolean"},"archivedAt":{"type":"string","format":"datetime"},"createdAt":{"type":"string","format":"datetime"},"indexedAt":{"type":"integer"},"salesCount":{"type":"integer","minimum":0}}},"main":{"type":"query","description":"Return one indexed ATM catalog product by AT-URI, or null if the AppView has not indexed it.","parameters":{"type":"params","required":["uri"],"properties":{"uri":{"type":"string","format":"at-uri"}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["product"],"nullable":["product"],"properties":{"product":{"type":"ref","ref":"#catalogProduct"}}}}}}}