{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A space's policy, which members accept before they read or write anything else there. Authored by the community identity in the content space it governs; records by anyone else are ignored. The record with the newest key is the current policy, identified by its URI and CID; an update is a new record, and removing the policy deletes every one.",
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "accept": [
              "text/markdown"
            ],
            "description": "The full text in Markdown. Clients render a subset: paragraphs, headings, emphasis, lists, links and quotes; images and HTML are dropped.",
            "maxSize": 262144,
            "type": "blob"
          },
          "summary": {
            "description": "The policy in a sentence or a paragraph, shown above its body.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "summary"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.off-the-clock.community.policy",
  "lexicon": 1
}
