{"$type":"com.atproto.lexicon.schema","defs":{"main":{"key":"tid","record":{"description":"A proposed moderation action (e.g. adding a label or annotation to a post). Refers to some other resource via URI (e.g. an atproto post). Superset of 'com.atproto.proposal.defs#label.","properties":{"aid":{"description":"The persistent, anonymous identifier for the user creating the proposal.","type":"string"},"cid":{"description":"Optionally, CID specifying the specific version of 'uri' resource this proposal applies to.","format":"cid","type":"string"},"cts":{"description":"Timestamp when this proposal was created.","format":"datetime","type":"string"},"note":{"description":"For 'label' proposals where 'val' is 'needs-context', the full text of any proposed annotation (e.g. community note) to be shown below the post.","type":"string"},"reasons":{"description":"An optional array of predefined reasons justifying the moderation action.","items":{"type":"string"},"type":"array"},"sig":{"description":"Signature of dag-cbor encoded proposal.","type":"bytes"},"src":{"description":"DID of the actor who created this proposal.","format":"did","type":"string"},"typ":{"description":"The type of moderation action being proposed. Currently expected values are 'allowed_user' or 'label'","type":"string"},"uri":{"description":"AT URI of the record, repository (account), or other resource that this proposal applies to.","format":"uri","type":"string"},"val":{"description":"For 'label' proposals, the short string name of the value of the proposed label.","maxLength":128,"type":"string"},"ver":{"description":"The AT Protocol version of the proposal object.","type":"integer"}},"required":["typ","src","uri","val","cts"],"type":"object"},"type":"record"}},"id":"social.pmsky.proposal","lexicon":1}