require uri or iri format for schema link values

Fix https://github.com/kdl-org/kdl/pull/120#discussion_r700314542
This commit is contained in:
Lars Willighagen 2021-09-02 02:18:30 +02:00
parent 4290067075
commit 28496e3154
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ document {
node "link" id="info-link" description="Links to itself, and to sources describing it" {
value description="A URL that the link points to" {
type "string"
format "uri" "iri"
min 1
max 1
}