isc.DataSource.create({
    allowAdvancedCriteria:true,
    ID:"Validator",
    addGlobalId:"false",
    fields:[
        {
            type:"string",
            name:"type"
        },
        {
            type:"string",
            name:"name"
        },
        {
            type:"string",
            name:"description"
        },
        {
            type:"boolean",
            name:"stopIfFalse"
        },
        {
            type:"boolean",
            name:"stopOnError"
        },
        {
            type:"boolean",
            name:"validateOnChange"
        },
        {
            type:"boolean",
            name:"clientOnly"
        },
        {
            type:"string",
            name:"errorMessage"
        },
        {
            type:"float",
            name:"max"
        },
        {
            type:"float",
            name:"min"
        },
        {
            type:"boolean",
            name:"exclusive"
        },
        {
            type:"regexp",
            name:"mask"
        },
        {
            type:"regexp",
            name:"transformTo"
        },
        {
            type:"integer",
            name:"precision"
        },
        {
            type:"string",
            name:"expression"
        },
        {
            type:"string",
            name:"otherField"
        },
        {
            type:"text",
            multiple:"true",
            name:"list"
        },
        {
            type:"ValueMap",
            name:"valueMap"
        },
        {
            type:"text",
            name:"substring"
        },
        {
            type:"text",
            name:"operator"
        },
        {
            type:"integer",
            name:"count"
        },
        {
            type:"AdvancedCriteria",
            name:"applyWhen"
        },
        {
            type:"string",
            multiple:"true",
            name:"dependentFields"
        },
        {
            type:"string",
            name:"scriptImport"
        },
        {
            idAllowed:"true",
            type:"Object",
            name:"serverCondition"
        },
        {
            type:"ServerObject",
            name:"serverObject"
        },
        {
            type:"string",
            name:"fieldName"
        },
        {
            type:"string",
            name:"triggerEvent"
        },
        {
            type:"string",
            name:"message"
        },
        {
            type:"string",
            name:"severity"
        },
        {
            type:"string",
            name:"displayMode"
        },
        {
            type:"integer",
            name:"duration"
        },
        {
            type:"string",
            name:"formula"
        },
        {
            type:"ValueMap",
            name:"formulaVars"
        }
    ]
})
