org.cairnsproto.draft.schema
A payload schema. Its identity is the sha256 of "cairns/schema/v1", a zero byte, and the DAG-CBOR of defs, so anyone who publishes the same definition publishes the same schema.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | draft.cairnsproto.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A payload schema. Its identity is the sha256 of \"cairns/schema/v1\", a zero byte, and the DAG-CBOR of defs, so anyone who publishes the same definition publishes the same schema.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"defs": {
"description": "Lexicon defs. main must be an object, and every ref must be local, such as #row.",
"type": "unknown"
},
"description": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"name": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
}
},
"required": [
"defs",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "org.cairnsproto.draft.schema",
"lexicon": 1
}