Core Schema definition
This document is a work in progress and is updated constantly. It may not reflect the exact state of implementation.
Core Schema definition feature | Abailable in Respect ? |
5.1. type | With the various core DSL statements: 'integer', 'string', etc... |
5.2. properties | Yes |
5.3. patternProperties |
With a regular expression instead of a string as property name (Ruby regexp instead of ECMA 262) |
5.4. additionalProperties | With 'extra' statement or 'required' option |
5.5. items | With 'item' or 'items' statement |
5.6. additionalItems | With 'extra_items' statement |
5.7. required | Yes |
5.8. dependencies | No |
5.9. minimum | With 'greater_than_or_equal_to' option |
5.10. maximum | With 'less_than_or_equal_to' option |
5.11. exclusiveMinimum | With 'greater_than' option |
5.12. exclusiveMaximum | With 'less_than' option |
5.13. minItems | With 'min_size' option |
5.14. maxItems | With 'max_size' option |
5.15. uniqueItems | With 'uniq' option |
5.16. pattern | With 'match' option (Ruby regexp instead of ECMA 262) |
5.17. minLength | With 'min_length' option |
5.18. maxLength | With 'max_length' option |
5.19. enum | With 'in' option |
5.20. default | Yes |
5.21. title | Yes |
5.22. description | Yes |
5.23. format: date-time | With 'datetime' parameter (RFC 3399 instead of ISO 8601) |
5.23. format: regex | With 'regexp' parameter (Ruby regexp instead of ECMA 262) |
5.23. format: format | With 'phone_number' paramter |
5.23. format: uri | With 'uri' parameter (RFC 2396) |
5.23. format: email | With 'email' parameter |
5.23. format: ip-address | With 'ipv4_addr' parameter |
5.23. format: ipv6 | With 'ipv6_addr' parameter |
5.23. format: host-name | With 'hostname' parameter |
5.23. format: date | No |
5.23. format: time | No |
5.23. format: utc-millisec | No |
5.23. format: color | No |
5.23. format: style | No |
5.24. divisibleBy | With 'divisible_by' or 'multiple_of' option |
5.25. disallow | No |
5.26. extends | No |
5.27. id | No |
5.28. $ref | No |
5.29. $schema | No |