OBJECT

User

link GraphQL Schema definition

  • type User {
  • # awards to the user from FAIRsharing
  • awards: Json!
  • # optional Bluesky handle
  • bluesky: String
  • # records created by this user
  • createdRecords: [FairsharingRecordSummary!]
  • # saved searches created by this user
  • createdSearches: [SavedSearch!]
  • # true if user deactivated by curators
  • deactivated: Boolean!
  • # edits this user has made
  • editEvents: [EditEvent!]
  • # user's email address
  • email: String!
  • # optional first name
  • firstName: String
  • # graphql api key
  • graphqlKey: String
  • # optional personal/institutional homepage
  • homepage: String
  • # user's ID
  • id: Int!
  • # optional last name
  • lastName: String
  • # fairsharing_records this user maintains
  • maintainedRecords: [FairsharingRecordSummary!]
  • # maintenance requests made by this user
  • maintenanceRequests: [MaintenanceRequest!]
  • # optional Mastodon handle
  • mastodon: String
  • # optional ORCID ID
  • orcid: String
  • # organisations to which this user belongs
  • organisations: [Organisation!]
  • # records being curated by this user
  • recordsInCuration: [FairsharingRecordSummary!]
  • # whether user has site curation powers
  • role: Json!
  • # saved searches linked to this user
  • savedSearches: [SavedSearch!]
  • # true if user created via ORCID etc.
  • thirdParty: Boolean!
  • # username
  • username: String!
  • # fairsharing_records this user watches
  • watchedRecords: [FairsharingRecordSummary!]
  • }