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

Add new @vocabulary and @vocabulary-uri attributes for elements relating to aid-type #402

Merged
merged 9 commits into from
Dec 6, 2017

Conversation

allthatilk
Copy link
Contributor

Fixes #346 for schema

@allthatilk allthatilk added this to the 2.03 Release milestone Dec 1, 2017
@allthatilk allthatilk self-assigned this Dec 1, 2017
@allthatilk allthatilk requested a review from a team December 1, 2017 12:52
@dalepotter dalepotter changed the title 2.03 update#346 Add new @vocabulary and @vocabulary-uri attributes for elements relating to aid-type Dec 5, 2017
Copy link
Contributor

@dalepotter dalepotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing re naming of the attribute.

Otherwise looks good 🥇

@@ -2804,5 +2806,13 @@
</xsd:annotation>
</xsd:attribute>

<xsd:attribute name="vocabulary" type="xsd:string">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vocabulary is a commonly-used term, so would suggest naming this aidTypeVocabulary.

<iati-activities version="xx">
<iati-activity>
<iati-identifier></iati-identifier>
<reporting-org type="xx" ref="xx"><narrative>Organisation name</narrative></reporting-org>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For info, I've added an issue to fix the formatting of this line en masse before release: #403

@allthatilk
Copy link
Contributor Author

@dalepotter ready for rereview

Copy link
Contributor

@dalepotter dalepotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing on the naming of the complexType.

</xsd:annotation>
</xsd:attribute>

<xsd:complexType name="aid-type-base">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we tend to name complexTypes using lower camel case - e.g. in https://github.com/IATI/IATI-Schemas/pull/372/files#diff-644a12e8a6ade95722e1f3adf60b7462R148

@allthatilk
Copy link
Contributor Author

@dalepotter ready for rerereview

Copy link
Contributor

@dalepotter dalepotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

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.

2 participants