isc.DataSource.create({
    ID:"DBSchema",
    fields:{
        name:{
            name:"name"
        },
        itemType:{
            name:"itemType"
        },
        type:{
            name:"type"
        },
        length:{
            name:"length",
            type:"integer"
        },
        primaryKey:{
            name:"primaryKey",
            type:"boolean"
        },
        path:{
            hidden:true,
            name:"path",
            primaryKey:true
        },
        parentID:{
            foreignKey:"DBSchema.path",
            hidden:true,
            name:"parentID"
        }
    },
    operationBindings:[
        {
            language:"groovy",
            operationType:"fetch",
            script:"\n            if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");\n            import com.isomorphic.sql.*;\n           \n\n	    "
        }
    ]
})
