json-schema-vocabularies icon indicating copy to clipboard operation
json-schema-vocabularies copied to clipboard

Validating URNs

Open devinbost opened this issue 2 years ago • 2 comments

I provided some context for the validation of URIs in this issue. I also think we need a similar mechanism for the validation of URNs (RFC 8141) since they are becoming increasingly used for tracking, analytics, and policy management. A URN is a URI, but a URI isn't necessarily a URN, and URNs have specific constraints that don't apply to other URIs. So, I think URNs would benefit from their own vocabulary for validation.

devinbost avatar Nov 21 '22 16:11 devinbost

I have an 80%-designed vocabulary for URIs/IRIs/URNs/whatever lying around somewhere. I've been meaning to dust it off and finish it as an example for my blog series on vocabularies.

handrews avatar Nov 21 '22 17:11 handrews

You're awesome! I'd love to see it when you're able to get it finished.

devinbost avatar Nov 21 '22 18:11 devinbost