Circles.Profiles.Models
1.0.1
dotnet add package Circles.Profiles.Models --version 1.0.1
NuGet\Install-Package Circles.Profiles.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="Circles.Profiles.Models" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Circles.Profiles.Models" Version="1.0.1" />
<PackageReference Include="Circles.Profiles.Models" />
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 Circles.Profiles.Models --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Circles.Profiles.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 Circles.Profiles.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=Circles.Profiles.Models&version=1.0.1
#tool nuget:?package=Circles.Profiles.Models&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Circles.Profiles.Models
Core data structures and models for the Circles Profiles Protocol (CPP).
Overview
This assembly contains the POCO classes representing the JSON-LD objects defined in the protocol:
Profile: The root profile document.NameIndexDoc: The index mapping logical names to namespace chunks.NamespaceChunk: A chunk containing up to 100 signed links.CustomDataLink: The signed envelope for any IPFS payload.
Key Features
- JSON-LD Compatibility: Models include
@contextand@typefields as required by the spec. - Canonicalization: Implements logic for RFC 8785 (JCS) to support deterministic signing and verification.
- Protocol Limits: Defines constants such as the 8 MiB object size cap.
- Custom Converters: Specialized JSON converters for Ethereum addresses, CIDs, and date/time formats used in the protocol.
Usage
These models are intended to be used with System.Text.Json using the settings provided in JsonSerializerOptions.
var profile = new Profile {
Name = "Alice",
Description = "Web3 Developer"
};
Protocol Reference
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Circles.Profiles.Models:
| Package | Downloads |
|---|---|
|
Circles.Profiles.Interfaces
Circles Profiles Interfaces library. |
|
|
Circles.Profiles.Aggregation
Circles Profiles Aggregation library. |
|
|
Circles.Profiles.Market
Circles Profiles Market library. |
GitHub repositories
This package is not used by any popular GitHub repositories.