McGill University · Schema

Dataverse Search Item

A single result item from the Dataverse Search API. May represent a dataverse collection, a dataset, or a file.

EducationHigher EducationUniversityResearch DataOpen DataCanadaQuebec

Properties

Name Type Description
name string Display name of the result.
type string Kind of object.
url string Public URL of the object.
identifier string Local identifier (collection alias or file id).
global_id string Persistent identifier (DOI/handle) for datasets.
published_at string Publication timestamp.
publicationStatuses array Publication status flags, e.g. ['Published'].
affiliation string Affiliated institution.
parentDataverseName string Name of the parent collection.
parentDataverseIdentifier string Alias of the parent collection.
datasetCount integer Number of datasets (for dataverse results).
View JSON Schema on GitHub

JSON Schema

mcgill-search-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mcgill/main/json-schema/mcgill-search-item-schema.json",
  "title": "Dataverse Search Item",
  "description": "A single result item from the Dataverse Search API. May represent a dataverse collection, a dataset, or a file.",
  "type": "object",
  "required": ["name", "type"],
  "properties": {
    "name": { "type": "string", "description": "Display name of the result." },
    "type": { "type": "string", "enum": ["dataverse", "dataset", "file"], "description": "Kind of object." },
    "url": { "type": "string", "format": "uri", "description": "Public URL of the object." },
    "identifier": { "type": "string", "description": "Local identifier (collection alias or file id)." },
    "global_id": { "type": "string", "description": "Persistent identifier (DOI/handle) for datasets." },
    "published_at": { "type": "string", "format": "date-time", "description": "Publication timestamp." },
    "publicationStatuses": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Publication status flags, e.g. ['Published']."
    },
    "affiliation": { "type": "string", "description": "Affiliated institution." },
    "parentDataverseName": { "type": "string", "description": "Name of the parent collection." },
    "parentDataverseIdentifier": { "type": "string", "description": "Alias of the parent collection." },
    "datasetCount": { "type": "integer", "description": "Number of datasets (for dataverse results)." }
  },
  "additionalProperties": true
}