Skip to content
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

Fix verbs and object-types #20

Open
white-gecko opened this issue May 9, 2013 · 1 comment
Open

Fix verbs and object-types #20

white-gecko opened this issue May 9, 2013 · 1 comment
Labels
Milestone

Comments

@white-gecko
Copy link
Member

In the activitystrea.ms atom specification examples [1] one can see that verbs and object-types are no URIs. So we should also export the feeds with only a verb/object-type instead of URIs and do the mapping to aair: [2] internally.

[1] http://activitystrea.ms/specs/atom/1.0/#examples
[2] http://xmlns.notu.be/aair#

@white-gecko
Copy link
Member Author

In the Specs we see:

An IRI reference that identifies the action of the activity. This value MUST be an absolute IRI, or a IRI relative to the base IRI of http://activitystrea.ms/schema/1.0/. An Activity construct MUST have exactly one verb. (http://activitystrea.ms/specs/atom/1.0/#activity.verb)

An IRI reference that identifies the type of object. This value MUST be an absolute IRI, or a IRI relative to the base IRI of http://activitystrea.ms/schema/1.0/. An Object construct MAY have a type, but MUST NOT have more than one. (http://activitystrea.ms/specs/atom/1.0/#object.type)

So it MUST be an URI/IRI or just the verb/type, if it is from the activity namespace!

But we should export them with the activity namespace (http://activitystrea.ms/schema/1.0/) instead of the aair namespace (http://activitystrea.ms/schema/1.0/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant