Repository navigation
Expand file tree
/
Copy pathmetadata.json
More file actions
41 lines (22 loc) · 1.92 KB
/
Copy pathmetadata.json
File metadata and controls
41 lines (22 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "dataasee:api?params=metadata",
"title": "DatAasee Metadata Endpoint Parameters", "description": "The metadata endpoint returns either a single metadata record by id, a list of full records by source, or a list of abbreviated records by filters.",
"type": "object", "oneOf": [
{ "required": ["id"], "unevaluatedProperties": false, "properties": {
"id": { "type": "string", "title": "Record identifier", "maxLength": 255 },
"format": { "type": "string", "title": "Export in format", "enum": ["datacite", "bibjson"] } } },
{ "required": ["source"], "unevaluatedProperties": false, "properties": {
"source": { "type": "string", "title": "Source list", "maxLength": 4095 } } },
{ "unevaluatedProperties": false, "properties": {
"search": { "type": "string", "title": "Full-text search", "maxLength": 255 },
"language": { "type": "string", "title": "Filter by language", "maxLength": 255 },
"resourcetype": { "type": "string", "title": "Filter by resource type", "maxLength": 255 },
"license": { "type": "string", "title": "Filter by license", "maxLength": 255 },
"category": { "type": "string", "title": "Filter by category", "maxLength": 255 },
"format": { "type": "string", "title": "Filter by metadata format", "maxLength": 255 },
"doi": { "type": "string", "title": "Filter by DOI", "maxLength": 255 },
"from": { "type": "integer", "title": "Filter by publication year (after)", "minimum": -9999, "maximum": 9999 },
"till": { "type": "integer", "title": "Filter by publication year (before)", "minimum": -9999, "maximum": 9999 },
"page": { "type": ["integer", "string"], "title": "Return N-th page of results", "minimum": 0, "maximum": 50 },
"newest": { "type": "boolean", "title": "Sort by newest first if true, or oldest first if false" } } } ]
}