No description available.
block warn whitelistView raw schema
{
"type": "string",
"knownValues": [
"block",
"warn",
"whitelist"
]
}
No description available.
block warn whitelist{
"type": "string",
"knownValues": [
"block",
"warn",
"whitelist"
]
}
An event for URL safety decisions
action
ref
tools.ozone.safelink.defs#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
tools.ozone.safelink.defs#eventType
Required
No description available.
id
integer
Required
Auto-incrementing row ID
pattern
ref
tools.ozone.safelink.defs#patternType
Required
No description available.
reason
ref
tools.ozone.safelink.defs#reasonType
Required
No description available.
url
string
Required
The URL that this rule applies to
{
"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": "tools.ozone.safelink.defs#actionType",
"type": "ref"
},
"reason": {
"ref": "tools.ozone.safelink.defs#reasonType",
"type": "ref"
},
"comment": {
"type": "string",
"description": "Optional comment about the decision"
},
"pattern": {
"ref": "tools.ozone.safelink.defs#patternType",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"createdBy": {
"type": "string",
"format": "did",
"description": "DID of the user who created this rule"
},
"eventType": {
"ref": "tools.ozone.safelink.defs#eventType",
"type": "ref"
}
},
"description": "An event for URL safety decisions"
}
No description available.
addRule updateRule removeRule{
"type": "string",
"knownValues": [
"addRule",
"updateRule",
"removeRule"
]
}
No description available.
domain url{
"type": "string",
"knownValues": [
"domain",
"url"
]
}
No description available.
csam spam phishing none{
"type": "string",
"knownValues": [
"csam",
"spam",
"phishing",
"none"
]
}
Input for creating a URL safety rule
action
ref
tools.ozone.safelink.defs#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
tools.ozone.safelink.defs#patternType
Required
No description available.
reason
ref
tools.ozone.safelink.defs#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
{
"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": "tools.ozone.safelink.defs#actionType",
"type": "ref"
},
"reason": {
"ref": "tools.ozone.safelink.defs#reasonType",
"type": "ref"
},
"comment": {
"type": "string",
"description": "Optional comment about the decision"
},
"pattern": {
"ref": "tools.ozone.safelink.defs#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"
}