{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.monocrawl.com/schemas/cohorts/get.json","title":"cohorts/get data fields","description":"Required core structure for successful data, with optional source fields. Additional fields are allowed. This is not a completeness guarantee.","type":"object","properties":{"id":{"type":["string","null"],"description":"id"},"name":{"type":["string","null"],"description":"name"},"created_at":{"type":["string","null"],"description":"created at"},"member_count":{"type":["number","null"],"description":"member count"},"sweepable_count":{"type":["number","null"],"description":"sweepable count"},"members":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"platform":{"type":["string","null"],"description":"platform"},"identifier":{"type":["string","null"],"description":"identifier"},"label":{"type":["string","null"],"description":"label"}},"additionalProperties":true}},"replaced":{"type":["boolean","null"]}},"additionalProperties":true,"allOf":[{"anyOf":[{"required":["id"],"properties":{"id":{"type":["string"],"description":"id","minLength":1}}},{"required":["name"],"properties":{"name":{"type":["string"],"description":"name","minLength":1}}},{"required":["created_at"],"properties":{"created_at":{"type":["string"],"description":"created at","minLength":1}}},{"required":["member_count"],"properties":{"member_count":{"type":["number"],"description":"member count"}}},{"required":["sweepable_count"],"properties":{"sweepable_count":{"type":["number"],"description":"sweepable count"}}},{"required":["members"],"properties":{"members":{"type":["array"],"items":{"type":["object","null"],"properties":{"platform":{"type":["string","null"],"description":"platform"},"identifier":{"type":["string","null"],"description":"identifier"},"label":{"type":["string","null"],"description":"label"}},"additionalProperties":true}}}},{"required":["replaced"],"properties":{"replaced":{"type":["boolean"]}}}]}],"x-contract-version":"2026-09-22","x-validation-scope":"Required success payload structure; optional fields and source completeness remain separate.","examples":[{"id":null,"name":null,"created_at":null,"member_count":0,"sweepable_count":0,"members":[],"replaced":false}]}