idf_py_help_schema.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "https://github.com/espressif/esp-idf/blob/master/tools/test_idf_py/idf_py_help_schema.json",
  4. "type": "object",
  5. "properties": {
  6. "target": {
  7. "type": ["string", "null"],
  8. "description": "Selected target"
  9. },
  10. "actions": {
  11. "type": "array",
  12. "description": "List of supported actions",
  13. "items": {
  14. "$ref": "#/definitions/actionInfo"
  15. }
  16. }
  17. },
  18. "required": [
  19. "target",
  20. "actions"
  21. ],
  22. "definitions": {
  23. "actionInfo": {
  24. "type": "object",
  25. "description": "Information about one action",
  26. "properties": {
  27. "name" : {
  28. "description": "Action name",
  29. "type": "string"
  30. },
  31. "description" : {
  32. "description": "Description of the action",
  33. "type": "string"
  34. },
  35. "options": {
  36. "description": "Additional info about action's options",
  37. "type": "array"
  38. }
  39. },
  40. "required": [
  41. "name",
  42. "description"
  43. ]
  44. }
  45. }
  46. }