tools.ozone.safelink.defs

ozone-lexicons.bsky.social

Documentation

actionType string

No description available.

Known Values (other values may be valid)
block warn whitelist
View raw schema
{
  "type": "string",
  "knownValues": [
    "block",
    "warn",
    "whitelist"
  ]
}
event object

An event for URL safety decisions

Properties

action ref #actionType Required

No description available.

comment string Optional

Optional comment about the decision

createdAt string datetime Required

An RFC 3339 formatted timestamp.

createdBy string did Required

DID of the user who created this rule

eventType ref #eventType Required

No description available.

id integer Required

Auto-incrementing row ID

pattern ref #patternType Required

No description available.

reason ref #reasonType Required

No description available.

url string Required

The URL that this rule applies to

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "eventType",
    "url",
    "pattern",
    "action",
    "reason",
    "createdBy",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Auto-incrementing row ID"
    },
    "url": {
      "type": "string",
      "description": "The URL that this rule applies to"
    },
    "action": {
      "ref": "#actionType",
      "type": "ref"
    },
    "reason": {
      "ref": "#reasonType",
      "type": "ref"
    },
    "comment": {
      "type": "string",
      "description": "Optional comment about the decision"
    },
    "pattern": {
      "ref": "#patternType",
      "type": "ref"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "createdBy": {
      "type": "string",
      "format": "did",
      "description": "DID of the user who created this rule"
    },
    "eventType": {
      "ref": "#eventType",
      "type": "ref"
    }
  },
  "description": "An event for URL safety decisions"
}
eventType string

No description available.

Known Values (other values may be valid)
addRule updateRule removeRule
View raw schema
{
  "type": "string",
  "knownValues": [
    "addRule",
    "updateRule",
    "removeRule"
  ]
}
patternType string

No description available.

Known Values (other values may be valid)
domain url
View raw schema
{
  "type": "string",
  "knownValues": [
    "domain",
    "url"
  ]
}
reasonType string

No description available.

Known Values (other values may be valid)
csam spam phishing none
View raw schema
{
  "type": "string",
  "knownValues": [
    "csam",
    "spam",
    "phishing",
    "none"
  ]
}
urlRule object

Input for creating a URL safety rule

Properties

action ref #actionType Required

No description available.

comment string Optional

Optional comment about the decision

createdAt string datetime Required

Timestamp when the rule was created

createdBy string did Required

DID of the user added the rule.

pattern ref #patternType Required

No description available.

reason ref #reasonType Required

No description available.

updatedAt string datetime Required

Timestamp when the rule was last updated

url string Required

The URL or domain to apply the rule to

View raw schema
{
  "type": "object",
  "required": [
    "url",
    "pattern",
    "action",
    "reason",
    "createdBy",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "The URL or domain to apply the rule to"
    },
    "action": {
      "ref": "#actionType",
      "type": "ref"
    },
    "reason": {
      "ref": "#reasonType",
      "type": "ref"
    },
    "comment": {
      "type": "string",
      "description": "Optional comment about the decision"
    },
    "pattern": {
      "ref": "#patternType",
      "type": "ref"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime",
      "description": "Timestamp when the rule was created"
    },
    "createdBy": {
      "type": "string",
      "format": "did",
      "description": "DID of the user added the rule."
    },
    "updatedAt": {
      "type": "string",
      "format": "datetime",
      "description": "Timestamp when the rule was last updated"
    }
  },
  "description": "Input for creating a URL safety rule"
}

Lexicon Garden

@