{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A content space's current policy, for its members whether or not they have accepted it, with a signed URL of its body and the viewer's acceptance.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotSpaceMember"
        },
        {
          "description": "The space has no current policy.",
          "name": "PolicyNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "us.off-the-clock.defs#policyView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A pair's TID; the default pair by default.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.getPolicy",
  "lexicon": 1
}
