bibxml-service icon indicating copy to clipboard operation
bibxml-service copied to clipboard

'organization' appears to be empty.

Open wkumari opened this issue 1 year ago • 4 comments

Describe the issue

The RFC schema contains a organization field, and the API documentation implies that this can be used: https://bib.ietf.org/api/v1/#operation/searchBibItems (contributor -> person -> affiliation)

From this I'd assume that something like: '{"contributor": [{"person": {"affiliation": {"name": ["Google"] }}}]}' should work, but it returns: "No bibliographic items were found matching the query."

It appears that the organization, affiliation, etc fields are basically always empty, even though it is populated in documents -- e.g from RFC 8244.json: {"role": ["author"], "person":{"name": {"completename": {"content": "W. Kumari", "format": null, "script": ["Latn"], "language": ["en"]}, "prefix": null, "forename": null, "initial": [{"content": "W.", "format": null, "script": ["Latn"], "language": ["en"]}], "surname": {"content": "Kumari", "format": null, "script":["Latn"], "language": ["en"]}, "addition": null}, "affiliation": null, "contact": null}, "organization": null}]

But the document itself has this populated, and tools like the 'draft_metadata_extractor.py' worked just fine with it: docaffiliations='Ted Lemon [email protected] (Nominum, Inc.), Ralph Droms [email protected] (), Warren Kumari [email protected] (Google)'

It seems like either the datastore / files should be updated with the info, or the API documentation should make it clearer that many of the selectors are not populated.

Code of Conduct

wkumari avatar Aug 11 '22 15:08 wkumari