{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Marks where members-only content begins and declares which publication members can read past it.",
      "properties": {
        "audience": {
          "description": "Whether access is available to all subscribers, all paid members, or selected paid tiers.",
          "knownValues": [
            "subscribers",
            "paid",
            "tiers"
          ],
          "type": "string"
        },
        "tierIds": {
          "description": "Paid tier ids that grant access when audience is tiers. An empty selection grants no membership access.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "widerReleaseAt": {
          "description": "When an early-access gate widens to widerReleaseAudience. Absent when the gate never widens.",
          "format": "datetime",
          "type": "string"
        },
        "widerReleaseAudience": {
          "description": "Who can read past the delimiter once widerReleaseAt passes, in addition to the original audience. public removes the gate entirely.",
          "refs": [
            "#public",
            "#subscribers",
            "#paid",
            "#tiers"
          ],
          "type": "union"
        }
      },
      "required": [
        "audience"
      ],
      "type": "object"
    },
    "paid": {
      "description": "All paid members.",
      "properties": {},
      "type": "object"
    },
    "public": {
      "description": "Anyone, signed in or not.",
      "properties": {},
      "type": "object"
    },
    "subscribers": {
      "description": "All free and paid subscribers.",
      "properties": {},
      "type": "object"
    },
    "tiers": {
      "description": "Members of the selected paid tiers.",
      "properties": {
        "tierIds": {
          "description": "Paid tier ids that grant access. An empty selection grants no membership access.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "tierIds"
      ],
      "type": "object"
    }
  },
  "id": "pub.leaflet.blocks.membersOnlyDelimiter",
  "lexicon": 1
}
