package
1.0.0
Repository: https://github.com/go-fed/activity.git
Documentation: pkg.go.dev

# README

streams

ActivityStreams vocabularies automatically code-generated with astool.

Reference & Tutorial

The go-fed website contains tutorials and reference materials, in addition to the rest of this README.

How To Use

go get github.com/go-fed/activity

All generated types and properties are interfaces in github.com/go-fed/streams/vocab, but note that the constructors and supporting functions live in github.com/go-fed/streams.

To create a type and set properties:

var actorURL *url.URL = // ...

// A new "Create" Activity.
create := streams.NewActivityStreamsCreate()
// A new "actor" property.
actor := streams.NewActivityStreamsActorProperty()
actor.AppendIRI(actorURL)
// Set the "actor" property on the "Create" Activity.
create.SetActivityStreamsActor(actor)

To process properties on a type:

// Returns true if the "Update" has at least one "object" with an IRI value.
func hasObjectWithIRIValue(update vocab.ActivityStreamsUpdate) bool {
  objectProperty := update.GetActivityStreamsObject()
  // Any property may be nil if it was either empty in the original JSON or
  // never set on the golang type.
  if objectProperty == nil {
    return false
  }
  // The "object" property is non-functional: it could have multiple values. The
  // generated code has slightly different methods for a functional property
  // versus a non-functional one.
  //
  // While it may be easy to ignore multiple values in other languages
  // (accidentally or purposefully), go-fed is designed to make it hard to do
  // so.
  for iter := objectProperty.Begin(); iter != objectProperty.End(); iter = iter.Next() {
    // If this particular value is an IRI, return true.
    if iter.IsIRI() {
      return true
    }
  }
  // All values are literal embedded values and not IRIs.
  return false
}

The ActivityStreams type hierarchy of "extends" and "disjoint" is not the same as the Object Oriented definition of inheritance. It is also not the same as golang's interface duck-typing. Helper functions are provided to guarantee that an application's logic can correctly apply the type hierarchy.

thing := // Pick a type from streams.NewActivityStreams<Type>()
if streams.ActivityStreamsObjectIsDisjointWith(thing) {
  fmt.Printf("The \"Object\" type is Disjoint with the %T type.\n", thing)
}
if streams.ActivityStreamsLinkIsExtendedBy(thing) {
  fmt.Printf("The %T type Extends from the \"Link\" type.\n", thing)
}
if streams.ActivityStreamsActivityExtends(thing) {
  fmt.Printf("The \"Activity\" type extends from the %T type.\n", thing)
}

When given a generic JSON payload, it can be resolved to a concrete type by creating a streams.JSONResolver and giving it a callback function that accepts the interesting concrete type:

// Callbacks must be in the form:
//   func(context.Context, <TypeInterface>) error
createCallback := func(c context.Context, create vocab.ActivityStreamsCreate) error {
  // Do something with 'create'
  fmt.Printf("createCallback called: %T\n", create)
  return nil
}
updateCallback := func(c context.Context, update vocab.ActivityStreamsUpdate) error {
  // Do something with 'update'
  fmt.Printf("updateCallback called: %T\n", update)
  return nil
}
jsonResolver, err := streams.NewJSONResolver(createCallback, updateCallback)
if err != nil {
  // Something in the setup was wrong. For example, a callback has an
  // unsupported signature and would never be called
  panic(err)
}
// Create a context, which allows you to pass data opaquely through the
// JSONResolver.
c := context.Background()
// Example 15 of the ActivityStreams specification.
b := []byte(`{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Sally created a note",
  "type": "Create",
  "actor": {
    "type": "Person",
    "name": "Sally"
  },
  "object": {
    "type": "Note",
    "name": "A Simple Note",
    "content": "This is a simple note"
  }
}`)
var jsonMap map[string]interface{}
if err = json.Unmarshal(b, &jsonMap); err != nil {
  panic(err)
}
// The createCallback function will be called.
err = jsonResolver.Resolve(c, jsonMap)
if err != nil && !streams.IsUnmatchedErr(err) {
  // Something went wrong
  panic(err)
} else if streams.IsUnmatchedErr(err) {
  // Everything went right but the callback didn't match or the ActivityStreams
  // type is one that wasn't code generated.
  fmt.Println("No match: ", err)
}

A streams.TypeResolver is similar but uses the golang types instead. It accepts the generic vocab.Type. This is the abstraction when needing to handle any ActivityStreams type. The function ToType can convert a JSON-decoded-map into this kind of value if needed.

A streams.PredicatedTypeResolver lets you apply a boolean predicate function that acts as a check whether a callback is allowed to be invoked.

FAQ

Why Are Empty Properties Nil And Not Zero-Valued?

Due to implementation design decisions, it would require a lot of plumbing to ensure this would work properly. It would also require allocation of a non-trivial amount of memory.

# Packages

No description provided by the author
No description provided by the author
Package vocab contains the interfaces for the JSONLD vocabulary.

# Functions

ActivityStreamsAcceptIsDisjointWith returns true if Accept is disjoint with the other's type.
ActivityStreamsAcceptIsExtendedBy returns true if the other's type extends from Accept.
ActivityStreamsActivityIsDisjointWith returns true if Activity is disjoint with the other's type.
ActivityStreamsActivityIsExtendedBy returns true if the other's type extends from Activity.
ActivityStreamsActivityStreamsAcceptExtends returns true if Accept extends from the other's type.
ActivityStreamsActivityStreamsActivityExtends returns true if Activity extends from the other's type.
ActivityStreamsActivityStreamsAddExtends returns true if Add extends from the other's type.
ActivityStreamsActivityStreamsAnnounceExtends returns true if Announce extends from the other's type.
ActivityStreamsActivityStreamsApplicationExtends returns true if Application extends from the other's type.
ActivityStreamsActivityStreamsArriveExtends returns true if Arrive extends from the other's type.
ActivityStreamsActivityStreamsArticleExtends returns true if Article extends from the other's type.
ActivityStreamsActivityStreamsAudioExtends returns true if Audio extends from the other's type.
ActivityStreamsActivityStreamsBlockExtends returns true if Block extends from the other's type.
ActivityStreamsActivityStreamsCollectionExtends returns true if Collection extends from the other's type.
ActivityStreamsActivityStreamsCollectionPageExtends returns true if CollectionPage extends from the other's type.
ActivityStreamsActivityStreamsCreateExtends returns true if Create extends from the other's type.
ActivityStreamsActivityStreamsDeleteExtends returns true if Delete extends from the other's type.
ActivityStreamsActivityStreamsDislikeExtends returns true if Dislike extends from the other's type.
ActivityStreamsActivityStreamsDocumentExtends returns true if Document extends from the other's type.
ActivityStreamsActivityStreamsEventExtends returns true if Event extends from the other's type.
ActivityStreamsActivityStreamsFlagExtends returns true if Flag extends from the other's type.
ActivityStreamsActivityStreamsFollowExtends returns true if Follow extends from the other's type.
ActivityStreamsActivityStreamsGroupExtends returns true if Group extends from the other's type.
ActivityStreamsActivityStreamsIgnoreExtends returns true if Ignore extends from the other's type.
ActivityStreamsActivityStreamsImageExtends returns true if Image extends from the other's type.
ActivityStreamsActivityStreamsIntransitiveActivityExtends returns true if IntransitiveActivity extends from the other's type.
ActivityStreamsActivityStreamsInviteExtends returns true if Invite extends from the other's type.
ActivityStreamsActivityStreamsJoinExtends returns true if Join extends from the other's type.
ActivityStreamsActivityStreamsLeaveExtends returns true if Leave extends from the other's type.
ActivityStreamsActivityStreamsLikeExtends returns true if Like extends from the other's type.
ActivityStreamsActivityStreamsLinkExtends returns true if Link extends from the other's type.
ActivityStreamsActivityStreamsListenExtends returns true if Listen extends from the other's type.
ActivityStreamsActivityStreamsMentionExtends returns true if Mention extends from the other's type.
ActivityStreamsActivityStreamsMoveExtends returns true if Move extends from the other's type.
ActivityStreamsActivityStreamsNoteExtends returns true if Note extends from the other's type.
ActivityStreamsActivityStreamsObjectExtends returns true if Object extends from the other's type.
ActivityStreamsActivityStreamsOfferExtends returns true if Offer extends from the other's type.
ActivityStreamsActivityStreamsOrderedCollectionExtends returns true if OrderedCollection extends from the other's type.
ActivityStreamsActivityStreamsOrderedCollectionPageExtends returns true if OrderedCollectionPage extends from the other's type.
ActivityStreamsActivityStreamsOrganizationExtends returns true if Organization extends from the other's type.
ActivityStreamsActivityStreamsPageExtends returns true if Page extends from the other's type.
ActivityStreamsActivityStreamsPersonExtends returns true if Person extends from the other's type.
ActivityStreamsActivityStreamsPlaceExtends returns true if Place extends from the other's type.
ActivityStreamsActivityStreamsProfileExtends returns true if Profile extends from the other's type.
ActivityStreamsActivityStreamsQuestionExtends returns true if Question extends from the other's type.
ActivityStreamsActivityStreamsReadExtends returns true if Read extends from the other's type.
ActivityStreamsActivityStreamsRejectExtends returns true if Reject extends from the other's type.
ActivityStreamsActivityStreamsRelationshipExtends returns true if Relationship extends from the other's type.
ActivityStreamsActivityStreamsRemoveExtends returns true if Remove extends from the other's type.
ActivityStreamsActivityStreamsServiceExtends returns true if Service extends from the other's type.
ActivityStreamsActivityStreamsTentativeAcceptExtends returns true if TentativeAccept extends from the other's type.
ActivityStreamsActivityStreamsTentativeRejectExtends returns true if TentativeReject extends from the other's type.
ActivityStreamsActivityStreamsTombstoneExtends returns true if Tombstone extends from the other's type.
ActivityStreamsActivityStreamsTravelExtends returns true if Travel extends from the other's type.
ActivityStreamsActivityStreamsUndoExtends returns true if Undo extends from the other's type.
ActivityStreamsActivityStreamsUpdateExtends returns true if Update extends from the other's type.
ActivityStreamsActivityStreamsVideoExtends returns true if Video extends from the other's type.
ActivityStreamsActivityStreamsViewExtends returns true if View extends from the other's type.
ActivityStreamsAddIsDisjointWith returns true if Add is disjoint with the other's type.
ActivityStreamsAddIsExtendedBy returns true if the other's type extends from Add.
ActivityStreamsAnnounceIsDisjointWith returns true if Announce is disjoint with the other's type.
ActivityStreamsAnnounceIsExtendedBy returns true if the other's type extends from Announce.
ActivityStreamsApplicationIsDisjointWith returns true if Application is disjoint with the other's type.
ActivityStreamsApplicationIsExtendedBy returns true if the other's type extends from Application.
ActivityStreamsArriveIsDisjointWith returns true if Arrive is disjoint with the other's type.
ActivityStreamsArriveIsExtendedBy returns true if the other's type extends from Arrive.
ActivityStreamsArticleIsDisjointWith returns true if Article is disjoint with the other's type.
ActivityStreamsArticleIsExtendedBy returns true if the other's type extends from Article.
ActivityStreamsAudioIsDisjointWith returns true if Audio is disjoint with the other's type.
ActivityStreamsAudioIsExtendedBy returns true if the other's type extends from Audio.
ActivityStreamsBlockIsDisjointWith returns true if Block is disjoint with the other's type.
ActivityStreamsBlockIsExtendedBy returns true if the other's type extends from Block.
ActivityStreamsCollectionIsDisjointWith returns true if Collection is disjoint with the other's type.
ActivityStreamsCollectionIsExtendedBy returns true if the other's type extends from Collection.
ActivityStreamsCollectionPageIsDisjointWith returns true if CollectionPage is disjoint with the other's type.
ActivityStreamsCollectionPageIsExtendedBy returns true if the other's type extends from CollectionPage.
ActivityStreamsCreateIsDisjointWith returns true if Create is disjoint with the other's type.
ActivityStreamsCreateIsExtendedBy returns true if the other's type extends from Create.
ActivityStreamsDeleteIsDisjointWith returns true if Delete is disjoint with the other's type.
ActivityStreamsDeleteIsExtendedBy returns true if the other's type extends from Delete.
ActivityStreamsDislikeIsDisjointWith returns true if Dislike is disjoint with the other's type.
ActivityStreamsDislikeIsExtendedBy returns true if the other's type extends from Dislike.
ActivityStreamsDocumentIsDisjointWith returns true if Document is disjoint with the other's type.
ActivityStreamsDocumentIsExtendedBy returns true if the other's type extends from Document.
ActivityStreamsEventIsDisjointWith returns true if Event is disjoint with the other's type.
ActivityStreamsEventIsExtendedBy returns true if the other's type extends from Event.
ActivityStreamsFlagIsDisjointWith returns true if Flag is disjoint with the other's type.
ActivityStreamsFlagIsExtendedBy returns true if the other's type extends from Flag.
ActivityStreamsFollowIsDisjointWith returns true if Follow is disjoint with the other's type.
ActivityStreamsFollowIsExtendedBy returns true if the other's type extends from Follow.
ActivityStreamsGroupIsDisjointWith returns true if Group is disjoint with the other's type.
ActivityStreamsGroupIsExtendedBy returns true if the other's type extends from Group.
ActivityStreamsIgnoreIsDisjointWith returns true if Ignore is disjoint with the other's type.
ActivityStreamsIgnoreIsExtendedBy returns true if the other's type extends from Ignore.
ActivityStreamsImageIsDisjointWith returns true if Image is disjoint with the other's type.
ActivityStreamsImageIsExtendedBy returns true if the other's type extends from Image.
ActivityStreamsIntransitiveActivityIsDisjointWith returns true if IntransitiveActivity is disjoint with the other's type.
ActivityStreamsIntransitiveActivityIsExtendedBy returns true if the other's type extends from IntransitiveActivity.
ActivityStreamsInviteIsDisjointWith returns true if Invite is disjoint with the other's type.
ActivityStreamsInviteIsExtendedBy returns true if the other's type extends from Invite.
ActivityStreamsJoinIsDisjointWith returns true if Join is disjoint with the other's type.
ActivityStreamsJoinIsExtendedBy returns true if the other's type extends from Join.
ActivityStreamsLeaveIsDisjointWith returns true if Leave is disjoint with the other's type.
ActivityStreamsLeaveIsExtendedBy returns true if the other's type extends from Leave.
ActivityStreamsLikeIsDisjointWith returns true if Like is disjoint with the other's type.
ActivityStreamsLikeIsExtendedBy returns true if the other's type extends from Like.
ActivityStreamsLinkIsDisjointWith returns true if Link is disjoint with the other's type.
ActivityStreamsLinkIsExtendedBy returns true if the other's type extends from Link.
ActivityStreamsListenIsDisjointWith returns true if Listen is disjoint with the other's type.
ActivityStreamsListenIsExtendedBy returns true if the other's type extends from Listen.
ActivityStreamsMentionIsDisjointWith returns true if Mention is disjoint with the other's type.
ActivityStreamsMentionIsExtendedBy returns true if the other's type extends from Mention.
ActivityStreamsMoveIsDisjointWith returns true if Move is disjoint with the other's type.
ActivityStreamsMoveIsExtendedBy returns true if the other's type extends from Move.
ActivityStreamsNoteIsDisjointWith returns true if Note is disjoint with the other's type.
ActivityStreamsNoteIsExtendedBy returns true if the other's type extends from Note.
ActivityStreamsObjectIsDisjointWith returns true if Object is disjoint with the other's type.
ActivityStreamsObjectIsExtendedBy returns true if the other's type extends from Object.
ActivityStreamsOfferIsDisjointWith returns true if Offer is disjoint with the other's type.
ActivityStreamsOfferIsExtendedBy returns true if the other's type extends from Offer.
ActivityStreamsOrderedCollectionIsDisjointWith returns true if OrderedCollection is disjoint with the other's type.
ActivityStreamsOrderedCollectionIsExtendedBy returns true if the other's type extends from OrderedCollection.
ActivityStreamsOrderedCollectionPageIsDisjointWith returns true if OrderedCollectionPage is disjoint with the other's type.
ActivityStreamsOrderedCollectionPageIsExtendedBy returns true if the other's type extends from OrderedCollectionPage.
ActivityStreamsOrganizationIsDisjointWith returns true if Organization is disjoint with the other's type.
ActivityStreamsOrganizationIsExtendedBy returns true if the other's type extends from Organization.
ActivityStreamsPageIsDisjointWith returns true if Page is disjoint with the other's type.
ActivityStreamsPageIsExtendedBy returns true if the other's type extends from Page.
ActivityStreamsPersonIsDisjointWith returns true if Person is disjoint with the other's type.
ActivityStreamsPersonIsExtendedBy returns true if the other's type extends from Person.
ActivityStreamsPlaceIsDisjointWith returns true if Place is disjoint with the other's type.
ActivityStreamsPlaceIsExtendedBy returns true if the other's type extends from Place.
ActivityStreamsProfileIsDisjointWith returns true if Profile is disjoint with the other's type.
ActivityStreamsProfileIsExtendedBy returns true if the other's type extends from Profile.
ActivityStreamsQuestionIsDisjointWith returns true if Question is disjoint with the other's type.
ActivityStreamsQuestionIsExtendedBy returns true if the other's type extends from Question.
ActivityStreamsReadIsDisjointWith returns true if Read is disjoint with the other's type.
ActivityStreamsReadIsExtendedBy returns true if the other's type extends from Read.
ActivityStreamsRejectIsDisjointWith returns true if Reject is disjoint with the other's type.
ActivityStreamsRejectIsExtendedBy returns true if the other's type extends from Reject.
ActivityStreamsRelationshipIsDisjointWith returns true if Relationship is disjoint with the other's type.
ActivityStreamsRelationshipIsExtendedBy returns true if the other's type extends from Relationship.
ActivityStreamsRemoveIsDisjointWith returns true if Remove is disjoint with the other's type.
ActivityStreamsRemoveIsExtendedBy returns true if the other's type extends from Remove.
ActivityStreamsServiceIsDisjointWith returns true if Service is disjoint with the other's type.
ActivityStreamsServiceIsExtendedBy returns true if the other's type extends from Service.
ActivityStreamsTentativeAcceptIsDisjointWith returns true if TentativeAccept is disjoint with the other's type.
ActivityStreamsTentativeAcceptIsExtendedBy returns true if the other's type extends from TentativeAccept.
ActivityStreamsTentativeRejectIsDisjointWith returns true if TentativeReject is disjoint with the other's type.
ActivityStreamsTentativeRejectIsExtendedBy returns true if the other's type extends from TentativeReject.
ActivityStreamsTombstoneIsDisjointWith returns true if Tombstone is disjoint with the other's type.
ActivityStreamsTombstoneIsExtendedBy returns true if the other's type extends from Tombstone.
ActivityStreamsTravelIsDisjointWith returns true if Travel is disjoint with the other's type.
ActivityStreamsTravelIsExtendedBy returns true if the other's type extends from Travel.
ActivityStreamsUndoIsDisjointWith returns true if Undo is disjoint with the other's type.
ActivityStreamsUndoIsExtendedBy returns true if the other's type extends from Undo.
ActivityStreamsUpdateIsDisjointWith returns true if Update is disjoint with the other's type.
ActivityStreamsUpdateIsExtendedBy returns true if the other's type extends from Update.
ActivityStreamsVideoIsDisjointWith returns true if Video is disjoint with the other's type.
ActivityStreamsVideoIsExtendedBy returns true if the other's type extends from Video.
ActivityStreamsViewIsDisjointWith returns true if View is disjoint with the other's type.
ActivityStreamsViewIsExtendedBy returns true if the other's type extends from View.
ForgeFedBranchIsDisjointWith returns true if Branch is disjoint with the other's type.
ForgeFedBranchIsExtendedBy returns true if the other's type extends from Branch.
ForgeFedCommitIsDisjointWith returns true if Commit is disjoint with the other's type.
ForgeFedCommitIsExtendedBy returns true if the other's type extends from Commit.
ForgeFedForgeFedBranchExtends returns true if Branch extends from the other's type.
ForgeFedForgeFedCommitExtends returns true if Commit extends from the other's type.
ForgeFedForgeFedPushExtends returns true if Push extends from the other's type.
ForgeFedForgeFedRepositoryExtends returns true if Repository extends from the other's type.
ForgeFedForgeFedTicketDependencyExtends returns true if TicketDependency extends from the other's type.
ForgeFedForgeFedTicketExtends returns true if Ticket extends from the other's type.
ForgeFedPushIsDisjointWith returns true if Push is disjoint with the other's type.
ForgeFedPushIsExtendedBy returns true if the other's type extends from Push.
ForgeFedRepositoryIsDisjointWith returns true if Repository is disjoint with the other's type.
ForgeFedRepositoryIsExtendedBy returns true if the other's type extends from Repository.
ForgeFedTicketDependencyIsDisjointWith returns true if TicketDependency is disjoint with the other's type.
ForgeFedTicketDependencyIsExtendedBy returns true if the other's type extends from TicketDependency.
ForgeFedTicketIsDisjointWith returns true if Ticket is disjoint with the other's type.
ForgeFedTicketIsExtendedBy returns true if the other's type extends from Ticket.
IsOrExtendsActivityStreamsAccept returns true if the other provided type is the Accept type or extends from the Accept type.
IsOrExtendsActivityStreamsActivity returns true if the other provided type is the Activity type or extends from the Activity type.
IsOrExtendsActivityStreamsAdd returns true if the other provided type is the Add type or extends from the Add type.
IsOrExtendsActivityStreamsAnnounce returns true if the other provided type is the Announce type or extends from the Announce type.
IsOrExtendsActivityStreamsApplication returns true if the other provided type is the Application type or extends from the Application type.
IsOrExtendsActivityStreamsArrive returns true if the other provided type is the Arrive type or extends from the Arrive type.
IsOrExtendsActivityStreamsArticle returns true if the other provided type is the Article type or extends from the Article type.
IsOrExtendsActivityStreamsAudio returns true if the other provided type is the Audio type or extends from the Audio type.
IsOrExtendsActivityStreamsBlock returns true if the other provided type is the Block type or extends from the Block type.
IsOrExtendsActivityStreamsCollection returns true if the other provided type is the Collection type or extends from the Collection type.
IsOrExtendsActivityStreamsCollectionPage returns true if the other provided type is the CollectionPage type or extends from the CollectionPage type.
IsOrExtendsActivityStreamsCreate returns true if the other provided type is the Create type or extends from the Create type.
IsOrExtendsActivityStreamsDelete returns true if the other provided type is the Delete type or extends from the Delete type.
IsOrExtendsActivityStreamsDislike returns true if the other provided type is the Dislike type or extends from the Dislike type.
IsOrExtendsActivityStreamsDocument returns true if the other provided type is the Document type or extends from the Document type.
IsOrExtendsActivityStreamsEvent returns true if the other provided type is the Event type or extends from the Event type.
IsOrExtendsActivityStreamsFlag returns true if the other provided type is the Flag type or extends from the Flag type.
IsOrExtendsActivityStreamsFollow returns true if the other provided type is the Follow type or extends from the Follow type.
IsOrExtendsActivityStreamsGroup returns true if the other provided type is the Group type or extends from the Group type.
IsOrExtendsActivityStreamsIgnore returns true if the other provided type is the Ignore type or extends from the Ignore type.
IsOrExtendsActivityStreamsImage returns true if the other provided type is the Image type or extends from the Image type.
IsOrExtendsActivityStreamsIntransitiveActivity returns true if the other provided type is the IntransitiveActivity type or extends from the IntransitiveActivity type.
IsOrExtendsActivityStreamsInvite returns true if the other provided type is the Invite type or extends from the Invite type.
IsOrExtendsActivityStreamsJoin returns true if the other provided type is the Join type or extends from the Join type.
IsOrExtendsActivityStreamsLeave returns true if the other provided type is the Leave type or extends from the Leave type.
IsOrExtendsActivityStreamsLike returns true if the other provided type is the Like type or extends from the Like type.
IsOrExtendsActivityStreamsLink returns true if the other provided type is the Link type or extends from the Link type.
IsOrExtendsActivityStreamsListen returns true if the other provided type is the Listen type or extends from the Listen type.
IsOrExtendsActivityStreamsMention returns true if the other provided type is the Mention type or extends from the Mention type.
IsOrExtendsActivityStreamsMove returns true if the other provided type is the Move type or extends from the Move type.
IsOrExtendsActivityStreamsNote returns true if the other provided type is the Note type or extends from the Note type.
IsOrExtendsActivityStreamsObject returns true if the other provided type is the Object type or extends from the Object type.
IsOrExtendsActivityStreamsOffer returns true if the other provided type is the Offer type or extends from the Offer type.
IsOrExtendsActivityStreamsOrderedCollection returns true if the other provided type is the OrderedCollection type or extends from the OrderedCollection type.
IsOrExtendsActivityStreamsOrderedCollectionPage returns true if the other provided type is the OrderedCollectionPage type or extends from the OrderedCollectionPage type.
IsOrExtendsActivityStreamsOrganization returns true if the other provided type is the Organization type or extends from the Organization type.
IsOrExtendsActivityStreamsPage returns true if the other provided type is the Page type or extends from the Page type.
IsOrExtendsActivityStreamsPerson returns true if the other provided type is the Person type or extends from the Person type.
IsOrExtendsActivityStreamsPlace returns true if the other provided type is the Place type or extends from the Place type.
IsOrExtendsActivityStreamsProfile returns true if the other provided type is the Profile type or extends from the Profile type.
IsOrExtendsActivityStreamsQuestion returns true if the other provided type is the Question type or extends from the Question type.
IsOrExtendsActivityStreamsRead returns true if the other provided type is the Read type or extends from the Read type.
IsOrExtendsActivityStreamsReject returns true if the other provided type is the Reject type or extends from the Reject type.
IsOrExtendsActivityStreamsRelationship returns true if the other provided type is the Relationship type or extends from the Relationship type.
IsOrExtendsActivityStreamsRemove returns true if the other provided type is the Remove type or extends from the Remove type.
IsOrExtendsActivityStreamsService returns true if the other provided type is the Service type or extends from the Service type.
IsOrExtendsActivityStreamsTentativeAccept returns true if the other provided type is the TentativeAccept type or extends from the TentativeAccept type.
IsOrExtendsActivityStreamsTentativeReject returns true if the other provided type is the TentativeReject type or extends from the TentativeReject type.
IsOrExtendsActivityStreamsTombstone returns true if the other provided type is the Tombstone type or extends from the Tombstone type.
IsOrExtendsActivityStreamsTravel returns true if the other provided type is the Travel type or extends from the Travel type.
IsOrExtendsActivityStreamsUndo returns true if the other provided type is the Undo type or extends from the Undo type.
IsOrExtendsActivityStreamsUpdate returns true if the other provided type is the Update type or extends from the Update type.
IsOrExtendsActivityStreamsVideo returns true if the other provided type is the Video type or extends from the Video type.
IsOrExtendsActivityStreamsView returns true if the other provided type is the View type or extends from the View type.
IsOrExtendsForgeFedBranch returns true if the other provided type is the Branch type or extends from the Branch type.
IsOrExtendsForgeFedCommit returns true if the other provided type is the Commit type or extends from the Commit type.
IsOrExtendsForgeFedPush returns true if the other provided type is the Push type or extends from the Push type.
IsOrExtendsForgeFedRepository returns true if the other provided type is the Repository type or extends from the Repository type.
IsOrExtendsForgeFedTicket returns true if the other provided type is the Ticket type or extends from the Ticket type.
IsOrExtendsForgeFedTicketDependency returns true if the other provided type is the TicketDependency type or extends from the TicketDependency type.
IsOrExtendsTootEmoji returns true if the other provided type is the Emoji type or extends from the Emoji type.
IsOrExtendsTootIdentityProof returns true if the other provided type is the IdentityProof type or extends from the IdentityProof type.
IsOrExtendsW3IDSecurityV1PublicKey returns true if the other provided type is the PublicKey type or extends from the PublicKey type.
IsUnmatchedErr is true when the error indicates that a Resolver was unsuccessful due to the ActivityStreams value not matching its callbacks or predicates.
NewActivityStreamsAccept creates a new ActivityStreamsAccept.
NewActivityStreamsActivityStreamsAccuracyProperty creates a new ActivityStreamsAccuracyProperty.
NewActivityStreamsActivity creates a new ActivityStreamsActivity.
NewActivityStreamsActivityStreamsActorProperty creates a new ActivityStreamsActorProperty.
NewActivityStreamsAdd creates a new ActivityStreamsAdd.
NewActivityStreamsActivityStreamsAltitudeProperty creates a new ActivityStreamsAltitudeProperty.
NewActivityStreamsAnnounce creates a new ActivityStreamsAnnounce.
NewActivityStreamsActivityStreamsAnyOfProperty creates a new ActivityStreamsAnyOfProperty.
NewActivityStreamsApplication creates a new ActivityStreamsApplication.
NewActivityStreamsArrive creates a new ActivityStreamsArrive.
NewActivityStreamsArticle creates a new ActivityStreamsArticle.
NewActivityStreamsActivityStreamsAttachmentProperty creates a new ActivityStreamsAttachmentProperty.
NewActivityStreamsActivityStreamsAttributedToProperty creates a new ActivityStreamsAttributedToProperty.
NewActivityStreamsActivityStreamsAudienceProperty creates a new ActivityStreamsAudienceProperty.
NewActivityStreamsAudio creates a new ActivityStreamsAudio.
NewActivityStreamsActivityStreamsBccProperty creates a new ActivityStreamsBccProperty.
NewActivityStreamsBlock creates a new ActivityStreamsBlock.
NewActivityStreamsActivityStreamsBtoProperty creates a new ActivityStreamsBtoProperty.
NewActivityStreamsActivityStreamsCcProperty creates a new ActivityStreamsCcProperty.
NewActivityStreamsActivityStreamsClosedProperty creates a new ActivityStreamsClosedProperty.
NewActivityStreamsCollection creates a new ActivityStreamsCollection.
NewActivityStreamsCollectionPage creates a new ActivityStreamsCollectionPage.
NewActivityStreamsActivityStreamsContentProperty creates a new ActivityStreamsContentProperty.
NewActivityStreamsActivityStreamsContextProperty creates a new ActivityStreamsContextProperty.
NewActivityStreamsCreate creates a new ActivityStreamsCreate.
NewActivityStreamsActivityStreamsCurrentProperty creates a new ActivityStreamsCurrentProperty.
NewActivityStreamsDelete creates a new ActivityStreamsDelete.
NewActivityStreamsActivityStreamsDeletedProperty creates a new ActivityStreamsDeletedProperty.
NewActivityStreamsActivityStreamsDescribesProperty creates a new ActivityStreamsDescribesProperty.
NewActivityStreamsDislike creates a new ActivityStreamsDislike.
NewActivityStreamsDocument creates a new ActivityStreamsDocument.
NewActivityStreamsActivityStreamsDurationProperty creates a new ActivityStreamsDurationProperty.
NewActivityStreamsActivityStreamsEndTimeProperty creates a new ActivityStreamsEndTimeProperty.
NewActivityStreamsEvent creates a new ActivityStreamsEvent.
NewActivityStreamsActivityStreamsFirstProperty creates a new ActivityStreamsFirstProperty.
NewActivityStreamsFlag creates a new ActivityStreamsFlag.
NewActivityStreamsFollow creates a new ActivityStreamsFollow.
NewActivityStreamsActivityStreamsFollowersProperty creates a new ActivityStreamsFollowersProperty.
NewActivityStreamsActivityStreamsFollowingProperty creates a new ActivityStreamsFollowingProperty.
NewActivityStreamsActivityStreamsFormerTypeProperty creates a new ActivityStreamsFormerTypeProperty.
NewActivityStreamsActivityStreamsGeneratorProperty creates a new ActivityStreamsGeneratorProperty.
NewActivityStreamsGroup creates a new ActivityStreamsGroup.
NewActivityStreamsActivityStreamsHeightProperty creates a new ActivityStreamsHeightProperty.
NewActivityStreamsActivityStreamsHreflangProperty creates a new ActivityStreamsHreflangProperty.
NewActivityStreamsActivityStreamsHrefProperty creates a new ActivityStreamsHrefProperty.
NewActivityStreamsActivityStreamsIconProperty creates a new ActivityStreamsIconProperty.
NewActivityStreamsIgnore creates a new ActivityStreamsIgnore.
NewActivityStreamsImage creates a new ActivityStreamsImage.
NewActivityStreamsActivityStreamsImageProperty creates a new ActivityStreamsImageProperty.
NewActivityStreamsActivityStreamsInboxProperty creates a new ActivityStreamsInboxProperty.
NewActivityStreamsActivityStreamsInReplyToProperty creates a new ActivityStreamsInReplyToProperty.
NewActivityStreamsActivityStreamsInstrumentProperty creates a new ActivityStreamsInstrumentProperty.
NewActivityStreamsIntransitiveActivity creates a new ActivityStreamsIntransitiveActivity.
NewActivityStreamsInvite creates a new ActivityStreamsInvite.
NewActivityStreamsActivityStreamsItemsProperty creates a new ActivityStreamsItemsProperty.
NewActivityStreamsJoin creates a new ActivityStreamsJoin.
NewActivityStreamsActivityStreamsLastProperty creates a new ActivityStreamsLastProperty.
NewActivityStreamsActivityStreamsLatitudeProperty creates a new ActivityStreamsLatitudeProperty.
NewActivityStreamsLeave creates a new ActivityStreamsLeave.
NewActivityStreamsLike creates a new ActivityStreamsLike.
NewActivityStreamsActivityStreamsLikedProperty creates a new ActivityStreamsLikedProperty.
NewActivityStreamsActivityStreamsLikesProperty creates a new ActivityStreamsLikesProperty.
NewActivityStreamsLink creates a new ActivityStreamsLink.
NewActivityStreamsListen creates a new ActivityStreamsListen.
NewActivityStreamsActivityStreamsLocationProperty creates a new ActivityStreamsLocationProperty.
NewActivityStreamsActivityStreamsLongitudeProperty creates a new ActivityStreamsLongitudeProperty.
NewActivityStreamsActivityStreamsMediaTypeProperty creates a new ActivityStreamsMediaTypeProperty.
NewActivityStreamsMention creates a new ActivityStreamsMention.
NewActivityStreamsMove creates a new ActivityStreamsMove.
NewActivityStreamsActivityStreamsNameProperty creates a new ActivityStreamsNameProperty.
NewActivityStreamsActivityStreamsNextProperty creates a new ActivityStreamsNextProperty.
NewActivityStreamsNote creates a new ActivityStreamsNote.
NewActivityStreamsObject creates a new ActivityStreamsObject.
NewActivityStreamsActivityStreamsObjectProperty creates a new ActivityStreamsObjectProperty.
NewActivityStreamsOffer creates a new ActivityStreamsOffer.
NewActivityStreamsActivityStreamsOneOfProperty creates a new ActivityStreamsOneOfProperty.
NewActivityStreamsOrderedCollection creates a new ActivityStreamsOrderedCollection.
NewActivityStreamsOrderedCollectionPage creates a new ActivityStreamsOrderedCollectionPage.
NewActivityStreamsActivityStreamsOrderedItemsProperty creates a new ActivityStreamsOrderedItemsProperty.
NewActivityStreamsOrganization creates a new ActivityStreamsOrganization.
NewActivityStreamsActivityStreamsOriginProperty creates a new ActivityStreamsOriginProperty.
NewActivityStreamsActivityStreamsOutboxProperty creates a new ActivityStreamsOutboxProperty.
NewActivityStreamsPage creates a new ActivityStreamsPage.
NewActivityStreamsActivityStreamsPartOfProperty creates a new ActivityStreamsPartOfProperty.
NewActivityStreamsPerson creates a new ActivityStreamsPerson.
NewActivityStreamsPlace creates a new ActivityStreamsPlace.
NewActivityStreamsActivityStreamsPreferredUsernameProperty creates a new ActivityStreamsPreferredUsernameProperty.
NewActivityStreamsActivityStreamsPreviewProperty creates a new ActivityStreamsPreviewProperty.
NewActivityStreamsActivityStreamsPrevProperty creates a new ActivityStreamsPrevProperty.
NewActivityStreamsProfile creates a new ActivityStreamsProfile.
NewActivityStreamsActivityStreamsPublishedProperty creates a new ActivityStreamsPublishedProperty.
NewActivityStreamsQuestion creates a new ActivityStreamsQuestion.
NewActivityStreamsActivityStreamsRadiusProperty creates a new ActivityStreamsRadiusProperty.
NewActivityStreamsRead creates a new ActivityStreamsRead.
NewActivityStreamsReject creates a new ActivityStreamsReject.
NewActivityStreamsRelationship creates a new ActivityStreamsRelationship.
NewActivityStreamsActivityStreamsRelationshipProperty creates a new ActivityStreamsRelationshipProperty.
NewActivityStreamsActivityStreamsRelProperty creates a new ActivityStreamsRelProperty.
NewActivityStreamsRemove creates a new ActivityStreamsRemove.
NewActivityStreamsActivityStreamsRepliesProperty creates a new ActivityStreamsRepliesProperty.
NewActivityStreamsActivityStreamsResultProperty creates a new ActivityStreamsResultProperty.
NewActivityStreamsService creates a new ActivityStreamsService.
NewActivityStreamsActivityStreamsSharesProperty creates a new ActivityStreamsSharesProperty.
NewActivityStreamsActivityStreamsSourceProperty creates a new ActivityStreamsSourceProperty.
NewActivityStreamsActivityStreamsStartIndexProperty creates a new ActivityStreamsStartIndexProperty.
NewActivityStreamsActivityStreamsStartTimeProperty creates a new ActivityStreamsStartTimeProperty.
NewActivityStreamsActivityStreamsStreamsProperty creates a new ActivityStreamsStreamsProperty.
NewActivityStreamsActivityStreamsSubjectProperty creates a new ActivityStreamsSubjectProperty.
NewActivityStreamsActivityStreamsSummaryProperty creates a new ActivityStreamsSummaryProperty.
NewActivityStreamsActivityStreamsTagProperty creates a new ActivityStreamsTagProperty.
NewActivityStreamsActivityStreamsTargetProperty creates a new ActivityStreamsTargetProperty.
NewActivityStreamsTentativeAccept creates a new ActivityStreamsTentativeAccept.
NewActivityStreamsTentativeReject creates a new ActivityStreamsTentativeReject.
NewActivityStreamsTombstone creates a new ActivityStreamsTombstone.
NewActivityStreamsActivityStreamsToProperty creates a new ActivityStreamsToProperty.
NewActivityStreamsActivityStreamsTotalItemsProperty creates a new ActivityStreamsTotalItemsProperty.
NewActivityStreamsTravel creates a new ActivityStreamsTravel.
NewActivityStreamsUndo creates a new ActivityStreamsUndo.
NewActivityStreamsActivityStreamsUnitsProperty creates a new ActivityStreamsUnitsProperty.
NewActivityStreamsUpdate creates a new ActivityStreamsUpdate.
NewActivityStreamsActivityStreamsUpdatedProperty creates a new ActivityStreamsUpdatedProperty.
NewActivityStreamsActivityStreamsUrlProperty creates a new ActivityStreamsUrlProperty.
NewActivityStreamsVideo creates a new ActivityStreamsVideo.
NewActivityStreamsView creates a new ActivityStreamsView.
NewActivityStreamsActivityStreamsWidthProperty creates a new ActivityStreamsWidthProperty.
NewForgeFedForgeFedAssignedToProperty creates a new ForgeFedAssignedToProperty.
NewForgeFedBranch creates a new ForgeFedBranch.
NewForgeFedCommit creates a new ForgeFedCommit.
NewForgeFedForgeFedCommittedByProperty creates a new ForgeFedCommittedByProperty.
NewForgeFedForgeFedCommittedProperty creates a new ForgeFedCommittedProperty.
NewForgeFedForgeFedDependantsProperty creates a new ForgeFedDependantsProperty.
NewForgeFedForgeFedDependedByProperty creates a new ForgeFedDependedByProperty.
NewForgeFedForgeFedDependenciesProperty creates a new ForgeFedDependenciesProperty.
NewForgeFedForgeFedDependsOnProperty creates a new ForgeFedDependsOnProperty.
NewForgeFedForgeFedDescriptionProperty creates a new ForgeFedDescriptionProperty.
NewForgeFedForgeFedEarlyItemsProperty creates a new ForgeFedEarlyItemsProperty.
NewForgeFedForgeFedFilesAddedProperty creates a new ForgeFedFilesAddedProperty.
NewForgeFedForgeFedFilesModifiedProperty creates a new ForgeFedFilesModifiedProperty.
NewForgeFedForgeFedFilesRemovedProperty creates a new ForgeFedFilesRemovedProperty.
NewForgeFedForgeFedForksProperty creates a new ForgeFedForksProperty.
NewForgeFedForgeFedHashProperty creates a new ForgeFedHashProperty.
NewForgeFedForgeFedIsResolvedProperty creates a new ForgeFedIsResolvedProperty.
NewForgeFedPush creates a new ForgeFedPush.
NewForgeFedForgeFedRefProperty creates a new ForgeFedRefProperty.
NewForgeFedRepository creates a new ForgeFedRepository.
NewForgeFedForgeFedTeamProperty creates a new ForgeFedTeamProperty.
NewForgeFedTicket creates a new ForgeFedTicket.
NewForgeFedTicketDependency creates a new ForgeFedTicketDependency.
NewForgeFedForgeFedTicketsTrackedByProperty creates a new ForgeFedTicketsTrackedByProperty.
NewForgeFedForgeFedTracksTicketsForProperty creates a new ForgeFedTracksTicketsForProperty.
NewJSONLDJSONLDIdProperty creates a new JSONLDIdProperty.
NewJSONLDJSONLDTypeProperty creates a new JSONLDTypeProperty.
NewJSONResolver creates a new Resolver that takes a JSON-deserialized generic map and determines the correct concrete Go type.
NewTootTootBlurhashProperty creates a new TootBlurhashProperty.
NewTootTootDiscoverableProperty creates a new TootDiscoverableProperty.
NewTootEmoji creates a new TootEmoji.
NewTootTootFeaturedProperty creates a new TootFeaturedProperty.
NewTootIdentityProof creates a new TootIdentityProof.
NewTootTootSignatureAlgorithmProperty creates a new TootSignatureAlgorithmProperty.
NewTootTootSignatureValueProperty creates a new TootSignatureValueProperty.
NewTootTootVotersCountProperty creates a new TootVotersCountProperty.
NewTypePredicatedResolver creates a new Resolver that applies a predicate to an ActivityStreams value to determine whether to Resolve or not.
NewTypeResolver creates a new Resolver that examines the type of an ActivityStream value to determine what callback function to pass the concretely typed value.
NewW3IDSecurityV1W3IDSecurityV1OwnerProperty creates a new W3IDSecurityV1OwnerProperty.
NewW3IDSecurityV1PublicKey creates a new W3IDSecurityV1PublicKey.
NewW3IDSecurityV1W3IDSecurityV1PublicKeyPemProperty creates a new W3IDSecurityV1PublicKeyPemProperty.
NewW3IDSecurityV1W3IDSecurityV1PublicKeyProperty creates a new W3IDSecurityV1PublicKeyProperty.
Serialize adds the context vocabularies contained within the type into the JSON-LD @context field, and aliases them appropriately.
TootEmojiIsDisjointWith returns true if Emoji is disjoint with the other's type.
TootEmojiIsExtendedBy returns true if the other's type extends from Emoji.
TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with the other's type.
TootIdentityProofIsExtendedBy returns true if the other's type extends from IdentityProof.
TootTootEmojiExtends returns true if Emoji extends from the other's type.
TootTootIdentityProofExtends returns true if IdentityProof extends from the other's type.
ToType attempts to resolve the generic JSON map into a Type.
W3IDSecurityV1PublicKeyIsDisjointWith returns true if PublicKey is disjoint with the other's type.
W3IDSecurityV1PublicKeyIsExtendedBy returns true if the other's type extends from PublicKey.
W3IDSecurityV1W3IDSecurityV1PublicKeyExtends returns true if PublicKey extends from the other's type.

# Variables

ActivityStreamsAcceptName is the string literal of the name for the Accept type in the ActivityStreams vocabulary.
ActivityStreamsAccuracyPropertyName is the string literal of the name for the accuracy property in the ActivityStreams vocabulary.
ActivityStreamsActivityName is the string literal of the name for the Activity type in the ActivityStreams vocabulary.
ActivityStreamsActorPropertyName is the string literal of the name for the actor property in the ActivityStreams vocabulary.
ActivityStreamsAddName is the string literal of the name for the Add type in the ActivityStreams vocabulary.
ActivityStreamsAltitudePropertyName is the string literal of the name for the altitude property in the ActivityStreams vocabulary.
ActivityStreamsAnnounceName is the string literal of the name for the Announce type in the ActivityStreams vocabulary.
ActivityStreamsAnyOfPropertyName is the string literal of the name for the anyOf property in the ActivityStreams vocabulary.
ActivityStreamsApplicationName is the string literal of the name for the Application type in the ActivityStreams vocabulary.
ActivityStreamsArriveName is the string literal of the name for the Arrive type in the ActivityStreams vocabulary.
ActivityStreamsArticleName is the string literal of the name for the Article type in the ActivityStreams vocabulary.
ActivityStreamsAttachmentPropertyName is the string literal of the name for the attachment property in the ActivityStreams vocabulary.
ActivityStreamsAttributedToPropertyName is the string literal of the name for the attributedTo property in the ActivityStreams vocabulary.
ActivityStreamsAudiencePropertyName is the string literal of the name for the audience property in the ActivityStreams vocabulary.
ActivityStreamsAudioName is the string literal of the name for the Audio type in the ActivityStreams vocabulary.
ActivityStreamsBccPropertyName is the string literal of the name for the bcc property in the ActivityStreams vocabulary.
ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary.
ActivityStreamsBtoPropertyName is the string literal of the name for the bto property in the ActivityStreams vocabulary.
ActivityStreamsCcPropertyName is the string literal of the name for the cc property in the ActivityStreams vocabulary.
ActivityStreamsClosedPropertyName is the string literal of the name for the closed property in the ActivityStreams vocabulary.
ActivityStreamsCollectionName is the string literal of the name for the Collection type in the ActivityStreams vocabulary.
ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary.
ActivityStreamsContentPropertyMapName is the string literal of the name for the content property in the ActivityStreams vocabulary when it is a natural language map.
ActivityStreamsContentPropertyName is the string literal of the name for the content property in the ActivityStreams vocabulary.
ActivityStreamsContextPropertyName is the string literal of the name for the context property in the ActivityStreams vocabulary.
ActivityStreamsCreateName is the string literal of the name for the Create type in the ActivityStreams vocabulary.
ActivityStreamsCurrentPropertyName is the string literal of the name for the current property in the ActivityStreams vocabulary.
ActivityStreamsDeletedPropertyName is the string literal of the name for the deleted property in the ActivityStreams vocabulary.
ActivityStreamsDeleteName is the string literal of the name for the Delete type in the ActivityStreams vocabulary.
ActivityStreamsDescribesPropertyName is the string literal of the name for the describes property in the ActivityStreams vocabulary.
ActivityStreamsDislikeName is the string literal of the name for the Dislike type in the ActivityStreams vocabulary.
ActivityStreamsDocumentName is the string literal of the name for the Document type in the ActivityStreams vocabulary.
ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary.
ActivityStreamsEndTimePropertyName is the string literal of the name for the endTime property in the ActivityStreams vocabulary.
ActivityStreamsEventName is the string literal of the name for the Event type in the ActivityStreams vocabulary.
ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
ActivityStreamsFlagName is the string literal of the name for the Flag type in the ActivityStreams vocabulary.
ActivityStreamsFollowersPropertyName is the string literal of the name for the followers property in the ActivityStreams vocabulary.
ActivityStreamsFollowingPropertyName is the string literal of the name for the following property in the ActivityStreams vocabulary.
ActivityStreamsFollowName is the string literal of the name for the Follow type in the ActivityStreams vocabulary.
ActivityStreamsFormerTypePropertyName is the string literal of the name for the formerType property in the ActivityStreams vocabulary.
ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary.
ActivityStreamsGroupName is the string literal of the name for the Group type in the ActivityStreams vocabulary.
ActivityStreamsHeightPropertyName is the string literal of the name for the height property in the ActivityStreams vocabulary.
ActivityStreamsHreflangPropertyName is the string literal of the name for the hreflang property in the ActivityStreams vocabulary.
ActivityStreamsHrefPropertyName is the string literal of the name for the href property in the ActivityStreams vocabulary.
ActivityStreamsIconPropertyName is the string literal of the name for the icon property in the ActivityStreams vocabulary.
ActivityStreamsIgnoreName is the string literal of the name for the Ignore type in the ActivityStreams vocabulary.
ActivityStreamsImageName is the string literal of the name for the Image type in the ActivityStreams vocabulary.
ActivityStreamsImagePropertyName is the string literal of the name for the image property in the ActivityStreams vocabulary.
ActivityStreamsInboxPropertyName is the string literal of the name for the inbox property in the ActivityStreams vocabulary.
ActivityStreamsInReplyToPropertyName is the string literal of the name for the inReplyTo property in the ActivityStreams vocabulary.
ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
ActivityStreamsIntransitiveActivityName is the string literal of the name for the IntransitiveActivity type in the ActivityStreams vocabulary.
ActivityStreamsInviteName is the string literal of the name for the Invite type in the ActivityStreams vocabulary.
ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
ActivityStreamsJoinName is the string literal of the name for the Join type in the ActivityStreams vocabulary.
ActivityStreamsLastPropertyName is the string literal of the name for the last property in the ActivityStreams vocabulary.
ActivityStreamsLatitudePropertyName is the string literal of the name for the latitude property in the ActivityStreams vocabulary.
ActivityStreamsLeaveName is the string literal of the name for the Leave type in the ActivityStreams vocabulary.
ActivityStreamsLikedPropertyName is the string literal of the name for the liked property in the ActivityStreams vocabulary.
ActivityStreamsLikeName is the string literal of the name for the Like type in the ActivityStreams vocabulary.
ActivityStreamsLikesPropertyName is the string literal of the name for the likes property in the ActivityStreams vocabulary.
ActivityStreamsLinkName is the string literal of the name for the Link type in the ActivityStreams vocabulary.
ActivityStreamsListenName is the string literal of the name for the Listen type in the ActivityStreams vocabulary.
ActivityStreamsLocationPropertyName is the string literal of the name for the location property in the ActivityStreams vocabulary.
ActivityStreamsLongitudePropertyName is the string literal of the name for the longitude property in the ActivityStreams vocabulary.
ActivityStreamsMediaTypePropertyName is the string literal of the name for the mediaType property in the ActivityStreams vocabulary.
ActivityStreamsMentionName is the string literal of the name for the Mention type in the ActivityStreams vocabulary.
ActivityStreamsMoveName is the string literal of the name for the Move type in the ActivityStreams vocabulary.
ActivityStreamsNamePropertyMapName is the string literal of the name for the name property in the ActivityStreams vocabulary when it is a natural language map.
ActivityStreamsNamePropertyName is the string literal of the name for the name property in the ActivityStreams vocabulary.
ActivityStreamsNextPropertyName is the string literal of the name for the next property in the ActivityStreams vocabulary.
ActivityStreamsNoteName is the string literal of the name for the Note type in the ActivityStreams vocabulary.
ActivityStreamsObjectName is the string literal of the name for the Object type in the ActivityStreams vocabulary.
ActivityStreamsObjectPropertyName is the string literal of the name for the object property in the ActivityStreams vocabulary.
ActivityStreamsOfferName is the string literal of the name for the Offer type in the ActivityStreams vocabulary.
ActivityStreamsOneOfPropertyName is the string literal of the name for the oneOf property in the ActivityStreams vocabulary.
ActivityStreamsOrderedCollectionName is the string literal of the name for the OrderedCollection type in the ActivityStreams vocabulary.
ActivityStreamsOrderedCollectionPageName is the string literal of the name for the OrderedCollectionPage type in the ActivityStreams vocabulary.
ActivityStreamsOrderedItemsPropertyName is the string literal of the name for the orderedItems property in the ActivityStreams vocabulary.
ActivityStreamsOrganizationName is the string literal of the name for the Organization type in the ActivityStreams vocabulary.
ActivityStreamsOriginPropertyName is the string literal of the name for the origin property in the ActivityStreams vocabulary.
ActivityStreamsOutboxPropertyName is the string literal of the name for the outbox property in the ActivityStreams vocabulary.
ActivityStreamsPageName is the string literal of the name for the Page type in the ActivityStreams vocabulary.
ActivityStreamsPartOfPropertyName is the string literal of the name for the partOf property in the ActivityStreams vocabulary.
ActivityStreamsPersonName is the string literal of the name for the Person type in the ActivityStreams vocabulary.
ActivityStreamsPlaceName is the string literal of the name for the Place type in the ActivityStreams vocabulary.
ActivityStreamsPreferredUsernamePropertyMapName is the string literal of the name for the preferredUsername property in the ActivityStreams vocabulary when it is a natural language map.
ActivityStreamsPreferredUsernamePropertyName is the string literal of the name for the preferredUsername property in the ActivityStreams vocabulary.
ActivityStreamsPreviewPropertyName is the string literal of the name for the preview property in the ActivityStreams vocabulary.
ActivityStreamsPrevPropertyName is the string literal of the name for the prev property in the ActivityStreams vocabulary.
ActivityStreamsProfileName is the string literal of the name for the Profile type in the ActivityStreams vocabulary.
ActivityStreamsPublishedPropertyName is the string literal of the name for the published property in the ActivityStreams vocabulary.
ActivityStreamsQuestionName is the string literal of the name for the Question type in the ActivityStreams vocabulary.
ActivityStreamsRadiusPropertyName is the string literal of the name for the radius property in the ActivityStreams vocabulary.
ActivityStreamsReadName is the string literal of the name for the Read type in the ActivityStreams vocabulary.
ActivityStreamsRejectName is the string literal of the name for the Reject type in the ActivityStreams vocabulary.
ActivityStreamsRelationshipName is the string literal of the name for the Relationship type in the ActivityStreams vocabulary.
ActivityStreamsRelationshipPropertyName is the string literal of the name for the relationship property in the ActivityStreams vocabulary.
ActivityStreamsRelPropertyName is the string literal of the name for the rel property in the ActivityStreams vocabulary.
ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary.
ActivityStreamsRepliesPropertyName is the string literal of the name for the replies property in the ActivityStreams vocabulary.
ActivityStreamsResultPropertyName is the string literal of the name for the result property in the ActivityStreams vocabulary.
ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
ActivityStreamsSharesPropertyName is the string literal of the name for the shares property in the ActivityStreams vocabulary.
ActivityStreamsSourcePropertyName is the string literal of the name for the source property in the ActivityStreams vocabulary.
ActivityStreamsStartIndexPropertyName is the string literal of the name for the startIndex property in the ActivityStreams vocabulary.
ActivityStreamsStartTimePropertyName is the string literal of the name for the startTime property in the ActivityStreams vocabulary.
ActivityStreamsStreamsPropertyName is the string literal of the name for the streams property in the ActivityStreams vocabulary.
ActivityStreamsSubjectPropertyName is the string literal of the name for the subject property in the ActivityStreams vocabulary.
ActivityStreamsSummaryPropertyMapName is the string literal of the name for the summary property in the ActivityStreams vocabulary when it is a natural language map.
ActivityStreamsSummaryPropertyName is the string literal of the name for the summary property in the ActivityStreams vocabulary.
ActivityStreamsTagPropertyName is the string literal of the name for the tag property in the ActivityStreams vocabulary.
ActivityStreamsTargetPropertyName is the string literal of the name for the target property in the ActivityStreams vocabulary.
ActivityStreamsTentativeAcceptName is the string literal of the name for the TentativeAccept type in the ActivityStreams vocabulary.
ActivityStreamsTentativeRejectName is the string literal of the name for the TentativeReject type in the ActivityStreams vocabulary.
ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
ActivityStreamsToPropertyName is the string literal of the name for the to property in the ActivityStreams vocabulary.
ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary.
ActivityStreamsTravelName is the string literal of the name for the Travel type in the ActivityStreams vocabulary.
ActivityStreamsUndoName is the string literal of the name for the Undo type in the ActivityStreams vocabulary.
ActivityStreamsUnitsPropertyName is the string literal of the name for the units property in the ActivityStreams vocabulary.
ActivityStreamsUpdatedPropertyName is the string literal of the name for the updated property in the ActivityStreams vocabulary.
ActivityStreamsUpdateName is the string literal of the name for the Update type in the ActivityStreams vocabulary.
ActivityStreamsUrlPropertyName is the string literal of the name for the url property in the ActivityStreams vocabulary.
ActivityStreamsVideoName is the string literal of the name for the Video type in the ActivityStreams vocabulary.
ActivityStreamsViewName is the string literal of the name for the View type in the ActivityStreams vocabulary.
ActivityStreamsWidthPropertyName is the string literal of the name for the width property in the ActivityStreams vocabulary.
ErrNoCallbackMatch indicates a Resolver could not match the ActivityStreams value to a callback function.
ErrPredicateUnmatched indicates that a predicate is accepting a type or interface that does not match an ActivityStreams value's type or interface.
ErrUnhandledType indicates that an ActivityStreams value has a type that is not handled by the code that has been generated.
ForgeFedAssignedToPropertyName is the string literal of the name for the assignedTo property in the ForgeFed vocabulary.
ForgeFedBranchName is the string literal of the name for the Branch type in the ForgeFed vocabulary.
ForgeFedCommitName is the string literal of the name for the Commit type in the ForgeFed vocabulary.
ForgeFedCommittedByPropertyName is the string literal of the name for the committedBy property in the ForgeFed vocabulary.
ForgeFedCommittedPropertyName is the string literal of the name for the committed property in the ForgeFed vocabulary.
ForgeFedDependantsPropertyName is the string literal of the name for the dependants property in the ForgeFed vocabulary.
ForgeFedDependedByPropertyName is the string literal of the name for the dependedBy property in the ForgeFed vocabulary.
ForgeFedDependenciesPropertyName is the string literal of the name for the dependencies property in the ForgeFed vocabulary.
ForgeFedDependsOnPropertyName is the string literal of the name for the dependsOn property in the ForgeFed vocabulary.
ForgeFedDescriptionPropertyName is the string literal of the name for the description property in the ForgeFed vocabulary.
ForgeFedEarlyItemsPropertyName is the string literal of the name for the earlyItems property in the ForgeFed vocabulary.
ForgeFedFilesAddedPropertyName is the string literal of the name for the filesAdded property in the ForgeFed vocabulary.
ForgeFedFilesModifiedPropertyName is the string literal of the name for the filesModified property in the ForgeFed vocabulary.
ForgeFedFilesRemovedPropertyName is the string literal of the name for the filesRemoved property in the ForgeFed vocabulary.
ForgeFedForksPropertyName is the string literal of the name for the forks property in the ForgeFed vocabulary.
ForgeFedHashPropertyName is the string literal of the name for the hash property in the ForgeFed vocabulary.
ForgeFedIsResolvedPropertyName is the string literal of the name for the isResolved property in the ForgeFed vocabulary.
ForgeFedPushName is the string literal of the name for the Push type in the ForgeFed vocabulary.
ForgeFedRefPropertyName is the string literal of the name for the ref property in the ForgeFed vocabulary.
ForgeFedRepositoryName is the string literal of the name for the Repository type in the ForgeFed vocabulary.
ForgeFedTeamPropertyName is the string literal of the name for the team property in the ForgeFed vocabulary.
ForgeFedTicketDependencyName is the string literal of the name for the TicketDependency type in the ForgeFed vocabulary.
ForgeFedTicketName is the string literal of the name for the Ticket type in the ForgeFed vocabulary.
ForgeFedTicketsTrackedByPropertyName is the string literal of the name for the ticketsTrackedBy property in the ForgeFed vocabulary.
ForgeFedTracksTicketsForPropertyName is the string literal of the name for the tracksTicketsFor property in the ForgeFed vocabulary.
TootBlurhashPropertyName is the string literal of the name for the blurhash property in the Toot vocabulary.
TootDiscoverablePropertyName is the string literal of the name for the discoverable property in the Toot vocabulary.
TootEmojiName is the string literal of the name for the Emoji type in the Toot vocabulary.
TootFeaturedPropertyName is the string literal of the name for the featured property in the Toot vocabulary.
TootIdentityProofName is the string literal of the name for the IdentityProof type in the Toot vocabulary.
TootSignatureAlgorithmPropertyName is the string literal of the name for the signatureAlgorithm property in the Toot vocabulary.
TootSignatureValuePropertyName is the string literal of the name for the signatureValue property in the Toot vocabulary.
TootVotersCountPropertyName is the string literal of the name for the votersCount property in the Toot vocabulary.
W3IDSecurityV1OwnerPropertyName is the string literal of the name for the owner property in the W3IDSecurityV1 vocabulary.
W3IDSecurityV1PublicKeyName is the string literal of the name for the PublicKey type in the W3IDSecurityV1 vocabulary.
W3IDSecurityV1PublicKeyPemPropertyName is the string literal of the name for the publicKeyPem property in the W3IDSecurityV1 vocabulary.
W3IDSecurityV1PublicKeyPropertyName is the string literal of the name for the publicKey property in the W3IDSecurityV1 vocabulary.

# Structs

JSONResolver resolves a JSON-deserialized map into its concrete ActivityStreams type.
Manager manages interface types and deserializations for use by generated code.
TypePredicatedResolver resolves ActivityStreams values if the value satisfies a predicate condition based on its type.
TypeResolver resolves ActivityStreams values based on their type name.

# Interfaces

ActivityStreamsInterface represents any ActivityStream value code-generated by go-fed or compatible with the generated interfaces.
Resolver represents any TypeResolver.