Skip to content

Schema for NDB

This section provides an overview of the schemas related to the National Websites or Databases (NDB). Each schema details the structure and fields required for the NDB-related requests and responses.

NOTE

When making an API request using the National Websites or Databases (NDB) schema, it is crucial to include the correct schema identifier. The schema parameter must be set to "database" to ensure that the request is processed correctly and targets the appropriate data structure. Failure to provide the correct schema may result in an error or unexpected behavior in the response.

TitleFieldMandatoryTypeExample
headerEheader{ "identifier": "A48DBA58-485D-F2EB-1EB7-D5FF950BDD26", "schema": "database", "languages": [ "en" ] }
CountrygovernmentTrueEterm{ "identifier": "af" }
Website or database nametitleTruelstring{ "en": "Test Info" }
DescriptiondescriptionTruelstring{ "en": "<div><!--block-->Test Description</div>" }
Website addresswebsitesTrueElink[][ { "url": "https://www.google.com", "name": "Google", "language": "en" } ]
Any other relevant informationrelevantInformationlstring{ "en": "<div><!--block-->Test Info</div>" }
Any other relevant documentsrelevantDocumentsElink[][ { "url": "https://www.google.com", "name": "Google", "language": "en" } ]