Skip to content

Instantly share code, notes, and snippets.

MODEL COFFEE FILE image.coffee :
window.models = {} unless window.models?
JSV = require("./jsv").JSV
jsvEnv = JSV.createEnvironment()
imageSchema =
"type":"object"
ORIGINAL SCHEMA image.json :
{
"type":"object",
"id":"#image",
"properties":{
"name": { "type":"string"},
"encoding": { "type":"string"},
"drcid": { "type":"string"},
"type": { "type":"string"},