this repo has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package tangled 4 5// schema: sh.tangled.knot.policy 6 7import ( 8 "github.com/bluesky-social/indigo/lex/util" 9) 10 11const ( 12 KnotPolicyNSID = "sh.tangled.knot.policy" 13) 14 15func init() { 16 util.RegisterType("sh.tangled.knot.policy", &KnotPolicy{}) 17} // 18// RECORDTYPE: KnotPolicy 19type KnotPolicy struct { 20 LexiconTypeID string `json:"$type,const=sh.tangled.knot.policy" cborgen:"$type,const=sh.tangled.knot.policy"` 21 // action: action associated with the key 22 Action string `json:"action" cborgen:"action"` 23 // domain: domain of the key 24 Domain string `json:"domain" cborgen:"domain"` 25 // object: object associated with the key 26 Object string `json:"object" cborgen:"object"` 27 // subject: subject of the key 28 Subject string `json:"subject" cborgen:"subject"` 29}