From 250b9177c78a19b5b9705aab160bff1422934564 Mon Sep 17 00:00:00 2001 From: "Laura, Jason R" Date: Wed, 18 Oct 2023 12:26:22 -0700 Subject: [PATCH] Initial updates for target_class --- README.md | 25 ++++++++++++++++++++++++- examples/item.json | 1 + json-schema/schema.json | 17 +++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e90a9fb..40c7cb9 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,9 @@ elevation models (DEM/DTM). | Field Name | Type | Description | | --------------- | ----------- | ----------- | -| ssys:targets | \[string\] | Array to hold list of target bodies (e.g. Mars, Moon, Earth) | +| ssys:targets | \[string\] | Array to hold list of target bodies (e.g. Mars, Moon, Earth) conforming to the [International Virtual Observatory Alliance](https://www.ivoa.net/documents/EPNTAP/20201027/WD-epntap-2.0-20201027.html#tth_sEc2.1.3) target name specification. | | ssys:local_time | string | Lexicographically sortable time string (e.g., 01:115:12.343) | +| ssys:target_class | string | The identity of the type of the target as defined by the [International Virtual Observatory Alliance](https://www.ivoa.net/documents/EPNTAP/20201027/WD-epntap-2.0-20201027.html#tth_sEc2.1.3) | ### Additional Field Information @@ -48,6 +49,28 @@ in a time format that is meaningful to the user. Suggested formats are provided As a fallback one can consider using the Julian date. This has drawbacks though, as the Julian date does not account for the day/night cycle in different bodies which is often a factor in selecting data. +#### ssys:target_class + +the field `ssys:target_class` identifies the type of the target. Solar System bodies are defined without ambiguity by the couple +target_class and target_name. Values for this class are derived from the +[International Virtual Observatory Alliance](https://www.ivoa.net/documents/EPNTAP/20201027/WD-epntap-2.0-20201027.html#tth_sEc2.1.3) +target description parameter. + +Accepted values are: +- asteroid +- dwarf_planet +- planet +- satellite +- comet +- exoplanet +- interplanetary_medium +- sample +- sky +- spacecraft +- spacejunk +- star +- calibration + ## Contributing All contributions are subject to the diff --git a/examples/item.json b/examples/item.json index d10f677..4021a23 100644 --- a/examples/item.json +++ b/examples/item.json @@ -17,6 +17,7 @@ "ssys:targets": [ "Europa" ], + "ssys:target_class": "planet", "gsd": 1570, "license": "PDDL-1.0", "proj:epsg": null, diff --git a/json-schema/schema.json b/json-schema/schema.json index 76f2f96..ba9e779 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -94,6 +94,23 @@ "ssys:local_time": { "title": "Local time", "type": "string" + }, + "ssys:target_class": { + "title": "target_class", + "type": "string", + "enum": ["asteroid", + "dwarf_planet", + "planet", + "satellite", + "comet", + "exoplanet", + "interplanetary_medium", + "sample", + "sky", + "spacecraft", + "spacejunk", + "star", + "calibration"] } }, "patternProperties": {