Skip to content

Instantly share code, notes, and snippets.

@takanakahiko
Last active April 11, 2018 10:48
Show Gist options
  • Save takanakahiko/a70e9c243762b6f5c12d18968257b8cf to your computer and use it in GitHub Desktop.
Save takanakahiko/a70e9c243762b6f5c12d18968257b8cf to your computer and use it in GitHub Desktop.
priparaDBのサンプル
{
"songs":{
"make_it": {
"name":"Make it!",
"teams": {
"laala_and_mirei":true
},
"lives": {
"任意のID_A": true,
"任意のID_B": true
}
},
"mabru_make_up_ahaha": {
"name":"ま~ぶるMake up a-ha-ha!",
"teams": {
"laala_and_mirei":true
},
"lives": {
"任意のID_C": true
}
}
},
"characters":{
"manaka_laala":{
"name":"真中 らぁら",
"teams":{
"laala_and_mirei": true
}
},
"minami_mirei":{
"name":"南 みれぃ",
"teams":{
"laala_and_mirei": true
}
}
},
"teams": {
"laala_and_mirei": {
"name":"らぁら & みれぃ",
"members": {
"minami_mirei": true,
"manaka_laala": true
},
"songs":{
"make_it":true,
"mabru_make_up_ahaha": true
},
"MDs":{
"lets_go_pripara": true
}
}
},
"MDs": {
"lets_go_pripara": {
"name":"Let`s GOプリパラ",
"team": "laala_and_mirei",
"lives": {
"任意のID_A": true,
"任意のID_B": true
}
},
"mogitate_sweets_park": {
"name":"もぎたて!スイーツパーク",
"team": "laala_and_mirei",
"lives": {
"任意のID_C": true
}
}
},
"series": {
"pripara": {
"name":"プリパラ",
"start_at": "TODO",
"end_at": "TODO",
"episodes":{
"1":"任意のID1",
"2":"任意のID1",
"6":"任意のID1"
}
},
"idoltime_pripara": {
"name":"アイドルタイムプリパラ",
"start_at": "TODO",
"end_at": "TODO",
"episodes":{
}
}
},
"episodes": {
"任意のID1": {
"number": 1,
"series": "pripara",
"title": "アイドル始めちゃいました!"
},
"任意のID2": {
"number": 2,
"series": "pripara",
"title": "約束やぶっちゃダメぷりっ!"
},
"任意のID3":{
"number": 6,
"series": "pripara",
"title": "異議あり?らぁらがウチにやってきたっぷり!"
}
},
"brands":{
"twinkle_ribbon":{
"name":"Twinkle Ribbon",
"coordinates": {
"cutie_ribbon": true
}
},
"candy_alamode":{
"name":"Candy Alamode",
"coordinates": {
"mogitate_lime": true,
"mogitate_orange": true
}
}
},
"coordinates": {
"cutie_ribbon":{
"name":"キューティーリボン",
"brand":"Twinkle Ribbon",
"character":"manaka_laala"
},
"wonderland_macaroon":{
"name":"ワンダーランドマカロン",
"brand":"Twinkle Ribbon",
"character":"manaka_laala"
},
"mogitate_lime":{
"name":"もぎたてライム",
"brand":"Candy Alamode",
"character":"minami_mirei"
},
"mogitate_orange":{
"name":"もぎたてオレンジ",
"brand":"Candy Alamode",
"character":"manaka_laala"
}
},
"live": {
"任意のID_A": {
"MD": "lets_go_pripara",
"coordinates":{
"cutie_ribbon": true
},
"time": {
"start_at": "20:00",
"end_at": "23:00"
},
"episode": "任意のID1",
"song": "make_it",
"team":"laala_and_mirei"
},
"任意のID_B": {
"MD": "lets_go_pripara",
"coordinates":{
"wonderland_macaroon": true
},
"time": {
"start_at": "20:00",
"end_at": "23:00"
},
"episode": "任意のID2",
"song": "Make_it",
"team":"laala_and_mirei"
},
"任意のID_C": {
"MD": "mogitate_sweets_park",
"coordinates": {
"mogitate_lime":true ,
"mogitate_orange": true
},
"time": {
"start_at": "20:00",
"end_at": "23:00"
},
"episode": "任意のID3",
"song": "mabru_make_up_ahaha",
"team": "laala_and_mirei"
}
}
}
@takanakahiko
Copy link
Author

takanakahiko commented Mar 28, 2018

構造を書いてみました.
[hoge]は繰り返しの要素名です.

  • songs
    • [曲名]
      • teams
        • [チーム名] : true
  • characters
    • [キャラクター名]
      • teams
        • [チーム名] : true
  • teams
    • [チーム名]
      • members
        • [キャラクター名] : true
      • songs
        • [曲名] : true
      • MDs
        • [MD名] : true
  • MDs
    • [MD名]
      • team : チーム名
      • lives
        • [ライブID] : true
  • series
    • [シリーズ名]
      • start_at : 日付
      • end_at : 日付
      • episodes
        • [話数] : エピソードID
  • episodes
    • [エピソードID]
      • number : 話数
      • series : シリーズ名
      • title : タイトル名
  • brands
    • [ブランド名]
      • coordinates
        • [コーデ名] : true
  • coordinates
    • [コーデ名]
      • brand : ブランド名
      • character : キャラクター名
  • live
    • [ライブID]
      • MD : MD名
      • coordinates
        • [コーデ名] : true
      • time
        • start_at : 開始時間
        • end_at : 終了時間
      • episode : エピソードID
      • song : 曲名
      • team : チーム名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment