pub.chive.admin.listViolations

chive.pub

{
  "id": "pub.chive.admin.listViolations",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "violations",
            "total"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total violations"
            },
            "violations": {
              "type": "array",
              "items": {
                "ref": "#violation",
                "type": "ref"
              },
              "description": "Violation records"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "Filter by user DID"
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of violations"
          }
        }
      },
      "description": "List policy violations"
    },
    "violation": {
      "type": "object",
      "required": [
        "id",
        "did",
        "type",
        "severity",
        "createdAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Violation ID"
        },
        "did": {
          "type": "string",
          "format": "did",
          "description": "User DID"
        },
        "type": {
          "type": "string",
          "description": "Violation type"
        },
        "handle": {
          "type": "string",
          "description": "User handle"
        },
        "context": {
          "type": "string",
          "description": "Additional context"
        },
        "severity": {
          "type": "string",
          "description": "Severity level",
          "knownValues": [
            "low",
            "medium",
            "high",
            "critical"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the violation was recorded"
        },
        "resolvedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the violation was resolved"
        },
        "description": {
          "type": "string",
          "description": "Violation description"
        }
      },
      "description": "Policy violation record"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.listViolations

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreigtkvnexotemdskcavcx5vshcx7etgmaap7hd2kklpatl2lvi7nva
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.listViolations

Lexicon Garden

@