{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.monocrawl.com/schemas/cohort-queries/get.json","title":"cohort-queries/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"},"cohort_id":{"type":["string","null"],"description":"cohort id"},"keyword":{"type":["string","null"],"description":"keyword"},"status":{"type":["string","null"],"description":"status"},"job_id":{"type":["string","null"],"description":"job id"},"error":{"type":["string","null"],"description":"error"},"created_at":{"type":["string","null"],"description":"created at"},"completed_at":{"type":["string","null"],"description":"completed at"},"counts":{"type":["object","null"],"properties":{},"additionalProperties":true},"per_member":{"type":["array","null"],"items":{"type":["object","null"],"properties":{},"additionalProperties":true}},"matches":{"type":["array","null"],"items":{"type":["object","null"],"properties":{},"additionalProperties":true}}},"additionalProperties":true,"allOf":[{"anyOf":[{"required":["id"],"properties":{"id":{"type":["string"],"description":"id","minLength":1}}},{"required":["cohort_id"],"properties":{"cohort_id":{"type":["string"],"description":"cohort id","minLength":1}}},{"required":["job_id"],"properties":{"job_id":{"type":["string"],"description":"job id","minLength":1}}},{"required":["error"],"properties":{"error":{"type":["string"],"description":"error","minLength":1}}},{"required":["created_at"],"properties":{"created_at":{"type":["string"],"description":"created at","minLength":1}}},{"required":["completed_at"],"properties":{"completed_at":{"type":["string"],"description":"completed at","minLength":1}}},{"required":["counts"],"properties":{"counts":{"type":["object"],"properties":{},"additionalProperties":true}}},{"required":["per_member"],"properties":{"per_member":{"type":["array"],"items":{"type":["object","null"],"properties":{},"additionalProperties":true}}}},{"required":["matches"],"properties":{"matches":{"type":["array"],"items":{"type":["object","null"],"properties":{},"additionalProperties":true}}}}]}],"x-contract-version":"2026-09-22","x-validation-scope":"Required success payload structure; optional fields and source completeness remain separate.","examples":[{"id":null,"cohort_id":null,"keyword":null,"status":null,"job_id":null,"error":null,"created_at":null,"completed_at":null,"counts":{},"per_member":[],"matches":[]}]}