At

 view release on metacpan or  search on metacpan

share/lexicons/tools/ozone/moderation/defs.json  view on Meta::CPAN

          "maximum": 100
        },
        "muteUntil": {
          "type": "string",
          "format": "datetime"
        },
        "muteReportingUntil": {
          "type": "string",
          "format": "datetime"
        },
        "lastReviewedBy": {
          "type": "string",
          "format": "did"
        },
        "lastReviewedAt": {
          "type": "string",
          "format": "datetime"
        },
        "lastReportedAt": {
          "type": "string",
          "format": "datetime"
        },
        "lastAppealedAt": {
          "type": "string",
          "format": "datetime",
          "description": "Timestamp referencing when the author of the subject appealed a moderation action"
        },
        "takendown": {
          "type": "boolean"
        },
        "appealed": {
          "type": "boolean",
          "description": "True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators."
        },
        "suspendUntil": {
          "type": "string",
          "format": "datetime"
        },
        "tags": {
          "type": "array",
          "items": { "type": "string" }
        },
        "accountStats": {
          "description": "Statistics related to the account subject",
          "type": "ref",
          "ref": "#accountStats"
        },
        "recordsStats": {
          "description": "Statistics related to the record subjects authored by the subject's account",
          "type": "ref",
          "ref": "#recordsStats"
        },
        "accountStrike": {
          "description": "Strike information for the account (account-level only)",
          "type": "ref",
          "ref": "#accountStrike"
        },
        "ageAssuranceState": {
          "type": "string",
          "description": "Current age assurance state of the subject.",
          "knownValues": ["pending", "assured", "unknown", "reset", "blocked"]
        },
        "ageAssuranceUpdatedBy": {
          "type": "string",
          "description": "Whether or not the last successful update to age assurance was made by the user or admin.",
          "knownValues": ["admin", "user"]
        }
      }
    },
    "subjectView": {
      "description": "Detailed view of a subject. For record subjects, the author's repo and profile will be returned.",
      "type": "object",
      "required": ["type", "subject"],
      "properties": {
        "type": {
          "type": "ref",
          "ref": "com.atproto.moderation.defs#subjectType"
        },
        "subject": {
          "type": "string"
        },
        "status": {
          "type": "ref",
          "ref": "#subjectStatusView"
        },
        "repo": {
          "type": "ref",
          "ref": "#repoViewDetail"
        },
        "profile": {
          "type": "union",
          "refs": []
        },
        "record": {
          "type": "ref",
          "ref": "#recordViewDetail"
        }
      }
    },
    "accountStats": {
      "description": "Statistics about a particular account subject",
      "type": "object",
      "properties": {
        "reportCount": {
          "description": "Total number of reports on the account",
          "type": "integer"
        },
        "appealCount": {
          "description": "Total number of appeals against a moderation action on the account",
          "type": "integer"
        },
        "suspendCount": {
          "description": "Number of times the account was suspended",
          "type": "integer"
        },
        "escalateCount": {
          "description": "Number of times the account was escalated",
          "type": "integer"
        },
        "takedownCount": {
          "description": "Number of times the account was taken down",

share/lexicons/tools/ozone/moderation/defs.json  view on Meta::CPAN

        }
      }
    },
    "ageAssuranceEvent": {
      "type": "object",
      "description": "Age assurance info coming directly from users. Only works on DID subjects.",
      "required": ["createdAt", "status", "attemptId"],
      "properties": {
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "The date and time of this write operation."
        },
        "attemptId": {
          "type": "string",
          "description": "The unique identifier for this instance of the age assurance flow, in UUID format."
        },
        "status": {
          "type": "string",
          "description": "The status of the Age Assurance process.",
          "knownValues": ["unknown", "pending", "assured"]
        },
        "access": {
          "type": "ref",
          "ref": "app.bsky.ageassurance.defs#access"
        },
        "countryCode": {
          "type": "string",
          "description": "The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow."
        },
        "regionCode": {
          "type": "string",
          "description": "The ISO 3166-2 region code provided when beginning the Age Assurance flow."
        },
        "initIp": {
          "type": "string",
          "description": "The IP address used when initiating the AA flow."
        },
        "initUa": {
          "type": "string",
          "description": "The user agent used when initiating the AA flow."
        },
        "completeIp": {
          "type": "string",
          "description": "The IP address used when completing the AA flow."
        },
        "completeUa": {
          "type": "string",
          "description": "The user agent used when completing the AA flow."
        }
      }
    },
    "ageAssuranceOverrideEvent": {
      "type": "object",
      "description": "Age assurance status override by moderators. Only works on DID subjects.",
      "required": ["comment", "status"],
      "properties": {
        "status": {
          "type": "string",
          "description": "The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state.",
          "knownValues": ["assured", "reset", "blocked"]
        },
        "access": {
          "type": "ref",
          "ref": "app.bsky.ageassurance.defs#access"
        },
        "comment": {
          "type": "string",
          "minLength": 1,
          "description": "Comment describing the reason for the override."
        }
      }
    },
    "revokeAccountCredentialsEvent": {
      "type": "object",
      "description": "Account credentials revocation by moderators. Only works on DID subjects.",
      "required": ["comment"],
      "properties": {
        "comment": {
          "minLength": 1,
          "type": "string",
          "description": "Comment describing the reason for the revocation."
        }
      }
    },
    "modEventAcknowledge": {
      "type": "object",
      "properties": {
        "comment": { "type": "string" },
        "acknowledgeAccountSubjects": {
          "type": "boolean",
          "description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
        }
      }
    },
    "modEventEscalate": {
      "type": "object",
      "properties": {
        "comment": { "type": "string" }
      }
    },
    "modEventMute": {
      "type": "object",
      "description": "Mute incoming reports on a subject",
      "required": ["durationInHours"],
      "properties": {
        "comment": { "type": "string" },
        "durationInHours": {
          "type": "integer",
          "description": "Indicates how long the subject should remain muted."
        }
      }
    },
    "modEventUnmute": {
      "type": "object",
      "description": "Unmute action on a subject",
      "properties": {
        "comment": {
          "type": "string",
          "description": "Describe reasoning behind the reversal."
        }



( run in 1.318 second using v1.01-cache-2.11-cpan-f56aa216473 )