{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schema_version":{"type":"string","const":"1.0"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"slug":{"type":"string","maxLength":160,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":1,"maxLength":160},"context":{"type":"string","maxLength":4000},"subject":{"type":"string","enum":["Mathematics","Engineering","Computer science","Physics and aerospace","Economics and finance","Philosophy","Other"]},"tags":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"reasoning_approaches":{"maxItems":7,"type":"array","items":{"type":"string","enum":["Testing assumptions","Comparing alternatives","Building a model","Connecting ideas","Revising a belief","Tracing a mechanism","Seeking evidence"]}},"purpose":{"type":"string","enum":["Understand","Solve","Decide","Investigate"]},"contributor_display_name":{"type":"string","minLength":1,"maxLength":80},"ai_provider":{"type":"string","minLength":1,"maxLength":80},"ai_model":{"type":"string","minLength":1,"maxLength":100},"language":{"type":"string","minLength":1,"maxLength":80},"conversation_date":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"messages":{"minItems":1,"maxItems":400,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9-]{1,80}$"},"role":{"type":"string","enum":["human","assistant"]},"text":{"type":"string","minLength":1,"maxLength":100000}},"required":["id","role","text"],"additionalProperties":false}},"annotations":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"message_id":{"type":"string","maxLength":80},"text":{"type":"string","minLength":1,"maxLength":2000}},"required":["message_id","text"],"additionalProperties":false}},"reflection":{"type":"string","maxLength":6000},"unresolved_questions":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}},"source_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"verification_status":{"type":"string","enum":["Not checked","Partly checked by contributor","Checked by contributor"]},"editing_disclosure":{"type":"string","maxLength":4000},"provenance_type":{"type":"string","enum":["contributor_selected","illustrative"]},"is_illustrative":{"type":"boolean"}},"required":["schema_version","id","slug","title","context","subject","tags","reasoning_approaches","purpose","contributor_display_name","ai_provider","ai_model","language","conversation_date","published_at","messages","annotations","reflection","unresolved_questions","source_url","verification_status","editing_disclosure","provenance_type","is_illustrative"],"additionalProperties":false}