{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every public page of the group's site as the caller's draft would publish it.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        },
        {
          "name": "MethodFailed"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "pages": {
              "items": {
                "ref": "#page",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "pages"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "page": {
      "properties": {
        "channel": {
          "type": "string"
        },
        "html": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        },
        "tab": {
          "type": "string"
        },
        "warning": {
          "type": "string"
        }
      },
      "required": [
        "channel",
        "tab",
        "path",
        "status",
        "html"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.previewSiteDraft",
  "lexicon": 1
}
