MovingBlocks

DestSol - JSON Schema Creation

JSON validation in Destination Sol is done manually right now, just catching certain errors. We want to use something called JSON schema validation. It allows you to construct what a JSON file should look like on an abstract level, then validate your actual JSON against it. Once you've done this, you can remove the manual error handling of the JSON, because the schema will take care of it for us. This task requires you to create 2 such schema files, for ships or guns or whatever you can find.

Definition of 'Done':

  • A PR to the DS repo containing the required schema

Where to Start:

Task tags

  • json
  • errors
  • schema

Students who completed this task

Phoenix909, AndyTechGuy, sohil, Adrijaned

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
close

2018