NREL / disco

DISCO
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Add methods to validate DISCO input json against input schema #108

Closed daniel-thom closed 2 years ago

daniel-thom commented 2 years ago

AC-1: A DISCO method can validate an input JSON file or JSON object. AC-2: The functionality is available in a CLI command. AC-3: If a cost database is provided, it is validated. AC-4: If a catalog is provided, it is validated.

This could be through a command to the DISCO cli to validate against the schema when we create the JSON file.

daniel-thom commented 2 years ago

The basic functionality is implemented. Still missing validation of the catalog and cost database.

daniel-thom commented 2 years ago

PR #144 adds validation of the catalog and cost database.