import ps= require("./actualParse")
import ts = require("../src/typesystem")
import chai = require("chai");
const assert = chai.assert;
import jsschema=require("../src/jsonSchemaWriter")
describe("Simple validation testing",function() {
    it("built in types exist", function () {
        var tp = ps.parseJSON("Person", {
            type: "object",
            properties:{
                name: "string"
            }
        })
        var wr=new jsschema.SchemaWriter();
        wr.store(tp)
    });
});