net.wireservice.draft
Schema Diff
+2 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "net.wireservice.draft:body.path", sort: "maxLength", value: "200" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "net.wireservice.draft:body.path", sort: "maxLength", value: "200" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "An unpublished or in-progress article, stored in the publication's private staff space and written by the publication's DID. On publish, the CMS writes a public site.standard.document; when space is set, it writes the full document into that space and a public net.wireservice.gatedContent stub instead.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"assignees": {
10
10
"description": "Staff DIDs currently responsible for the draft.",
11
11
"items": {
12
12
"format": "did",
13
13
"type": "string"
14
14
},
15
15
"type": "array"
16
16
},
17
17
"content": {
18
18
"description": "Article content as it will be published.",
19
19
"ref": "net.wireservice.content",
20
20
"type": "ref"
21
21
},
22
22
"contributors": {
23
23
"items": {
24
24
"ref": "site.standard.document#contributor",
25
25
"type": "ref"
26
26
},
27
27
"type": "array"
28
28
},
29
29
"coverImage": {
30
30
"accept": [
31
31
"image/*"
32
32
],
33
33
"maxSize": 1000000,
34
34
"type": "blob"
35
35
},
36
36
"createdAt": {
37
37
"format": "datetime",
38
38
"type": "string"
39
39
},
40
40
"description": {
41
41
"maxGraphemes": 3000,
42
42
"maxLength": 30000,
43
43
"type": "string"
44
44
},
45
45
"document": {
46
46
"description": "AT URI of the published site.standard.document, once published. Edits to a published article are made on the draft and republished.",
47
47
"format": "at-uri",
48
48
"type": "string"
49
49
},
50
50
"path": {
51
+
"description": "The slug that starts the article's URL, which ends with the document's record key (/<slug>-<rkey>). Defaults to one made from the title.",
52
+
"maxLength": 200,
51
53
"type": "string"
52
54
},
53
55
"scheduledAt": {
54
56
"description": "When the CMS should publish the draft. Required when status is 'scheduled'.",
55
57
"format": "datetime",
56
58
"type": "string"
57
59
},
58
60
"space": {
59
61
"description": "When set, the article is gated: its content is published into this space and the public document becomes a net.wireservice.gatedContent stub.",
60
62
"format": "space-ref",
61
63
"type": "string"
62
64
},
63
65
"status": {
64
66
"knownValues": [
65
67
"draft",
66
68
"inReview",
67
69
"approved",
68
70
"scheduled",
69
71
"published"
70
72
],
71
73
"maxLength": 64,
72
74
"type": "string"
73
75
},
74
76
"tags": {
75
77
"items": {
76
78
"maxGraphemes": 128,
77
79
"maxLength": 1280,
78
80
"type": "string"
79
81
},
80
82
"type": "array"
81
83
},
82
84
"title": {
83
85
"maxGraphemes": 500,
84
86
"maxLength": 5000,
85
87
"type": "string"
86
88
},
87
89
"updatedAt": {
88
90
"format": "datetime",
89
91
"type": "string"
90
92
}
91
93
},
92
94
"required": [
93
95
"status",
94
96
"createdAt"
95
97
],
96
98
"type": "object"
97
99
},
98
100
"type": "record"
99
101
}
100
102
},
101
103
"id": "net.wireservice.draft",
102
104
"lexicon": 1
103
105
}