-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathingest.json
More file actions
22 lines (13 loc) · 1.14 KB
/
ingest.json
File metadata and controls
22 lines (13 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "dataasee:api?request=ingest",
"title": "DatAasee Ingest Endpoint Request", "type": "object", "oneOf":[{ "maxProperties": 0 }, { "required": ["source", "method", "format", "rights", "steward"] }], "properties": {
"source": { "type": "string", "title": "Source URL", "maxLength": 4095, "format": "uri" },
"method": { "type": "string", "title": "Harvest Protocol", "enum": ["oai-pmh","s3","get","dataasee"] },
"format": { "type": "string", "title": "Metadata Format", "enum": ["datacite","oai_datacite","dc","oai_dc","lido","marc21","marcxml","mods","rawmods","dataasee"] },
"rights": { "type": "string", "title": "Source Rights", "maxLength": 4095 },
"steward": { "type": "string", "title": "Data Steward URL or Email", "maxLength": 4095 },
"options": { "type": ["null","string"], "title": "Harvest Options (OAI-PMH)", "maxLength": 255 },
"username": { "type": ["null","string"], "title": "Access key for the source (S3)", "maxLength": 255 },
"password": { "type": ["null","string"], "title": "Secret key for the source (S3)", "maxLength": 255 } }
}