-
Starting a discussion whether we want to modify the ID element to something like AJ suggested over in the Matrix chatroom. In the schema, the ID element currently looks like:
AJ's suggestion would look like this:
This schema layout would solve the problem of a source not being included in our informationSource enumeration, but does make the element fairly bulky since some of the URLS could be quick long depending on the website. Looking at it a bit... I'm not sure if the benefits out-way it's deficits, but would be interested in hearing other folks thoughts. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
While it doesn't |
Beta Was this translation helpful? Give feedback.
-
I probably should have clarified what I saw as the deficiencies of using a urn-style for the ID element, so off the top of my head I see the following issues:
Now with that said, I'm not totally opposed to the idea since there are some clear benefits, but it is a fairly big change to the xsd as a whole. |
Beta Was this translation helpful? Give feedback.
-
Who cares about URL length in file no one supposed to look with eyes at? 🤔 P.S. And it's funny for me that the only service where you can't access an entity web page by "ID only" is Metron (and League, but I don't count them because they don't have an API, don't planning on it's implementation and so you can't tag stuff with their link), so you can't "generate" url to web page from ID only, you need to do some work afaik |
Beta Was this translation helpful? Give feedback.
-
Spent a little time today working on a branch on what this change would potentially look like. Right now, not including the URL the xml would look like this: https://github.com/Metron-Project/metroninfo/blob/urn-style/drafts/v1.0/Sample.xml One thing I don't like, is that I'm not aware of a way to make sure if an element has a |
Beta Was this translation helpful? Give feedback.
Alright, so it sounds like we're in agreement to keep the current
ID
handling and not switch to urn-style.With that decided, I suggest we do the following:
URL
element and mark theprimary
attribute as true.