org.cairnsproto.draft.getProfile

A participant's standing in each project, never summed across projects.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · query
Kindquery
Authoritydraft.cairnsproto.org
Indexed

Showing version bafyreierv2tph4hhi55gzxmrrinpcwpnyvgpulbxitt3vggu22tbs7ljma. Show the latest

cid bafyreierv2tph4hhi55gzxmrrinpcwpnyvgpulbxitt3vggu22tbs7ljma

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A participant's standing in each project, never summed across projects.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "actor": {
              "format": "did",
              "type": "string"
            },
            "firstRound": {
              "description": "Quicknet round of the earliest Cairns record version the indexer saw from the actor, deleted and replaced versions included.",
              "minimum": 1,
              "type": "integer"
            },
            "members": {
              "description": "The actor's members when it is an org, linked from both sides. Absent when none.",
              "items": {
                "format": "did",
                "type": "string"
              },
              "type": "array"
            },
            "orgs": {
              "description": "Orgs the actor is a member of, linked from both sides. Absent when none.",
              "items": {
                "format": "did",
                "type": "string"
              },
              "type": "array"
            },
            "projects": {
              "items": {
                "ref": "#projectStanding",
                "type": "ref"
              },
              "type": "array"
            },
            "sponsor": {
              "description": "The actor's sponsor; the actor itself when unsponsored.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "actor",
            "sponsor",
            "projects"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "projectStanding": {
      "properties": {
        "drawn": {
          "minimum": 0,
          "type": "integer"
        },
        "project": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "statuses": {
          "items": {
            "ref": "#statusCount",
            "type": "ref"
          },
          "type": "array"
        },
        "stones": {
          "description": "Apex stones at the project's sites.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "project",
        "stones",
        "drawn",
        "statuses"
      ],
      "type": "object"
    },
    "statusCount": {
      "properties": {
        "count": {
          "minimum": 0,
          "type": "integer"
        },
        "status": {
          "maxLength": 32,
          "type": "string"
        }
      },
      "required": [
        "status",
        "count"
      ],
      "type": "object"
    }
  },
  "id": "org.cairnsproto.draft.getProfile",
  "lexicon": 1
}