-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
There was a problem hiding this 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 🥇
iati-activities-schema.xsd
Outdated
@@ -2804,5 +2806,13 @@ | |||
</xsd:annotation> | |||
</xsd:attribute> | |||
|
|||
<xsd:attribute name="vocabulary" type="xsd:string"> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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
@dalepotter ready for rereview |
There was a problem hiding this 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
.
iati-activities-schema.xsd
Outdated
</xsd:annotation> | ||
</xsd:attribute> | ||
|
||
<xsd:complexType name="aid-type-base"> |
There was a problem hiding this comment.
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 complexType
s using lower camel case - e.g. in https://github.com/IATI/IATI-Schemas/pull/372/files#diff-644a12e8a6ade95722e1f3adf60b7462R148
@dalepotter ready for rerereview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes #346 for schema