Intersection (static) database schema structure - Andrewyg/unmanned-car GitHub Wiki

{
    location: {
        type: String,
        required: true
    },
    name: {
        type: String,
        required: true
    },
    waitZoneLength: {
        type: Number,
        minimum: 1,
        required: true
    },
    lanes: {
        type: Number,
        minimum: 1,
        required: true
    }
}