AP.NET/Constants.cs

23 lines
No EOL
672 B
C#

namespace ActivityPub;
/// <summary>
/// The context urls for JSON-LD
/// </summary>
public class Context {
/// <summary>
/// The ActivityStreams context
/// </summary>
public static readonly Uri ActivityStreams = new("https://www.w3.org/ns/activitystreams");
}
/// <summary>
/// Known collection urls
/// </summary>
public class Collections {
/// <summary>
/// The public address for delivery.
/// See https://www.w3.org/TR/activitypub/#x5-6-public-addressing
/// Also note, may be represented as "Public" or "as:Public"
/// </summary>
public static readonly Uri Public = new("https://www.w3.org/ns/activitystreams#Public");
}