Orbyss.Components.Json.Models 1.0.1

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

Orbyss.Components.Json.Models

Shared models used by the Orbyss ecosystem for schema-driven UI rendering, such as JSON-based forms and data grids.
This package is part of the Orbyss.io open-source initiative to simplify UI generation for .NET applications. These shared models are used for translations and for handling dates and times using ticks rather than text.

💡 These models are consumed by other Orbyss components:


🧩 Models Included

DateTimeUtcTicks

A readonly struct for UTC-based date-time representations.

public readonly struct DateTimeUtcTicks
{
    public DateTimeOffset DateTime { get; }
    public long UtcTicks { get; }
}

DateUtcTicks

A readonly struct for UTC-based date representations, including way to get the day range (00:00 - 23.59).

public readonly struct DateUtcTicks
{
    public long UtcTicks { get; }
    public DateOnly DateOnly { get; }

    public (DateTime start, DateTime end) GetDayRange();
}

TranslationSchema

This package also defines the shape of our i18n translation schema, compatible with tools like i18next or your own .NET localization pipeline. This structure allows you to localize field labels, enums, tooltips, and validation messages in dynamic forms or tables.

{
  "resources": {
    "en": {
      "translation": {
        "firstName": {
            "label": "First name",
            "error":{
                "minLength": "Must have more than ...",
                "maxLength": "Too many characters..."
            }
        },
        "personTypeEnum":{
            "label": "Person type",
            "FamilyType": "Family",
            "PartnerType": "Partner",
            "BusinessType": "Business"
        }
      }
    }
  }
}

🤝 Contributing

This project is open source and contributions are welcome!

Whether it's bug fixes, improvements, documentation, or ideas — we encourage developers to get involved.
Just fork the repo, create a branch, and open a pull request.

We follow standard .NET open-source conventions:

  • Write clean, readable code
  • Keep PRs focused and descriptive
  • Open issues for larger features or discussions

No formal contribution guidelines — just be constructive and respectful.



⭐️ If you find this useful, give us a star and help spread the word!

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.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Orbyss.Components.Json.Models:

Package Downloads
Orbyss.Blazor.JsonForms

A fully .NET-native implementation of the JsonForms.io standard for schema-driven forms in Blazor.

Orbyss.Blazor.Syncfusion.DynamicGrid

Schema-driven Dynamic Data Grid for Syncfusion Blazor SfGrid. Generates columns and behavior from JSON-based schemas (Items JSON Schema, Table UI Schema, Translation Schema). Configure filters, widths, alignment, initial ordering, and localization via schema. Supports paging/virtualization and custom data retrieval through DataAdaptor (incl. JTokenDataAdaptor + IDynamicGridDataProvider).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 112 8/16/2025
1.0.0 95 8/2/2025

Second release: patch including translation sections used to fetch particular sections in a translation schema.