Closed stefanomunarini closed 2 years ago
@andrew2net can you help clarify here? The RNG scheme here does describe an element called "address": https://github.com/relaton/relaton-models/blob/fee9ea8205756163a1d96de47f9b105dc701d8a0/grammars/biblio.rnc#L163-L177
@andrew2net this issue is urgent, can you please help address this ASAP?
@ronaldtse address isn't an Array, it's a Hash. Shouldn't it be:
- address:
city: Gaithersburg
state: MD
country: US
@andrew2net yes you are right, it's a hash.
Ok, but this is not the issue @andrew2net .
The issue here is that the address
field is missing, and the fields city, state and country are included as part of the contact
field instead.
There is still an issue with the field street
when processing this dataset. @andrew2net can you double check this please?
You can find the above mentioned issue here https://github.com/relaton/relaton-py/runs/7414346454?check_suite_focus=true
pydantic.error_wrappers.ValidationError: 1 validation error for BibliographicItem
contributor -> 0 -> organization -> contact -> 0
__init__() got an unexpected keyword argument 'street' (type=type_error)
@stefanomunarini the https://github.com/ietf-tools/relaton-data-3gpp dataset doesn't update files until the source dataset is updated. To force updating please remove the https://github.com/ietf-tools/relaton-data-3gpp/blob/main/current.yaml file. I don't have permission to do it.
@andrew2net can you let me know which datasets need to be updated at ietf-tools? You could also create a PR for those datasets and then @kesara can merge them to achieve the same effect. Thanks.
@andrew2net has created https://github.com/ietf-tools/relaton-data-3gpp/pull/13 to trigger the update.
@stefanomunarini this is done, can you help close this? Thanks.
Some of the data of the relaton-data-* datasets does not match the format of the official RNG Schema.
For example, this dataset includes the fields "city", "state" and "country" under "contact", while the official schema only allows them to be included under "contact" -> "address":
Current format (wrong):
Correct format should be:
Other datasets with the same issue are: