-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same-as and profile reuse with different naming conventions #12
Comments
I think names in ALPS documents should be treated as case insensitive. That means clients and servers can make whatever mappings they wish AND that the following would be illegal in an ALPS document
|
wanna take a shot at this one? |
Would that imply that we should also treat snake case in like fashion (i.e. strip out _) so that all the following are illegal because they are redundant:
Not sure how we would specify that. |
no. These are unique:
These are not:
|
So, when we get around to this, could we make the argument that the way we specify same as is to use the IANA link rel 'related' in a link and then point to the other profile thing and punt that one out of ALPS? However, I think we need to add the case insensitivity clarification still. |
i wonder how (if at all) schema.org and ActivityStreams approaches this? |
@mamund should we just close this and take this up in the other thread? |
I think, as @leonardr has mentioned in discussion, there is a need for some same-as convention, particularly if ALPS defines vocabularies vs. solely consumes external vocabularies.
Also, I think some guidelines are probably warranted around what should be done for profile re-use, etc, when using different naming conventions, e.g. profile in camelCase, responses in snake_case and vice versa. So, a rubyist would want snake_case and a java programmer wants camelCase but they are the same thing.
Would one put a parameter or something in the href or an element in ALPS to define the naming convention so that a machine can match attributes appropriately?
The text was updated successfully, but these errors were encountered: