NextGenSoftware.OASIS.API.Contracts 2.0.3

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

OASIS API Contracts

Overview

The OASIS API Contracts project contains shared interfaces, enums, and contracts that can be referenced by both OASIS.API.Core and Unity projects. This ensures a single source of truth for all OASIS contracts.

Features

  • Unity Compatible: Built with .NET Standard 2.1 for Unity compatibility
  • Single Source of Truth: All interfaces defined once and shared
  • Clean Architecture: Separates contracts from implementation
  • Cross-Platform: Can be referenced by .NET 8/9 and Unity projects

Contents

  • IOASISMapProvider: Map provider interface for OASIS ecosystem
  • Future Interfaces: Will contain all OASIS interfaces and enums
  • Shared Contracts: Common data structures and enums

Usage

// Reference this project from OASIS.API.Core
using NextGenSoftware.OASIS.API.Contracts.Interfaces;

// Reference this project from Unity
using NextGenSoftware.OASIS.API.Contracts.Interfaces;

// Reference this project from Providers
using NextGenSoftware.OASIS.API.Contracts.Interfaces;

Architecture Benefits

  • ✅ Single Source of Truth for all interfaces
  • ✅ Unity Compatibility without .NET version conflicts
  • ✅ Clean Separation of contracts from implementation
  • ✅ Easy Maintenance - update interface once, affects all projects
  • ✅ SOLID Principles maintained

Future Plans

This project will eventually contain:

  • All OASIS interfaces (IHolon, IAvatar, etc.)
  • All OASIS enums (MapProviderType, etc.)
  • All OASIS contracts and data structures
  • Shared utility classes

License

MIT License - See LICENSE file for details

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on NextGenSoftware.OASIS.API.Contracts:

Package Downloads
NextGenSoftware.OASIS.API.Providers.GOMapOASIS

Connects the OASIS to GOMap -- a geo-location and augmented reality mapping engine providing the spatial layer for placing OASIS entities on real-world maps and AR overlays. Powers the Our World and One World geo-spatial visualisation layers. Part of the OASIS HOT-Swappable Provider Architecture. Ecosystem: https://oasisomniverse.one

NextGenSoftware.OASIS.STAR.APIClient

.NET HTTP client for the STAR ODK REST API — lets external apps create OAPPs, holons, and quests against the STAR WebAPI without a direct library dependency.

NextGenSoftware.OASIS.API.Managers

Provides all high-level OASIS manager classes including AvatarManager, KarmaManager, HolonManager, DataManager, MapManager, SearchManager, ProviderManager, and more. These managers are the recommended integration point for .NET apps -- they abstract the underlying HOT-Swappable Provider Architecture and give you clean, consistent async APIs for avatars, karma, holons, keys/wallets, NFTs, search, and geo-data across 55+ providers. Part of the OASIS Omniverse ecosystem at https://oasisomniverse.one

NextGenSoftware.OGEngine.Client

Native AOT .NET client for the WEB4 OASIS API and WEB5 STAR API, plus P/Invoke interop exports for OGEngine-based games (OQuake, ODOOM etc). Handles avatar auth, inventory, quests, XP, karma, NFT minting and sync callbacks — bridging the OASIS/STAR platform directly into native game engines.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.3 30 9/28/2026
2.0.2 30 9/28/2026
2.0.0 164 7/12/2026

- OASIS Omniverse Reboot and Rebrand: major ecosystem relaunch under oasisomniverse.one after ~3 years of deep development.
- Added WEB6 (The AI Layer) with full LLM routing via FAHRN — supports OpenAI, Anthropic Claude, Cohere, HuggingFace, and Azure OpenAI.
- Added WEB7 (The Spatial/AR Layer), WEB8 (The Holographic Layer), WEB9 (The Neural Layer), and WEB10 (The Omniversal Layer) decentralised API tiers.
- Added ONET P2P network with FAHRN (Federated Adaptive Holonic Routing Network) and HolonicBraid mesh routing.
- Added OASIS HyperDrive v2 with DHT-based distributed storage and replication.
- Added OASIS MCP Server for seamless WEB4-WEB10 tool integration.
- Full implementation of all remaining provider interface stubs across all ~55 OASIS Providers.
- Security overhaul: CORS hardening (open/pluggable API policy), JWT validation fixes, NuGet vulnerability remediation across all projects.
- Fixed GetKarmaAsync returning 0: now falls back to AvatarDetail.Karma when in-memory cache is empty.
- Auto-creates AvatarDetail on first karma award if it does not exist yet.
- Fixed MongoDB holon save always inserting instead of updating for REST clients.
- Fixed circular reference serialisation causing truncated JSON in loadHolon responses.
- Fixed null max_tokens causing 400 errors across OpenAI, Cohere, AzureOpenAI, and HuggingFace providers.
- JWT middleware now skips silently on invalid tokens; AuthorizeAttribute handles the decision.
- PreferOpenServ, EnableFAHRN, EnableHolonicBraid, and ApiKeys added to OASIS_DNA.json.
- Added optional returnUrl parameter to forgot-password endpoint.
- Made OldPassword optional in ResetPassword (not required when using a reset token).
- Changed license to GNU Affero General Public License v3 (AGPL3).
- Numerous bug fixes, stability improvements, and performance enhancements.
- Upgraded all projects to .NET 10 — the latest LTS runtime with improved performance, lower memory footprint, and new language features.
- Miscellaneous stability improvements and internal refactoring across all layers.
- Improved async/await patterns and cancellation token propagation throughout.
- Better null safety and nullable reference type annotations.
- Refined logging output for easier diagnostics.
- Various minor bug fixes identified during the WEB6-10 integration testing phase.
- Many misc improvements.
- Multiple bug fixes.