adiwg / mdJson-schemas

JSON schemas, examples, and templates for ADIwg metadata standards
http://www.adiwg.org/projects/
GNU Lesser General Public License v3.0
18 stars 16 forks source link

New Class - Objective #216

Open stansmith907 opened 5 years ago

stansmith907 commented 5 years ago

Class Definition: objective "describes the characteristics, spatial and temporal extent of the intended object to be observed" See: ISO MI_Objective

Rules:

Rules:


mdJson:

{
   "acquisition": [
      {
         "objective": [
            {
               "objectiveId": "objective ID",
               "identifier": [ ],
               "priority": "objective priority",
               "objectiveType": ["MI_ObjectiveTypeCode"],
               "function": ["objective function one"],
               "extent": [ ],
               "objectiveOccurrence": ["eventId"],
               "pass": ["passId"],
               "sensingInstrument": ["instrumentId"]
            }
         ]
      }
   ]
}
jlblcc commented 5 years ago

Can objectiveOccurrence be an empty array? IF so, we shouldn't require it in mdJSON. It can be added in the writer if not present.

stansmith907 commented 5 years ago

ObjectiveOccurrence is required according to the XSD and ISO 19115-2 documentation. Mandatory with one or more occurrence.

dwalt commented 2 years ago

Added "function" element. Removed objectiveOccurence recommendation as a required element. It is not required according to ISO 19115-2 2019.

jwaspin commented 7 months ago

@dwalt or @hmaier-fws Are objectiveOccurrence, pass, and sensingInstrument supposed to be other classes? objectiveOccurrence -> event pass -> pass sensingInstrument -> instrument

dwalt commented 7 months ago

@jwaspin objectiveOccurence is an array of references to Event. Pass is an array of references to PlatformPass. SensingInstrument is an array of references to Instrument. Objective is a parent class to PlatformPass and Instrument. Objective has an associated reference to Event (many to many).

hmaier-fws commented 7 months ago

Updated definition of objectiveId to: objectiveId: ( character ) "a unique mdJSON system identifier for the objective" default: UUID