inheritance.schema.json 530 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "type": "object",
  3. "additionalProperties": {
  4. "type": "object",
  5. "additionalProperties": false,
  6. "properties": {
  7. "inherits": {
  8. "oneOf": [
  9. {
  10. "type": "null"
  11. },
  12. {
  13. "type": "string",
  14. "minLength": 1
  15. }
  16. ]
  17. },
  18. "implements": {
  19. "minItems": 0,
  20. "uniqueItems": true,
  21. "items": {
  22. "type": "string"
  23. }
  24. }
  25. },
  26. "required": [
  27. "inherits",
  28. "implements"
  29. ]
  30. }
  31. }