{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "disableRule": {
      "description": "Nobody may quote the post.",
      "properties": {},
      "type": "object"
    },
    "main": {
      "description": "Quote controls for a hidden post. Written by the post's author in the post's space, at the post's record key. Enforced where posts are shown.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "detachedEmbeddingUris": {
            "description": "Quotes, in this space, shown without this post.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "embeddingRules": {
            "items": {
              "closed": true,
              "refs": [
                "#disableRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "post": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "post",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tools.umbrae.postgate",
  "lexicon": 1
}
