{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-calgary/main/json-schema/university-of-calgary-data-source-schema.json",
  "title": "DataSource",
  "description": "An AuroraX data source describing an instrument/platform combination.",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "integer",
      "description": "Numeric AuroraX data source identifier."
    },
    "program": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "instrument_type": {
      "type": "string"
    },
    "source_type": {
      "type": "string",
      "description": "e.g. leo, ground, heo, lunar, event_list."
    },
    "display_name": {
      "type": "string"
    }
  },
  "required": [
    "identifier",
    "program",
    "platform",
    "instrument_type",
    "source_type",
    "display_name"
  ]
}