- Changed the button background color in `error.vue` to improve visibility. - Updated the secondary color in `theme.css` for better consistency. - Refactored border color references in `collapse.css` for clarity. - Added new fields (`auditAction`, `auditDetails`, `auditUsername`) to the `audit` model in `schema.prisma` for enhanced tracking. - Updated JSON schema to reflect new audit model fields.
288 lines
5.3 KiB
JSON
288 lines
5.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"audit": {
|
|
"type": "object",
|
|
"properties": {
|
|
"auditID": {
|
|
"type": "integer"
|
|
},
|
|
"auditIP": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditURL": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditURLMethod": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditURLPayload": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"auditAction": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditDetails": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"auditUsername": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/user"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"user": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userID": {
|
|
"type": "integer"
|
|
},
|
|
"userSecretKey": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userUsername": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userPassword": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userFullName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userEmail": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userPhone": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userStatus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"userModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"audit": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/audit"
|
|
}
|
|
},
|
|
"userrole": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/userrole"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"role": {
|
|
"type": "object",
|
|
"properties": {
|
|
"roleID": {
|
|
"type": "integer"
|
|
},
|
|
"roleName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleDescription": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleStatus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"roleModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"userrole": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/userrole"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"lookup": {
|
|
"type": "object",
|
|
"properties": {
|
|
"lookupID": {
|
|
"type": "integer"
|
|
},
|
|
"lookupOrder": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupTitle": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupRefCode": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupValue": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupStatus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"lookupCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"lookupModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
}
|
|
}
|
|
},
|
|
"userrole": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userRoleID": {
|
|
"type": "integer"
|
|
},
|
|
"userRoleCreatedDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"role": {
|
|
"$ref": "#/definitions/role"
|
|
},
|
|
"user": {
|
|
"$ref": "#/definitions/user"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "object",
|
|
"properties": {
|
|
"audit": {
|
|
"$ref": "#/definitions/audit"
|
|
},
|
|
"user": {
|
|
"$ref": "#/definitions/user"
|
|
},
|
|
"role": {
|
|
"$ref": "#/definitions/role"
|
|
},
|
|
"lookup": {
|
|
"$ref": "#/definitions/lookup"
|
|
},
|
|
"userrole": {
|
|
"$ref": "#/definitions/userrole"
|
|
}
|
|
}
|
|
} |