UNPKG

@compas/code-gen

Version:

Generate various boring parts of your server

21 lines (20 loc) 85.5 kB
// Generated by @compas/code-gen /* eslint-disable no-unused-vars */ export const compasGenerateSettings = { outputDirectory: "packages/code-gen/src/generated", fileHeader: "// Generated by @compas/code-gen\n/* eslint-disable no-unused-vars */\n", isBrowser: false, isNodeServer: false, isNode: true, enabledGenerators: ["validator", "type"], environment: {}, useTypescript: false, dumpStructure: true, dumpApiStructure: false, dumpPostgres: false, declareGlobalTypes: false, enabledGroups: ["codeGen"], }; export const codeGenStructureString = '{"type":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"anyOf","group":"codeGen","name":"type","values":[{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"anyType","uniqueName":"CodeGenAnyType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"anyOfType","uniqueName":"CodeGenAnyOfType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"arrayType","uniqueName":"CodeGenArrayType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"booleanType","uniqueName":"CodeGenBooleanType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"dateType","uniqueName":"CodeGenDateType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"fileType","uniqueName":"CodeGenFileType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"genericType","uniqueName":"CodeGenGenericType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"numberType","uniqueName":"CodeGenNumberType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"objectType","uniqueName":"CodeGenObjectType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"referenceType","uniqueName":"CodeGenReferenceType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"stringType","uniqueName":"CodeGenStringType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"uuidType","uniqueName":"CodeGenUuidType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"routeType","uniqueName":"CodeGenRouteType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"extendType","uniqueName":"CodeGenExtendType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"omitType","uniqueName":"CodeGenOmitType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"pickType","uniqueName":"CodeGenPickType"}},{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"crudType","uniqueName":"CodeGenCrudType"}}],"uniqueName":"CodeGenType"},"relationType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"relationType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["relation"]},"subType":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["manyToOne","oneToMany","oneToOne","oneToOneReverse"]},"reference":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"referenceType","group":"codeGen"}},"ownKey":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"referencedKey":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}},"uniqueName":"CodeGenRelationType"},"routeInvalidationType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"routeInvalidationType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["routeInvalidation"]},"target":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"group":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}},"properties":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"useSharedParams":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"useSharedQuery":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"specification":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{ params: {}, query: {}, }","keys":{"params":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"generic","defaultValue":"{}","keys":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"values":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}},"query":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"generic","defaultValue":"{}","keys":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"values":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}}}}}}},"uniqueName":"CodeGenRouteInvalidationType"},"structure":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"generic","group":"codeGen","name":"structure","keys":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"namePart","uniqueName":"CodeGenNamePart"}},"values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"generic","keys":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"namePart","uniqueName":"CodeGenNamePart"}},"values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}}},"uniqueName":"CodeGenStructure"},"context":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":true},"sql":{},"type":"object","group":"codeGen","name":"context","relations":[],"keys":{"options":{"docString":"","isOptional":false,"validator":{"allowNull":false},"sql":{},"type":"any","rawValueImport":{},"rawValidatorImport":{},"rawValue":"import(\\"../../App\\").GenerateOpts"},"structure":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"structure","group":"codeGen"}},"extension":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":[".js",".ts"]},"importExtension":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"outputFiles":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"file","group":"codeGen"}}},"errors":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"group":"codeGen","name":"collectableError","uniqueName":"CodeGenCollectableError"}}}},"uniqueName":"CodeGenContext"},"file":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":true},"sql":{},"type":"object","group":"codeGen","name":"file","relations":[],"keys":{"relativePath":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"contents":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}},"uniqueName":"CodeGenFile"},"templateState":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":true},"sql":{},"type":"object","group":"codeGen","name":"templateState","relations":[],"keys":{"phase":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["init","collect","finish"]}},"uniqueName":"CodeGenTemplateState"},"typeSettings":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":true},"sql":{},"type":"object","group":"codeGen","name":"typeSettings","relations":[],"keys":{"isJSON":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"useDefaults":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"useTypescript":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"isNode":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"isBrowser":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"suffix":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"isCommonFile":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"isTypeFile":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"fileTypeIO":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["input","outputRouter","outputClient"]}},"uniqueName":"CodeGenTypeSettings"},"anyType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"anyType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["any"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{ allowNull: false }","keys":{"allowNull":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"rawValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"rawValueImport":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{"javaScript":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"typeScript":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}},"rawValidator":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"rawValidatorImport":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{"javaScript":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"typeScript":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}}},"uniqueName":"CodeGenAnyType"},"anyOfType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"anyOfType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["anyOf"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"values":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}}}},"uniqueName":"CodeGenAnyOfType"},"arrayType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"arrayType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["array"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"convert":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"min":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"},"max":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}}},"uniqueName":"CodeGenArrayType"},"booleanType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"booleanType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["boolean"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"convert":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"allowNull":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"oneOf":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"}},"uniqueName":"CodeGenBooleanType"},"dateType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"dateType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["date"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{ allowNull: false }","keys":{"allowNull":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"min":{"docString":"","isOptional":true,"validator":{"allowNull":false},"sql":{},"type":"date"},"max":{"docString":"","isOptional":true,"validator":{"allowNull":false},"sql":{},"type":"date"},"inFuture":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},"inPast":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"specifier":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["dateOnly","timeOnly"]}},"uniqueName":"CodeGenDateType"},"fileType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"fileType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["file"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{"mimeTypes":{"docString":"","isOptional":true,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"}}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}}},"uniqueName":"CodeGenFileType"},"genericType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"genericType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["generic"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"keys":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}},"values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}}},"uniqueName":"CodeGenGenericType"},"numberType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"numberType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["number"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"convert":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"floatingPoint":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"min":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"},"max":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"},"allowNull":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"oneOf":{"docString":"","isOptional":true,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}}},"uniqueName":"CodeGenNumberType"},"objectType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"objectType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["object"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"group":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"sql":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"primary":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"searchable":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"hasDefaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}},"validator":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"allowNull":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"strict":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"true"}}},"internalSettings":{"docString":"Used where the public spec isn\'t complete enough for all things we want to support for OpenAPI.","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"defaultValue":"{}","keys":{}},"shortName":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"keys":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"generic","keys":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"type","group":"codeGen"}}},"enableQueries":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"queryOptions":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"withSoftDeletes":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"withDates":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"withPrimaryKey":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"true"},"isView":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"schema":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""}}},"relations":{"docString":"","isOptional":true,"validator":{"convert":false},"sql":{},"type":"array","defaultValue":"[]","values":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"relationType","group":"codeGen"}}},"where":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"rawType":{"docString":"","isOptional":false,"validator":{},"sql":{},"type":"reference","reference":{"name":"objectType","group":"codeGen"}},"fields":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"key":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"name":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"isRelation":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"variant":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["equal","notEqual","in","notIn","greaterThan","lowerThan","isNull","isNotNull","includeNotNull","like","iLike","notLike","exists","notExists"]}}}}}},"orderBy":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"specType":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"fields":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"key":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"optional":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"}}}}}},"partial":{"docString":"","isOptional":true,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"insertType":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"updateType":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"fields":{"docString":"","isOptional":false,"validator":{"convert":false},"sql":{},"type":"array","values":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","relations":[],"keys":{"key":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"defaultValue":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string"},"hasSqlDefault":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"isJsonb":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"}}}}}}},"uniqueName":"CodeGenObjectType"},"referenceType":{"docString":"","isOptional":false,"validator":{"allowNull":false,"strict":false},"sql":{},"type":"object","group":"codeGen","name":"referenceType","relations":[],"keys":{"type":{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","oneOf":["reference"]},"docString":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":1},"sql":{},"type":"string","defaultValue":"\\"\\""},"isOptional":{"docString":"","isOptional":true,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean","defaultValue":"false"},"defaultValue":{"docString":"","isOptional":true,"validator":{},"sql":{},"type":"anyOf","values":[{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"trim":false,"lowerCase":false,"upperCase":false,"min":0},"sql":{},"type":"string"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false},"sql":{},"type":"boolean"},{"docString":"","isOptional":false,"validator":{"convert":false,"allowNull":false,"floatingPoint":false,"min":-2147483647,"max":2147483647},"sql":{},"type":"number"}]},"uniqueNam