From
bafyreifbnjv4hhxzgpdmbjl6ipwgzq233rjw3eu2cayp2benof7ajqovlq
indexed 2026-07-26 20:04 UTC
View this version
To
bafyreihnl3w5wicdpg3andxxg67hvd5k56fazaie4lkogrql6ri4tcqmfq
indexed 2026-11-19 20:58 UTC
View this version
Compatibility
backward compatible Backward compatible. 2 non-breaking changes.
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "tools.ozone.safelink.addRule:input.source" }
- AddedEdge AddedEdge { src: "tools.ozone.safelink.addRule:input", tgt: "tools.ozone.safelink.addRule:input.source", kind: "prop", name: Some("source") }
Migration guidance
Added
AddedVertex { vertex_id: "tools.ozone.safelink.addRule:input.source" }
Notes
- Non-breaking: AddedEdge { src: "tools.ozone.safelink.addRule:input", tgt: "tools.ozone.safelink.addRule:input.source", kind: "prop", name: Some("source") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Add a new URL safety rule",66
"errors": [77
{88
"description": "The provided URL is invalid",99
"name": "InvalidUrl"1010
},1111
{1212
"description": "A rule for this URL/domain already exists",1313
"name": "RuleAlreadyExists"14
},15
{16
"description": "A rule for this URL/domain is owned by another source",17
"name": "RuleSourceConflict"1418
}1519
],1620
"input": {1721
"encoding": "application/json",1822
"schema": {1923
"properties": {2024
"action": {2125
"ref": "tools.ozone.safelink.defs#actionType",2226
"type": "ref"2327
},2428
"comment": {2529
"description": "Optional comment about the decision",2630
"type": "string"2731
},2832
"createdBy": {2933
"description": "Author DID. Only respected when using admin auth",3034
"format": "did",3135
"type": "string"3236
},3337
"pattern": {3438
"ref": "tools.ozone.safelink.defs#patternType",3539
"type": "ref"3640
},3741
"reason": {3842
"ref": "tools.ozone.safelink.defs#reasonType",3943
"type": "ref"4044
},45
"source": {46
"default": "ozone/default",47
"description": "Source of the rule",48
"maxLength": 128,49
"type": "string"50
},4151
"url": {4252
"description": "The URL or domain to apply the rule to",4353
"type": "string"4454
}4555
},4656
"required": [4757
"url",4858
"pattern",4959
"action",5060
"reason"5161
],5262
"type": "object"5363
}5464
},5565
"output": {5666
"encoding": "application/json",5767
"schema": {5868
"ref": "tools.ozone.safelink.defs#event",5969
"type": "ref"6070
}6171
},6272
"type": "procedure"6373
}6474
},6575
"id": "tools.ozone.safelink.addRule",6676
"lexicon": 16777
}