{
"id": "pub.chive.author.getProfile",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"profile",
"metrics"
],
"properties": {
"metrics": {
"ref": "#authorMetrics",
"type": "ref"
},
"profile": {
"ref": "#authorProfile",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Author DID"
}
}
},
"description": "Get author profile and metrics by DID"
},
"authorMetrics": {
"type": "object",
"required": [
"totalEprints",
"totalViews",
"totalDownloads",
"totalEndorsements"
],
"properties": {
"totalViews": {
"type": "integer"
},
"totalEprints": {
"type": "integer"
},
"totalDownloads": {
"type": "integer"
},
"totalEndorsements": {
"type": "integer"
}
}
},
"authorProfile": {
"type": "object",
"required": [
"did"
],
"properties": {
"bio": {
"type": "string"
},
"did": {
"type": "string",
"format": "did"
},
"orcid": {
"type": "string"
},
"avatar": {
"type": "string",
"format": "uri"
},
"dblpId": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"handle": {
"type": "string"
},
"website": {
"type": "string",
"format": "uri"
},
"openAlexId": {
"type": "string"
},
"affiliation": {
"type": "string"
},
"displayName": {
"type": "string"
},
"pdsEndpoint": {
"type": "string"
},
"affiliations": {
"type": "array",
"items": {
"ref": "pub.chive.defs#affiliation",
"type": "ref"
}
},
"nameVariants": {
"type": "array",
"items": {
"type": "string"
}
},
"openReviewId": {
"type": "string"
},
"arxivAuthorId": {
"type": "string"
},
"orcidVerified": {
"type": "boolean",
"description": "Whether the author's ORCID has been verified via OAuth"
},
"scopusAuthorId": {
"type": "string"
},
"googleScholarId": {
"type": "string"
},
"researchKeywords": {
"type": "array",
"items": {
"ref": "#researchKeyword",
"type": "ref"
}
},
"semanticScholarId": {
"type": "string"
},
"previousAffiliations": {
"type": "array",
"items": {
"ref": "pub.chive.defs#affiliation",
"type": "ref"
}
}
}
},
"researchKeyword": {
"type": "object",
"required": [
"label"
],
"properties": {
"label": {
"type": "string"
},
"fastId": {
"type": "string"
},
"wikidataId": {
"type": "string"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 3
}