{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"MemCube v2","description":"Standardized memory entry format for AI agent memory governance","version":"2.0.0","type":"object","required":["id","content","type","timestamp_age_days","source_trust","source_conflict","downstream_count"],"properties":{"id":{"type":"string","description":"Unique identifier for the memory entry"},"content":{"type":"string","description":"Memory content text"},"type":{"type":"string","enum":["episodic","semantic","preference","tool_state","shared_workflow","policy","identity"],"description":"Memory type classification"},"timestamp_age_days":{"type":"number","minimum":0,"description":"Age of the memory in days"},"source_trust":{"type":"number","minimum":0,"maximum":1,"description":"Trust score of the source (0-1)"},"source_conflict":{"type":"number","minimum":0,"maximum":1,"description":"Dempster-Shafer conflict measure (0-1)"},"downstream_count":{"type":"integer","minimum":0,"description":"Number of downstream dependencies (blast radius)"},"goal_id":{"type":"string","description":"Optional: associated goal identifier"},"source":{"type":"string","description":"Optional: origin of memory (user_stated, api_response, etc.)"},"provenance":{"type":"object","description":"Optional: provenance metadata"},"gsv":{"type":"integer","description":"Optional: Global State Vector"},"context_tags":{"type":"array","items":{"type":"string"},"description":"Optional: semantic tags"},"geo_tag":{"type":"string","description":"Optional: geographic context"}}}