{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "CompanyUser",
    "type": "object",
    "properties": {
        "id": { "type": "string", "format": "uuid" },
        "companyId": { "type": "string", "format": "uuid" },
        "userId": { "type": "string", "format": "uuid" },
        "roleId": { "type": "string", "format": "uuid" },
        "active": { "type": "boolean" },
        "createdAt": { "type": "string", "format": "date-time" },
        "createdBy": { "type": "string", "format": "uuid" },
        "updatedAt": { "type": "string", "format": "date-time" },
        "updatedBy": { "type": "string", "format": "uuid" },
        "deletedAt": { "type": "string", "format": "date-time" },
        "deletedBy": { "type": "string", "format": "uuid" }
    },
    "required": [
        "id",
        "companyId",
        "userId",
        "roleId",
        "active",
        "createdAt",
        "createdBy"
    ]
}
