Skip to content

Commit

Permalink
correct schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Sep 9, 2023
1 parent 91bb8db commit ac8ed2e
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 569 deletions.
280 changes: 116 additions & 164 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
}
}
Expand Down Expand Up @@ -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)"
Expand Down Expand Up @@ -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",
Expand All @@ -21913,7 +21865,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 163180,
_internalId: 159044,
type: "anyOf",
anyOf: [
{
Expand Down
Loading

0 comments on commit ac8ed2e

Please sign in to comment.