Browse Source

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

dev
Bryan Miller 6 years ago
parent
commit
fbf13b536d
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      app/js/common/JSONSchema.js

+ 20
- 0
app/js/common/JSONSchema.js View File

@@ -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",
});

Loading…
Cancel
Save