basic_person.json 405 B

1234567891011121314151617181920212223242526
  1. {
  2. "title": "Person",
  3. "type": "object",
  4. "id": "person",
  5. "properties": {
  6. "name": {
  7. "type": "string",
  8. "description": "First and Last name",
  9. "minLength": 4
  10. },
  11. "age": {
  12. "type": "integer",
  13. "default": 21,
  14. "minimum": 18,
  15. "maximum": 99
  16. },
  17. "gender": {
  18. "type": "string",
  19. "enum": [
  20. "male",
  21. "female"
  22. ]
  23. }
  24. }
  25. }