health.hats.listRequests

The requests waiting on the caller: access asked for their own spaces that policy leaves to them. Authenticated as the patient (service auth), so each patient sees only their own.

Repository @hats.health did:plc:uvvhtareovj2oaregs7vsibv not from the namespace authority
Details · query
Kindquery
Authorityhats.health
Indexed
cid bafyreihtsyzrc4ts4iale27gl2t4eieds3ajx6b5jpsqq6d7r2uuomslre

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The requests waiting on the caller: access asked for their own spaces that policy leaves to them. Authenticated as the patient (service auth), so each patient sees only their own.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "requests": {
              "items": {
                "ref": "#request",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "requests"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "request": {
      "description": "One request, as the coordinator recorded it.",
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "description": "Identifier to answer this request by in answerRequest.",
          "type": "string"
        },
        "picks": {
          "description": "The option ids asked for, from the requester's menu.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "reason": {
          "ref": "health.hats.requestAccess#reason",
          "type": "ref"
        },
        "requester": {
          "ref": "#requester",
          "type": "ref"
        }
      },
      "required": [
        "id",
        "requester",
        "reason",
        "picks",
        "createdAt"
      ],
      "type": "object"
    },
    "requester": {
      "description": "Who asked, from the coordinator's provider registry.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "institution": {
          "description": "The institution the requester acts for, as the registry names it.",
          "type": "string"
        },
        "role": {
          "description": "NUCC Health Care Provider Taxonomy code.",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    }
  },
  "id": "health.hats.listRequests",
  "lexicon": 1
}