schema.json for Juris-M

37 views
Skip to first unread message

Emiliano Heyns

unread,
Dec 27, 2019, 3:49:03 PM12/27/19
to zotero-dev
Does Juris-M have a public endpoint where its schema can be fetched like https://api.zotero.org/schema does for Zotero?

Frank Bennett

unread,
Dec 27, 2019, 10:09:32 PM12/27/19
to zotero-dev
It's not a proper API solution, but the current patched object can be
retrieved from here:

https://raw.githubusercontent.com/Juris-M/zotero-schema/b865cd7ce4a0d0e988e327e43ba47d9b19712311/schema-jurism.json

(I haven't thought much about how tools might make use of it, I just
focused on getting a toolchain in place for patches and getting the
client to build.)

On Sat, Dec 28, 2019 at 5:49 AM Emiliano Heyns
<emilian...@iris-advies.com> wrote:
>
> Does Juris-M have a public endpoint where its schema can be fetched like https://api.zotero.org/schema does for Zotero?
>
> --
> You received this message because you are subscribed to the Google Groups "zotero-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/zotero-dev/7f1496bc-df76-4904-b1d4-fdf68043bc0f%40googlegroups.com.

Emiliano Heyns

unread,
Dec 28, 2019, 7:28:32 AM12/28/19
to zotero-dev


On Saturday, December 28, 2019 at 4:09:32 AM UTC+1, Frank Bennett wrote:
It's not a proper API solution, but the current patched object can be
retrieved from here:

https://raw.githubusercontent.com/Juris-M/zotero-schema/b865cd7ce4a0d0e988e327e43ba47d9b19712311/schema-jurism.json

Super — the bits that matter to me are the same across Zotero and JurisM.

I wonder about the field mapping between “status” and “legalStatus” though — in my reading of https://docs.citationstyles.org/en/stable/specification.html#appendix-iv-variables, CSL “status” and Z/JM “legalStatus” mean very different things.

Frank Bennett

unread,
Dec 28, 2019, 7:36:56 AM12/28/19
to zotero-dev
Yes. I added legalStatus for use in the Patent type specifically,
where the status of the application (pending, issued, withdrawn, etc)
is recorded in metadata. (It isn't exercised in a systematic way on
the citation side yet, mostly because I have failed several times to
link up with people who know or have opinions about patent citation
forms.)
> --
> You received this message because you are subscribed to the Google Groups "zotero-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/zotero-dev/e84a8636-4cd6-48b0-ab19-040aa79bfdd8%40googlegroups.com.

Emiliano Heyns

unread,
Dec 28, 2019, 9:04:18 AM12/28/19
to zotero-dev
I'm using the mapping to map csl fields in the extra field to item fields for those instances where the Z/JM schema doesn't provide for that field (such as DOI for some types), and the only place where that gives wrong results is in the status mapping. I'm stripping that specific mapping and the rest seems OK.

Frank Bennett

unread,
Dec 28, 2019, 10:01:03 AM12/28/19
to zotero-dev
Oh, I get it - sorry, I missed the CSL variable mapping when flipping
through the JM schema. Since no styles rely on the "status" variable
for patent cite forms yet, the CSL-M schema could be extended in
include a "legal-status" variable, and the mapping. I'll put that on
the todo list.

On Sat, Dec 28, 2019 at 11:04 PM Emiliano Heyns
<emilian...@iris-advies.com> wrote:
>
> I'm using the mapping to map csl fields in the extra field to item fields for those instances where the Z/JM schema doesn't provide for that field (such as DOI for some types), and the only place where that gives wrong results is in the status mapping. I'm stripping that specific mapping and the rest seems OK.
>
> --
> You received this message because you are subscribed to the Google Groups "zotero-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/zotero-dev/fbaddb25-54c1-475b-8cf0-a1e34868aab1%40googlegroups.com.

Emiliano Heyns

unread,
Dec 28, 2019, 10:08:33 AM12/28/19
to zotero-dev
Zotero has the same mapping of status BTW

Emiliano Heyns

unread,
Dec 28, 2019, 1:23:51 PM12/28/19
to zotero-dev


On Saturday, December 28, 2019 at 4:09:32 AM UTC+1, Frank Bennett wrote:
It's not a proper API solution, but the current patched object can be
retrieved from here:

https://raw.githubusercontent.com/Juris-M/zotero-schema/b865cd7ce4a0d0e988e327e43ba47d9b19712311/schema-jurism.json


Any particular reason to choose this URL over https://raw.githubusercontent.com/Juris-M/zotero-schema/master/schema-jurism.json ? They appear to be the same.

Frank Bennett

unread,
Dec 28, 2019, 7:29:17 PM12/28/19
to zoter...@googlegroups.com
Nope. Just holiday laziness. Thanks for pointing that out!
--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zotero-dev/08ef24b7-da1e-4927-97b6-3ebbb924d1d0%40googlegroups.com.

Emiliano Heyns

unread,
Dec 29, 2019, 5:18:49 AM12/29/19
to zotero-dev
I can’t see how in your case laziness could be a factor :) Happy holidays.


On Sunday, December 29, 2019 at 1:29:17 AM UTC+1, Frank Bennett wrote:
Nope. Just holiday laziness. Thanks for pointing that out!

On Sunday, December 29, 2019, Emiliano Heyns <emilia...@iris-advies.com> wrote:


On Saturday, December 28, 2019 at 4:09:32 AM UTC+1, Frank Bennett wrote:
It's not a proper API solution, but the current patched object can be
retrieved from here:

https://raw.githubusercontent.com/Juris-M/zotero-schema/b865cd7ce4a0d0e988e327e43ba47d9b19712311/schema-jurism.json


Any particular reason to choose this URL over https://raw.githubusercontent.com/Juris-M/zotero-schema/master/schema-jurism.json ? They appear to be the same.

--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zoter...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages