Skip to content

Branding Import

  • Create association - Resource has a branding
  • Import Json and Create brandings and make associations w/ resources

Json Format

  • https://gitlab.galileo.usg.edu/brad/door-export/-/blob/master/branding.json
  • Each key of the top-level hash is an institution code.
  • Each value of the top-level hash is an array of hashes.
  • Each of these hashes represents a branding_note/branding_logo combination.
  • (Not sure how problematic that idea is--combining note and logo as one row in the branding model.)
  • Each one of these branding_note/branding_logo combinations has an array of resources (given as resource codes).
  • Each of these resources will use that branding_note/branding_logo combination.