Skip to content

Commit

Permalink
Updated JSON schema as per #119.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Feb 1, 2023
1 parent 5c9b10d commit f0fe5ec
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/context/development/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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#",
Expand All @@ -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.",
Expand Down

0 comments on commit f0fe5ec

Please sign in to comment.