opws / opws-dataset

Profiles for the user account systems of various sites.
Open Data Commons Open Database License v1.0
14 stars 2 forks source link

Matching URLs #268

Closed stuartpb closed 6 years ago

stuartpb commented 7 years ago

This is a significant notion, and one I've probably mentioned before in more issues.

I've been thinking of using match fields like url for parts of the schema that take a url of a form, like password reset tokens. This would use the same matching syntax as Chrome Extension manifests and Greasemonkey @match rules, where it's basically just globbing.

I'm pretty sure that'd be sufficient for any practical use case, but there's also a case that could be made for tighter RegExp-based rules, or rules describing the formats of tokens that get inserted into the URL, or lots of things like that; for now, I think that's best to just not specify at that level of detail, but room should be left for it.

stuartpb commented 7 years ago

132 is one issue that touches this.

stuartpb commented 6 years ago

Per #308, further discussion around this topic should continue through opws/opws-schemata#15.