schema/taxonomy.json in adiwg-mdjson_schemas-2.4.5 vs schema/taxonomy.json in adiwg-mdjson_schemas-2.4.7

- old
+ new

@@ -32,11 +32,10 @@ }, "identificationReference": { "type": "array", "description": "Information on any non-authoritative materials (e.g. field guides) useful for reconstructing the actual process.", "translation": {}, - "minItems": 1, "items": { "$ref": "./identifier.json#" } }, "observer": { @@ -105,28 +104,53 @@ "example": "../examples/taxonomicClassification.json", "translation": { "ISO 19115-2": ["MD_TaxonSys > taxonCl > MD_TaxonCl"], "FGDC CSDGM": ["idinfo > taxonomy > taxoncl"] }, - "required": ["latinName", "taxonomicRank"], "additionalProperties": true, + "oneOf": [{ + "title": "Requires taxonomicName and taxonomicLevel", + "required": ["taxonomicName", "taxonomicLevel"] + }, { + "title": "Requires latinName and taxonomicRank", + "deprecated": true, + "required": ["latinName", "taxonomicRank"] + }], "properties": { "taxonomicSystemId": { "type": "string", "description": "The ID assigned by the taxonomic system to the taxonomicRank.", "minLength": 1 }, - "taxonomicRank": { + "taxonomicLevel": { "type": "string", "description": "Name of the taxonomic rank for which the taxonValue is provided. Example: \"Kingdom\", \"Division\", \"Phylum\", \"Subphylum\", \"SuperClass\", \"Class\", \"SubClass\", \"InfraClass\", \"Superorder\", \"Order\", \"Suborder\", \"Infraorder\", \"Superfamily\", \"Family\", \"Subfamily\", \"Tribe\", \"Subtribe\", \"Genus\", \"Species\".", "translation": { "ISO 19115-2": [" MD_TaxonCl > taxonrn"], "FGDC CSDGM": ["idinfo > taxonomy > taxoncl > taxonrn"] } }, - "latinName": { + "taxonomicRank": { "type": "string", + "deprecated": true, + "description": "DEPRECATED, use taxonomicLevel", + "translation": { + "ISO 19115-2": [" MD_TaxonCl > taxonrn"], + "FGDC CSDGM": ["idinfo > taxonomy > taxoncl > taxonrn"] + } + }, + "taxonomicName": { + "type": "string", "description": "Taxonomic rank value of the taxon being described.", + "translation": { + "ISO 19115-2": ["MD_TaxonCl > taxonrv"], + "FGDC CSDGM": ["idinfo > taxonomy > taxoncl > taxonrv"] + } + }, + "latinName": { + "type": "string", + "deprecated": true, + "description": "DEPRECATED, use taxonomicName", "translation": { "ISO 19115-2": ["MD_TaxonCl > taxonrv"], "FGDC CSDGM": ["idinfo > taxonomy > taxoncl > taxonrv"] } },