From f0fe5ec85a3f598ed1cc8c574319d59e395002c5 Mon Sep 17 00:00:00 2001 From: Gaurav Vaidya Date: Wed, 1 Feb 2023 01:43:39 -0500 Subject: [PATCH] Updated JSON schema as per #119. --- docs/context/development/schema.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/context/development/schema.json b/docs/context/development/schema.json index 5d83d529..55282806 100644 --- a/docs/context/development/schema.json +++ b/docs/context/development/schema.json @@ -363,6 +363,23 @@ "$ref": "#/definitions/taxonomic_unit_by_id" } ] + }, + "contributor": { + "description": "A contributor to a Phyx file.", + "additionalProperties": false, + "properties": { + "@id": { + "description": "An identifier for this contributor. ORCIDs are strongly recommended.", + "type": "string", + "format": "uri", + "minLength": 1 + }, + "name": { + "description": "The name of this contributor.", + "type": "string", + "minLength": 1 + } + } } }, "$schema": "http://json-schema.org/draft-07/schema#", @@ -387,6 +404,9 @@ "source": { "description": "A citation to this Phyx file.", "$ref": "#/definitions/citation" + }, + "contributors": { + }, "defaultNomenclaturalCodeIRI": { "description": "The default nomenclatural code to be used in this file, for both phylogenies and phyloreferences. This will only be used for nodes and taxon concept specifiers that don’t have a nomenclatural code set.",