local Mission = {
  Name = "Dawn",
  Image = "https://photojournal.jpl.nasa.gov/jpegMod/PIA19375_modest.jpg",
  TimeRange = { Start = "2007 SEP 07 11:34:00", End = "2018 OCT 30 00:00:00" },
  Description = "Dawn was the first spacecraft to orbit two extraterrestrial destinations (Vesta and Ceres). When Dawn arrived at Vesta, it became the first spacecraft to orbit an object in the main asteroid belt. When Dawn arrived at Ceres, it was the first spacecraft to visit a dwarf planet.",
  Milestones = {
    {
      Name = "Launch",
      Date = "2007 SEP 07 11:34:00",
      Image = "https://www.nasa.gov/images/content/190740main_dawnlaunch_330.jpg"
    },
    {
      Name = "Flyby of Mars",
      Date = "2009 FEB 18 00:27:58",
      Image = "https://www.nasa.gov/sites/default/files/styles/full_width_feature/public/thumbnails/image/pj41_full.gif" ,
      Description = "On Dec. 24, 1968, Apollo 8 astronauts Frank Borman, Jim Lovell, and Bill Anders became the first humans to orbit the Moon, and the first to witness the magnificent sight called 'Earthrise'. As the spacecraft was in the process of rotating, Anders took this iconic picture showing Earth rising over the Moon's horizon.",
    }
  },
  Phases = {
    {
      Name = "Vesta orbit",
      TimeRange = { Start = "2011 JUL 16 04:47:00", End = "2012 SEP 05 06:26:00" },
      Image = "https://solarsystem.nasa.gov/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSXBZV1UxWWpJd016a3ROVFUxT1MwME1UZzFMVGxoTWpZdFkyUXpZVEk1T0RKak1UazFCam9HUlZRNkVHUnBjM0J2YzJsMGFXOXVTU0pQYVc1c2FXNWxPeUJtYVd4bGJtRnRaVDBpVUVsQk1UVTJOemhmYUdseVpYTXVhbkJuSWpzZ1ptbHNaVzVoYldVcVBWVlVSaTA0SnlkUVNVRXhOVFkzT0Y5b2FYSmxjeTVxY0djR093WlVPaEZqYjI1MFpXNTBYM1I1Y0dWSklnOXBiV0ZuWlM5cWNHVm5CanNHVkRvUmMyVnlkbWxqWlY5dVlXMWxPZ3BzYjJOaGJBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2Jfa2V5In19--046d49cb8eb78db2f7202c135bc43c590c15f213/PIA15678_hires.jpg",
      Description = "Dawn orbited Vesta for more than a year, from July 2011 to September 2012. Its investigation confirmed that Vesta is the parent of the HED (howardites, eucrites, and diogenites) meteorites, which Dawn connected to Vesta's large south polar basin, a priceless cosmic connection between samples in hand and a singular event on a small planet."
    },
    {
      Name = "Ceres orbit",
      TimeRange = { Start = "2015 MAR 06 12:29:00", End = "2018 OCT 30 00:00:00" },
      Image = "https://solarsystem.nasa.gov/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSXBZekk1TTJFMk5tVXRaR1F3TmkwME5XSmpMVGcwWVRNdE5qY3daREJoWkRNek1tWTJCam9HUlZRNkVHUnBjM0J2YzJsMGFXOXVTU0pEYVc1c2FXNWxPeUJtYVd4bGJtRnRaVDBpVUVsQk1qRXdOemt1YW5Cbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZFFTVUV5TVRBM09TNXFjR2NHT3daVU9oRmpiMjUwWlc1MFgzUjVjR1ZKSWc5cGJXRm5aUzlxY0dWbkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9rZXkifX0=--84aa86325e1ff663ed2382dd4f30967e4c53e5e8/PIA21079.jpg",
      Description = "After its escape from Vesta and its journey onward, Dawn entered orbit around Ceres in March 2015. Dawn discovered that the inner solar system's only dwarf planet was an ocean world where water and ammonia reacted with silicate rocks. As the ocean froze, salts and other telltale minerals concentrated into deposits that are now exposed in many locations across the surface. Dawn also found organics in several locations on Ceres' surface."
    }
  }
}


asset.onInitialize(function()
  openspace.loadMission(Mission)
end)

asset.onDeinitialize(function()
  openspace.unloadMission(Mission.Name)
end)
