jam-schema / jams

Journal Article Metadata Schema
Creative Commons Zero v1.0 Universal
32 stars 5 forks source link

Datacite schema as a base ? #8

Closed jcolomb closed 3 years ago

jcolomb commented 3 years ago

Is already all we need there ? https://github.com/datacite/bolognese

what is crosscite format?

jcolomb commented 3 years ago

datacite format look at this: https://support.datacite.org/docs/schema-mandatory-properties-v43#2-creator

Could be used as a base at least.

jcolomb commented 3 years ago

json version: https://github.com/datacite/schema/blob/master/source/json/kernel-4.3/datacite_4.3_schema.json

jcolomb commented 3 years ago

"creators": { "type": "array", "items": { "type": "object", "properties": { "name": {"type": "string"}, "nameType": {"$ref": "#/definitions/nameType"}, "givenName": {"type": "string"}, "familyName": {"type": "string"}, "nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"}, "affiliations": {"$ref": "#/definitions/affiliations"}, "lang": {"type": "string"} }, "required": ["name"] }, "minItems": 1, "uniqueItems": true },

"definitions": { "nameType": { "type": "string", "enum": [ "Organizational", "Personal" ] }, "nameIdentifiers": { "type": "array", "items": { "type": "object", "properties": { "nameIdentifier": {"type": "string"}, "nameIdentifierScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"} }, "required": ["nameIdentifier", "nameIdentifierScheme"] }, "uniqueItems": true }, "affiliations": { "type": "array", "items": { "type": "object", "properties": { "affiliation": {"type": "string"} }, "required": ["affiliation"] }, "uniqueItems": true }, "titleType": { "type": "string", "enum": [ "AlternativeTitle", "Subtitle", "TranslatedTitle", "Other" ] }, "contributorType": { "type": "string", "enum": [ "ContactPerson", "DataCollector", "DataCurator", "DataManager", "Distributor", "Editor", "HostingInstitution", "Producer", "ProjectLeader", "ProjectManager", "ProjectMember", "RegistrationAgency", "RegistrationAuthority", "RelatedPerson", "Researcher", "ResearchGroup", "RightsHolder", "Sponsor", "Supervisor", "WorkPackageLeader", "Other" ] }

jcolomb commented 3 years ago

"creators": { "type": "array", "items": { "type": "object", "properties": { "name": {"type": "string"}, "nameType": {"$ref": "#/definitions/nameType"}, "givenName": {"type": "string"}, "familyName": {"type": "string"}, "nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"}, "affiliations": {"$ref": "#/definitions/affiliations"}, "lang": {"type": "string"} }, "required": ["name"] }, "minItems": 1, "uniqueItems": true },

"definitions": { "nameType": { "type": "string", "enum": [ "Organizational", "Personal" ] }, "nameIdentifiers": { "type": "array", "items": { "type": "object", "properties": { "nameIdentifier": {"type": "string"}, "nameIdentifierScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"} }, "required": ["nameIdentifier", "nameIdentifierScheme"] }, "uniqueItems": true }, "affiliations": { "type": "array", "items": { "type": "object", "properties": { "affiliation": {"type": "string"} }, "required": ["affiliation"] }, "uniqueItems": true }, "titleType": { "type": "string", "enum": [ "AlternativeTitle", "Subtitle", "TranslatedTitle", "Other" ] }, "contributorType": { "type": "string", "enum": [ "ContactPerson", "DataCollector", "DataCurator", "DataManager", "Distributor", "Editor", "HostingInstitution", "Producer", "ProjectLeader", "ProjectManager", "ProjectMember", "RegistrationAgency", "RegistrationAuthority", "RelatedPerson", "Researcher", "ResearchGroup", "RightsHolder", "Sponsor", "Supervisor", "WorkPackageLeader", "Other" ] }

nathanlesage commented 3 years ago

Does datacite use the same fields as JATS? I am still somewhat in favor of attempting to use JATS as a basis, both because it's an official standard, being used in official applications, and therefore somewhat more than a reference — or do I neglect the reach datacite has in the community …?

jcolomb commented 3 years ago

A lot of mapping has already be made for this format (for already published content though), so it would be great to use this if we can/if it make sense.

It might need to be expanded to fit more cases that JATS has (@collab for example)

jcolomb commented 3 years ago

so we get jats #15 in priority, while keeping an eye on datacite schema for shortcuts ?

nathanlesage commented 3 years ago

What shortcuts do you mean?

jcolomb commented 3 years ago

I meant a shortcut as in faster development by copying what exists: starting from datacite instead of starting from scratch. sorry for the misunderstanding.