primitives.ask-1.json 609 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "additionalProperties": false,
  3. "properties": {
  4. "count": {
  5. "type": "number"
  6. },
  7. "enabled": {
  8. "type": "boolean"
  9. },
  10. "exact": {
  11. "const": "only"
  12. },
  13. "nothing": {
  14. "type": "null"
  15. },
  16. "priority": {
  17. "enum": [
  18. 1,
  19. 2,
  20. 3
  21. ]
  22. },
  23. "status": {
  24. "enum": [
  25. "draft",
  26. "published",
  27. "archived"
  28. ]
  29. },
  30. "title": {
  31. "type": "string"
  32. }
  33. },
  34. "required": [
  35. "title",
  36. "count",
  37. "enabled",
  38. "nothing",
  39. "status",
  40. "priority",
  41. "exact"
  42. ],
  43. "type": "object"
  44. }