Module Cephalopod_models.App_Bsky_Labeler_Service

lexicon "app.bsky.labeler.service"

def main

type main = {
  1. policies : Types.app_bsky_labeler_defs_labelerpolicies;
  2. labels : [ `Com_atproto_label_defs_selflabels of Types.com_atproto_label_defs_selflabels | `Other of Cephalopod_dasl.Value.t ] option;
  3. createdAt : string;
    (*

    format: "Datetime"

    *)
  4. reasonTypes : Types.com_atproto_moderation_defs_reasontype list option;
    (*

    The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.

    *)
  5. subjectTypes : Types.com_atproto_moderation_defs_subjecttype list option;
    (*

    The set of subject types (account, record, etc) this service accepts reports on.

    *)
  6. subjectCollections : string list option;
    (*

    Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.

    *)
}

A declaration of the existence of labeler service.

val make_main : policies:Types.app_bsky_labeler_defs_labelerpolicies -> ?labels: [ `Com_atproto_label_defs_selflabels of Types.com_atproto_label_defs_selflabels | `Other of Cephalopod_dasl.Value.t ] -> createdAt:string -> ?reasonTypes:Types.com_atproto_moderation_defs_reasontype list -> ?subjectTypes:Types.com_atproto_moderation_defs_subjecttype list -> ?subjectCollections:string list -> unit -> main
val main_to_value : main -> Cephalopod_dasl.Value.t