Employer

Id: {
    // Auto Generated ID Hash
},
Slug: { //chosen slug }
Name: {
    // String name of business
}
Active: {
    // Boolean
    // Default 1
    // Whether or not the business should be displayed to the public & search engines 
},
Deleted: {
    // Boolean
    // Default 0
    // Whether or not the location has been deleted
    // Once 1 can't be reversed
}
Subcategories: {
    //array of subcategories the business belongs to
},
content: [{
    // subschema - sections
    heading: {},
    body: {}
}],
rank: {
    
},
yearsQualified:{
    //number of years the business has been qualified
}
imageUrls [paths],
domain: {
    //String    
},
phone: {
    //String, validated
},
email: {
    //string, validated
},
socialUrls: [{
    //subschema
    socialId: { //slug of social }
    url: { //business social url }
}],
address: {
    //string with preference of google maps format
}
location: {
    //reference to location
}

Last updated

Was this helpful?