Skip to content

DR-NTU: MCP data types

Service overview · MCP reference

MCP data types

These named types describe nested fields in the MCP tool reference. A required field may still be null when its type allows it.

Bundle

Field Type Required Details
bundle_id string Yes —
name string Yes —

Unknown fields are not accepted.

Checksum

Field Type Required Details
algorithm string Yes —
value string Yes —

Unknown fields are not accepted.

Container

Field Type Required Details
container_id string Yes —
name string Yes —
description array of string Yes —
archived_items_count integer or null Yes minimum: 0
url string Yes —

Unknown fields are not accepted.

DatasetFile

Field Type Required Details
file_id integer Yes greater than: 0
name string Yes —
directory string or null Yes —
media_type string or null Yes —
size_bytes integer or null Yes minimum: 0
restricted boolean or null Yes —
checksum Checksum or null Yes —

Unknown fields are not accepted.

FacetDefinition

Field Type Required Details
name string Yes —
facet_type string Yes —

Unknown fields are not accepted.

FacetValue

Field Type Required Details
label string Yes —
count integer Yes minimum: 0
authority_key string or null Yes —
filter SearchFilter or null Yes —

Unknown fields are not accepted.

File

Field Type Required Details
file_id string Yes —
name string Yes —
bundle_name string or null Yes —
size_bytes integer or null Yes minimum: 0
checksum Checksum or null Yes —
rights array of string Yes —
content_url string or null Yes —

Unknown fields are not accepted.

ItemSummary

Field Type Required Details
item_id string Yes —
title string Yes —
entity_type string or null Yes —
authors array of string Yes —
dates_issued array of string Yes —
identifiers array of string Yes —
rights array of string Yes —
url string Yes —

Unknown fields are not accepted.

MetadataValue

Field Type Required Details
value string Yes —
language string or null Yes —

Unknown fields are not accepted.

OAIMetadataFormat

Field Type Required Details
metadata_prefix string Yes —
schema_url string Yes —
metadata_namespace string Yes —

Unknown fields are not accepted.

OAIPagination

Field Type Required Details
offset integer Yes —
page_count integer Yes —
next_offset integer or null Yes —
resumption_token string or null Yes —
cursor integer or null Yes —
complete_list_size integer or null Yes —
expiration_date string or null Yes —

Unknown fields are not accepted.

OAIRecord

Field Type Required Details
identifier string Yes —
datestamp string Yes —
set_specs array of string Yes —
deleted boolean Yes —
metadata object of array of MetadataValue or null Yes —
metadata_xml string or null Yes —
about_xml array of string Yes —

Unknown fields are not accepted.

OAISet

Field Type Required Details
set_spec string Yes —
name string Yes —
descriptions_xml array of string Yes —

Unknown fields are not accepted.

Page

Field Type Required Details
page integer Yes minimum: 0
page_size integer Yes greater than: 0
total_elements integer or null Yes minimum: 0
total_pages integer or null Yes minimum: 0
next_page integer or null Yes minimum: 0

Unknown fields are not accepted.

SearchFilter

Field Type Required Details
field string Yes pattern: ^[A-Za-z][A-Za-z0-9_.-]{0,79}$
value string Yes minimum length: 1; maximum length: 500
operator "equals", "contains", "authority" No default: "equals"

Unknown fields are not accepted.