Avenga.MtbValidation 1.0.0

dotnet add package Avenga.MtbValidation --version 1.0.0
                    
NuGet\Install-Package Avenga.MtbValidation -Version 1.0.0
                    
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="Avenga.MtbValidation" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avenga.MtbValidation" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Avenga.MtbValidation" />
                    
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 Avenga.MtbValidation --version 1.0.0
                    
#r "nuget: Avenga.MtbValidation, 1.0.0"
                    
#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 Avenga.MtbValidation@1.0.0
                    
#: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=Avenga.MtbValidation&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Avenga.MtbValidation&version=1.0.0
                    
Install as a Cake Tool

Mobile Ticket Specification libraries for .NET

Nuget packages that supports the essential use cases for working with tickets according to Samtrafikens MTS-standard (Mobile Ticket Specifications).

MTS is a part of BoB, the national ticket & payment standards for public transport in Sweden (Biljett Och Betalstandarden).

MTS consists of 8 specification documents - "MTS 1" through "MTS 8" (at the time of writing).

The essential documents for these Nuget packages are:s

  • MTS 1: Defines the Mobile Ticket Bundle (MTB) which outlines the structure of a ticket as well as serialization and signatures.
  • MTS 6: Defines the "Tickle" language for expressing ticket validity (e.g. in time and geography).

Packages

Main use cases

  • Create a new MTB - Use Avenga.Mtb for creating the MTB structure and all it's contents, and the Avenga.TickleCreation to produce a correctly formatted Tickle-expression. The MTB can then be serialized into a MTB binary and returned to caller.
  • Validate an MTB - Use Avenga.MtbValidation to run a complete validation on an MTB (outer header, inner header and the embedded Tickle expression).
  • Inspect the content of an MTB - Use Avenga.Mtb to deserialize and get access to all the contents of an MTB.
  • Validate a Tickle expression - Use Avenga.TickleValidation to just run a validation on a stand alone Tickle-expression (i.e. when an MTB is not available or needed)
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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
1.0.0 860 3/17/2025