Given a curi like [auth:password_reset_confirm], what do you call the part before the colon and what do you call the part after the colon?
I have a json payload with come CURIs that look like this:
...
"_links": {
"curis": [
{
"name": "auth",
"href": "http://<IP>/documentation/auth/{rel}",
"templated": true
},
],
"self": {
"href": "http://<IP>/resources/api/"
},
"auth:password_reset_confirm": {
"href": "http://<IP>/frontend-auth/password/reset/confirm/"
},
...
Now I want to make an endpoint that serves the schemas for all the other endpoints. So for example:
http://<IP>/schemas/auth/password_reset_confim
Would be the URL for the JSON schema for the endpoint [auth:password_reset_confirm]. To create a URL template for this schema endpoint I need something like this:
http://<IP>/schemas/{curi_part_before_colon}/{curi_part_after_colon}
this looks ridiculous. So I'd like to know what these are actually called.
Note that in this document it is referred to as "the part before the colon": https://www.w3.org/2001/sw/BestPractices/HTML/2005-10-27-CURIE