isc.DataSource.create({
    allowAdvancedCriteria:true,
    ID:"DataSourceStore",
    operationBindings:[
        {
            operationType:"custom",
            operationId:"dsFromSQL"
        },
        {
            operationType:"custom",
            operationId:"dsFromTable"
        },
        {
            operationType:"custom",
            operationId:"dsFromConfig"
        }
    ],
    fields:[
        {
            primaryKey:true,
            name:"ID"
        },
        {
            name:"version"
        },
        {
            name:"dsXML",
            length:50000,
            type:"text"
        },
        {
            hidden:true,
            name:"config"
        },
        {
            hidden:true,
            name:"dbName"
        },
        {
            hidden:true,
            name:"tableName"
        },
        {
            hidden:true,
            name:"schema"
        },
        {
            hidden:true,
            name:"sql"
        },
        {
            hidden:true,
            name:"ds",
            type:"DataSource"
        }
    ]
})
