audit-log-object.json 746 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "type": "object",
  3. "description": "Audit Log object",
  4. "required": [
  5. "id",
  6. "created_on",
  7. "modified_on",
  8. "user_id",
  9. "object_type",
  10. "object_id",
  11. "action",
  12. "meta"
  13. ],
  14. "additionalProperties": false,
  15. "properties": {
  16. "id": {
  17. "$ref": "../common.json#/properties/id"
  18. },
  19. "created_on": {
  20. "$ref": "../common.json#/properties/created_on"
  21. },
  22. "modified_on": {
  23. "$ref": "../common.json#/properties/modified_on"
  24. },
  25. "user_id": {
  26. "$ref": "../common.json#/properties/user_id"
  27. },
  28. "object_type": {
  29. "type": "string"
  30. },
  31. "object_id": {
  32. "$ref": "../common.json#/properties/id"
  33. },
  34. "action": {
  35. "type": "string"
  36. },
  37. "meta": {
  38. "type": "object"
  39. },
  40. "user": {
  41. "$ref": "./user-object.json"
  42. }
  43. }
  44. }