URL
The url type — a string validated as a URL.
website: url
---
~ 'https://example.com' # ✓
~ "https://example.com/p?q=1" # ✓
~ 'not a url' # ✗ invalid-urlhomepage: { url, choices: ['https://a.com', 'https://b.com'] }
---
~ 'https://a.com' # ✓See Also
Last updated
Was this helpful?
