diff --git a/docs/metroninfo/documentation.md b/docs/metroninfo/documentation.md index eb9eeef2..9cb8d56c 100644 --- a/docs/metroninfo/documentation.md +++ b/docs/metroninfo/documentation.md @@ -135,6 +135,10 @@ Trade Paperback and other collections can sometimes have a name for individual T Number of the book in the series which can accept alphanumeric values like `1MU`. +### AlternativeNumber + +An optional alternative number for the book. This can be useful for issues that have both a legacy and a relaunch numbering, for example. + ### Stories Contains information about the stories contained within an issues. @@ -303,6 +307,20 @@ So, for simplicity's sake we've settled on the following values (with ages given - **Explicit** - Contains material that is more extreme than material found in R rating movies. - **Adult** - Likely pornographic in nature +### CommunityRating + +The community's average rating for the book. + +It has the following children elements: + +- #### AverageRating + + The average rating value, which must be a decimal value between `0` and `5.0`. + +- #### RatingCount + + Optional. The number of ratings used to determine the `AverageRating` value. + ### URLs URLs pointing to reference websites for the book. diff --git a/docs/metroninfo/schemas/v1.0.md b/docs/metroninfo/schemas/v1.1.md similarity index 76% rename from docs/metroninfo/schemas/v1.0.md rename to docs/metroninfo/schemas/v1.1.md index 1d64c44e..b57b9a1a 100644 --- a/docs/metroninfo/schemas/v1.0.md +++ b/docs/metroninfo/schemas/v1.1.md @@ -1,13 +1,13 @@ --- sidebar_position: 25 -title: Version 1.0 +title: Version 1.1 --- -[Source](https://github.com/Metron-Project/metroninfo/blob/master/schema/v1.0/MetronInfo.xsd) on GitHub +[Source](https://github.com/Metron-Project/metroninfo/blob/master/schema/v1.1/MetronInfo.xsd) on GitHub ```mdx-code-block import CodeBlock from '@theme/CodeBlock'; -import Schema from '!!raw-loader!@site/docs/metroninfo/_remote/schema/v1.0/MetronInfo.xsd'; +import Schema from '!!raw-loader!@site/docs/metroninfo/_remote/schema/v1.1/MetronInfo.xsd'; {Schema} ``` \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index e737cc40..70428bad 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -43,7 +43,7 @@ const config = { name: 'metroninfo', // used by CLI, must be path safe sourceBaseUrl: 'https://raw.githubusercontent.com/Metron-Project/metroninfo/master/', // the base url for the markdown (gets prepended to all of the documents when fetching) outDir: 'docs/metroninfo/_remote', // the base directory to output to. - documents: ['schema/v1.0/MetronInfo.xsd',], // the file names to download + documents: ['schema/v1.1/MetronInfo.xsd',], // the file names to download noRuntimeDownloads: true, performCleanup: false, },