IFPEN.AllotropeConverters.AllotropeModels.Gc 2026.9.0-beta.4

This is a prerelease version of IFPEN.AllotropeConverters.AllotropeModels.Gc.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" Version="2026.9.0-beta.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" Version="2026.9.0-beta.4" />
                    
Directory.Packages.props
<PackageReference Include="IFPEN.AllotropeConverters.AllotropeModels.Gc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IFPEN.AllotropeConverters.AllotropeModels.Gc --version 2026.9.0-beta.4
                    
#r "nuget: IFPEN.AllotropeConverters.AllotropeModels.Gc, 2026.9.0-beta.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IFPEN.AllotropeConverters.AllotropeModels.Gc@2026.9.0-beta.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IFPEN.AllotropeConverters.AllotropeModels.Gc&version=2026.9.0-beta.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=IFPEN.AllotropeConverters.AllotropeModels.Gc&version=2026.9.0-beta.4&prerelease
                    
Install as a Cake Tool

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 as double.NaN and 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 in AdditionalProperties.
  • Numbers are written in their shortest round-trip form on every target framework (0.2375, not 0.23749999999999999 on .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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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