computer.localnetwork.epk.draft
One manager's unpublished changes to one press kit, in their repo in the project's backstage (computer.localnetwork.space.backstage). The record key is the press kit's: an existing one's, or for a new press kit, the key it will be published under, so a manager has at most one draft per press kit. A draft the Local Network root account writes on someone's behalf has a key of its own, since the root can hold several managers' drafts of one press kit; its base names the press kit, or for a new one, its key is the one the press kit will get. Photos it adds are blobs in the writer's repo until publishing copies them to the root's.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | epk.localnetwork.computer |
| Commit rev | 3n2kadcqrfi2b |
| Indexed |
Checks
Validlarge-stringdefs.contentFields.properties.biomaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"contentFields": {
"description": "Some fields of a press kit's computer.localnetwork.epk.content record.",
"properties": {
"bio": {
"maxGraphemes": 5000,
"maxLength": 50000,
"type": "string"
},
"contact": {
"ref": "computer.localnetwork.epk.defs#contact",
"type": "ref"
},
"mixes": {
"items": {
"ref": "computer.localnetwork.defs#mix",
"type": "ref"
},
"maxLength": 12,
"type": "array"
},
"photos": {
"items": {
"ref": "computer.localnetwork.epk.defs#photo",
"type": "ref"
},
"maxLength": 20,
"type": "array"
},
"quotes": {
"items": {
"ref": "computer.localnetwork.epk.defs#quote",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"techRider": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
}
},
"type": "object"
},
"fields": {
"description": "Some fields of a press kit: the public record's at the top level, the private part's under content.",
"properties": {
"access": {
"ref": "computer.localnetwork.epk.defs#access",
"type": "ref"
},
"bio": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"content": {
"ref": "#contentFields",
"type": "ref"
},
"headline": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"mixes": {
"items": {
"ref": "computer.localnetwork.defs#mix",
"type": "ref"
},
"maxLength": 12,
"type": "array"
},
"photos": {
"items": {
"ref": "computer.localnetwork.epk.defs#photo",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"title": {
"maxGraphemes": 100,
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"main": {
"description": "One manager's unpublished changes to one press kit, in their repo in the project's backstage (computer.localnetwork.space.backstage). The record key is the press kit's: an existing one's, or for a new press kit, the key it will be published under, so a manager has at most one draft per press kit. A draft the Local Network root account writes on someone's behalf has a key of its own, since the root can hold several managers' drafts of one press kit; its base names the press kit, or for a new one, its key is the one the press kit will get. Photos it adds are blobs in the writer's repo until publishing copies them to the root's.",
"key": "tid",
"record": {
"properties": {
"base": {
"description": "The published press kit (a computer.localnetwork.epk record) at the version this draft started from. Absent for a press kit that isn't published yet.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"changes": {
"description": "The fields this draft changes, with their new values. A field left out is unchanged; an empty string, list or object clears it.",
"ref": "#fields",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"onBehalfOf": {
"description": "Set when the Local Network root account wrote this for a manager whose PDS can't write to spaces.",
"format": "did",
"type": "string"
},
"previous": {
"description": "What each changed field held in the published press kit when the draft changed it; a changed field missing here was empty. Publishing compares these with the current values to find fields someone else published since. Absent for a press kit that isn't published yet.",
"ref": "#fields",
"type": "ref"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"changes",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "computer.localnetwork.epk.draft",
"lexicon": 1
}