diff --git a/schemas/contribution.json b/schemas/contribution.json index fcea8e0..9c4ee9f 100644 --- a/schemas/contribution.json +++ b/schemas/contribution.json @@ -1,5 +1,5 @@ { - "$schema": "https://json-schema.org/draft-04/schema#", + "$schema": "https://json-schema.org/draft-07/schema#", "id": "https://schema.kosmos.org/Contribution", "properties": { "@context": { @@ -26,6 +26,18 @@ ], "type": "object" }, + "date": { + "type": "string", + "format": "date", + "title": "Date", + "description": "Date of contribution (RFC 3339 full-date)" + }, + "time": { + "type": "string", + "format": "time", + "title": "Time", + "description": "Time of contribution (RFC 3339 full-time)" + }, "kind": { "type": "string", "title": "Kind", @@ -56,6 +68,7 @@ }, "required": [ "contributor", + "date", "kind", "description" ], diff --git a/schemas/contributor.json b/schemas/contributor.json index 7978f7b..544858f 100644 --- a/schemas/contributor.json +++ b/schemas/contributor.json @@ -1,5 +1,5 @@ { - "$schema": "https://json-schema.org/draft-04/schema#", + "$schema": "https://json-schema.org/draft-07/schema#", "id": "https://schema.kosmos.org/Contributor", "properties": { "@context": {