options.json 809 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "type": "object",
  3. "properties": {
  4. "limit": {
  5. "type": ["string", "number"]
  6. },
  7. "mimetype": {
  8. "type": "string"
  9. },
  10. "fallback": {
  11. "anyOf": [
  12. {
  13. "type": "string"
  14. },
  15. {
  16. "additionalProperties": false,
  17. "properties": {
  18. "loader": {
  19. "description": "Fallback loader name",
  20. "type": "string"
  21. },
  22. "options": {
  23. "description": "Fallback loader options",
  24. "anyOf": [
  25. {
  26. "type": "object"
  27. },
  28. {
  29. "type": "string"
  30. }
  31. ]
  32. }
  33. },
  34. "type": "object"
  35. }
  36. ]
  37. }
  38. },
  39. "additionalProperties": true
  40. }