Model organisations


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
primary_memberxxx
ownerxxx
allxx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?
__vNumber
_deletedBooleanfalsex
_idObjectIDfunction defaultId() { return new oid(); }
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
aboutString
accounts_emailString
addressString
allow_user_printingBooleanfalse
allowed_paymentsArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
bandwidth_per_month_overrideNumber
company_registration_numberString
cost_per_month_overrideNumber
createdAtDate
date_createdDatefunction now() { [native code] }
date_onboardedDate
discountNumber
discount_expiresDate
ebucks_accountArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
emailStringx
employee_countNumber
escalation_dateDate
escalation_percentageNumber
facebookString
hiddenBooleanfalsex
imgString
industrysector_idArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
itemsMixed
legal_nameString
linkedinString
location_idObjectIDLocation
membership_idObjectIDMembership
mobileString
nameStringxx
offboard_dateDate
onboard_dateDate
onboardedBooleanfalse
opportunity_idObjectIDOpportunity
papercut_usernameString
parent_organisation_idObjectIDOrganisationparent_organisation
pinString
postal_addressString
primary_tokenObjectID
printingBooleantrue
productString
proposal_idObjectIDProposal
short_nameStringx
signatory_idObjectIDUsersignatory
space_credits_per_month_overrideNumber
space_totalNumber
start_dateDatefunction now() { [native code] }
statusStringactivex
stuff_credits_per_month_overrideNumber
stuff_totalNumber
subscription_lockedBooleanfalse
summarise_invoiceBooleanfalse
telString
twitterString
typeArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
updatedAtDate
urlidStringx
user_idObjectIDUser
vatString
websiteString
xero_idString
xeroorgaccount_idObjectIDXeroOrgAccount
year_foundedNumber

Raw definition

{
	"path": "__v",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"__v"
	],
	"options": {},
	"_index": null
}
{
	"path": "_deleted",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_deleted"
	],
	"options": {
		"default": false,
		"index": true
	},
	"_index": true,
	"defaultValue": false
}
{
	"path": "_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"_id"
	],
	"options": {
		"auto": true,
		"type": "ObjectId"
	},
	"_index": null
}
{
	"path": "_owner_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_owner_id"
	],
	"options": {
		"link": "User",
		"map_to": "_owner",
		"index": true
	},
	"_index": true
}
{
	"path": "_updated_by_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_updated_by_id"
	],
	"options": {
		"link": "User",
		"map_to": "_updated_by",
		"index": true
	},
	"_index": true
}
{
	"enumValues": [],
	"regExp": null,
	"path": "about",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"about"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "accounts_email",
	"instance": "String",
	"validators": [
		{
			"message": "Please use a valid email address",
			"type": "user defined"
		}
	],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"accounts_email"
	],
	"options": {
		"validate": [
			null,
			"Please use a valid email address"
		]
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "address",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"address"
	],
	"options": {},
	"_index": null
}
{
	"path": "allow_user_printing",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"allow_user_printing"
	],
	"options": {
		"default": false
	},
	"_index": null,
	"defaultValue": false
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"perms": {
			"admin": "crud",
			"primary_member": "cru",
			"owner": "cru",
			"all": "cr"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "cru",
			"user": "",
			"all": "cr",
			"primary_member": "cru"
		},
		"pluralization": true
	},
	"caster": {
		"enumValues": [],
		"regExp": null,
		"path": "allowed_payments",
		"instance": "String",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"allowed_payments"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "allowed_payments.$",
		"_arrayParentPath": "allowed_payments"
	},
	"$embeddedSchemaType": {
		"enumValues": [],
		"regExp": null,
		"path": "allowed_payments",
		"instance": "String",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"allowed_payments"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "allowed_payments.$",
		"_arrayParentPath": "allowed_payments"
	},
	"$isMongooseArray": true,
	"path": "allowed_payments",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"allowed_payments"
	],
	"options": {
		"type": [
			null
		]
	},
	"_index": null
}
{
	"path": "bandwidth_per_month_override",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"bandwidth_per_month_override"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "company_registration_number",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"company_registration_number"
	],
	"options": {},
	"_index": null
}
{
	"path": "cost_per_month_override",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"cost_per_month_override"
	],
	"options": {},
	"_index": null
}
{
	"path": "createdAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [
		null,
		null
	],
	"_presplitPath": [
		"createdAt"
	],
	"options": {
		"immutable": true
	},
	"_index": null,
	"$immutable": true
}
{
	"path": "date_created",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"date_created"
	],
	"options": {},
	"_index": null
}
{
	"path": "date_onboarded",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"date_onboarded"
	],
	"options": {},
	"_index": null
}
{
	"path": "discount",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"discount"
	],
	"options": {},
	"_index": null
}
{
	"path": "discount_expires",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"discount_expires"
	],
	"options": {},
	"_index": null
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"perms": {
			"admin": "crud",
			"primary_member": "cru",
			"owner": "cru",
			"all": "cr"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "cru",
			"user": "",
			"all": "cr",
			"primary_member": "cru"
		},
		"pluralization": true
	},
	"caster": {
		"path": "ebucks_account",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"ebucks_account"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "ebucks_account.$",
		"_arrayParentPath": "ebucks_account"
	},
	"$embeddedSchemaType": {
		"path": "ebucks_account",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"ebucks_account"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "ebucks_account.$",
		"_arrayParentPath": "ebucks_account"
	},
	"$isMongooseArray": true,
	"path": "ebucks_account",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"ebucks_account"
	],
	"options": {
		"type": [
			null
		]
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "email",
	"instance": "String",
	"validators": [
		{
			"message": "Please use a valid email address",
			"type": "user defined"
		}
	],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"email"
	],
	"options": {
		"index": true,
		"validate": [
			null,
			"Please use a valid email address"
		]
	},
	"_index": true
}
{
	"path": "employee_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"employee_count"
	],
	"options": {},
	"_index": null
}
{
	"path": "escalation_date",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"escalation_date"
	],
	"options": {},
	"_index": null
}
{
	"path": "escalation_percentage",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"escalation_percentage"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "facebook",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"facebook"
	],
	"options": {},
	"_index": null
}
{
	"path": "hidden",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"hidden"
	],
	"options": {
		"default": false,
		"index": true
	},
	"_index": true,
	"defaultValue": false
}
{
	"enumValues": [],
	"regExp": null,
	"path": "img",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"img"
	],
	"options": {},
	"_index": null
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"perms": {
			"admin": "crud",
			"primary_member": "cru",
			"owner": "cru",
			"all": "cr"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "cru",
			"user": "",
			"all": "cr",
			"primary_member": "cru"
		},
		"pluralization": true
	},
	"caster": {
		"path": "industrysector_id",
		"instance": "ObjectID",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"industrysector_id"
		],
		"options": {
			"link": "IndustrySector"
		},
		"_index": null,
		"_arrayPath": "industrysector_id.$",
		"_arrayParentPath": "industrysector_id"
	},
	"$embeddedSchemaType": {
		"path": "industrysector_id",
		"instance": "ObjectID",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"industrysector_id"
		],
		"options": {
			"link": "IndustrySector"
		},
		"_index": null,
		"_arrayPath": "industrysector_id.$",
		"_arrayParentPath": "industrysector_id"
	},
	"$isMongooseArray": true,
	"path": "industrysector_id",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"industrysector_id"
	],
	"options": {
		"type": [
			{
				"link": "IndustrySector"
			}
		]
	},
	"_index": null
}
{
	"path": "items",
	"instance": "Mixed",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"items"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "legal_name",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"legal_name"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "linkedin",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"linkedin"
	],
	"options": {},
	"_index": null
}
{
	"path": "location_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"location_id"
	],
	"options": {
		"link": "Location"
	},
	"_index": null
}
{
	"path": "membership_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"membership_id"
	],
	"options": {
		"link": "Membership"
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "mobile",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"mobile"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "name",
	"instance": "String",
	"validators": [
		{
			"message": "Name cannot be empty",
			"type": "user defined"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"name"
	],
	"options": {
		"unique": true,
		"index": true
	},
	"_index": {
		"unique": true,
		"background": true
	}
}
{
	"path": "offboard_date",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"offboard_date"
	],
	"options": {},
	"_index": null
}
{
	"path": "onboard_date",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"onboard_date"
	],
	"options": {},
	"_index": null
}
{
	"path": "onboarded",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"onboarded"
	],
	"options": {
		"default": false
	},
	"_index": null,
	"defaultValue": false
}
{
	"path": "opportunity_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"opportunity_id"
	],
	"options": {
		"link": "Opportunity"
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "papercut_username",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"papercut_username"
	],
	"options": {},
	"_index": null
}
{
	"path": "parent_organisation_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"parent_organisation_id"
	],
	"options": {
		"link": "Organisation",
		"map_to": "parent_organisation"
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "pin",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"pin"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "postal_address",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"postal_address"
	],
	"options": {},
	"_index": null
}
{
	"path": "primary_token",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"primary_token"
	],
	"options": {},
	"_index": null
}
{
	"path": "printing",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"printing"
	],
	"options": {
		"default": true
	},
	"_index": null,
	"defaultValue": true
}
{
	"enumValues": [],
	"regExp": null,
	"path": "product",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"product"
	],
	"options": {},
	"_index": null
}
{
	"path": "proposal_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"proposal_id"
	],
	"options": {
		"link": "Proposal"
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "short_name",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"short_name"
	],
	"options": {
		"index": {
			"unique": true,
			"partialFilterExpression": {
				"short_name": {
					"$type": "string"
				},
				"_deleted": false
			}
		}
	},
	"_index": {
		"unique": true,
		"partialFilterExpression": {
			"short_name": {
				"$type": "string"
			},
			"_deleted": false
		},
		"background": true
	}
}
{
	"path": "signatory_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"signatory_id"
	],
	"options": {
		"link": "User",
		"map_to": "signatory"
	},
	"_index": null
}
{
	"path": "space_credits_per_month_override",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"space_credits_per_month_override"
	],
	"options": {},
	"_index": null
}
{
	"path": "space_total",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"space_total"
	],
	"options": {},
	"_index": null
}
{
	"path": "start_date",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"start_date"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "status",
	"instance": "String",
	"validators": [
		{
			"message": "Validator failed for path `{PATH}` with value `{VALUE}`",
			"type": "user defined",
			"validator": {}
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"status"
	],
	"options": {
		"validate": {},
		"index": true,
		"default": "active"
	},
	"_index": true,
	"defaultValue": "active"
}
{
	"path": "stuff_credits_per_month_override",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"stuff_credits_per_month_override"
	],
	"options": {},
	"_index": null
}
{
	"path": "stuff_total",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"stuff_total"
	],
	"options": {},
	"_index": null
}
{
	"path": "subscription_locked",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"subscription_locked"
	],
	"options": {
		"default": false
	},
	"_index": null,
	"defaultValue": false
}
{
	"path": "summarise_invoice",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"summarise_invoice"
	],
	"options": {
		"default": false
	},
	"_index": null,
	"defaultValue": false
}
{
	"enumValues": [],
	"regExp": null,
	"path": "tel",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"tel"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "twitter",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"twitter"
	],
	"options": {},
	"_index": null
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"perms": {
			"admin": "crud",
			"primary_member": "cru",
			"owner": "cru",
			"all": "cr"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "cru",
			"user": "",
			"all": "cr",
			"primary_member": "cru"
		},
		"pluralization": true
	},
	"caster": {
		"enumValues": [],
		"regExp": null,
		"path": "type",
		"instance": "String",
		"validators": [
			{
				"message": "Validator failed for path `{PATH}` with value `{VALUE}`",
				"type": "user defined",
				"validator": {}
			}
		],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"type"
		],
		"options": {
			"validate": {},
			"index": true,
			"default": "member"
		},
		"_index": true,
		"defaultValue": "member",
		"_arrayPath": "type.$",
		"_arrayParentPath": "type"
	},
	"$embeddedSchemaType": {
		"enumValues": [],
		"regExp": null,
		"path": "type",
		"instance": "String",
		"validators": [
			{
				"message": "Validator failed for path `{PATH}` with value `{VALUE}`",
				"type": "user defined",
				"validator": {}
			}
		],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"type"
		],
		"options": {
			"validate": {},
			"index": true,
			"default": "member"
		},
		"_index": true,
		"defaultValue": "member",
		"_arrayPath": "type.$",
		"_arrayParentPath": "type"
	},
	"$isMongooseArray": true,
	"path": "type",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"type"
	],
	"options": {
		"type": [
			{
				"validate": {},
				"index": true,
				"default": "member"
			}
		]
	},
	"_index": null
}
{
	"path": "updatedAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"updatedAt"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "urlid",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"urlid"
	],
	"options": {
		"index": {
			"unique": true
		}
	},
	"_index": {
		"unique": true,
		"background": true
	}
}
{
	"path": "user_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"user_id"
	],
	"options": {
		"link": "User"
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "vat",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"vat"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "website",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"website"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "xero_id",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"xero_id"
	],
	"options": {},
	"_index": null
}
{
	"path": "xeroorgaccount_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"xeroorgaccount_id"
	],
	"options": {
		"link": "XeroOrgAccount"
	},
	"_index": null
}
{
	"path": "year_founded",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"year_founded"
	],
	"options": {},
	"_index": null
}