IFPEN.AllotropeConverters.AllotropeModels.Gc
2026.9.0-beta.4
dotnet add package IFPEN.AllotropeConverters.AllotropeModels.Gc --version 2026.9.0-beta.4
NuGet\Install-Package IFPEN.AllotropeConverters.AllotropeModels.Gc -Version 2026.9.0-beta.4
<PackageReference Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" Version="2026.9.0-beta.4" />
<PackageVersion Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" Version="2026.9.0-beta.4" />
<PackageReference Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" />
paket add IFPEN.AllotropeConverters.AllotropeModels.Gc --version 2026.9.0-beta.4
#r "nuget: IFPEN.AllotropeConverters.AllotropeModels.Gc, 2026.9.0-beta.4"
#:package IFPEN.AllotropeConverters.AllotropeModels.Gc@2026.9.0-beta.4
#addin nuget:?package=IFPEN.AllotropeConverters.AllotropeModels.Gc&version=2026.9.0-beta.4&prerelease
#tool nuget:?package=IFPEN.AllotropeConverters.AllotropeModels.Gc&version=2026.9.0-beta.4&prerelease
Allotrope Simple Model Gas Chromatography (C#)
A project from IFP Energies Nouvelles, a public research, innovation and training organization in the fields of energy, transport and the environment.
C# classes for reading and writing Allotrope Simple Model (ASM) Gas Chromatography documents, release REC/2026/09. They are plain data models: deserialize an ASM JSON file, navigate typed objects, and serialize it back without losing content.
| ASM release | REC/2026/09 |
| ASM manifest | http://purl.allotrope.org/manifests/gas-chromatography/REC/2026/09/gas-chromatography.tabular.manifest |
| Root model | GasChromatographySimpleModel |
| Package | IFPEN.AllotropeConverters.AllotropeModels.Gc 2026.9.0-beta.4 |
| Depends on | IFPEN.AllotropeConverters.AllotropeModels.Commons 2026.9.0-beta.4 (shared ASM models, installed automatically) |
| Targets | .NET Standard 2.0, .NET Framework 4.8 |
Installation
dotnet add package IFPEN.AllotropeConverters.AllotropeModels.Gc --version 2026.9.0-beta.4
Usage
using System;
using System.IO;
using System.Text.Json;
using Microsoft.Extensions.DependencyInjection;
using IFPEN.AllotropeConverters.AllotropeModels.Gc.Client;
using IFPEN.AllotropeConverters.AllotropeModels.Gc.Model;
// HostConfiguration registers the JSON converters of this package and of the
// commons package; the options must come from it.
var services = new ServiceCollection();
new HostConfiguration(services);
var options = services.BuildServiceProvider()
.GetRequiredService<JsonSerializerOptionsProvider>().Options;
var document = JsonSerializer.Deserialize<GasChromatographySimpleModel>(File.ReadAllText("input.json"), options);
Console.WriteLine(document.GasChromatographyAggregateDocument.GasChromatographyDocument.Count);
File.WriteAllText("output.json", JsonSerializer.Serialize(document, options));
Members follow the ASM JSON names: "gas chromatography aggregate document" is GasChromatographyAggregateDocument.
ASM conventions
- An unavailable number, written
"NaN"in ASM JSON, is read asdouble.NaNand written back as"NaN". - Values that ASM writes either as a primitive or as a typed object, such as
date-times (
"2026-11-17T09:00:00Z"or{"@type": …, "value": …}), keep the form they were read in. - Named data cubes (
"… data cube"members of diagnostic trace documents) are kept inAdditionalProperties. - Numbers are written in their shortest round-trip form on every target
framework (
0.2375, not0.23749999999999999on .NET Framework).
Versioning
Version 2026.9.0-beta.4 implements ASM REC/2026/09. The last version number is a
patch level of these packages, not of ASM. The technique packages depend on
exactly the same version of IFPEN.AllotropeConverters.AllotropeModels.Commons.
Packages
All packages are generated from the same OpenAPI description of the ASM schemas, so their models match across languages.
| Java | C# | Python | TypeScript | |
|---|---|---|---|---|
| Commons | Maven Central | NuGet | PyPI | npm |
| Gas Chromatography | Maven Central | NuGet | PyPI | npm |
| Differential Scanning Calorimetry | Maven Central | NuGet | PyPI | npm |
| Liquid Chromatography | Maven Central | NuGet | PyPI | npm |
License
The source code is licensed under CeCILL 2.1. The models are derived from the ASM JSON schemas of the Allotrope Foundation, licensed under CC BY-NC 4.0.
Source code and issues: https://github.com/ifpen/AllotropeSimpleModelsClassGeneration.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8
- IFPEN.AllotropeConverters.AllotropeModels.Commons (>= 2026.9.0-beta.4)
- Microsoft.Extensions.Hosting (>= 7.0.0)
- Microsoft.Extensions.Http (>= 7.0.0)
- Microsoft.Extensions.Http.Polly (>= 7.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Threading.Channels (>= 8.0.0)
-
.NETStandard 2.0
- IFPEN.AllotropeConverters.AllotropeModels.Commons (>= 2026.9.0-beta.4)
- Microsoft.Extensions.Hosting (>= 6.0.1)
- Microsoft.Extensions.Http (>= 6.0.1)
- Microsoft.Extensions.Http.Polly (>= 5.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Threading.Channels (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.9.0-beta.4 | 54 | 11/30/2026 |
| 2026.9.0-beta.3 | 59 | 11/20/2026 |
| 2026.9.0-beta.2 | 56 | 11/19/2026 |
| 2026.9.0-beta.1 | 63 | 11/19/2026 |