propertyValidationDefs.schema.json 822 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema",
  3. "$id": "https://joystream.org/propertyValidationDefs.schema.json",
  4. "title": "propertyValidationDefs",
  5. "description": "JSON schema containing definitions for different property types input",
  6. "definitions": {
  7. "Bool": {
  8. "type": "boolean"
  9. },
  10. "Uint16": {
  11. "type": "integer",
  12. "minimum": 0,
  13. "maximum": 65535
  14. },
  15. "Uint32": {
  16. "type": "integer",
  17. "minimum": 0,
  18. "maximum": 4294967295
  19. },
  20. "Uint64": {
  21. "type": "integer",
  22. "minimum": 0
  23. },
  24. "Int16": {
  25. "type": "integer",
  26. "minimum": -32768,
  27. "maximum": 32767
  28. },
  29. "Int32": {
  30. "type": "integer",
  31. "minimum": -2147483648,
  32. "maximum": 2147483647
  33. },
  34. "Int64": {
  35. "type": "integer"
  36. }
  37. }
  38. }