OBJECT
Query
link GraphQL Schema definition
- type Query {
- # Search FairsharingRecords with a where clause
- #
- # Arguments
- # q: a search query string
- # modifiedSince: a date in YYYY-MM-DD format
- # where: the where clause
- # id: only search amongst these record ids
- (
- : String,
- : String,
- : AdvancedSearchAttributes!,
- : [Int!]
- ): [FairsharingRecord!]!
- # Search FairsharingRecords with a where clause, but using only Elasticsearch for
- # speed
- #
- # Arguments
- # q: a search query string
- # modifiedSince: a date in YYYY-MM-DD format
- # where: the where clause
- # id: only search amongst these record ids
- (
- : String,
- : String,
- : AdvancedSearchAttributes!,
- : [Int!]
- ): [FairsharingRecordSummary!]!
- # Search FairsharingRecords via elasticsearch
- #
- # Arguments
- # q: a search query string
- # searchAnd: true if all tags must be present
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name","abbreviation"],"order_by":["asc","desc"]}
- # objectTypes: array of object types to facet on
- # fairsharingRegistry: array of registry names to facet on
- # recordType: array of record type names to facet on
- # status: array of status values to facet on
- (
- : String,
- : Boolean,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!]
- ): [FairsharingRecordSummary!]!
- # get information on all users
- : [Organisation!]!
- # get information on all users
- #
- # Arguments
- # q: a search query string
- (: String): [User!]!
- # show which associations are allowed between two records
- #
- # Arguments
- # from: the record doing the linking
- # to: the record linked to
- (: Int!, : Int!): [RecordAssociationLabel!]!
- # Get data for browsing through the Subjects
- : SubjectBrowser!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): CountryCollection!
- # Find a Country by ID
- #
- # Arguments
- # id: unique ID of the country
- (: Int!): Country!
- # A list of unapproved records last edited by curators
- : [RecordsByCurator!]!
- # A list of curators
- : [User!]!
- # Stats on what curators have been up to
- : [Json!]!
- # Find a Domain by ID
- #
- # Arguments
- # id: unique ID of the domain
- # load: whether to load from postgres or not
- (: Int!, : Boolean): Domain!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): DomainCollection!
- # Download results of a searchFairsharingRecords query
- #
- # Arguments
- # includeOrgs: whether or not to include organisations in the
- # results
- # q: a search query string
- # searchAnd: true if all tags must be present
- # status: array of status values to facet on
- # fairsharingRegistry: array of registry names to facet on
- # recordType: array of record type names to facet on
- # id: fairsharing_record id
- # ids: multple fairsharing_record ids
- # excludeId: fairsharing_record id to exclude
- # countries: array of countries to facet on
- # subjects: array of subjects to facet on
- # domains: array of domains to facet on
- # taxonomies: array of taxonomies to facet on
- # userDefinedTags: array of user defined tags to facet on
- # licences: array of licence names to facet on
- # organisations: array of organisation names to facet on
- # grants: array of grant names to facet on
- # journals: array of journals titles to facet on
- # isRecommended: whether or not the record has been recommended,
- # for faceting
- # isApproved: is the record approved by a curator
- # isMaintained: does the record have at least one maintainer
- # searchUrl: URL of the original search
- (
- : Boolean,
- : String,
- : Boolean,
- : [String!],
- : [String!],
- : [String!],
- : Int,
- : [Int!],
- : Int,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : Boolean,
- : Boolean,
- : Boolean,
- : String!
- ): SearchDownload!
- # Arguments
- # fields: The terms to use to check for duplicates
- (: [String!]!): [FairsharingRecord!]
- # Display a graph by starting node ID
- #
- # Arguments
- # id: unique ID of node 0
- (: Int!): FairsharingGraph!
- # Find a FairsharingRecord by ID
- #
- # Arguments
- # id: id/doi/legacy_id of the fairsharing record to be found
- (: ID!): FairsharingRecord!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): FairsharingRecordCollection!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): FairsharingRegistryCollection!
- # Find a FairsharingRegistry by ID
- #
- # Arguments
- # id: id of the fairsharing registry to be found
- (: Int!): FairsharingRegistry!
- # Get all principles which are part_of the id supplied
- #
- # Arguments
- # id: unique ID of the top level principle
- (: Int!): [FairsharingRecord!]!
- # Find a Grant by ID
- #
- # Arguments
- # id: id of the grant to be found
- (: Int!): Grant!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): GrantCollection!
- # Show all hidden records
- : [FairsharingRecord!]!
- # A list of records which are incomplete
- : [FairsharingRecord!]!
- # Get most recent FAIRsharing stats
- : RecordStats!
- # Least recently updated record. Use with caution!
- : LeastRecentlyUpdated!
- # Find a Licence by ID
- #
- # Arguments
- # id: id of the licence to be found
- (: Int!): Licence!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): LicenceCollection!
- # Return all messages which are to be shown to the user
- : [Message!]!
- # Metadata fields for building switches
- #
- # Arguments
- # name: name of the registry for which fields are needed
- (: String!): MetadataFields!
- # Filter fairsharing_records by type, domain and subject
- #
- # Arguments
- # q: a search query string
- # fairsharingRegistry: Return FairsharingRecords of these
- # registries
- # status: Return FairsharingRecords of these statuses
- # recordType: Return FairsharingRecords of these types
- # domainsExact: Return only matching Domains
- # subjectsExact: Return only matching Subjects
- # domains: Return matching Domains and their children
- # subjects: Return matching Subjects and their children
- # taxonomies: Return matching taxonomies and their children
- # userDefinedTags: Return matching user-defined tags and their
- # children
- # isRecommended: whether or not the record has been recommended,
- # for faceting
- # isApproved: is the record approved by a curator
- # isMaintained: does the record have at least one maintainer
- # hasPublication: Is there at least one publication or not
- # isImplemented: Is it implemented by >= 1 database
- # usesPersistentIdentifier: Does it use persistent identifiers
- # dataPreservationPolicy: Is there a policy or not
- # resourceSustainability: Is there any sustainability or not
- # dataAccessCondition: open, partially-open or controlled?
- # dataCuration: manual, automated, manual/automated or none
- # dataDepositionCondition: open or controlled
- # citationToRelatedPublications: yes or no
- # dataAccessForPrePublicationReview: yes or no
- # dataContactInformation: yes or no
- # dataVersioning: yes or no
- # dataFormatsAndTerminologies: IDs of implemented standards
- # (model/format and terminology artefact)
- # policyRecommendations: IDs of recommending policies
- # recommendsDatabase: recommends at least one database
- # recommendsStandard: recommends at least one standard
- # mandatedDataSharing: is data sharing required
- # exceptionsToDataSharing: yes or no
- # sharingMetadata: is metadata sharing required
- # sharingResearchSoftware: is research software sharing required
- # mandatedDmpCreation: is creating a dmp required
- # timingOfDmp: when must a dmp be created
- # updatingOfDmp: yes or no
- # dataProtection: yes or no
- # licencesForOutputs: yes or no
- # dataCitation: yes or no
- # dataPreservation: yes or no
- # guidanceToHelpEnableCompliance: yes or no
- # monitoringOfCompliance: yes or no
- # dataAvailabilityStatement: yes or no
- # region: region/continent etc. of the record
- # load: whether to load from postgres or not
- (
- : String,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [Int!],
- : [Int!],
- : Boolean,
- : Boolean,
- : [String!],
- : Boolean,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : [String!],
- : Boolean
- ): [FairsharingRecord!]!
- : [FairsharingRecord!]!
- # A list of records needing review
- : [Json!]!
- # Find a ObjectType by ID
- #
- # Arguments
- # id: id of the object_type to be found
- # load: whether to load from postgres or not
- (: Int!, : Boolean): ObjectType!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): ObjectTypeCollection!
- # Find a Organisation by ID
- #
- # Arguments
- # id: FAIRsharing id of the organisation to be found, or ROR URL
- (: ID!): Organisation!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): OrganisationCollection!
- # Show summary of pending maintenance requests
- : [MaintenanceRequest!]!
- # Arguments
- # id: Numeric ID the publication. Omit if querying DOI.
- # doi: Numeric DOI of the publication, format 12.3456/ABX.XYZ
- # (i.e. omit domain).
- (: Int, : String): Publication!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): PublicationCollection!
- # Records created by curators in the past 8 days
- : [FairsharingRecord!]!
- # Show most recently updated content
- : [RecentlyUpdatedContent!]!
- # get information on all record association labels
- : [RecordAssociationLabel!]!
- # Find a RecordType by ID
- #
- # Arguments
- # id: id of the record_type to be found
- (: Int!): RecordType!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): RecordTypeCollection!
- # Records currently undergoing curation
- : [RecordsByCurator!]!
- # Records without DOIs
- : [FairsharingRecord!]!
- # Arguments
- # term: term to be tested against regular expressions
- # secondary: also test the term against secondary regexes
- (: String!, : Boolean): RegexSearchResult!
- # Find a Domain by ID
- #
- # Arguments
- # id: unique ID of the saved search
- # load: whether to load from postgres or not
- (: Int!, : Boolean): SavedSearch!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): SavedSearchCollection!
- # Search Countries via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name","alternative_names"],"order_by":["asc","desc"]}
- (: String, : [String!]): [Country!]!
- # Search Domains via elasticsearch
- #
- # Arguments
- # q: a search query string
- # inFairsharing: used by fairsharing_records. Normally this
- # should never set to be false.
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","label","iri"],"order_by":["asc","desc"]}
- (: String, : Boolean, : [String!]): [Domain!]!
- # Search FairsharingRecords via elasticsearch
- #
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- # q: a search query string
- # searchAnd: true if all tags must be present
- # status: array of status values to facet on
- # fairsharingRegistry: array of registry names to facet on
- # recordType: array of record type names to facet on
- # id: fairsharing_record id
- # ids: multple fairsharing_record ids
- # excludeId: fairsharing_record id to exclude
- # countries: array of countries to facet on
- # subjects: array of subjects to facet on
- # domains: array of domains to facet on
- # taxonomies: array of taxonomies to facet on
- # userDefinedTags: array of user defined tags to facet on
- # objectTypes: array of object types to facet on
- # licences: array of licence names to facet on
- # organisations: array of organisation names to facet on
- # grants: array of grant names to facet on
- # journals: array of journals titles to facet on
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name","abbreviation"],"order_by":["asc","desc"]}
- # isRecommended: whether or not the record has been recommended,
- # for faceting
- # isApproved: is the record approved by a curator
- # isMaintained: does the record have at least one maintainer
- # hasPublication: Is there at least one publication or not
- # isImplemented: Is it implemented by >= 1 database
- # usesPersistentIdentifier: Does it use persistent identifiers
- # dataPreservationPolicy: Is there a policy or not
- # resourceSustainability: Is there any sustainability or not
- # dataAccessCondition: open, partially-open or controlled?
- # dataCuration: manual, automated, manual/automated or none
- # dataDepositionCondition: open or controlled
- # citationToRelatedPublications: yes or no
- # dataAccessForPrePublicationReview: yes or no
- # dataContactInformation: yes or no
- # dataVersioning: yes or no
- (
- : Int,
- : Int,
- : String,
- : Boolean,
- : [String!],
- : [String!],
- : [String!],
- : Int,
- : [Int!],
- : Int,
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : [String!],
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : Boolean,
- : String,
- : String,
- : String,
- : String,
- : String,
- : String,
- : String
- ): ElasticsearchPaginatedCollection!
- # Search Grants via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","label","iri"],"order_by":["asc","desc"]}
- # load: whether to load from postgres or not
- (: String, : [String!], : Boolean): [Grant!]!
- # Search Licences via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name","url"],"order_by":["asc","desc"]}
- (: String, : [String!]): [Licence!]!
- # Search OrganisationTypes via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name"],"order_by":["asc","desc"]}
- # load: whether to load from postgres or not
- (
- : String,
- : [String!],
- : Boolean
- ): [OrganisationType!]!
- # Search Organisations via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","name","homepage"],"order_by":["asc","desc"]}
- # load: whether to load from postgres or not
- (: String, : [String!], : Boolean): [Organisation!]!
- # Search Publications via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","title","year","journal","url"],"order_by":["asc","desc"]}
- (: String, : [String!]): [Publication!]!
- # Search Subjects via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","label","iri"],"order_by":["asc","desc"]}
- (: String, : [String!]): [Subject!]!
- # Search all tags via elasticsearch
- #
- # Arguments
- # q: a search query string
- # taggedRecords: IDs of records tagged with this tag
- (: String, : [Int!]): [Tag!]!
- # Search Taxonomies via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","label","iri"],"order_by":["asc","desc"]}
- (: String, : [String!]): [Taxonomy!]!
- # Search UserDefinedTags via elasticsearch
- #
- # Arguments
- # q: a search query string
- # orderBy: {"description":"Pass values as an array; sort_field,
- # order_by","sort_fields":["_score","label"],"order_by":["asc","desc"]}
- (: String, : [String!]): [UserDefinedTag!]!
- # Find a Subject by ID
- #
- # Arguments
- # id: id of the subject to be found
- # load: whether to load from postgres or not
- (: Int!, : Boolean): Subject!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): SubjectCollection!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): TaxonomyCollection!
- # Find a Taxonomy by ID
- #
- # Arguments
- # id: id of the taxonomy to be found
- (: Int!): Taxonomy!
- # Find a User by ID
- #
- # Arguments
- # id: id of the user to be found
- (: Int!): User
- # A list of unapproved records last edited by users
- : [RecordsByCurator!]!
- # Find a UserDefinedTag by ID
- #
- # Arguments
- # id: id of the user defined tag to be found
- (: Int!): UserDefinedTag!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): UserDefinedTagCollection!
- # Arguments
- # page: page of the results required
- # perPage: number of results per page
- (: Int, : Int): UserCollection!
- }
link Require by
This element is not required by anyone