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 15 forks source link

New Class - Instrument #215

Open stansmith907 opened 5 years ago

stansmith907 commented 5 years ago

Class Definition: instrument "designations for the measuring instruments" See: ISO MI_Instrument

Rules:

Rules:


mdJson:

{
   "acquisition": [
      {
         "instrument": [
            {
               "instrumentId": "instrument ID",
               "citation": [],
               "identifier": {},
               "instrumentType": "instrument type",
               "description": "instrument description",
               "mountedOn": "platformId",
               "history": "events list"
               "hostId": "host instrument ID"
            }
         ]
      }
   ]
}
dwalt commented 2 years ago

Added "hostId" and "history" elements.

jwaspin commented 3 months ago

@dwalt It looks like #250 and #251 are related to this and will also need to be completed as part of this, is that correct? It looks like history is an array of the event list objects? If that is correct, then there's a follow up question about the MI_InstrumentationEventTypeCode, which appears to be missing from http://standards.iso.org/iso/19115 although the list can still be found here https://wiki.esipfed.org/ISO_19115-3_Codelists#MI_InstrumentationEventTypeCode not only is that one of the esip links, the link to the code list is pointing to the wrong code list. What do we do about this one? Add it as an adiwg code list instead of iso so we can still use it? Keep it iso? Something else?

dwalt commented 3 months ago

@jwaspin Yes, InstrumentationEventList is an array of events associated with an Instrument. Event is like a lookup table of Event types that have a pre-defined relevance to the Instrument. From the perspective of the Instrument it is the "History" of events. This can be calibrations, operational status, milestones, etc. One would think there would be a defined temporal or process ordering, but there is not. Order is purely sequential. We could utilize CitationDate to identify temporal ordering in the UI and the write to mdJSON. I have emailed you the correct EventTypeCode list.

jwaspin commented 3 months ago

254

hmaier-fws commented 3 months ago

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