NextGenSoftware.OASIS.API.Contracts
2.0.0
dotnet add package NextGenSoftware.OASIS.API.Contracts --version 2.0.0
NuGet\Install-Package NextGenSoftware.OASIS.API.Contracts -Version 2.0.0
<PackageReference Include="NextGenSoftware.OASIS.API.Contracts" Version="2.0.0" />
<PackageVersion Include="NextGenSoftware.OASIS.API.Contracts" Version="2.0.0" />
<PackageReference Include="NextGenSoftware.OASIS.API.Contracts" />
paket add NextGenSoftware.OASIS.API.Contracts --version 2.0.0
#r "nuget: NextGenSoftware.OASIS.API.Contracts, 2.0.0"
#:package NextGenSoftware.OASIS.API.Contracts@2.0.0
#addin nuget:?package=NextGenSoftware.OASIS.API.Contracts&version=2.0.0
#tool nuget:?package=NextGenSoftware.OASIS.API.Contracts&version=2.0.0
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 | Versions 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. |
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on NextGenSoftware.OASIS.API.Contracts:
| Package | Downloads |
|---|---|
|
NextGenSoftware.OASIS.API.Providers.GOMapOASIS
WEB4 OASIS API GOMap OASIS Provider is one of the many WEB2/WEB3 providers that plug in and integrate into the OASIS. |
|
|
NextGenSoftware.OASIS.API.Managers
WEB4 OASIS API Managers provides core management functionality for the OASIS ecosystem including MapManager, etc. |
|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 128 | 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.