Module Cephalopod_models.App_Bsky_Graph_Verification

lexicon "app.bsky.graph.verification"

def main

type main = {
  1. subject : string;
    (*

    DID of the subject the verification applies to. format: "Did"

    *)
  2. handle : string;
    (*

    Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying. format: "Handle"

    *)
  3. displayName : string;
    (*

    Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.

    *)
  4. createdAt : string;
    (*

    Date of when the verification was created. format: "Datetime"

    *)
}

Record declaring a verification relationship between two accounts. Verifications are only considered valid by an app if issued by an account the app considers trusted.

val make_main : subject:string -> handle:string -> displayName:string -> createdAt:string -> main
val main_to_value : main -> Cephalopod_dasl.Value.t