diff --git a/adsingestschema/Document.json b/adsingestschema/Document.json index ffc332b..bf77ac7 100644 --- a/adsingestschema/Document.json +++ b/adsingestschema/Document.json @@ -8,7 +8,11 @@ "$ref": "./RecordData.json" }, "relatedTo": { - "$ref": "./RelatedTo.json" + "type": "array", + "description": "Array of RelatedTo.json objects", + "items": { + "$ref": "./RelatedTo.json" + } }, "editorialHistory": { "$ref": "./EdHist.json" diff --git a/adsingestschema/PubDates.json b/adsingestschema/PubDates.json index 01a0615..62e24dd 100644 --- a/adsingestschema/PubDates.json +++ b/adsingestschema/PubDates.json @@ -9,11 +9,15 @@ "printDate": { "type": "string" }, - "otherPubDate": { - "type": "object", - "properties": { - "otherDateType": "string", - "otherDate": "string" + "otherDate": { + "type": "array", + "description": "Array of date-like objects (e.g. 'submitted', 'revised', 'accepted')", + "items": { + "type": "object", + "properties": { + "otherDateType": "string", + "otherDateValue": "string" + } } } }