<div dir="auto">Daniel,<div dir="auto"><br></div><div dir="auto">I understood that. </div><div dir="auto"><br></div><div dir="auto">Thanks for all the additional links.</div><div dir="auto"><br></div><div dir="auto">Sunday.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 22, 2019, 13:24 Daniel Shaw <<a href="mailto:daniel@techdad.xyz">daniel@techdad.xyz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
@Sunday,<br>
<br>
Just to be clear: the OP, Raymond was asking if it could be CSV. It is<br>
already in JSON format. Not the other way around.<br>
<br>
@Raymond,<br>
<br>
The common JSON format used by all 5 RIRs is documented here:<br>
<a href="https://github.com/nro-ecg/transfer_log" rel="noreferrer noreferrer" target="_blank">https://github.com/nro-ecg/transfer_log</a><br>
<br>
In particular the comment schema is this:<br>
<a href="https://github.com/nro-ecg/transfer_log/blob/master/transfer_log.jcr" rel="noreferrer noreferrer" target="_blank">https://github.com/nro-ecg/transfer_log/blob/master/transfer_log.jcr</a><br>
<br>
(the jcr language for describing json is explained here:<br>
<a href="http://codalogic.github.io/jcr/" rel="noreferrer noreferrer" target="_blank">http://codalogic.github.io/jcr/</a>)<br>
<br>
And an example single entry to look at is this:<br>
<a href="https://github.com/nro-ecg/transfer_log/blob/master/transfer_example.json" rel="noreferrer noreferrer" target="_blank">https://github.com/nro-ecg/transfer_log/blob/master/transfer_example.json</a><br>
<br>
The full exlanation, including all the above links is found on the ARIN site:<br>
<a href="https://www.apnic.net/about-apnic/corporate-documents/documents/policy-development/transfer-log-format/" rel="noreferrer noreferrer" target="_blank">https://www.apnic.net/about-apnic/corporate-documents/documents/policy-development/transfer-log-format/</a><br>
<br>
You'll find that all RIRs use this format, and in addition APNIC also<br>
publish the CSV format you like. My suggestion is that if you want to<br>
request AFRINIC staff to evaluate the viability of doinf the same,<br>
don't just throw it out on the community list. Rather reach out to<br>
staff directly. You should find details on <a href="https://afrinic.net/" rel="noreferrer noreferrer" target="_blank">https://afrinic.net/</a>, under<br>
"contact us". Definitely raise it on the list as you have done to get<br>
input and comments from the community, as you also have done. But<br>
directing requests for staff at staff is usually more effective that<br>
relying on it being picked up on a large public list.<br>
<br>
Going against my own advice above, staff, if you *are* reading this<br>
I'd suggest that before worry about any other formats you a) include<br>
the .jcr definition and/or a readme file in the<br>
<a href="http://ftp.afrinic.net/pub/stats/afrinic/transfers/" rel="noreferrer noreferrer" target="_blank">http://ftp.afrinic.net/pub/stats/afrinic/transfers/</a> folder, so that<br>
this is self-documented like the extended delegated stats file is. and<br>
b) add a page in the web site similar to ARIN's about this file<br>
format.<br>
<br>
Cheers!<br>
- Daniel<br>
<br>
<br>
<br>
On Sun, 21 Jul 2019 at 14:27, Sunday Folayan <<a href="mailto:sfolayan@gmail.com" target="_blank" rel="noreferrer">sfolayan@gmail.com</a>> wrote:<br>
><br>
> I am sure the staff will be glad to give you their data dictionary.<br>
><br>
> Publishing in JSON format should not lose anything that will have been published in CSV format.<br>
><br>
> If the comments are not rich enough for you, You can start a collaborative project to fix this, and put it back into the community.<br>
><br>
> Nothing also stops you from pushing for a common RIR JSON specification, with your findings and use case. There may be others out there who may also need it.<br>
><br>
> Sunday<br>
><br>
> On Sun, Jul 21, 2019, 02:51 raymond <<a href="mailto:subs@retornam.com" target="_blank" rel="noreferrer">subs@retornam.com</a>> wrote:<br>
>><br>
>> The problem isn't that JSON is hard to parse, my problem is that<br>
>> fields in the JSON returned are not<br>
>> documented and that different registries return different JSON<br>
>> formatted fields.<br>
>><br>
>> Also because JSON also doesn't allow inline comments, I personally<br>
>> prefer a well commented CSV file over<br>
>> an un-documented JSON one.<br>
>><br>
>> /re<br>
>><br>
>> On Sat, Jul 20, 2019 at 5:52 PM Owen DeLong <<a href="mailto:owen@delong.com" target="_blank" rel="noreferrer">owen@delong.com</a>> wrote:<br>
>> ><br>
>> > This is an operational matter for staff… Why would it need to go through the policy process?<br>
>> ><br>
>> > The policy in the CPM does not and should not specify the reporting format.<br>
>> ><br>
>> > I do find it interesting, however, that he considers JSON difficult to parse vs. CSV.<br>
>> ><br>
>> > I find the opposite. There are many libraries available for parsing both formats, but the level of<br>
>> > consistency in the definition and syntax specification for JSON, especially around quoting and<br>
>> > handling of strings containing quote and delimiter characters plus the hierarchical dictionary<br>
>> > nature of JSON are, IMHO, a vastly superior format that is easier to parse while providing much<br>
>> > greater flexibility in the type of content delivered.<br>
>> ><br>
>> > Owen<br>
>> ><br>
>> ><br>
>> > On Jul 20, 2019, at 16:54 , DANIEL NANGHAKA <<a href="mailto:dndannang@gmail.com" target="_blank" rel="noreferrer">dndannang@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hi Raymond,<br>
>> > This is interesting, it has to go through a policy proposal. Policy proposal are discussed at AFRINIC meetings.<br>
>> ><br>
>> > After discussion then it is passed for implementation.<br>
>> ><br>
>> > Daniel K. Nanghaka<br>
>> ><br>
>> > On Saturday, July 20, 2019, raymond <<a href="mailto:subs@retornam.com" target="_blank" rel="noreferrer">subs@retornam.com</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >> Would it be possible for AFRINIC to adopt the transfer log format used by APNIC?<br>
>> >> If so, who do I need to contact to make this happen? If not, can the fields in the JSON<br>
>> >> format be documented for reference?<br>
>> >><br>
>> >> APNIC has a well documented policy[1] on the CSV logs they produce daily at [2]<br>
>> >><br>
>> >> [1] <a href="https://www.apnic.net/about-apnic/corporate-documents/documents/policy-development/transfer-log-format/" rel="noreferrer noreferrer" target="_blank">https://www.apnic.net/about-apnic/corporate-documents/documents/policy-development/transfer-log-format/</a><br>
>> >> [2] <a href="https://ftp.apnic.net/transfers/apnic/" rel="noreferrer noreferrer" target="_blank">https://ftp.apnic.net/transfers/apnic/</a><br>
>> >><br>
>> >> APNICs format stands out as it is easy to parse the data<br>
>> >> compared to the various JSON formats used by other registries(including AFRINICs)<br>
>> >><br>
>> >> RIPENCC <a href="https://ftp.ripe.net/pub/stats/ripencc/transfers/" rel="noreferrer noreferrer" target="_blank">https://ftp.ripe.net/pub/stats/ripencc/transfers/</a> JSON<br>
>> >> ARIN <a href="https://ftp.arin.net/pub/stats/arin/transfers/" rel="noreferrer noreferrer" target="_blank">https://ftp.arin.net/pub/stats/arin/transfers/</a> JSON<br>
>> >> LACNIC <a href="https://ftp.lacnic.net/pub/stats/lacnic/transfers/" rel="noreferrer noreferrer" target="_blank">https://ftp.lacnic.net/pub/stats/lacnic/transfers/</a> JSON<br>
>> >> AFRINIC <a href="http://ftp.afrinic.net/stats/afrinic/transfers/" rel="noreferrer noreferrer" target="_blank">http://ftp.afrinic.net/stats/afrinic/transfers/</a> JSON<br>
>> >><br>
>> >><br>
>> >> /re<br>
>> >><br>
>> > _______________________________________________<br>
>> > Community-Discuss mailing list<br>
>> > <a href="mailto:Community-Discuss@afrinic.net" target="_blank" rel="noreferrer">Community-Discuss@afrinic.net</a><br>
>> > <a href="https://lists.afrinic.net/mailman/listinfo/community-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.afrinic.net/mailman/listinfo/community-discuss</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> Community-Discuss mailing list<br>
>> <a href="mailto:Community-Discuss@afrinic.net" target="_blank" rel="noreferrer">Community-Discuss@afrinic.net</a><br>
>> <a href="https://lists.afrinic.net/mailman/listinfo/community-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.afrinic.net/mailman/listinfo/community-discuss</a><br>
><br>
> _______________________________________________<br>
> Community-Discuss mailing list<br>
> <a href="mailto:Community-Discuss@afrinic.net" target="_blank" rel="noreferrer">Community-Discuss@afrinic.net</a><br>
> <a href="https://lists.afrinic.net/mailman/listinfo/community-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.afrinic.net/mailman/listinfo/community-discuss</a><br>
<br>
_______________________________________________<br>
Community-Discuss mailing list<br>
<a href="mailto:Community-Discuss@afrinic.net" target="_blank" rel="noreferrer">Community-Discuss@afrinic.net</a><br>
<a href="https://lists.afrinic.net/mailman/listinfo/community-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.afrinic.net/mailman/listinfo/community-discuss</a><br>
</blockquote></div>