key.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "Key": {
  3. "type": "object",
  4. "required": [
  5. "browserSdk",
  6. "browserSdkVersion",
  7. "dateCreated",
  8. "dsn",
  9. "id",
  10. "isActive",
  11. "label",
  12. "name",
  13. "projectId",
  14. "public",
  15. "rateLimit",
  16. "secret"
  17. ],
  18. "properties": {
  19. "browserSdk": {
  20. "type": "object",
  21. "properties": {
  22. "choices": {
  23. "type": "array",
  24. "items": {
  25. "type": "array",
  26. "items": {
  27. "type": "string"
  28. }
  29. }
  30. }
  31. }
  32. },
  33. "browserSdkVersion": {
  34. "type": "string"
  35. },
  36. "dateCreated": {
  37. "type": "string"
  38. },
  39. "dsn": {
  40. "type": "object",
  41. "required": ["cdn", "csp", "minidump", "nel", "public", "secret", "security"],
  42. "properties": {
  43. "cdn": {
  44. "type": "string"
  45. },
  46. "csp": {
  47. "type": "string"
  48. },
  49. "minidump": {
  50. "type": "string"
  51. },
  52. "nel": {
  53. "type": "string"
  54. },
  55. "public": {
  56. "type": "string"
  57. },
  58. "secret": {
  59. "type": "string"
  60. },
  61. "security": {
  62. "type": "string"
  63. }
  64. }
  65. },
  66. "id": {
  67. "type": "string"
  68. },
  69. "isActive": {
  70. "type": "boolean"
  71. },
  72. "label": {
  73. "type": "string"
  74. },
  75. "name": {
  76. "type": "string"
  77. },
  78. "projectId": {
  79. "type": "integer"
  80. },
  81. "public": {
  82. "type": "string"
  83. },
  84. "rateLimit": {
  85. "type": "string",
  86. "nullable": true
  87. },
  88. "secret": {
  89. "type": "string"
  90. }
  91. }
  92. }
  93. }