spec/URI.js

  1. /**
  2. * URI for a resource
  3. * @typedef {string} URI
  4. * @memberOf URI
  5. */
  6. /**
  7. * ## 🕸 URI Schema
  8. *
  9. * JSON Schema of a URI
  10. *
  11. * ```json
  12. * {
  13. * '$schema': 'http://json-schema.org/draft-07/schema',
  14. * '$id': 'https://schemas.algodex.com/v1/URI.json',
  15. * 'type': 'string',
  16. * 'format': 'uri',
  17. * }
  18. * ```
  19. * @type {Schema}
  20. * @name URI
  21. * @memberOf Schema
  22. */
  23. module.exports = {
  24. '$schema': 'http://json-schema.org/draft-07/schema',
  25. '$id': 'https://schemas.algodex.com/v1/URI.json',
  26. 'type': 'string',
  27. 'format': 'uri',
  28. };
  29. JAVASCRIPT
    Copied!