selmaohneh / DdfGuide

Eine Open-Source-Datenbank-App für alle "Die drei ???"- Fans unter Android!
MIT License
3 stars 1 forks source link

Json Definition #52

Open ftpproxy opened 3 years ago

ftpproxy commented 3 years ago

Jedes Objekt in dtos.json sollte die folgende Struktur haben:

  {
    "Id": "<STRING als UUID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    "Title": "<STRING>",
    "NumberEuropa": <UNSIGNED INT oder NULL>,
    "ReleaseDate": "DATE im Format YYYY-MM-DDThh:mm:ss",
    "CoverUrl": "https://github.com/selmaohneh/DdfGuide/raw/master/Covers/<$Id>.jpg",
    "Interpreter": "<STRING>",
    "SpotifyAlbumId": "<STRING oder NULL>",
    "Description": "<STRING optional with simple HTML tags>",
    "Roles": [
      {
        "Character": "<STRING>",
        "Speaker": "<STRING>"
      }
    ]
  }

Reglen:

selmaohneh commented 3 years ago

Das sollte via Skript in einer Github Actions geprüft werden.