full diff

space.highport.manage.validate

From
bafyreicde37d6dtejczxjhpmzvykgqrk4aqfw75hzcmwynnqcm6vjwsxya indexed 2026-09-01 13:06 UTC View this version
To
bafyreif2pa34pjpvkine4co3puh5wnk6tuahxkvizokkby3rtwlrkzpil4 indexed 2026-09-17 17:52 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Validate a site or tile record before writing it, and — for an authorized caller — prepare bard for it. Returns the AT-URI the record will have, the CID it will have, and the canonical record to submit with putRecord at that key.",
5 "description": "Validate a site or tile record before writing it and, for an authorized caller, prepare bard to serve it. Returns the AT-URI and CID the record will have, and the canonical record to write with putRecord at that key.",
66 "errors": [
77 {
8 "description": "A site validation without rkey, or an rkey that is not a canonical hostname / valid TID.",
8 "description": "A site without an rkey, or an rkey that is not a canonical hostname or valid TID.",
99 "name": "InvalidRecordKey"
1010 },
1111 {
12 "description": "The bound tile is known only as pending-publication and cannot be bound yet.",
12 "description": "The bound tile is still pending publication and cannot be bound yet.",
1313 "name": "TileNotReady"
1414 },
1515 {
1616 "description": "Bard is not connected to that space.",
1717 "name": "SpaceNotFound"
1818 },
1919 {
2020 "description": "Only the space's authority may publish in it.",
2121 "name": "NotSpaceAuthority"
2222 },
2323 {
2424 "description": "Too many preparations this hour.",
2525 "name": "RateLimitExceeded"
2626 }
2727 ],
2828 "input": {
2929 "encoding": "application/json",
3030 "schema": {
3131 "properties": {
3232 "dryRun": {
33 "description": "Validate only; never prepare.",
33 "description": "Validate only, without preparing.",
3434 "type": "boolean"
3535 },
3636 "record": {
37 "description": "A space.highport.sites.site or space.highport.sites.tile record, with $type.",
37 "description": "A space.highport.sites.site or space.highport.sites.tile record, including $type.",
3838 "type": "unknown"
3939 },
4040 "rkey": {
41 "description": "Required for a site (the hostname). For a tile: an existing rkey for a new version, a TID the client holds, or absent to have bard mint one.",
41 "description": "Required for a site (the hostname). For a tile: an existing rkey for a new version, a TID the client chose, or absent to let bard mint one.",
4242 "type": "string"
4343 },
4444 "space": {
45 "description": "Validate as a record in this space; the caller must be its authority.",
45 "description": "Validate as a record in this space. The caller must be its authority.",
4646 "format": "at-uri",
4747 "type": "string"
4848 }
4949 },
5050 "required": [
5151 "record"
5252 ],
5353 "type": "object"
5454 }
5555 },
5656 "output": {
5757 "encoding": "application/json",
5858 "schema": {
5959 "properties": {
6060 "cid": {
6161 "format": "cid",
6262 "type": "string"
6363 },
6464 "entryCount": {
6565 "type": "integer"
6666 },
6767 "errors": {
6868 "items": {
6969 "ref": "space.highport.defs#validationError",
7070 "type": "ref"
7171 },
7272 "type": "array"
7373 },
7474 "expiresAt": {
7575 "format": "datetime",
7676 "type": "string"
7777 },
7878 "missingBlobs": {
7979 "items": {
8080 "ref": "space.highport.defs#missingBlob",
8181 "type": "ref"
8282 },
8383 "type": "array"
8484 },
8585 "parameterErrors": {
8686 "items": {
8787 "ref": "space.highport.defs#validationError",
8888 "type": "ref"
8989 },
9090 "type": "array"
9191 },
9292 "prepared": {
9393 "type": "boolean"
9494 },
9595 "reason": {
9696 "knownValues": [
9797 "DomainNotVerified",
9898 "TileAuthorNotPermitted",
9999 "PreparedQuotaExceeded",
100100 "SpacePreparationUnsupported",
101101 "DryRun"
102102 ],
103103 "type": "string"
104104 },
105105 "record": {
106 "description": "The record as bard will serialize it; submit it verbatim.",
106 "description": "The record as bard will serialize it. Write it exactly as returned.",
107107 "type": "unknown"
108108 },
109109 "state": {
110110 "ref": "space.highport.defs#indexState",
111111 "type": "ref"
112112 },
113113 "totalBytes": {
114114 "type": "integer"
115115 },
116116 "uri": {
117117 "format": "at-uri",
118118 "type": "string"
119119 },
120120 "valid": {
121121 "type": "boolean"
122122 }
123123 },
124124 "required": [
125125 "valid",
126126 "errors",
127127 "parameterErrors",
128128 "prepared",
129129 "missingBlobs"
130130 ],
131131 "type": "object"
132132 }
133133 },
134134 "type": "procedure"
135135 }
136136 },
137137 "id": "space.highport.manage.validate",
138138 "lexicon": 1
139139}

Compare other versions