-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmetadata.json
More file actions
50 lines (27 loc) · 2 KB
/
metadata.json
File metadata and controls
50 lines (27 loc) · 2 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
42
43
44
45
46
47
48
49
50
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "dataasee:api?params=metadata",
"title": "DatAasee Metadata Endpoint Parameters", "type": "object", "oneOf": [
{ "properties": {
"id": { "type": "string", "title": "Record identifier", "maxLength": 255 },
"format": { "type": "string", "title": "Export in format", "enum": ["datacite", "bibjson"] } } },
{ "properties": {
"query": { "type": "string", "title": "Custom query", "maxLength": 4095 },
"language": { "type": "string", "title": "Query language", "enum": ["sql", "gremlin", "cypher", "mongo", "graphql"] } } },
{ "properties": {
"source": { "type": "string", "title": "Source list", "maxLength": 4095 },
"format": { "type": "string", "title": "Filter by metadata format", "maxLength": 255 } } },
{ "properties": {
"search": { "type": "string", "title": "Full-text search", "maxLength": 255 },
"query": { "type": "string", "title": "Custom query", "maxLength": 4095 },
"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": "number", "title": "Filter by publication date (after)", "minimum": -9999, "maximum": 9999 },
"till": { "type": "number", "title": "Filter by publication date (before)", "minimum": -9999, "maximum": 9999 },
"page": { "type": "number", "title": "Return N-th page of results", "minimum": 0 },
"newest": { "type": "boolean", "title": "Sort by newest first if true, or oldest first if false" } } } ]
}