mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-06 06:11:45 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
27 lines
845 B
C#
27 lines
845 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Xbox
|
|
{
|
|
/// <summary>
|
|
/// Package rating for each rating system, in catalog.js
|
|
/// </summary>
|
|
public class Rating
|
|
{
|
|
/// <summary>
|
|
/// "system":
|
|
/// Name of rating system
|
|
/// Known values: COB-AU, PEGI, PCBP, USK, China, CERO, ESRB, GCAM, CSRR,
|
|
/// COB, DJCTQ, GRB, OFLC, OFLC-NZ, PEGIPortugal, FPB, Microsoft
|
|
/// </summary>
|
|
[JsonProperty("system", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? System { get; set; }
|
|
|
|
/// <summary>
|
|
/// "value":
|
|
/// String representing rating value, depends on rating system
|
|
/// </summary>
|
|
[JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Value { get; set; }
|
|
}
|
|
}
|