Skip to content

Use schema.json instead of zoteroTypeSchemaData.js #15

@dstillman

Description

@dstillman

No one is going to remember to run build_typeSchemaData.html in a Zotero instance after updating schema and restarting and then copy the file into this submodule.

zoteroTypeSchemaData.js is currently used for Zotero.CachedTypes, Zotero.ItemTypes and Zotero.CreatorTypes. I believe the only thing in zoteroTypeSchemaData that's not in schema.json is icon filenames. Those would arguably make sense in schema.json, but that gets into some complicated questions about icon sizes, PNG vs. SVG, etc., so for now we should probably just port those functions to use schema.json and keep this file around for the icon info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions