fix selfci mq
2 files changed,  +126, -0
M .gitignore
+1, -0
1@@ -27,3 +27,4 @@ osm-data/
2 graph-cache/
3 nepal.yml
4 logs/
5+server/atproto/lexicons/blog
A server/atproto/lexicons/site/standard/document.json
+125, -0
  1@@ -0,0 +1,125 @@
  2+{
  3+  "defs": {
  4+    "contributor": {
  5+      "properties": {
  6+        "did": {
  7+          "format": "did",
  8+          "type": "string"
  9+        },
 10+        "displayName": {
 11+          "maxGraphemes": 100,
 12+          "maxLength": 1000,
 13+          "type": "string"
 14+        },
 15+        "role": {
 16+          "maxGraphemes": 100,
 17+          "maxLength": 1000,
 18+          "type": "string"
 19+        }
 20+      },
 21+      "required": [
 22+        "did"
 23+      ],
 24+      "type": "object"
 25+    },
 26+    "main": {
 27+      "description": "A document record representing a published article, blog post, or other content. Documents can belong to a publication or exist independently.",
 28+      "key": "tid",
 29+      "record": {
 30+        "properties": {
 31+          "bskyPostRef": {
 32+            "description": "Strong reference to a Bluesky post. Useful to keep track of comments off-platform.",
 33+            "ref": "com.atproto.repo.strongRef",
 34+            "type": "ref"
 35+          },
 36+          "content": {
 37+            "closed": false,
 38+            "description": "Open union used to define the record's content. Each entry must specify a $type and may be extended with other lexicons to support additional content formats.",
 39+            "refs": [],
 40+            "type": "union"
 41+          },
 42+          "contributors": {
 43+            "items": {
 44+              "ref": "#contributor",
 45+              "type": "ref"
 46+            },
 47+            "type": "array"
 48+          },
 49+          "coverImage": {
 50+            "accept": [
 51+              "image/*"
 52+            ],
 53+            "description": "Image to used for thumbnail or cover image. Less than 1MB is size.",
 54+            "maxSize": 1000000,
 55+            "type": "blob"
 56+          },
 57+          "description": {
 58+            "description": "A brief description or excerpt from the document.",
 59+            "maxGraphemes": 3000,
 60+            "maxLength": 30000,
 61+            "type": "string"
 62+          },
 63+          "labels": {
 64+            "description": "Self-label values for this post. Effectively content warnings.",
 65+            "refs": [
 66+              "com.atproto.label.defs#selfLabels"
 67+            ],
 68+            "type": "union"
 69+          },
 70+          "links": {
 71+            "description": "Array of values describing relationships between this document and external resources",
 72+            "refs": [],
 73+            "type": "union"
 74+          },
 75+          "path": {
 76+            "description": "Combine with site or publication url to construct a canonical URL to the document. Prepend with a leading slash.",
 77+            "type": "string"
 78+          },
 79+          "publishedAt": {
 80+            "description": "Timestamp of the documents publish time.",
 81+            "format": "datetime",
 82+            "type": "string"
 83+          },
 84+          "site": {
 85+            "description": "Points to a publication record (at://) or a publication url (https://) for loose documents. Avoid trailing slashes.",
 86+            "format": "uri",
 87+            "type": "string"
 88+          },
 89+          "tags": {
 90+            "description": "Array of strings used to tag or categorize the document. Avoid prepending tags with hashtags.",
 91+            "items": {
 92+              "maxGraphemes": 128,
 93+              "maxLength": 1280,
 94+              "type": "string"
 95+            },
 96+            "type": "array"
 97+          },
 98+          "textContent": {
 99+            "description": "Plaintext representation of the documents contents. Should not contain markdown or other formatting.",
100+            "type": "string"
101+          },
102+          "title": {
103+            "description": "Title of the document.",
104+            "maxGraphemes": 500,
105+            "maxLength": 5000,
106+            "type": "string"
107+          },
108+          "updatedAt": {
109+            "description": "Timestamp of the documents last edit.",
110+            "format": "datetime",
111+            "type": "string"
112+          }
113+        },
114+        "required": [
115+          "site",
116+          "title",
117+          "publishedAt"
118+        ],
119+        "type": "object"
120+      },
121+      "type": "record"
122+    }
123+  },
124+  "id": "site.standard.document",
125+  "lexicon": 1
126+}