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

Change "id" to "$id" to match other core keywords #212

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

handrews
Copy link
Contributor

This addresses issue #20. It is an alternative to PR #154.

"$id" matches "$schema" and "$ref", establishing a clear naming
pattern for all keywords defined in the core specification. This
also reduces confusion in the very common case where objects
described by the schema have an "id" property.

This addresses issue json-schema-org#20.

"$id" matches "$schema" and "$ref", establishing a clear naming
pattern for all keywords defined in the core specification.  This
also reduces confusion in the very common case where objects
described by the schema have an "id" property.
@epoberezkin
Copy link
Member

Yep, simpler is better. Now implementations can decide what to look for based on $schema or even support both keywords regardless... But it's not spec's concern.

@Relequestual
Copy link
Member

Given the approval, I'll merge.

@Relequestual Relequestual merged commit a4b697f into json-schema-org:master Jan 4, 2017
@handrews handrews mentioned this pull request Jan 5, 2017
@handrews handrews deleted the id2 branch January 5, 2017 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants