jazyx / vdvoyom

Meteor app for language teachers to play interactive games online with students
0 stars 0 forks source link

Format for activity collection documents #95

Open blackslate opened 4 years ago

blackslate commented 4 years ago
{ phrase: {
    co: "..."
  , de-x: "•••"
  , ...
  }
, images: [
    { src: <url>
    , crop: <rect>
    , blur: <rect> // area to blur progressively outside crop to fill
    , alt: <string for tooltip overlay>
    , size: <kb>
    , credit: {
        source:
      , artist:
      , artistURL:
      , licence:
      , licenceURL:
      }
    }
  , ...
  ]
, audio: {
    co: [
      { src: <url>
      , talent: <name>
      , dialect: <string>
      , transcription: <string>
      , size: <kb>
      }
    , ...
    ]
  , de-x: []
  , ...
  }
, set: <string>
, tags: [<>, ...]
, path: <relative path from ActivityName/assets/ folder>
, mod_date: <timestamp>
, creator: <teacher id>
}
blackslate commented 4 years ago

Basic format adopted in 09bb0965 TODO: