From ac8ed2ea3aa6855b25e8919a36c065874d498fbb Mon Sep 17 00:00:00 2001 From: Charles Teague Date: Sat, 9 Sep 2023 12:47:47 -0400 Subject: [PATCH] correct schema --- src/resources/editor/tools/vs-code.mjs | 280 ++++++++---------- src/resources/editor/tools/yaml/web-worker.js | 280 ++++++++---------- .../yaml/yaml-intelligence-resources.json | 280 ++++++++---------- src/resources/schema/document-funding.yml | 155 +++++----- 4 files changed, 426 insertions(+), 569 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index b9a526e59b..0d751d4209 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -13397,140 +13397,142 @@ var require_yaml_intelligence_resources = __commonJS({ awards: { maybeArrayOf: { object: { - id: { - string: { - description: "Unique identifier assigned to an award, contract, or grant." - } - }, - name: { - string: { - description: "The name of this award" - } - }, - description: { - string: { - description: "The description for this award." - } - }, - source: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - text: { - string: { - description: "The text describing the source of the funding." - } - }, - country: { - string: { - description: { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + properties: { + id: { + string: { + description: "Unique identifier assigned to an award, contract, or grant." + } + }, + name: { + string: { + description: "The name of this award" + } + }, + description: { + string: { + description: "The description for this award." + } + }, + source: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + text: { + string: { + description: "The text describing the source of the funding." + } + }, + country: { + string: { + description: { + short: "Abbreviation for country where source of grant is located.", + long: "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + } } } } } } - } - ] + ] + }, + description: "Agency or organization that funded the research on which a work was based." }, - description: "Agency or organization that funded the research on which a work was based." - }, - recipient: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - ref: { - string: { - description: "The id of an author or affiliation in the document metadata." + recipient: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + ref: { + string: { + description: "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - object: { - closed: true, - properties: { - name: { - string: { - description: "The name of an individual that was the recipient of the funding." + }, + { + object: { + closed: true, + properties: { + name: { + string: { + description: "The name of an individual that was the recipient of the funding." + } } } } - } - }, - { - object: { - closed: true, - properties: { - institution: { - anyOf: [ - "string", - "object" - ], - description: "The institution that was the recipient of the funding." + }, + { + object: { + closed: true, + properties: { + institution: { + anyOf: [ + "string", + "object" + ], + description: "The institution that was the recipient of the funding." + } } } } - } - ] + ] + }, + description: "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." }, - description: "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." - }, - investigator: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - ref: { - string: { - description: "The id of an author or affiliation in the document metadata." + investigator: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + ref: { + string: { + description: "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - object: { - closed: true, - properties: { - name: { - string: { - description: "The name of an individual that was responsible for the intellectual content of the work reported in the document." + }, + { + object: { + closed: true, + properties: { + name: { + string: { + description: "The name of an individual that was responsible for the intellectual content of the work reported in the document." + } } } } - } - }, - { - object: { - closed: true, - properties: { - institution: { - anyOf: [ - "string", - "object" - ], - description: "The institution that was responsible for the intellectual content of the work reported in the document." + }, + { + object: { + closed: true, + properties: { + institution: { + anyOf: [ + "string", + "object" + ], + description: "The institution that was responsible for the intellectual content of the work reported in the document." + } } } } - } - ] - }, - description: "Individual(s) responsible for the intellectual content of the work reported in the document." + ] + }, + description: "Individual(s) responsible for the intellectual content of the work reported in the document." + } } } } @@ -20346,62 +20348,12 @@ var require_yaml_intelligence_resources = __commonJS({ long: "Specify the heading level at which to split the EPUB into separate\nchapter files. The default is to split into chapters at level-1\nheadings. This option only affects the internal composition of the EPUB,\nnot the way chapters and sections are displayed to users. Some readers\nmay be slow if the chapter files are too large, so for large documents\nwith few level-1 headings, one might want to use a chapter level of 2 or\n3." }, "Information about the funding of the research reported in the article\n(for example, grants, contracts, sponsors) and any open access fees for\nthe article itself", - "Unique identifier assigned to an award, contract, or grant.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "Unique identifier assigned to an award, contract, or grant.", + "Information about awards associated with this funding.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", + "Information about awards associated with this funding.", { short: "Format to write to (e.g. html)", long: "Format to write to. Extensions can be individually enabled or\ndisabled by appending +EXTENSION or -EXTENSION to the format name\n(e.g. gfm+footnotes)" @@ -21892,12 +21844,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 163181, + _internalId: 159045, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 163173, + _internalId: 159037, type: "enum", enum: [ "png", @@ -21913,7 +21865,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 163180, + _internalId: 159044, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index b5cad1bcfe..511fe6b70d 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -13398,140 +13398,142 @@ try { awards: { maybeArrayOf: { object: { - id: { - string: { - description: "Unique identifier assigned to an award, contract, or grant." - } - }, - name: { - string: { - description: "The name of this award" - } - }, - description: { - string: { - description: "The description for this award." - } - }, - source: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - text: { - string: { - description: "The text describing the source of the funding." - } - }, - country: { - string: { - description: { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + properties: { + id: { + string: { + description: "Unique identifier assigned to an award, contract, or grant." + } + }, + name: { + string: { + description: "The name of this award" + } + }, + description: { + string: { + description: "The description for this award." + } + }, + source: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + text: { + string: { + description: "The text describing the source of the funding." + } + }, + country: { + string: { + description: { + short: "Abbreviation for country where source of grant is located.", + long: "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + } } } } } } - } - ] + ] + }, + description: "Agency or organization that funded the research on which a work was based." }, - description: "Agency or organization that funded the research on which a work was based." - }, - recipient: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - ref: { - string: { - description: "The id of an author or affiliation in the document metadata." + recipient: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + ref: { + string: { + description: "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - object: { - closed: true, - properties: { - name: { - string: { - description: "The name of an individual that was the recipient of the funding." + }, + { + object: { + closed: true, + properties: { + name: { + string: { + description: "The name of an individual that was the recipient of the funding." + } } } } - } - }, - { - object: { - closed: true, - properties: { - institution: { - anyOf: [ - "string", - "object" - ], - description: "The institution that was the recipient of the funding." + }, + { + object: { + closed: true, + properties: { + institution: { + anyOf: [ + "string", + "object" + ], + description: "The institution that was the recipient of the funding." + } } } } - } - ] + ] + }, + description: "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." }, - description: "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." - }, - investigator: { - maybeArrayOf: { - anyOf: [ - "string", - { - object: { - closed: true, - properties: { - ref: { - string: { - description: "The id of an author or affiliation in the document metadata." + investigator: { + maybeArrayOf: { + anyOf: [ + "string", + { + object: { + closed: true, + properties: { + ref: { + string: { + description: "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - object: { - closed: true, - properties: { - name: { - string: { - description: "The name of an individual that was responsible for the intellectual content of the work reported in the document." + }, + { + object: { + closed: true, + properties: { + name: { + string: { + description: "The name of an individual that was responsible for the intellectual content of the work reported in the document." + } } } } - } - }, - { - object: { - closed: true, - properties: { - institution: { - anyOf: [ - "string", - "object" - ], - description: "The institution that was responsible for the intellectual content of the work reported in the document." + }, + { + object: { + closed: true, + properties: { + institution: { + anyOf: [ + "string", + "object" + ], + description: "The institution that was responsible for the intellectual content of the work reported in the document." + } } } } - } - ] - }, - description: "Individual(s) responsible for the intellectual content of the work reported in the document." + ] + }, + description: "Individual(s) responsible for the intellectual content of the work reported in the document." + } } } } @@ -20347,62 +20349,12 @@ try { long: "Specify the heading level at which to split the EPUB into separate\nchapter files. The default is to split into chapters at level-1\nheadings. This option only affects the internal composition of the EPUB,\nnot the way chapters and sections are displayed to users. Some readers\nmay be slow if the chapter files are too large, so for large documents\nwith few level-1 headings, one might want to use a chapter level of 2 or\n3." }, "Information about the funding of the research reported in the article\n(for example, grants, contracts, sponsors) and any open access fees for\nthe article itself", - "Unique identifier assigned to an award, contract, or grant.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "Unique identifier assigned to an award, contract, or grant.", + "Information about awards associated with this funding.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - short: "Abbreviation for country where source of grant is located.", - long: "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", + "Information about awards associated with this funding.", { short: "Format to write to (e.g. html)", long: "Format to write to. Extensions can be individually enabled or\ndisabled by appending +EXTENSION or -EXTENSION to the format name\n(e.g. gfm+footnotes)" @@ -21893,12 +21845,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 163181, + _internalId: 159045, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 163173, + _internalId: 159037, type: "enum", enum: [ "png", @@ -21914,7 +21866,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 163180, + _internalId: 159044, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index 0df18aebda..0ecc9a3214 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -6369,140 +6369,142 @@ "awards": { "maybeArrayOf": { "object": { - "id": { - "string": { - "description": "Unique identifier assigned to an award, contract, or grant." - } - }, - "name": { - "string": { - "description": "The name of this award" - } - }, - "description": { - "string": { - "description": "The description for this award." - } - }, - "source": { - "maybeArrayOf": { - "anyOf": [ - "string", - { - "object": { - "closed": true, - "properties": { - "text": { - "string": { - "description": "The text describing the source of the funding." - } - }, - "country": { - "string": { - "description": { - "short": "Abbreviation for country where source of grant is located.", - "long": "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + "properties": { + "id": { + "string": { + "description": "Unique identifier assigned to an award, contract, or grant." + } + }, + "name": { + "string": { + "description": "The name of this award" + } + }, + "description": { + "string": { + "description": "The description for this award." + } + }, + "source": { + "maybeArrayOf": { + "anyOf": [ + "string", + { + "object": { + "closed": true, + "properties": { + "text": { + "string": { + "description": "The text describing the source of the funding." + } + }, + "country": { + "string": { + "description": { + "short": "Abbreviation for country where source of grant is located.", + "long": "Abbreviation for country where source of grant is located.\nWhenever possible, ISO 3166-1 2-letter alphabetic codes should be used.\n" + } } } } } } - } - ] + ] + }, + "description": "Agency or organization that funded the research on which a work was based." }, - "description": "Agency or organization that funded the research on which a work was based." - }, - "recipient": { - "maybeArrayOf": { - "anyOf": [ - "string", - { - "object": { - "closed": true, - "properties": { - "ref": { - "string": { - "description": "The id of an author or affiliation in the document metadata." + "recipient": { + "maybeArrayOf": { + "anyOf": [ + "string", + { + "object": { + "closed": true, + "properties": { + "ref": { + "string": { + "description": "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - "object": { - "closed": true, - "properties": { - "name": { - "string": { - "description": "The name of an individual that was the recipient of the funding." + }, + { + "object": { + "closed": true, + "properties": { + "name": { + "string": { + "description": "The name of an individual that was the recipient of the funding." + } } } } - } - }, - { - "object": { - "closed": true, - "properties": { - "institution": { - "anyOf": [ - "string", - "object" - ], - "description": "The institution that was the recipient of the funding." + }, + { + "object": { + "closed": true, + "properties": { + "institution": { + "anyOf": [ + "string", + "object" + ], + "description": "The institution that was the recipient of the funding." + } } } } - } - ] + ] + }, + "description": "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." }, - "description": "Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual)." - }, - "investigator": { - "maybeArrayOf": { - "anyOf": [ - "string", - { - "object": { - "closed": true, - "properties": { - "ref": { - "string": { - "description": "The id of an author or affiliation in the document metadata." + "investigator": { + "maybeArrayOf": { + "anyOf": [ + "string", + { + "object": { + "closed": true, + "properties": { + "ref": { + "string": { + "description": "The id of an author or affiliation in the document metadata." + } } } } - } - }, - { - "object": { - "closed": true, - "properties": { - "name": { - "string": { - "description": "The name of an individual that was responsible for the intellectual content of the work reported in the document." + }, + { + "object": { + "closed": true, + "properties": { + "name": { + "string": { + "description": "The name of an individual that was responsible for the intellectual content of the work reported in the document." + } } } } - } - }, - { - "object": { - "closed": true, - "properties": { - "institution": { - "anyOf": [ - "string", - "object" - ], - "description": "The institution that was responsible for the intellectual content of the work reported in the document." + }, + { + "object": { + "closed": true, + "properties": { + "institution": { + "anyOf": [ + "string", + "object" + ], + "description": "The institution that was responsible for the intellectual content of the work reported in the document." + } } } } - } - ] - }, - "description": "Individual(s) responsible for the intellectual content of the work reported in the document." + ] + }, + "description": "Individual(s) responsible for the intellectual content of the work reported in the document." + } } } } @@ -13318,62 +13320,12 @@ "long": "Specify the heading level at which to split the EPUB into separate\nchapter files. The default is to split into chapters at level-1\nheadings. This option only affects the internal composition of the EPUB,\nnot the way chapters and sections are displayed to users. Some readers\nmay be slow if the chapter files are too large, so for large documents\nwith few level-1 headings, one might want to use a chapter level of 2 or\n3." }, "Information about the funding of the research reported in the article\n(for example, grants, contracts, sponsors) and any open access fees for\nthe article itself", - "Unique identifier assigned to an award, contract, or grant.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - "short": "Abbreviation for country where source of grant is located.", - "long": "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - "short": "Abbreviation for country where source of grant is located.", - "long": "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "Unique identifier assigned to an award, contract, or grant.", + "Information about awards associated with this funding.", "Displayable prose statement that describes the funding for the\nresearch on which a work was based.", "Open access provisions that apply to a work or the funding\ninformation that provided the open access provisions.", - "Agency or organization that funded the research on which a work was\nbased.", - "The text describing the source of the funding.", - { - "short": "Abbreviation for country where source of grant is located.", - "long": "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "The text describing the source of the funding.", - { - "short": "Abbreviation for country where source of grant is located.", - "long": "Abbreviation for country where source of grant is located. Whenever\npossible, ISO 3166-1 2-letter alphabetic codes should be used." - }, - "Individual(s) or institution(s) to whom the award was given (for\nexample, the principal grant holder or the sponsored individual).", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was the recipient of the funding.", - "The institution that was the recipient of the funding.", - "Individual(s) responsible for the intellectual content of the work\nreported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", - "The id of an author or affiliation in the document metadata.", - "The name of an individual that was responsible for the intellectual\ncontent of the work reported in the document.", - "The institution that was responsible for the intellectual content of\nthe work reported in the document.", + "Information about awards associated with this funding.", { "short": "Format to write to (e.g. html)", "long": "Format to write to. Extensions can be individually enabled or\ndisabled by appending +EXTENSION or -EXTENSION to the format name\n(e.g. gfm+footnotes)" @@ -14864,12 +14816,12 @@ "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 163181, + "_internalId": 159045, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 163173, + "_internalId": 159037, "type": "enum", "enum": [ "png", @@ -14885,7 +14837,7 @@ "exhaustiveCompletions": true }, "theme": { - "_internalId": 163180, + "_internalId": 159044, "type": "anyOf", "anyOf": [ { diff --git a/src/resources/schema/document-funding.yml b/src/resources/schema/document-funding.yml index cf9f6808b6..64bc510800 100644 --- a/src/resources/schema/document-funding.yml +++ b/src/resources/schema/document-funding.yml @@ -15,83 +15,84 @@ awards: maybeArrayOf: object: - id: - string: - description: Unique identifier assigned to an award, contract, or grant. - name: - string: - description: The name of this award - description: - string: - description: The description for this award. - source: - maybeArrayOf: - anyOf: - - string - - object: - closed: true - properties: - text: - string: - description: The text describing the source of the funding. - country: - string: - description: - short: Abbreviation for country where source of grant is located. - long: | - Abbreviation for country where source of grant is located. - Whenever possible, ISO 3166-1 2-letter alphabetic codes should be used. - description: Agency or organization that funded the research on which a work was based. - recipient: - maybeArrayOf: - anyOf: - - string - - object: - closed: true - properties: - ref: - string: - description: The id of an author or affiliation in the document metadata. - - object: - closed: true - properties: - name: - string: - description: The name of an individual that was the recipient of the funding. - - object: - closed: true - properties: - institution: - anyOf: - - string - - object - description: The institution that was the recipient of the funding. - description: Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual). - investigator: - maybeArrayOf: - anyOf: - - string - - object: - closed: true - properties: - ref: - string: - description: The id of an author or affiliation in the document metadata. - - object: - closed: true - properties: - name: - string: - description: The name of an individual that was responsible for the intellectual content of the work reported in the document. - - object: - closed: true - properties: - institution: - anyOf: - - string - - object - description: The institution that was responsible for the intellectual content of the work reported in the document. - description: Individual(s) responsible for the intellectual content of the work reported in the document. + properties: + id: + string: + description: Unique identifier assigned to an award, contract, or grant. + name: + string: + description: The name of this award + description: + string: + description: The description for this award. + source: + maybeArrayOf: + anyOf: + - string + - object: + closed: true + properties: + text: + string: + description: The text describing the source of the funding. + country: + string: + description: + short: Abbreviation for country where source of grant is located. + long: | + Abbreviation for country where source of grant is located. + Whenever possible, ISO 3166-1 2-letter alphabetic codes should be used. + description: Agency or organization that funded the research on which a work was based. + recipient: + maybeArrayOf: + anyOf: + - string + - object: + closed: true + properties: + ref: + string: + description: The id of an author or affiliation in the document metadata. + - object: + closed: true + properties: + name: + string: + description: The name of an individual that was the recipient of the funding. + - object: + closed: true + properties: + institution: + anyOf: + - string + - object + description: The institution that was the recipient of the funding. + description: Individual(s) or institution(s) to whom the award was given (for example, the principal grant holder or the sponsored individual). + investigator: + maybeArrayOf: + anyOf: + - string + - object: + closed: true + properties: + ref: + string: + description: The id of an author or affiliation in the document metadata. + - object: + closed: true + properties: + name: + string: + description: The name of an individual that was responsible for the intellectual content of the work reported in the document. + - object: + closed: true + properties: + institution: + anyOf: + - string + - object + description: The institution that was responsible for the intellectual content of the work reported in the document. + description: Individual(s) responsible for the intellectual content of the work reported in the document. description: | Information about the funding of the research reported in the article (for example, grants, contracts, sponsors) and any open access fees for the article itself