Skip to content

Commit

Permalink
Merge pull request #1091 from datacite/schema-4.5-post-release
Browse files Browse the repository at this point in the history
Schema 4.5 - Add deprecation notice to publisher field.
  • Loading branch information
svogt0511 authored Jan 23, 2024
2 parents 2e7df0d + 4ea937c commit de8a420
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
54 changes: 27 additions & 27 deletions app/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ type Audiovisual implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -609,7 +609,7 @@ type Book implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -893,7 +893,7 @@ type BookChapter implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -1327,7 +1327,7 @@ type Collection implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -1662,7 +1662,7 @@ type ConferencePaper implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -2289,7 +2289,7 @@ type DataManagementPlan implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -2624,7 +2624,7 @@ type DataPaper implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -2959,7 +2959,7 @@ type Dataset implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -3412,7 +3412,7 @@ type Dissertation implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -3750,7 +3750,7 @@ interface DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -4084,7 +4084,7 @@ type Event implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -4397,7 +4397,7 @@ type EventData implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -5006,7 +5006,7 @@ type Image implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -5341,7 +5341,7 @@ type Instrument implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -5676,7 +5676,7 @@ type InteractiveResource implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -6016,7 +6016,7 @@ type JournalArticle implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -6647,7 +6647,7 @@ type Model implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -7179,7 +7179,7 @@ type Other implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -7539,7 +7539,7 @@ type PeerReview implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -8011,7 +8011,7 @@ type PhysicalObject implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -8399,7 +8399,7 @@ type Preprint implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -8734,7 +8734,7 @@ type Publication implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -9714,7 +9714,7 @@ type Service implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -10050,7 +10050,7 @@ type Software implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -10416,7 +10416,7 @@ type Sound implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -10962,7 +10962,7 @@ type Work implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down Expand Up @@ -11319,7 +11319,7 @@ type Workflow implements DoiItem {
"""
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource
"""
publisher: String
publisher: String @deprecated(reason: "This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45")

"""
Total number of references
Expand Down
4 changes: 3 additions & 1 deletion app/graphql/types/doi_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class CitationFormat < GraphQL::Schema::Enum
String,
null: true,
description:
"The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource"
"The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource",
deprecation_reason:
"This field will change structure on February 27, 2024. Applications that use it will need to be updated to the new structure by then. For details: https://support.datacite.org/docs/publisher-changes-in-schema-45"
field :subjects,
[SubjectType],
null: true,
Expand Down

0 comments on commit de8a420

Please sign in to comment.