schema_configureLog.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "description": "Schema for the CMake configureLog object kind",
  4. "type": "object",
  5. "required": [
  6. "kind",
  7. "version",
  8. "path",
  9. "eventKindNames"
  10. ],
  11. "properties": {
  12. "kind": {
  13. "type": "string",
  14. "const": "configureLog"
  15. },
  16. "version": {
  17. "type": "object",
  18. "required": [
  19. "major",
  20. "minor"
  21. ],
  22. "properties": {
  23. "major": {
  24. "type": "integer",
  25. "const": 1
  26. },
  27. "minor": {
  28. "type": "integer",
  29. "const": 0
  30. }
  31. },
  32. "additionalProperties": false
  33. },
  34. "path": {
  35. "type": "string",
  36. "description": "Path to the configure log file. Clients must read the log file from this path, which may be different to the path in CMake's documentation. The log file specified by this path might not exist if no events have been logged."
  37. },
  38. "eventKindNames": {
  39. "type": "array",
  40. "description": "Names of versioned event kinds included in the configure log. Other event kinds might be present in the configure log, but clients must ignore those not listed in this array.",
  41. "items": {
  42. "type": "string",
  43. "enum": [
  44. "message-v1",
  45. "try_compile-v1",
  46. "try_run-v1",
  47. "find-v1",
  48. "find_package-v1"
  49. ]
  50. },
  51. "uniqueItems": true
  52. }
  53. },
  54. "additionalProperties": false
  55. }