Bladeren bron

Started writing JSON Schema... not sure if doing right.

dev
Bryan Miller 6 jaren geleden
bovenliggende
commit
fbf13b536d
1 gewijzigde bestanden met toevoegingen van 20 en 0 verwijderingen
  1. +20
    -0
      app/js/common/JSONSchema.js

+ 20
- 0
app/js/common/JSONSchema.js Bestand weergeven

@@ -0,0 +1,20 @@


var NESPaletteSchema = JSON.stringify({
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "NESPaletteSchema.json",
"type":"array",
"minItems":25,
"maxItems":25,
"items":{
"type":"number",
"minimum": 0,
"exclusiveMaximum": 64
}
});


var PalettesStoreSchema = JSON.stringify({
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "PalettesStoreSchema.json",
});

Laden…
Annuleren
Opslaan