diff --git a/schema/kbase/jsonschema/credit_metadata.schema.json b/schema/kbase/jsonschema/credit_metadata.schema.json index 5c3fe22..ef03632 100644 --- a/schema/kbase/jsonschema/credit_metadata.schema.json +++ b/schema/kbase/jsonschema/credit_metadata.schema.json @@ -32,7 +32,7 @@ }, "contributor_type": { "$ref": "#/$defs/ContributorType", - "description": "Must be either 'Person' or 'Organization'" + "description": "Must be either 'Person' or 'Organization'." }, "family_name": { "description": "The family name(s) of the contributor.", @@ -67,7 +67,7 @@ "type": "object" }, "ContributorRole": { - "description": "The type of contribution made by a contributor", + "description": "The type of contribution made by a contributor.", "enum": [ "DataCite:ContactPerson", "DataCite:DataCollector", @@ -109,7 +109,7 @@ "type": "string" }, "ContributorType": { - "description": "The type of contributor being represented", + "description": "The type of contributor being represented.", "enum": [ "Person", "Organization" @@ -171,7 +171,7 @@ }, "license": { "$ref": "#/$defs/License", - "description": "Usage license for the resource. Use one of the SPDX license identifiers or provide a link to the license text if no SPDX ID is available.\n\nAll data published at KBase is done so under a Creative Commons 0 or Creative Commons 4.0 license.\n" + "description": "Usage license for the resource. Use one of the SPDX license identifiers or provide a link to the license text if no SPDX ID is available.\n\nAll data published at KBase is done so under a Creative Commons 0 or Creative Commons 4.0 license." }, "publisher": { "$ref": "#/$defs/Organization", @@ -266,7 +266,7 @@ }, "description_type": { "$ref": "#/$defs/DescriptionType", - "description": "The type of text being represented" + "description": "The type of text being represented." }, "language": { "description": "The language in which the description is written, using the appropriate IETF BCP-47 notation.", @@ -280,7 +280,7 @@ "type": "object" }, "DescriptionType": { - "description": "The type of text being represented", + "description": "The type of text being represented.", "enum": [ "abstract", "description", @@ -311,7 +311,7 @@ "type": "object" }, "EventType": { - "description": "The type of date being represented", + "description": "The type of date being represented.", "enum": [ "accepted", "available", @@ -334,18 +334,18 @@ "properties": { "funder": { "$ref": "#/$defs/Organization", - "description": "The funder for the grant or award" + "description": "The funder for the grant or award." }, "grant_id": { - "description": "Code for the grant, assigned by the funder", + "description": "Code for the grant, assigned by the funder.", "type": "string" }, "grant_title": { - "description": "Title for the grant", + "description": "Title for the grant.", "type": "string" }, "grant_url": { - "description": "URL for the grant", + "description": "URL for the grant.", "pattern": "^https?://\\S", "type": "string", "format": "uri" @@ -391,7 +391,7 @@ "description": "Represents an organization.\n\nRecommended resources for organization identifiers and canonical organization names include:\n - Research Organization Registry, http://ror.org\n - International Standard Name Identifier, https://isni.org\n - Crossref Funder Registry, https://www.crossref.org/services/funder-registry/\n\nFor example, the US DOE would be entered as:\n organization_name: United States Department of Energy\n organization_id: ROR:01bj3aw27", "properties": { "organization_id": { - "description": "Persistent unique identifier for the organization in the format :", + "description": "Persistent unique identifier for the organization in the format :.", "pattern": "^[a-zA-Z0-9.-_]+:\\S", "type": "string" }, @@ -421,7 +421,7 @@ }, "relationship_type": { "$ref": "#/$defs/RelationshipType", - "description": "The relationship between the ID and some other entity.\nFor example, when a PermanentID class is used to represent objects in the CreditMetadata field 'related_identifiers', the 'relationship_type' field captures the relationship between the CreditMetadata and this ID.\n" + "description": "The relationship between the ID and some other entity.\nFor example, when a PermanentID class is used to represent objects in the CreditMetadata field 'related_identifiers', the 'relationship_type' field captures the relationship between the CreditMetadata and this ID." } }, "required": [ @@ -432,8 +432,38 @@ "type": "object" }, "RelationshipType": { - "description": "The relationship between two entities", + "description": "The relationship between two entities.", "enum": [ + "Crossref:BasedOnData", + "Crossref:Finances", + "Crossref:HasComment", + "Crossref:HasDerivation", + "Crossref:HasExpression", + "Crossref:HasFormat", + "Crossref:HasManifestation", + "Crossref:HasManuscript", + "Crossref:HasPreprint", + "Crossref:HasRelatedMaterial", + "Crossref:HasReply", + "Crossref:HasReview", + "Crossref:HasTranslation", + "Crossref:IsBasedOn", + "Crossref:IsBasisFor", + "Crossref:IsCommentOn", + "Crossref:IsDataBasisFor", + "Crossref:IsExpressionOf", + "Crossref:IsFinancedBy", + "Crossref:IsFormatOf", + "Crossref:IsManifestationOf", + "Crossref:IsManuscriptOf", + "Crossref:IsPreprintOf", + "Crossref:IsRelatedMaterial", + "Crossref:IsReplacedBy", + "Crossref:IsReplyTo", + "Crossref:IsReviewOf", + "Crossref:IsSameAs", + "Crossref:IsTranslationOf", + "Crossref:Replaces", "DataCite:Cites", "DataCite:Compiles", "DataCite:Continues", @@ -458,45 +488,14 @@ "DataCite:IsReferencedBy", "DataCite:IsRequiredBy", "DataCite:IsReviewedBy", - "DataCite:IsSourceOf", - "DataCite:IsSupplementTo", "DataCite:IsSupplementedBy", + "DataCite:IsSupplementTo", "DataCite:IsVariantFormOf", "DataCite:IsVersionOf", "DataCite:Obsoletes", "DataCite:References", "DataCite:Requires", "DataCite:Reviews", - "Crossref:BasedOnData", - "Crossref:Finances", - "Crossref:HasComment", - "Crossref:HasDerivation", - "Crossref:HasExpression", - "Crossref:HasFormat", - "Crossref:HasManifestation", - "Crossref:HasManuscript", - "Crossref:HasPreprint", - "Crossref:HasRelatedMaterial", - "Crossref:HasReply", - "Crossref:HasReview", - "Crossref:HasTranslation", - "Crossref:IsBasedOn", - "Crossref:IsBasisFor", - "Crossref:IsCommentOn", - "Crossref:IsDataBasisFor", - "Crossref:IsExpressionOf", - "Crossref:IsFinancedBy", - "Crossref:IsFormatOf", - "Crossref:IsManifestationOf", - "Crossref:IsManuscriptOf", - "Crossref:IsPreprintOf", - "Crossref:IsRelatedMaterial", - "Crossref:IsReplacedBy", - "Crossref:IsReplyTo", - "Crossref:IsReviewOf", - "Crossref:IsSameAs", - "Crossref:IsTranslationOf", - "Crossref:Replaces", "unknown" ], "title": "RelationshipType", @@ -519,7 +518,7 @@ "type": "string" }, "title": { - "description": "A string used as a title for a resource", + "description": "A string used as a title for a resource.", "type": "string" }, "title_type": {