diff --git a/package-lock.json b/package-lock.json index fc196ca..c788fe4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12592,10 +12592,6 @@ "node": ">=12" } }, - "node_modules/dts-dom": { - "version": "3.7.0", - "license": "Apache-2.0" - }, "node_modules/duplexer": { "version": "0.1.2", "license": "MIT" @@ -29352,10 +29348,11 @@ "license": "MIT", "dependencies": { "@ldo/traverser-shexj": "^0.0.1-alpha.24", - "dts-dom": "^3.6.0", + "dts-dom": "~3.6.0", "jsonld2graphobject": "^0.0.5" }, "devDependencies": { + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", "@shexjs/parser": "^1.0.0-alpha.24", "@types/jest": "^27.0.3", "@types/jsonld": "^1.5.6", @@ -29366,6 +29363,12 @@ "ts-jest": "^27.1.2" } }, + "packages/schema-converter-shex/node_modules/dts-dom": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/dts-dom/-/dts-dom-3.6.0.tgz", + "integrity": "sha512-on5jxTgt+A6r0Zyyz6ZRHXaAO7J1VPnOd6+AmvI1vH440AlAZZNc5rUHzgPuTjGlrVr1rOWQYNl7ZJK6rDohbw==", + "license": "Apache-2.0" + }, "packages/schema-converter-shex/node_modules/jsonld2graphobject": { "version": "0.0.5", "license": "MIT", @@ -29735,7 +29738,6 @@ }, "devDependencies": { "@types/jest": "^27.0.3", - "@types/shexj": "^2.1.3", "jest": "^27.4.5", "ts-jest": "^27.1.2" } diff --git a/packages/jsonld-dataset-proxy/src/index.ts b/packages/jsonld-dataset-proxy/src/index.ts index a226868..1eedb26 100644 --- a/packages/jsonld-dataset-proxy/src/index.ts +++ b/packages/jsonld-dataset-proxy/src/index.ts @@ -9,6 +9,7 @@ export * from "./jsonldDatasetProxy"; export * from "./write"; export * from "./graphOf"; export * from "./setLanguagePreferences"; +export * from "./LdoJsonldContext"; export * from "./language/languagesOf"; export * from "./language/languageMapProxy"; diff --git a/packages/schema-converter-shex/package.json b/packages/schema-converter-shex/package.json index f71e73b..ea00f3e 100644 --- a/packages/schema-converter-shex/package.json +++ b/packages/schema-converter-shex/package.json @@ -20,6 +20,7 @@ }, "homepage": "https://github.com/o-development/ldobjects/tree/main/packages/schema-converter-shex#readme", "devDependencies": { + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", "@shexjs/parser": "^1.0.0-alpha.24", "@types/jest": "^27.0.3", "@types/jsonld": "^1.5.6", @@ -34,7 +35,7 @@ ], "dependencies": { "@ldo/traverser-shexj": "^0.0.1-alpha.24", - "dts-dom": "^3.6.0", + "dts-dom": "~3.6.0", "jsonld2graphobject": "^0.0.5" }, "publishConfig": { diff --git a/packages/schema-converter-shex/src/context/JsonLdContextBuilder.ts b/packages/schema-converter-shex/src/context/JsonLdContextBuilder.ts index 71a50b0..fe28d73 100644 --- a/packages/schema-converter-shex/src/context/JsonLdContextBuilder.ts +++ b/packages/schema-converter-shex/src/context/JsonLdContextBuilder.ts @@ -97,7 +97,7 @@ export class JsonLdContextBuilder { if (!relevantBuilder.iriTypes[iri]) { relevantBuilder.iriTypes[iri] = expandedTermDefinition; if (isContainer) { - relevantBuilder.iriTypes[iri]["@isContainer"] = true; + relevantBuilder.iriTypes[iri]["@isCollection"] = true; } } else { const curDef = relevantBuilder.iriTypes[iri]; @@ -106,7 +106,7 @@ export class JsonLdContextBuilder { // it will overwrite the past cardinality. Perhapse we might want to // split contexts in the various shapes. if (isContainer) { - curDef["@isContainer"] = true; + curDef["@isCollection"] = true; } // If the old and new versions both have types if (curDef["@type"] && newDef["@type"]) { @@ -172,12 +172,13 @@ export class JsonLdContextBuilder { return generatedNames; } - getNameFromIri(iri: string) { - if (!this.generatedNames) { - this.generatedNames = this.generateNames(); + getNameFromIri(iri: string, rdfType?: string) { + const relevantBuilder = this.getRelevantBuilder(rdfType); + if (!relevantBuilder.generatedNames) { + relevantBuilder.generatedNames = relevantBuilder.generateNames(); } - if (this.generatedNames[iri]) { - return this.generatedNames[iri]; + if (relevantBuilder.generatedNames[iri]) { + return relevantBuilder.generatedNames[iri]; } else { return iri; } diff --git a/packages/schema-converter-shex/src/context/ShexJContextVisitor.ts b/packages/schema-converter-shex/src/context/ShexJContextVisitor.ts index 20db369..ca160e1 100644 --- a/packages/schema-converter-shex/src/context/ShexJContextVisitor.ts +++ b/packages/schema-converter-shex/src/context/ShexJContextVisitor.ts @@ -1,5 +1,6 @@ import ShexJTraverser from "@ldo/traverser-shexj"; import type { JsonLdContextBuilder } from "./JsonLdContextBuilder"; +import { getRdfTypesForTripleConstraint } from "../util/getRdfTypesForTripleConstraint"; /** * Visitor @@ -10,67 +11,72 @@ export const ShexJNameVisitor = visitor: async (_shape, _context) => {}, }, TripleConstraint: { - visitor: async (tripleConstraint, context) => { - // TODO: check that there's a triple constraint that is a type at the + visitor: async (tripleConstraint, node, context) => { + // Check that there's a triple constraint that is a type at the // same level if there is, use that as an rdfType - if (tripleConstraint.valueExpr) { - const isContainer = - tripleConstraint.max !== undefined && tripleConstraint.max !== 1; - if (typeof tripleConstraint.valueExpr === "string") { - // TOOD handle string value expr - } else if (tripleConstraint.valueExpr.type === "NodeConstraint") { - if (tripleConstraint.valueExpr.datatype) { + const rdfTypes = getRdfTypesForTripleConstraint(node); + + // For Each RDF Type, add it + rdfTypes.forEach((rdfType) => { + if (tripleConstraint.valueExpr) { + const isContainer = + tripleConstraint.max !== undefined && tripleConstraint.max !== 1; + if (typeof tripleConstraint.valueExpr === "string") { + // TOOD handle string value expr + } else if (tripleConstraint.valueExpr.type === "NodeConstraint") { + if (tripleConstraint.valueExpr.datatype) { + context.addPredicate( + tripleConstraint.predicate, + { + "@type": tripleConstraint.valueExpr.datatype, + }, + isContainer, + rdfType, + tripleConstraint.annotations, + ); + } else if ( + tripleConstraint.valueExpr.nodeKind && + tripleConstraint.valueExpr.nodeKind !== "literal" + ) { + context.addPredicate( + tripleConstraint.predicate, + { "@type": "@id" }, + isContainer, + rdfType, + tripleConstraint.annotations, + ); + } else { + context.addPredicate( + tripleConstraint.predicate, + {}, + isContainer, + rdfType, + tripleConstraint.annotations, + ); + } + } else { context.addPredicate( tripleConstraint.predicate, { - "@type": tripleConstraint.valueExpr.datatype, + "@type": "@id", }, isContainer, - undefined, - tripleConstraint.annotations, - ); - } else if ( - tripleConstraint.valueExpr.nodeKind && - tripleConstraint.valueExpr.nodeKind !== "literal" - ) { - context.addPredicate( - tripleConstraint.predicate, - { "@type": "@id" }, - isContainer, - undefined, - tripleConstraint.annotations, - ); - } else { - context.addPredicate( - tripleConstraint.predicate, - {}, - isContainer, - undefined, + rdfType, tripleConstraint.annotations, ); } } else { - context.addPredicate( + context.addSubject( tripleConstraint.predicate, - { - "@type": "@id", - }, - isContainer, - undefined, + rdfType, tripleConstraint.annotations, ); } - } else { - context.addSubject( - tripleConstraint.predicate, - undefined, - tripleConstraint.annotations, - ); - } + }); }, }, NodeConstraint: { - visitor: async (nodeConstraint, context) => { + visitor: async (nodeConstraint, node, context) => { if (nodeConstraint.values) { nodeConstraint.values.forEach((value) => { if (typeof value === "string") { @@ -81,7 +87,7 @@ export const ShexJNameVisitor = }, }, IriStem: { - visitor: async (iriStem, context) => { + visitor: async (iriStem, node, context) => { context.addSubject(iriStem.stem); }, }, diff --git a/packages/schema-converter-shex/src/context/shexjToContext.ts b/packages/schema-converter-shex/src/context/shexjToContext.ts index 6a99aeb..34eff3f 100644 --- a/packages/schema-converter-shex/src/context/shexjToContext.ts +++ b/packages/schema-converter-shex/src/context/shexjToContext.ts @@ -14,6 +14,7 @@ export async function shexjToContext( "@context": "http://www.w3.org/ns/shex.jsonld", }, "SCHEMA", + { excludeContext: true }, )) as unknown as Schema; const jsonLdContextBuilder = new JsonLdContextBuilder(); await ShexJNameVisitor.visit(processedShexj, "Schema", jsonLdContextBuilder); diff --git a/packages/schema-converter-shex/src/typing/ShexJTypingTransformer.ts b/packages/schema-converter-shex/src/typing/ShexJTypingTransformer.ts index 6c94a0d..272aa58 100644 --- a/packages/schema-converter-shex/src/typing/ShexJTypingTransformer.ts +++ b/packages/schema-converter-shex/src/typing/ShexJTypingTransformer.ts @@ -3,9 +3,11 @@ import * as dom from "dts-dom"; import type { Annotation } from "shexj"; import { nameFromObject } from "../context/JsonLdContextBuilder"; import type { ShapeInterfaceDeclaration } from "./ShapeInterfaceDeclaration"; +import { getRdfTypesForTripleConstraint } from "../util/getRdfTypesForTripleConstraint"; +import { dedupeObjectTypeMembers } from "./util/dedupeObjectTypeMembers"; export interface ShexJTypeTransformerContext { - getNameFromIri: (iri: string) => string; + getNameFromIri: (iri: string, rdfType?: string) => string; } export function commentFromAnnotations( @@ -125,12 +127,19 @@ export const ShexJTypingTransformer = ShexJTraverser.createTransformer< } // Use EXTENDS if (transformedChildren.extends) { - newInterface.baseTypes = []; transformedChildren.extends.forEach((extendsItem) => { - if ((extendsItem as dom.InterfaceDeclaration).kind === "interface") { - newInterface.baseTypes?.push( - extendsItem as dom.InterfaceDeclaration, - ); + const extendsInterface = extendsItem as dom.InterfaceDeclaration; + if (extendsInterface.kind === "interface") { + // NOTE: This is how you would use the actual typescript "extends" + // feature, but as ShEx extend doesn't work the same way as ts + // extends, we just dedupe and push members. + // newInterface.baseTypes?.push( + // extendsItem as dom.InterfaceDeclaration, + // ); + newInterface.members = dedupeObjectTypeMembers([ + ...extendsInterface.members, + ...newInterface.members, + ]); } }); } @@ -144,7 +153,6 @@ export const ShexJTypingTransformer = ShexJTraverser.createTransformer< const objectType = name ? dom.create.interface(name) : dom.create.objectType([]); - const eachOfComment = commentFromAnnotations(eachOf.annotations); setReturnPointer(objectType); // Get Input property expressions const inputPropertyExpressions: dom.PropertyDeclaration[] = []; @@ -178,49 +186,9 @@ export const ShexJTypingTransformer = ShexJTraverser.createTransformer< } }, ); - - // Merge property expressions - const properties: Record = {}; - inputPropertyExpressions.forEach((expression) => { - const propertyDeclaration = expression as dom.PropertyDeclaration; - // Combine properties if they're duplicates - if (properties[propertyDeclaration.name]) { - const oldPropertyDeclaration = properties[propertyDeclaration.name]; - const oldPropertyTypeAsArray = - oldPropertyDeclaration.type as dom.ArrayTypeReference; - const oldProeprtyType = - oldPropertyTypeAsArray.kind === "array" - ? oldPropertyTypeAsArray.type - : oldPropertyDeclaration.type; - const propertyTypeAsArray = - propertyDeclaration.type as dom.ArrayTypeReference; - const propertyType = - propertyTypeAsArray.kind === "array" - ? propertyTypeAsArray.type - : propertyDeclaration.type; - const isOptional = - propertyDeclaration.flags === dom.DeclarationFlags.Optional || - oldPropertyDeclaration.flags === dom.DeclarationFlags.Optional; - properties[propertyDeclaration.name] = dom.create.property( - propertyDeclaration.name, - dom.type.array(dom.create.union([oldProeprtyType, propertyType])), - isOptional - ? dom.DeclarationFlags.Optional - : dom.DeclarationFlags.None, - ); - // Set JS Comment - properties[propertyDeclaration.name].jsDocComment = - oldPropertyDeclaration.jsDocComment && - propertyDeclaration.jsDocComment - ? `${oldPropertyDeclaration.jsDocComment} | ${propertyDeclaration.jsDocComment}` - : oldPropertyDeclaration.jsDocComment || - propertyDeclaration.jsDocComment || - eachOfComment; - } else { - properties[propertyDeclaration.name] = propertyDeclaration; - } - }); - objectType.members.push(...Object.values(properties)); + objectType.members.push( + ...dedupeObjectTypeMembers(inputPropertyExpressions), + ); return objectType; }, }, @@ -229,10 +197,19 @@ export const ShexJTypingTransformer = ShexJTraverser.createTransformer< tripleConstraint, getTransformedChildren, setReturnPointer, + node, context, ) => { const transformedChildren = await getTransformedChildren(); - const propertyName = context.getNameFromIri(tripleConstraint.predicate); + + const rdfTypes = getRdfTypesForTripleConstraint(node); + + // HACK: Selecting only one RDFType might cause edge cases children in the + // heirarchy that have different predicate names. + const propertyName = context.getNameFromIri( + tripleConstraint.predicate, + rdfTypes[0], + ); const isArray = tripleConstraint.max !== undefined && tripleConstraint.max !== 1; const isOptional = tripleConstraint.min === 0; @@ -258,6 +235,7 @@ export const ShexJTypingTransformer = ShexJTraverser.createTransformer< nodeConstraint, _getTransformedChildren, setReturnPointer, + node, context, ) => { if (nodeConstraint.datatype) { diff --git a/packages/schema-converter-shex/src/typing/shexjToTyping.ts b/packages/schema-converter-shex/src/typing/shexjToTyping.ts index 9f99b3d..1cdc2ad 100644 --- a/packages/schema-converter-shex/src/typing/shexjToTyping.ts +++ b/packages/schema-converter-shex/src/typing/shexjToTyping.ts @@ -42,7 +42,7 @@ export async function shexjToTyping( .emit(declaration, { rootFlags: dom.ContextFlags.InAmbientNamespace, }) - .replace("\r\n", "\n"), + .replace(/\r\n/g, "\n"), dts: declaration, }; }); diff --git a/packages/schema-converter-shex/src/typing/util/dedupeObjectTypeMembers.ts b/packages/schema-converter-shex/src/typing/util/dedupeObjectTypeMembers.ts new file mode 100644 index 0000000..3ef09b9 --- /dev/null +++ b/packages/schema-converter-shex/src/typing/util/dedupeObjectTypeMembers.ts @@ -0,0 +1,44 @@ +import type { ObjectTypeMember } from "dts-dom"; +import * as dom from "dts-dom"; + +export function dedupeObjectTypeMembers( + memberList: ObjectTypeMember[], +): ObjectTypeMember[] { + const properties: Record = {}; + memberList.forEach((expression) => { + const propertyDeclaration = expression as dom.PropertyDeclaration; + // Combine properties if they're duplicates + if (properties[propertyDeclaration.name]) { + const oldPropertyDeclaration = properties[propertyDeclaration.name]; + const oldPropertyTypeAsArray = + oldPropertyDeclaration.type as dom.ArrayTypeReference; + const oldProeprtyType = + oldPropertyTypeAsArray.kind === "array" + ? oldPropertyTypeAsArray.type + : oldPropertyDeclaration.type; + const propertyTypeAsArray = + propertyDeclaration.type as dom.ArrayTypeReference; + const propertyType = + propertyTypeAsArray.kind === "array" + ? propertyTypeAsArray.type + : propertyDeclaration.type; + const isOptional = + propertyDeclaration.flags === dom.DeclarationFlags.Optional || + oldPropertyDeclaration.flags === dom.DeclarationFlags.Optional; + properties[propertyDeclaration.name] = dom.create.property( + propertyDeclaration.name, + dom.type.array(dom.create.union([oldProeprtyType, propertyType])), + isOptional ? dom.DeclarationFlags.Optional : dom.DeclarationFlags.None, + ); + // Set JS Comment + properties[propertyDeclaration.name].jsDocComment = + oldPropertyDeclaration.jsDocComment && propertyDeclaration.jsDocComment + ? `${oldPropertyDeclaration.jsDocComment} | ${propertyDeclaration.jsDocComment}` + : oldPropertyDeclaration.jsDocComment || + propertyDeclaration.jsDocComment; + } else { + properties[propertyDeclaration.name] = propertyDeclaration; + } + }); + return Object.values(properties); +} diff --git a/packages/schema-converter-shex/src/util/getRdfTypesForTripleConstraint.ts b/packages/schema-converter-shex/src/util/getRdfTypesForTripleConstraint.ts new file mode 100644 index 0000000..7eb9b07 --- /dev/null +++ b/packages/schema-converter-shex/src/util/getRdfTypesForTripleConstraint.ts @@ -0,0 +1,110 @@ +import type { ShexJTraverserTypes } from "@ldo/traverser-shexj"; +import type { InterfaceInstanceNode } from "@ldo/type-traverser"; + +function recursivelyGatherTypesFromShapeNodes( + shapeNode: InterfaceInstanceNode< + ShexJTraverserTypes, + "Shape", + ShexJTraverserTypes["Shape"] + >, + rdfTypeSet: Set, +): void { + shapeNode.parent("shapeExpr").forEach((parentShapeExpr) => { + parentShapeExpr + .parent("ShapeDecl", "shapeExpr") + .forEach((parentShapeDecl) => { + parentShapeDecl + .parent("shapeDeclRef") + .forEach((parentShapeDeclOrRef) => { + parentShapeDeclOrRef + .parent("shapeExprOrRef") + .forEach((parentShapeExprOrRef) => { + parentShapeExprOrRef + .parent("Shape", "extends") + .forEach((parentShape) => { + recursivelyGatherTypesFromShapeNodes( + parentShape, + rdfTypeSet, + ); + const childExpressionNode = parentShape.child("expression"); + if (!childExpressionNode) return; + const childEachOf = childExpressionNode.child().child(); + if (childEachOf.typeName === "EachOf") { + recursivelyGatherTypesFromEachOfNodes( + childEachOf, + rdfTypeSet, + ); + } + }); + }); + }); + }); + }); +} + +function recursivelyGatherTypesFromEachOfNodes( + eachOfNode: InterfaceInstanceNode< + ShexJTraverserTypes, + "EachOf", + ShexJTraverserTypes["EachOf"] + >, + rdfTypeSet: Set, +): void { + const tripleExprs = eachOfNode.instance.expressions; + tripleExprs.forEach((tripleExpr) => { + if ( + typeof tripleExpr === "object" && + tripleExpr.type === "TripleConstraint" && + tripleExpr.predicate === + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" && + typeof tripleExpr.valueExpr === "object" && + tripleExpr.valueExpr.type === "NodeConstraint" && + tripleExpr.valueExpr.values + ) { + tripleExpr.valueExpr.values.forEach((val) => { + if (typeof val === "string") rdfTypeSet.add(val); + // TODO handle other edge cases like IRIStem + }); + } + }); + + eachOfNode.parent("tripleExpr").forEach((tripleExprNode) => { + const tripleExprOrRefNodes = tripleExprNode.parent("tripleExprOrRef"); + tripleExprOrRefNodes.forEach((tripleExprOrRdfNode) => { + const parentEachOfs = tripleExprOrRdfNode.parent("EachOf", "expressions"); + parentEachOfs.forEach((parentEachOf) => { + recursivelyGatherTypesFromEachOfNodes(parentEachOf, rdfTypeSet); + }); + // Deal with shape extends + const parentShapes = tripleExprOrRdfNode.parent("Shape", "expression"); + parentShapes.forEach((parentShape) => + recursivelyGatherTypesFromShapeNodes(parentShape, rdfTypeSet), + ); + }); + }); +} + +export function getRdfTypesForTripleConstraint( + tripleConstraintNode: InterfaceInstanceNode< + ShexJTraverserTypes, + "TripleConstraint", + ShexJTraverserTypes["TripleConstraint"] + >, +): string[] | undefined[] { + // Check that there's a triple constraint that is a type at the + // same level if there is, use that as an rdfType + const rdfTypeSet = new Set(); + tripleConstraintNode.parent("tripleExpr").forEach((tripleExprParents) => { + tripleExprParents + .parent("tripleExprOrRef") + .forEach((tripleExprOrRefParent) => { + tripleExprOrRefParent + .parent("EachOf", "expressions") + .forEach((eachOfParent) => { + recursivelyGatherTypesFromEachOfNodes(eachOfParent, rdfTypeSet); + }); + }); + }); + const rdfTypes = rdfTypeSet.size > 0 ? Array.from(rdfTypeSet) : [undefined]; + return rdfTypes; +} diff --git a/packages/schema-converter-shex/test/context.test.ts b/packages/schema-converter-shex/test/context.test.ts index a48591b..0df8e48 100644 --- a/packages/schema-converter-shex/test/context.test.ts +++ b/packages/schema-converter-shex/test/context.test.ts @@ -9,7 +9,6 @@ describe("context", () => { const schema: Schema = parser .construct("https://ldo.js.org/") .parse(shexc); - console.log(JSON.stringify(schema, null, 2)); const context = await shexjToContext(schema); expect(context).toEqual(successfulContext); }); diff --git a/packages/schema-converter-shex/test/testData/activityPub.ts b/packages/schema-converter-shex/test/testData/activityPub.ts index 24309ca..08cd63e 100644 --- a/packages/schema-converter-shex/test/testData/activityPub.ts +++ b/packages/schema-converter-shex/test/testData/activityPub.ts @@ -806,128 +806,795 @@ export const activityPub: TestData = { sampleTurtle: "", baseNode: "", successfulContext: { - type: { "@id": "@type" }, - Object: "https://www.w3.org/ns/activitystreams#Object", - attachment: { - "@id": "https://www.w3.org/ns/activitystreams#attachment", - "@type": "@id", - "@container": "@set", - }, - Link: "https://www.w3.org/ns/activitystreams#Link", - href: { - "@id": "https://www.w3.org/ns/activitystreams#href", - "@type": "http://www.w3.org/2001/XMLSchema#anyURI", - }, - rel: { - "@id": "https://www.w3.org/ns/activitystreams#rel", - "@type": "http://www.w3.org/2001/XMLSchema#string", - "@container": "@set", - }, - mediaType: { - "@id": "https://www.w3.org/ns/activitystreams#mediaType", - "@type": "http://www.w3.org/2001/XMLSchema#string", - }, - // @ts-ignore - name: { - "@id": "https://www.w3.org/ns/activitystreams#name", - // @ts-ignore - "@type": [ - "http://www.w3.org/2001/XMLSchema#string", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", - ], - "@container": "@set", - }, - hreflang: { - "@id": "https://www.w3.org/ns/activitystreams#hreflang", - "@type": "http://www.w3.org/2001/XMLSchema#string", - }, - height: { - "@id": "https://www.w3.org/ns/activitystreams#height", - "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", - }, - width: { - "@id": "https://www.w3.org/ns/activitystreams#width", - "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", - }, - preview: { - "@id": "https://www.w3.org/ns/activitystreams#preview", - "@type": "@id", - "@container": "@set", - }, - attributedTo: { - "@id": "https://www.w3.org/ns/activitystreams#attributedTo", - "@type": "@id", - "@container": "@set", - }, - audience: { - "@id": "https://www.w3.org/ns/activitystreams#audience", - "@type": "@id", - "@container": "@set", - }, - // @ts-ignore - content: { - "@id": "https://www.w3.org/ns/activitystreams#content", - // @ts-ignore - "@type": [ - "http://www.w3.org/2001/XMLSchema#string", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", - ], - "@container": "@set", - }, - context: { - "@id": "https://www.w3.org/ns/activitystreams#context", - "@type": "@id", - "@container": "@set", - }, - endTime: { - "@id": "https://www.w3.org/ns/activitystreams#endTime", - "@type": "http://www.w3.org/2001/XMLSchema#dateTime", - }, - generator: { - "@id": "https://www.w3.org/ns/activitystreams#generator", - "@type": "@id", - "@container": "@set", + Object: { + "@id": "https://www.w3.org/ns/activitystreams#Object", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, }, - icon: { - "@id": "https://www.w3.org/ns/activitystreams#icon", - "@type": "@id", - "@container": "@set", + Link: { + "@id": "https://www.w3.org/ns/activitystreams#Link", + "@context": { + type: { + "@id": "@type", + }, + href: { + "@id": "https://www.w3.org/ns/activitystreams#href", + "@type": "http://www.w3.org/2001/XMLSchema#anyURI", + }, + rel: { + "@id": "https://www.w3.org/ns/activitystreams#rel", + "@type": "http://www.w3.org/2001/XMLSchema#string", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + hreflang: { + "@id": "https://www.w3.org/ns/activitystreams#hreflang", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + height: { + "@id": "https://www.w3.org/ns/activitystreams#height", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + width: { + "@id": "https://www.w3.org/ns/activitystreams#width", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + }, }, - Document: "https://www.w3.org/ns/activitystreams#Document", - Image: "https://www.w3.org/ns/activitystreams#Image", - image: { - "@id": "https://www.w3.org/ns/activitystreams#image", - "@type": "@id", - "@container": "@set", - }, - inReplyTo: { - "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", - "@type": "@id", - "@container": "@set", + Document: { + "@id": "https://www.w3.org/ns/activitystreams#Document", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, }, - location: { - "@id": "https://www.w3.org/ns/activitystreams#location", - "@type": "@id", - "@container": "@set", - }, - published: { - "@id": "https://www.w3.org/ns/activitystreams#published", - "@type": "http://www.w3.org/2001/XMLSchema#dateTime", - }, - replies: { - "@id": "https://www.w3.org/ns/activitystreams#replies", - "@type": "@id", + Image: { + "@id": "https://www.w3.org/ns/activitystreams#Image", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, }, - Collection: "https://www.w3.org/ns/activitystreams#Collection", - totalItems: { - "@id": "https://www.w3.org/ns/activitystreams#totalItems", - "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + Collection: { + "@id": "https://www.w3.org/ns/activitystreams#Collection", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + totalItems: { + "@id": "https://www.w3.org/ns/activitystreams#totalItems", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + items: { + "@id": "https://www.w3.org/ns/activitystreams#items", + "@type": "@id", + "@isCollection": true, + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, }, current: { "@id": "https://www.w3.org/ns/activitystreams#current", "@type": "@id", }, - CollectionPage: "https://www.w3.org/ns/activitystreams#CollectionPage", + CollectionPage: { + "@id": "https://www.w3.org/ns/activitystreams#CollectionPage", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + totalItems: { + "@id": "https://www.w3.org/ns/activitystreams#totalItems", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + items: { + "@id": "https://www.w3.org/ns/activitystreams#items", + "@type": "@id", + "@isCollection": true, + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, partOf: { "@id": "https://www.w3.org/ns/activitystreams#partOf", "@type": "@id", @@ -948,213 +1615,7809 @@ export const activityPub: TestData = { "@id": "https://www.w3.org/ns/activitystreams#last", "@type": "@id", }, - items: { - "@id": "https://www.w3.org/ns/activitystreams#items", - "@type": "@id", - "@container": "@set", - }, - startTime: { - "@id": "https://www.w3.org/ns/activitystreams#startTime", - "@type": "http://www.w3.org/2001/XMLSchema#dateTime", - }, - // @ts-ignore - summary: { - "@id": "https://www.w3.org/ns/activitystreams#summary", - // @ts-ignore - "@type": [ - "http://www.w3.org/2001/XMLSchema#string", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", - ], - "@container": "@set", - }, - tag: { - "@id": "https://www.w3.org/ns/activitystreams#tag", - "@type": "@id", - "@container": "@set", + Activity: { + "@id": "https://www.w3.org/ns/activitystreams#Activity", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - updated: { - "@id": "https://www.w3.org/ns/activitystreams#updated", - "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + IntransitiveActivity: { + "@id": "https://www.w3.org/ns/activitystreams#IntransitiveActivity", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - // @ts-ignore - url: { - "@id": "https://www.w3.org/ns/activitystreams#url", - // @ts-ignore - "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], - "@container": "@set", + OrderedCollection: { + "@id": "https://www.w3.org/ns/activitystreams#OrderedCollection", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + totalItems: { + "@id": "https://www.w3.org/ns/activitystreams#totalItems", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + items: { + "@id": "https://www.w3.org/ns/activitystreams#items", + "@type": "@id", + "@isCollection": true, + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, }, - to: { - "@id": "https://www.w3.org/ns/activitystreams#to", - "@type": "@id", - "@container": "@set", + OrderedCollectionPage: { + "@id": "https://www.w3.org/ns/activitystreams#OrderedCollectionPage", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + totalItems: { + "@id": "https://www.w3.org/ns/activitystreams#totalItems", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + items: { + "@id": "https://www.w3.org/ns/activitystreams#items", + "@type": "@id", + "@isCollection": true, + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + startIndex: { + "@id": "https://www.w3.org/ns/activitystreams#startIndex", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + }, }, - bto: { - "@id": "https://www.w3.org/ns/activitystreams#bto", - "@type": "@id", - "@container": "@set", + Accept: { + "@id": "https://www.w3.org/ns/activitystreams#Accept", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - cc: { - "@id": "https://www.w3.org/ns/activitystreams#cc", - "@type": "@id", - "@container": "@set", + TentativeAccept: { + "@id": "https://www.w3.org/ns/activitystreams#TentativeAccept", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - bcc: { - "@id": "https://www.w3.org/ns/activitystreams#bcc", - "@type": "@id", - "@container": "@set", + Add: { + "@id": "https://www.w3.org/ns/activitystreams#Add", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - duration: { - "@id": "https://www.w3.org/ns/activitystreams#duration", - "@type": "http://www.w3.org/2001/XMLSchema#duration", + Arrive: { + "@id": "https://www.w3.org/ns/activitystreams#Arrive", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - Activity: "https://www.w3.org/ns/activitystreams#Activity", - actor: { - "@id": "https://www.w3.org/ns/activitystreams#actor", - "@type": "@id", - "@container": "@set", + Create: { + "@id": "https://www.w3.org/ns/activitystreams#Create", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - object: { - "@id": "https://www.w3.org/ns/activitystreams#object", - "@type": "@id", - "@container": "@set", + Delete: { + "@id": "https://www.w3.org/ns/activitystreams#Delete", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - target: { - "@id": "https://www.w3.org/ns/activitystreams#target", - "@type": "@id", - "@container": "@set", + Follow: { + "@id": "https://www.w3.org/ns/activitystreams#Follow", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - result: { - "@id": "https://www.w3.org/ns/activitystreams#result", - "@type": "@id", - "@container": "@set", + Ignore: { + "@id": "https://www.w3.org/ns/activitystreams#Ignore", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, }, - origin: { - "@id": "https://www.w3.org/ns/activitystreams#origin", - "@type": "@id", - "@container": "@set", + Join: { + "@id": "https://www.w3.org/ns/activitystreams#Join", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Leave: { + "@id": "https://www.w3.org/ns/activitystreams#Leave", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Like: { + "@id": "https://www.w3.org/ns/activitystreams#Like", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Offer: { + "@id": "https://www.w3.org/ns/activitystreams#Offer", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Invite: { + "@id": "https://www.w3.org/ns/activitystreams#Invite", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Reject: { + "@id": "https://www.w3.org/ns/activitystreams#Reject", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + TentativeReject: { + "@id": "https://www.w3.org/ns/activitystreams#TentativeReject", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Remove: { + "@id": "https://www.w3.org/ns/activitystreams#Remove", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Undo: { + "@id": "https://www.w3.org/ns/activitystreams#Undo", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Update: { + "@id": "https://www.w3.org/ns/activitystreams#Update", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + View: { + "@id": "https://www.w3.org/ns/activitystreams#View", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Listen: { + "@id": "https://www.w3.org/ns/activitystreams#Listen", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Read: { + "@id": "https://www.w3.org/ns/activitystreams#Read", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Move: { + "@id": "https://www.w3.org/ns/activitystreams#Move", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Travel: { + "@id": "https://www.w3.org/ns/activitystreams#Travel", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Announce: { + "@id": "https://www.w3.org/ns/activitystreams#Announce", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Block: { + "@id": "https://www.w3.org/ns/activitystreams#Block", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Flag: { + "@id": "https://www.w3.org/ns/activitystreams#Flag", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Dislike: { + "@id": "https://www.w3.org/ns/activitystreams#Dislike", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + }, + }, + Question: { + "@id": "https://www.w3.org/ns/activitystreams#Question", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + actor: { + "@id": "https://www.w3.org/ns/activitystreams#actor", + "@type": "@id", + "@isCollection": true, + }, + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", + "@type": "@id", + "@isCollection": true, + }, + target: { + "@id": "https://www.w3.org/ns/activitystreams#target", + "@type": "@id", + "@isCollection": true, + }, + result: { + "@id": "https://www.w3.org/ns/activitystreams#result", + "@type": "@id", + "@isCollection": true, + }, + origin: { + "@id": "https://www.w3.org/ns/activitystreams#origin", + "@type": "@id", + "@isCollection": true, + }, + instrument: { + "@id": "https://www.w3.org/ns/activitystreams#instrument", + "@type": "@id", + "@isCollection": true, + }, + closed: { + "@id": "https://www.w3.org/ns/activitystreams#closed", + // @ts-ignore + "@type": [ + "@id", + "http://www.w3.org/2001/XMLSchema#dateTime", + "http://www.w3.org/2001/XMLSchema#boolean", + ], + "@isCollection": true, + }, + }, }, - instrument: { - "@id": "https://www.w3.org/ns/activitystreams#instrument", - "@type": "@id", - "@container": "@set", - }, - IntransitiveActivity: - "https://www.w3.org/ns/activitystreams#IntransitiveActivity", - OrderedCollection: - "https://www.w3.org/ns/activitystreams#OrderedCollection", - OrderedCollectionPage: - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage", - startIndex: { - "@id": "https://www.w3.org/ns/activitystreams#startIndex", - "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", - }, - Accept: "https://www.w3.org/ns/activitystreams#Accept", - TentativeAccept: "https://www.w3.org/ns/activitystreams#TentativeAccept", - Add: "https://www.w3.org/ns/activitystreams#Add", - Arrive: "https://www.w3.org/ns/activitystreams#Arrive", - Create: "https://www.w3.org/ns/activitystreams#Create", - Delete: "https://www.w3.org/ns/activitystreams#Delete", - Follow: "https://www.w3.org/ns/activitystreams#Follow", - Ignore: "https://www.w3.org/ns/activitystreams#Ignore", - Join: "https://www.w3.org/ns/activitystreams#Join", - Leave: "https://www.w3.org/ns/activitystreams#Leave", - Like: "https://www.w3.org/ns/activitystreams#Like", - Offer: "https://www.w3.org/ns/activitystreams#Offer", - Invite: "https://www.w3.org/ns/activitystreams#Invite", - Reject: "https://www.w3.org/ns/activitystreams#Reject", - TentativeReject: "https://www.w3.org/ns/activitystreams#TentativeReject", - Remove: "https://www.w3.org/ns/activitystreams#Remove", - Undo: "https://www.w3.org/ns/activitystreams#Undo", - Update: "https://www.w3.org/ns/activitystreams#Update", - View: "https://www.w3.org/ns/activitystreams#View", - Listen: "https://www.w3.org/ns/activitystreams#Listen", - Read: "https://www.w3.org/ns/activitystreams#Read", - Move: "https://www.w3.org/ns/activitystreams#Move", - Travel: "https://www.w3.org/ns/activitystreams#Travel", - Announce: "https://www.w3.org/ns/activitystreams#Announce", - Block: "https://www.w3.org/ns/activitystreams#Block", - Flag: "https://www.w3.org/ns/activitystreams#Flag", - Dislike: "https://www.w3.org/ns/activitystreams#Dislike", - Question: "https://www.w3.org/ns/activitystreams#Question", oneOf: { "@id": "https://www.w3.org/ns/activitystreams#oneOf", "@type": "@id", - "@container": "@set", + "@isCollection": true, }, anyOf: { "@id": "https://www.w3.org/ns/activitystreams#anyOf", "@type": "@id", - "@container": "@set", - }, - // @ts-ignore - closed: { - "@id": "https://www.w3.org/ns/activitystreams#closed", - // @ts-ignore - "@type": [ - "@id", - "http://www.w3.org/2001/XMLSchema#dateTime", - "http://www.w3.org/2001/XMLSchema#boolean", - ], - "@container": "@set", - }, - Application: "https://www.w3.org/ns/activitystreams#Application", - Group: "https://www.w3.org/ns/activitystreams#Group", - Organization: "https://www.w3.org/ns/activitystreams#Organization", - Person: "https://www.w3.org/ns/activitystreams#Person", - Service: "https://www.w3.org/ns/activitystreams#Service", - Relationship: "https://www.w3.org/ns/activitystreams#Relationship", + "@isCollection": true, + }, + Application: { + "@id": "https://www.w3.org/ns/activitystreams#Application", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Group: { + "@id": "https://www.w3.org/ns/activitystreams#Group", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Organization: { + "@id": "https://www.w3.org/ns/activitystreams#Organization", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Person: { + "@id": "https://www.w3.org/ns/activitystreams#Person", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Service: { + "@id": "https://www.w3.org/ns/activitystreams#Service", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Relationship: { + "@id": "https://www.w3.org/ns/activitystreams#Relationship", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + relationship: { + "@id": "https://www.w3.org/ns/activitystreams#relationship", + "@type": "@id", + "@isCollection": true, + }, + }, + }, subject: { "@id": "https://www.w3.org/ns/activitystreams#subject", "@type": "@id", }, - relationship: { - "@id": "https://www.w3.org/ns/activitystreams#relationship", + object: { + "@id": "https://www.w3.org/ns/activitystreams#object", "@type": "@id", - "@container": "@set", - }, - Article: "https://www.w3.org/ns/activitystreams#Article", - Audio: "https://www.w3.org/ns/activitystreams#Audio", - Video: "https://www.w3.org/ns/activitystreams#Video", - Note: "https://www.w3.org/ns/activitystreams#Note", - Page: "https://www.w3.org/ns/activitystreams#Page", - Event: "https://www.w3.org/ns/activitystreams#Event", - Place: "https://www.w3.org/ns/activitystreams#Place", - accuracy: { - "@id": "https://www.w3.org/ns/activitystreams#accuracy", - "@type": "http://www.w3.org/2001/XMLSchema#float", - }, - altitude: { - "@id": "https://www.w3.org/ns/activitystreams#altitude", - "@type": "http://www.w3.org/2001/XMLSchema#float", - }, - latitude: { - "@id": "https://www.w3.org/ns/activitystreams#latitude", - "@type": "http://www.w3.org/2001/XMLSchema#float", - }, - radius: { - "@id": "https://www.w3.org/ns/activitystreams#radius", - "@type": "http://www.w3.org/2001/XMLSchema#float", + }, + Article: { + "@id": "https://www.w3.org/ns/activitystreams#Article", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Audio: { + "@id": "https://www.w3.org/ns/activitystreams#Audio", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Video: { + "@id": "https://www.w3.org/ns/activitystreams#Video", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Note: { + "@id": "https://www.w3.org/ns/activitystreams#Note", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Page: { + "@id": "https://www.w3.org/ns/activitystreams#Page", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Event: { + "@id": "https://www.w3.org/ns/activitystreams#Event", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + }, + }, + Place: { + "@id": "https://www.w3.org/ns/activitystreams#Place", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + accuracy: { + "@id": "https://www.w3.org/ns/activitystreams#accuracy", + "@type": "http://www.w3.org/2001/XMLSchema#float", + }, + altitude: { + "@id": "https://www.w3.org/ns/activitystreams#altitude", + "@type": "http://www.w3.org/2001/XMLSchema#float", + }, + latitude: { + "@id": "https://www.w3.org/ns/activitystreams#latitude", + "@type": "http://www.w3.org/2001/XMLSchema#float", + }, + radius: { + "@id": "https://www.w3.org/ns/activitystreams#radius", + "@type": "http://www.w3.org/2001/XMLSchema#float", + }, + }, }, unit: { "@id": "https://www.w3.org/ns/activitystreams#unit", }, - Mention: "https://www.w3.org/ns/activitystreams#Mention", - Profile: "https://www.w3.org/ns/activitystreams#Profile", - describes: { - "@id": "https://www.w3.org/ns/activitystreams#describes", - "@type": "@id", + Mention: { + "@id": "https://www.w3.org/ns/activitystreams#Mention", + "@context": { + type: { + "@id": "@type", + }, + href: { + "@id": "https://www.w3.org/ns/activitystreams#href", + "@type": "http://www.w3.org/2001/XMLSchema#anyURI", + }, + rel: { + "@id": "https://www.w3.org/ns/activitystreams#rel", + "@type": "http://www.w3.org/2001/XMLSchema#string", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + hreflang: { + "@id": "https://www.w3.org/ns/activitystreams#hreflang", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + height: { + "@id": "https://www.w3.org/ns/activitystreams#height", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + width: { + "@id": "https://www.w3.org/ns/activitystreams#width", + "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + }, }, - Tombstone: "https://www.w3.org/ns/activitystreams#Tombstone", - formerType: { - "@id": "https://www.w3.org/ns/activitystreams#formerType", - "@type": "@id", - "@container": "@set", + Profile: { + "@id": "https://www.w3.org/ns/activitystreams#Profile", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + describes: { + "@id": "https://www.w3.org/ns/activitystreams#describes", + "@type": "@id", + }, + }, }, - deleted: { - "@id": "https://www.w3.org/ns/activitystreams#deleted", - "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + Tombstone: { + "@id": "https://www.w3.org/ns/activitystreams#Tombstone", + "@context": { + type: { + "@id": "@type", + }, + attachment: { + "@id": "https://www.w3.org/ns/activitystreams#attachment", + "@type": "@id", + "@isCollection": true, + }, + attributedTo: { + "@id": "https://www.w3.org/ns/activitystreams#attributedTo", + "@type": "@id", + "@isCollection": true, + }, + audience: { + "@id": "https://www.w3.org/ns/activitystreams#audience", + "@type": "@id", + "@isCollection": true, + }, + content: { + "@id": "https://www.w3.org/ns/activitystreams#content", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + context: { + "@id": "https://www.w3.org/ns/activitystreams#context", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "https://www.w3.org/ns/activitystreams#name", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + endTime: { + "@id": "https://www.w3.org/ns/activitystreams#endTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + generator: { + "@id": "https://www.w3.org/ns/activitystreams#generator", + "@type": "@id", + "@isCollection": true, + }, + icon: { + "@id": "https://www.w3.org/ns/activitystreams#icon", + "@type": "@id", + "@isCollection": true, + }, + image: { + "@id": "https://www.w3.org/ns/activitystreams#image", + "@type": "@id", + "@isCollection": true, + }, + inReplyTo: { + "@id": "https://www.w3.org/ns/activitystreams#inReplyTo", + "@type": "@id", + "@isCollection": true, + }, + location: { + "@id": "https://www.w3.org/ns/activitystreams#location", + "@type": "@id", + "@isCollection": true, + }, + preview: { + "@id": "https://www.w3.org/ns/activitystreams#preview", + "@type": "@id", + "@isCollection": true, + }, + published: { + "@id": "https://www.w3.org/ns/activitystreams#published", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + replies: { + "@id": "https://www.w3.org/ns/activitystreams#replies", + "@type": "@id", + }, + startTime: { + "@id": "https://www.w3.org/ns/activitystreams#startTime", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + summary: { + "@id": "https://www.w3.org/ns/activitystreams#summary", + // @ts-ignore + "@type": [ + "http://www.w3.org/2001/XMLSchema#string", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString", + ], + "@isCollection": true, + }, + tag: { + "@id": "https://www.w3.org/ns/activitystreams#tag", + "@type": "@id", + "@isCollection": true, + }, + updated: { + "@id": "https://www.w3.org/ns/activitystreams#updated", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + url: { + "@id": "https://www.w3.org/ns/activitystreams#url", + // @ts-ignore + "@type": ["http://www.w3.org/2001/XMLSchema#anyURI", "@id"], + "@isCollection": true, + }, + to: { + "@id": "https://www.w3.org/ns/activitystreams#to", + "@type": "@id", + "@isCollection": true, + }, + bto: { + "@id": "https://www.w3.org/ns/activitystreams#bto", + "@type": "@id", + "@isCollection": true, + }, + cc: { + "@id": "https://www.w3.org/ns/activitystreams#cc", + "@type": "@id", + "@isCollection": true, + }, + bcc: { + "@id": "https://www.w3.org/ns/activitystreams#bcc", + "@type": "@id", + "@isCollection": true, + }, + mediaType: { + "@id": "https://www.w3.org/ns/activitystreams#mediaType", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + duration: { + "@id": "https://www.w3.org/ns/activitystreams#duration", + "@type": "http://www.w3.org/2001/XMLSchema#duration", + }, + formerType: { + "@id": "https://www.w3.org/ns/activitystreams#formerType", + "@type": "@id", + "@isCollection": true, + }, + deleted: { + "@id": "https://www.w3.org/ns/activitystreams#deleted", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime", + }, + }, }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface ActivityPubObject {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection.\r\n */\r\n type: {\r\n "@id": "Object";\r\n };\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Link {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * A Link is an indirect, qualified reference to a resource identified by a URL. The fundamental model for links is established by [ RFC5988]. Many of the properties defined by the Activity Vocabulary allow values that are either instances of Object or Link. When a Link is used, it establishes a qualified relation connecting the subject (the containing object) to the resource identified by the href. Properties of the Link are properties of the reference as opposed to properties of the resource.\r\n */\r\n type: {\r\n "@id": "Link";\r\n };\r\n /**\r\n * The target resource pointed to by a Link.\r\n */\r\n href?: string;\r\n /**\r\n * A link relation associated with a Link. The value MUST conform to both the [HTML5] and [RFC5988] "link relation" definitions. In the [HTML5], any string not containing the "space" U+0020, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D) or "," (U+002C) characters can be used as a valid link relation.\r\n */\r\n rel?: string[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * Hints as to the language used by the target resource. Value MUST be a [BCP47] Language-Tag.\r\n */\r\n hreflang?: string;\r\n /**\r\n * On a Link, specifies a hint as to the rendering height in device-independent pixels of the linked resource.\r\n */\r\n height?: number;\r\n /**\r\n * On a Link, specifies a hint as to the rendering width in device-independent pixels of the linked resource.\r\n */\r\n width?: number;\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Activity {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface InstransitiveActivity {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "IntransitiveActivity";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Collection {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. \r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Collection";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\r\n */\r\n totalItems?: number;\r\n /**\r\n * Identifies the items contained in a collection. The items might be ordered or unordered. \r\n */\r\n items?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface OrderedCollection {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Collection";\r\n } | {\r\n "@id": "OrderedCollection";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\r\n */\r\n totalItems?: number;\r\n /**\r\n * Identifies the items contained in a collection. The items might be ordered or unordered. \r\n */\r\n items?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface CollectionPage {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | Used to represent distinct subsets of items from a Collection. Refer to the Activity Streams 2.0 Core for a complete description of the CollectionPage object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Collection";\r\n } | {\r\n "@id": "CollectionPage";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\r\n */\r\n totalItems?: number;\r\n /**\r\n * Identifies the items contained in a collection. The items might be ordered or unordered. \r\n */\r\n items?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface OrderedCollectionPage {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered. | Used to represent ordered subsets of items from an OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of the OrderedCollectionPage object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Collection";\r\n } | {\r\n "@id": "OrderedCollection";\r\n } | {\r\n "@id": "OrderedCollectionPage";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\r\n */\r\n totalItems?: number;\r\n /**\r\n * Identifies the items contained in a collection. The items might be ordered or unordered. \r\n */\r\n items?: (ActivityPubObject | Link)[];\r\n /**\r\n * A non-negative integer value identifying the relative position within the logical view of a strictly ordered collection.\r\n */\r\n startIndex?: number;\r\n}\r\n\r\nexport interface Accept {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Accept";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface TentativeAccept {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted. | A specialization of Accept indicating that the acceptance is tentative.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Accept";\r\n } | {\r\n "@id": "TentativeAccept";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Add {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has added the object to the target. If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated. \r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Add";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Arrive {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | An IntransitiveActivity that indicates that the actor has arrived at the location. The origin can be used to identify the context from which the actor originated. The target typically has no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "IntransitiveActivity";\r\n } | {\r\n "@id": "Arrive";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Create {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has created the object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Create";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Delete {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has deleted the object. If specified, the origin indicates the context from which the object was deleted.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Delete";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Follow {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is "following" the object. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Follow";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Ignore {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Ignore";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Join {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has joined the object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Join";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Leave {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has left the object. The target and origin typically have no meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Leave";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Like {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor likes, recommends or endorses the object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Like";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Offer {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Offer";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Invite {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered. | A specialization of Offer in which the actor is extending an invitation for the object to the target.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Offer";\r\n } | {\r\n "@id": "Invite";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Reject {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Reject";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface TentativeReject {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning. | A specialization of Reject in which the rejection is considered tentative.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Reject";\r\n } | {\r\n "@id": "TentativeReject";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Remove {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is removing the object. If specified, the origin indicates the context from which the object is being removed.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Remove";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Undo {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is undoing the object. In most cases, the object will be an Activity describing some previously performed action (for instance, a person may have previously "liked" an article but, for whatever reason, might choose to undo that like at some later point in time). The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Undo";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Update {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has updated the object. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Update";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface View {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has viewed the object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "View";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Listen {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has listened to the object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Listen";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Read {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has read the object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Read";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Move {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has moved object from origin to target. If the origin or target are not specified, either can be determined by context.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Move";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Travel {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | Indicates that the actor is traveling to target from origin. Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "IntransitiveActivity";\r\n } | {\r\n "@id": "Travel";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Announce {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is calling the target\'s attention the object. The origin typically has no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Announce";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Block {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning. | Indicates that the actor is blocking the object. Blocking is a stronger form of Ignore. The typical use is to support social systems that allow one user to block activities or content of other users. The target and origin typically have no defined meaning.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Ignore";\r\n } | {\r\n "@id": "Block";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Flag {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is "flagging" the object. Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Flag";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Dislike {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor dislikes the object.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "Dislike";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Question {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property. Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties. \r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Activity";\r\n } | {\r\n "@id": "IntransitiveActivity";\r\n } | {\r\n "@id": "Question";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.\r\n */\r\n actor?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added. When used within a Relationship describes the entity to which the subject is related.\r\n */\r\n object?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John\'s wishlist. An activity can have more than one target.\r\n */\r\n target?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.\r\n */\r\n result?: (ActivityPubObject | Link)[];\r\n /**\r\n * Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A". \r\n */\r\n origin?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more objects used (or to be used) in the completion of an Activity.\r\n */\r\n instrument?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates that a question has been closed, and answers are no longer accepted.\r\n */\r\n closed?: (ActivityPubObject | Link | string | boolean)[];\r\n}\r\n\r\nexport interface Application {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Describes a software application.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Application";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Group {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a formal or informal collective of Actors.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Group";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Organization {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents an organization.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Organization";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Person {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents an individual person.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Person";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Service {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a service of any kind.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Service";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Relationship {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Describes a relationship between two individuals. The subject and object properties are used to identify the connected individuals. See 5.2 Representing Relationships Between Entities for additional information. \r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Relationship";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * On a Relationship object, the relationship property identifies the kind of relationship that exists between subject and object.\r\n */\r\n relationship?: (ActivityPubObject)[];\r\n}\r\n\r\nexport interface Article {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents any kind of multi-paragraph written work.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Article";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Document {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Document";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Audio {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents an audio document of any kind.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Document";\r\n } | {\r\n "@id": "Audio";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Image {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | An image document of any kind\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Document";\r\n } | {\r\n "@id": "Image";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Video {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents a video document of any kind. \r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Document";\r\n } | {\r\n "@id": "Video";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Note {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a short written work typically less than a single paragraph in length.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Note";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Page {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents a Web Page.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Document";\r\n } | {\r\n "@id": "Page";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Event {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents any kind of event.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Event";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n}\r\n\r\nexport interface Place {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a logical or physical location. See 5.3 Representing Places for additional information.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Place";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * Indicates the accuracy of position coordinates on a Place objects. Expressed in properties of percentage. e.g. "94.0" means "94.0% accurate".\r\n */\r\n accuracy?: string;\r\n /**\r\n * Indicates the altitude of a place. The measurement units is indicated using the units property. If units is not specified, the default is assumed to be "m" indicating meters. \r\n */\r\n altitude?: string;\r\n /**\r\n * The latitude of a place | The longitude of a place\r\n */\r\n latitude?: (string | string)[];\r\n /**\r\n * The radius from the given latitude and longitude for a Place. The units is expressed by the units property. If units is not specified, the default is assumed to be "m" indicating "meters".\r\n */\r\n radius?: string;\r\n}\r\n\r\nexport interface Mention {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * A Link is an indirect, qualified reference to a resource identified by a URL. The fundamental model for links is established by [ RFC5988]. Many of the properties defined by the Activity Vocabulary allow values that are either instances of Object or Link. When a Link is used, it establishes a qualified relation connecting the subject (the containing object) to the resource identified by the href. Properties of the Link are properties of the reference as opposed to properties of the resource. | A specialized Link that represents an @mention.\r\n */\r\n type: ({\r\n "@id": "Link";\r\n } | {\r\n "@id": "Mention";\r\n })[];\r\n /**\r\n * The target resource pointed to by a Link.\r\n */\r\n href?: string;\r\n /**\r\n * A link relation associated with a Link. The value MUST conform to both the [HTML5] and [RFC5988] "link relation" definitions. In the [HTML5], any string not containing the "space" U+0020, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D) or "," (U+002C) characters can be used as a valid link relation.\r\n */\r\n rel?: string[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * Hints as to the language used by the target resource. Value MUST be a [BCP47] Language-Tag.\r\n */\r\n hreflang?: string;\r\n /**\r\n * On a Link, specifies a hint as to the rendering height in device-independent pixels of the linked resource.\r\n */\r\n height?: number;\r\n /**\r\n * On a Link, specifies a hint as to the rendering width in device-independent pixels of the linked resource.\r\n */\r\n width?: number;\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n}\r\n\r\nexport interface Profile {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Profile is a content object that describes another Object, typically used to describe Actor Type objects. The describes property is used to reference the object being described by the profile.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Profile";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * On a Profile object, the describes property identifies the object described by the Profile.\r\n */\r\n describes?: ActivityPubObject;\r\n}\r\n\r\nexport interface Tombstone {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Tombstone represents a content object that has been deleted. It can be used in Collections to signify that there used to be an object at this position, but it has been deleted.\r\n */\r\n type: ({\r\n "@id": "Object";\r\n } | {\r\n "@id": "Tombstone";\r\n })[];\r\n /**\r\n * Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.\r\n */\r\n attachment?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.\r\n */\r\n attributedTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.\r\n */\r\n audience?: (ActivityPubObject | Link)[];\r\n /**\r\n * The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content MAY be expressed using multiple language-tagged values. \r\n */\r\n content?: (string | string)[];\r\n /**\r\n * Identifies the context within which the object exists or an activity was performed. The notion of "context" used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.\r\n */\r\n context?: (ActivityPubObject | Link)[];\r\n /**\r\n * A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.\r\n */\r\n name?: (string | string)[];\r\n /**\r\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\r\n */\r\n endTime?: string;\r\n /**\r\n * Identifies the entity (e.g. an application) that generated the object. \r\n */\r\n generator?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.\r\n */\r\n icon?: (Image | Link)[];\r\n /**\r\n * Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed.\r\n */\r\n image?: (Image | Link)[];\r\n /**\r\n * Indicates one or more entities for which this object is considered a response.\r\n */\r\n inReplyTo?: (ActivityPubObject | Link)[];\r\n /**\r\n * Indicates one or more physical or logical locations associated with the object.\r\n */\r\n location?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an entity that provides a preview of this object.\r\n */\r\n preview?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was published\r\n */\r\n published?: string;\r\n /**\r\n * Identifies a Collection containing objects considered to be responses to this object.\r\n */\r\n replies?: Collection;\r\n /**\r\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\r\n */\r\n startTime?: string;\r\n /**\r\n * A natural language summarization of the object encoded as HTML. Multiple language tagged summaries MAY be provided.\r\n */\r\n summary?: (string | string)[];\r\n /**\r\n * One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.\r\n */\r\n tag?: (ActivityPubObject | Link)[];\r\n /**\r\n * The date and time at which the object was updated\r\n */\r\n updated?: string;\r\n /**\r\n * Identifies one or more links to representations of the object\r\n */\r\n url?: (string | Link)[];\r\n /**\r\n * Identifies an entity considered to be part of the public primary audience of an Object\r\n */\r\n to?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the private primary audience of this Object.\r\n */\r\n bto?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies an Object that is part of the public secondary audience of this Object.\r\n */\r\n cc?: (ActivityPubObject | Link)[];\r\n /**\r\n * Identifies one or more Objects that are part of the private secondary audience of this Object.\r\n */\r\n bcc?: (ActivityPubObject | Link)[];\r\n /**\r\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\r\n */\r\n mediaType?: string;\r\n /**\r\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\r\n */\r\n duration?: string;\r\n /**\r\n * On a Tombstone object, the formerType property identifies the type of the object that was deleted.\r\n */\r\n formerType?: (ActivityPubObject)[];\r\n /**\r\n * On a Tombstone object, the deleted property is a timestamp for when the object was deleted.\r\n */\r\n deleted?: string;\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface ActivityPubObject {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection.\n */\n type: {\n "@id": "Object";\n };\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Link {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * A Link is an indirect, qualified reference to a resource identified by a URL. The fundamental model for links is established by [ RFC5988]. Many of the properties defined by the Activity Vocabulary allow values that are either instances of Object or Link. When a Link is used, it establishes a qualified relation connecting the subject (the containing object) to the resource identified by the href. Properties of the Link are properties of the reference as opposed to properties of the resource.\n */\n type: {\n "@id": "Link";\n };\n /**\n * The target resource pointed to by a Link.\n */\n href?: string;\n /**\n * A link relation associated with a Link. The value MUST conform to both the [HTML5] and [RFC5988] "link relation" definitions. In the [HTML5], any string not containing the "space" U+0020, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D) or "," (U+002C) characters can be used as a valid link relation.\n */\n rel?: string[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n name?: (string | string)[];\n /**\n * Hints as to the language used by the target resource. Value MUST be a [BCP47] Language-Tag.\n */\n hreflang?: string;\n /**\n * On a Link, specifies a hint as to the rendering height in device-independent pixels of the linked resource.\n */\n height?: number;\n /**\n * On a Link, specifies a hint as to the rendering width in device-independent pixels of the linked resource.\n */\n width?: number;\n preview?: (ActivityPubObject | Link)[];\n}\n\nexport interface Activity {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface InstransitiveActivity {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "IntransitiveActivity";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Collection {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. \n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Collection";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\n */\n totalItems?: number;\n items?: (ActivityPubObject | Link)[];\n}\n\nexport interface OrderedCollection {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Collection";\n } | {\n "@id": "OrderedCollection";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\n */\n totalItems?: number;\n items?: (ActivityPubObject | Link)[];\n}\n\nexport interface CollectionPage {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | Used to represent distinct subsets of items from a Collection. Refer to the Activity Streams 2.0 Core for a complete description of the CollectionPage object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Collection";\n } | {\n "@id": "CollectionPage";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\n */\n totalItems?: number;\n items?: (ActivityPubObject | Link)[];\n}\n\nexport interface OrderedCollectionPage {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. | A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered. | Used to represent ordered subsets of items from an OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of the OrderedCollectionPage object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Collection";\n } | {\n "@id": "OrderedCollection";\n } | {\n "@id": "OrderedCollectionPage";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance.\n */\n totalItems?: number;\n items?: (ActivityPubObject | Link)[];\n /**\n * A non-negative integer value identifying the relative position within the logical view of a strictly ordered collection.\n */\n startIndex?: number;\n}\n\nexport interface Accept {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Accept";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface TentativeAccept {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor accepts the object. The target property can be used in certain circumstances to indicate the context into which the object has been accepted. | A specialization of Accept indicating that the acceptance is tentative.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Accept";\n } | {\n "@id": "TentativeAccept";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Add {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has added the object to the target. If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated. \n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Add";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Arrive {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | An IntransitiveActivity that indicates that the actor has arrived at the location. The origin can be used to identify the context from which the actor originated. The target typically has no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "IntransitiveActivity";\n } | {\n "@id": "Arrive";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Create {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has created the object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Create";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Delete {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has deleted the object. If specified, the origin indicates the context from which the object was deleted.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Delete";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Follow {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is "following" the object. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Follow";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Ignore {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Ignore";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Join {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has joined the object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Join";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Leave {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has left the object. The target and origin typically have no meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Leave";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Like {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor likes, recommends or endorses the object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Like";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Offer {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Offer";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Invite {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered. | A specialization of Offer in which the actor is extending an invitation for the object to the target.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Offer";\n } | {\n "@id": "Invite";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Reject {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Reject";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface TentativeReject {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is rejecting the object. The target and origin typically have no defined meaning. | A specialization of Reject in which the rejection is considered tentative.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Reject";\n } | {\n "@id": "TentativeReject";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Remove {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is removing the object. If specified, the origin indicates the context from which the object is being removed.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Remove";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Undo {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is undoing the object. In most cases, the object will be an Activity describing some previously performed action (for instance, a person may have previously "liked" an article but, for whatever reason, might choose to undo that like at some later point in time). The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Undo";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Update {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has updated the object. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Update";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface View {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has viewed the object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "View";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Listen {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has listened to the object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Listen";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Read {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has read the object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Read";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Move {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor has moved object from origin to target. If the origin or target are not specified, either can be determined by context.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Move";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Travel {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | Indicates that the actor is traveling to target from origin. Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "IntransitiveActivity";\n } | {\n "@id": "Travel";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Announce {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is calling the target\'s attention the object. The origin typically has no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Announce";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Block {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is ignoring the object. The target and origin typically have no defined meaning. | Indicates that the actor is blocking the object. Blocking is a stronger form of Ignore. The typical use is to support social systems that allow one user to block activities or content of other users. The target and origin typically have no defined meaning.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Ignore";\n } | {\n "@id": "Block";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Flag {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor is "flagging" the object. Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Flag";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Dislike {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Indicates that the actor dislikes the object.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "Dislike";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n}\n\nexport interface Question {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken. | Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The object property is therefore inappropriate for these activities. | Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property. Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties. \n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Activity";\n } | {\n "@id": "IntransitiveActivity";\n } | {\n "@id": "Question";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n actor?: (ActivityPubObject | Link)[];\n object?: (ActivityPubObject | Link)[];\n target?: (ActivityPubObject | Link)[];\n result?: (ActivityPubObject | Link)[];\n origin?: (ActivityPubObject | Link)[];\n instrument?: (ActivityPubObject | Link)[];\n closed?: (ActivityPubObject | Link | string | boolean)[];\n}\n\nexport interface Application {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Describes a software application.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Application";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Group {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a formal or informal collective of Actors.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Group";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Organization {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents an organization.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Organization";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Person {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents an individual person.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Person";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Service {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a service of any kind.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Service";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Relationship {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Describes a relationship between two individuals. The subject and object properties are used to identify the connected individuals. See 5.2 Representing Relationships Between Entities for additional information. \n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Relationship";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * On a Relationship object, the relationship property identifies the kind of relationship that exists between subject and object.\n */\n relationship?: (ActivityPubObject)[];\n}\n\nexport interface Article {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents any kind of multi-paragraph written work.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Article";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Document {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Document";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Audio {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents an audio document of any kind.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Document";\n } | {\n "@id": "Audio";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Image {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | An image document of any kind\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Document";\n } | {\n "@id": "Image";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Video {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents a video document of any kind. \n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Document";\n } | {\n "@id": "Video";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Note {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a short written work typically less than a single paragraph in length.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Note";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Page {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a document of any kind. | Represents a Web Page.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Document";\n } | {\n "@id": "Page";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Event {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents any kind of event.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Event";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n}\n\nexport interface Place {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | Represents a logical or physical location. See 5.3 Representing Places for additional information.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Place";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * Indicates the accuracy of position coordinates on a Place objects. Expressed in properties of percentage. e.g. "94.0" means "94.0% accurate".\n */\n accuracy?: string;\n /**\n * Indicates the altitude of a place. The measurement units is indicated using the units property. If units is not specified, the default is assumed to be "m" indicating meters. \n */\n altitude?: string;\n /**\n * The latitude of a place | The longitude of a place\n */\n latitude?: (string | string)[];\n /**\n * The radius from the given latitude and longitude for a Place. The units is expressed by the units property. If units is not specified, the default is assumed to be "m" indicating "meters".\n */\n radius?: string;\n}\n\nexport interface Mention {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * A Link is an indirect, qualified reference to a resource identified by a URL. The fundamental model for links is established by [ RFC5988]. Many of the properties defined by the Activity Vocabulary allow values that are either instances of Object or Link. When a Link is used, it establishes a qualified relation connecting the subject (the containing object) to the resource identified by the href. Properties of the Link are properties of the reference as opposed to properties of the resource. | A specialized Link that represents an @mention.\n */\n type: ({\n "@id": "Link";\n } | {\n "@id": "Mention";\n })[];\n /**\n * The target resource pointed to by a Link.\n */\n href?: string;\n /**\n * A link relation associated with a Link. The value MUST conform to both the [HTML5] and [RFC5988] "link relation" definitions. In the [HTML5], any string not containing the "space" U+0020, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D) or "," (U+002C) characters can be used as a valid link relation.\n */\n rel?: string[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n name?: (string | string)[];\n /**\n * Hints as to the language used by the target resource. Value MUST be a [BCP47] Language-Tag.\n */\n hreflang?: string;\n /**\n * On a Link, specifies a hint as to the rendering height in device-independent pixels of the linked resource.\n */\n height?: number;\n /**\n * On a Link, specifies a hint as to the rendering width in device-independent pixels of the linked resource.\n */\n width?: number;\n preview?: (ActivityPubObject | Link)[];\n}\n\nexport interface Profile {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Profile is a content object that describes another Object, typically used to describe Actor Type objects. The describes property is used to reference the object being described by the profile.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Profile";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * On a Profile object, the describes property identifies the object described by the Profile.\n */\n describes?: ActivityPubObject;\n}\n\nexport interface Tombstone {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection. | A Tombstone represents a content object that has been deleted. It can be used in Collections to signify that there used to be an object at this position, but it has been deleted.\n */\n type: ({\n "@id": "Object";\n } | {\n "@id": "Tombstone";\n })[];\n attachment?: (ActivityPubObject | Link)[];\n attributedTo?: (ActivityPubObject | Link)[];\n audience?: (ActivityPubObject | Link)[];\n content?: (string | string)[];\n context?: (ActivityPubObject | Link)[];\n name?: (string | string)[];\n /**\n * The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.\n */\n endTime?: string;\n generator?: (ActivityPubObject | Link)[];\n icon?: (Image | Link)[];\n image?: (Image | Link)[];\n inReplyTo?: (ActivityPubObject | Link)[];\n location?: (ActivityPubObject | Link)[];\n preview?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was published\n */\n published?: string;\n /**\n * Identifies a Collection containing objects considered to be responses to this object.\n */\n replies?: Collection;\n /**\n * The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin.\n */\n startTime?: string;\n summary?: (string | string)[];\n tag?: (ActivityPubObject | Link)[];\n /**\n * The date and time at which the object was updated\n */\n updated?: string;\n url?: (string | Link)[];\n to?: (ActivityPubObject | Link)[];\n bto?: (ActivityPubObject | Link)[];\n cc?: (ActivityPubObject | Link)[];\n bcc?: (ActivityPubObject | Link)[];\n /**\n * When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content.\n */\n mediaType?: string;\n /**\n * When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object\'s approximate duration. The value MUST be expressed as an xsd:duration as defined by [ xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").\n */\n duration?: string;\n /**\n * On a Tombstone object, the formerType property identifies the type of the object that was deleted.\n */\n formerType?: (ActivityPubObject)[];\n /**\n * On a Tombstone object, the deleted property is a timestamp for when the object was deleted.\n */\n deleted?: string;\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/circular.ts b/packages/schema-converter-shex/test/testData/circular.ts index c3ad82e..fdcd45e 100644 --- a/packages/schema-converter-shex/test/testData/circular.ts +++ b/packages/schema-converter-shex/test/testData/circular.ts @@ -31,14 +31,14 @@ export const circular: TestData = { `, baseNode: "http://example.com/SampleParent", successfulContext: { - SampleParent: { + Parent: { "@id": "http://example.com/Parent", "@context": { type: { "@id": "@type" }, hasChild: { "@id": "http://example.com/hasChild", "@type": "@id" }, }, }, - SampleChild: { + Child: { "@id": "http://example.com/Child", "@context": { type: { "@id": "@type" }, @@ -47,5 +47,5 @@ export const circular: TestData = { }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface ParentShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n type?: {\r\n "@id": "Parent";\r\n };\r\n hasChild: ChildShape;\r\n}\r\n\r\nexport interface ChildShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n type?: {\r\n "@id": "Child";\r\n };\r\n hasParent: ParentShape;\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface ParentShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type?: {\n "@id": "Parent";\n };\n hasChild: ChildShape;\n}\n\nexport interface ChildShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type?: {\n "@id": "Child";\n };\n hasParent: ParentShape;\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/extendsSimple.ts b/packages/schema-converter-shex/test/testData/extendsSimple.ts index 4e1c454..1ba79a5 100644 --- a/packages/schema-converter-shex/test/testData/extendsSimple.ts +++ b/packages/schema-converter-shex/test/testData/extendsSimple.ts @@ -10,14 +10,17 @@ export const extendsSimple: TestData = { PREFIX foaf: ex:EntityShape { + a [ ex:Entity ] ; ex:entityId . } ex:PersonShape EXTENDS @ex:EntityShape { + a [ ex:Person ] ; foaf:name . } ex:EmployeeShape EXTENDS @ex:PersonShape { + a [ ex:Employee ] ; ex:employeeNumber . } `, @@ -34,10 +37,37 @@ export const extendsSimple: TestData = { `, baseNode: "http://example.com/SampleParent", successfulContext: { - entityId: "https://example.com/entityId", - name: "http://xmlns.com/foaf/0.1/name", - employeeNumber: "https://example.com/employeeNumber", + Entity: { + "@id": "https://example.com/Entity", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + }, + }, + Person: { + "@id": "https://example.com/Person", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + name: "http://xmlns.com/foaf/0.1/name", + }, + }, + Employee: { + "@id": "https://example.com/Employee", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + name: "http://xmlns.com/foaf/0.1/name", + employeeNumber: "https://example.com/employeeNumber", + }, + }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface EntityShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n entityId: any;\r\n}\r\n\r\nexport interface PersonShapeextends EntityShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n name: any;\r\n}\r\n\r\nexport interface EmployeeShapeextends PersonShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n employeeNumber: any;\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface EntityShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: {\n "@id": "Entity";\n };\n entityId: any;\n}\n\nexport interface PersonShape {\n "@id"?: (string | string)[];\n "@context"?: (ContextDefinition | ContextDefinition)[];\n type: ({\n "@id": "Entity";\n } | {\n "@id": "Person";\n })[];\n entityId: any;\n name: any;\n}\n\nexport interface EmployeeShape {\n "@id"?: (string | string | string)[];\n "@context"?: (ContextDefinition | ContextDefinition | ContextDefinition)[];\n type: ({\n "@id": "Entity";\n } | {\n "@id": "Person";\n } | {\n "@id": "Employee";\n })[];\n entityId: any;\n name: any;\n employeeNumber: any;\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/oldExtends.ts b/packages/schema-converter-shex/test/testData/oldExtends.ts index b1bd233..5ad7b53 100644 --- a/packages/schema-converter-shex/test/testData/oldExtends.ts +++ b/packages/schema-converter-shex/test/testData/oldExtends.ts @@ -1,7 +1,7 @@ import type { TestData } from "./testData"; /** - * Circular + * Old Extends */ export const oldExtends: TestData = { name: "old extends", @@ -9,21 +9,24 @@ export const oldExtends: TestData = { PREFIX ex: PREFIX foaf: - ex:EntityShape { + ex:EntityShape EXTRA a { $ex:EntityRef ( + a [ ex:Entity ] ; ex:entityId . ) } - ex:PersonShape { + ex:PersonShape EXTRA a { $ex:PersonRef ( &ex:EntityRef ; + a [ ex:Person ] ; foaf:name . ) } - ex:EmployeeShape EXTENDS @ex:PersonShape { + ex:EmployeeShape EXTRA a { &ex:PersonRef ; + a [ ex:Employee ] ; ex:employeeNumber . } `, @@ -39,10 +42,37 @@ export const oldExtends: TestData = { `, baseNode: "http://example.com/SampleParent", successfulContext: { - entityId: "https://example.com/entityId", - name: "http://xmlns.com/foaf/0.1/name", - employeeNumber: "https://example.com/employeeNumber", + Entity: { + "@id": "https://example.com/Entity", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + }, + }, + Person: { + "@id": "https://example.com/Person", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + name: "http://xmlns.com/foaf/0.1/name", + }, + }, + Employee: { + "@id": "https://example.com/Employee", + "@context": { + type: { + "@id": "@type", + }, + entityId: "https://example.com/entityId", + name: "http://xmlns.com/foaf/0.1/name", + employeeNumber: "https://example.com/employeeNumber", + }, + }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface EntityShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n entityId: any;\r\n}\r\n\r\nexport interface PersonShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n entityId: any;\r\n name: any;\r\n}\r\n\r\nexport interface EmployeeShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n entityId: any;\r\n name: any;\r\n employeeNumber: any;\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface EntityShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: {\n "@id": "Entity";\n };\n entityId: any;\n}\n\nexport interface PersonShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: ({\n "@id": "Entity";\n } | {\n "@id": "Person";\n })[];\n entityId: any;\n name: any;\n}\n\nexport interface EmployeeShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: ({\n "@id": "Entity";\n } | {\n "@id": "Person";\n } | {\n "@id": "Employee";\n })[];\n entityId: any;\n name: any;\n employeeNumber: any;\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/profile.ts b/packages/schema-converter-shex/test/testData/profile.ts index f47abef..05c427c 100644 --- a/packages/schema-converter-shex/test/testData/profile.ts +++ b/packages/schema-converter-shex/test/testData/profile.ts @@ -366,21 +366,191 @@ srs:RSAPublicKeyShape { `, baseNode: "https://jackson.solidcommunity.net/profile/card#me", successfulContext: { - type: { "@id": "@type" }, - Person: "http://schema.org/Person", - Person2: "http://xmlns.com/foaf/0.1/Person", - fn: { - "@id": "http://www.w3.org/2006/vcard/ns#fn", - "@type": "http://www.w3.org/2001/XMLSchema#string", - }, - name: { - "@id": "http://xmlns.com/foaf/0.1/name", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Person: { + "@id": "http://schema.org/Person", + "@context": { + type: { + "@id": "@type", + }, + fn: { + "@id": "http://www.w3.org/2006/vcard/ns#fn", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + name: { + "@id": "http://xmlns.com/foaf/0.1/name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + hasAddress: { + "@id": "http://www.w3.org/2006/vcard/ns#hasAddress", + "@type": "@id", + "@isCollection": true, + }, + hasEmail: { + "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", + "@type": "@id", + "@isCollection": true, + }, + hasPhoto: { + "@id": "http://www.w3.org/2006/vcard/ns#hasPhoto", + "@type": "@id", + }, + img: { + "@id": "http://xmlns.com/foaf/0.1/img", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + hasTelephone: { + "@id": "http://www.w3.org/2006/vcard/ns#hasTelephone", + "@type": "@id", + "@isCollection": true, + }, + phone: { + "@id": "http://www.w3.org/2006/vcard/ns#phone", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + organizationName: { + "@id": "http://www.w3.org/2006/vcard/ns#organization-name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + role: { + "@id": "http://www.w3.org/2006/vcard/ns#role", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + trustedApp: { + "@id": "http://www.w3.org/ns/auth/acl#trustedApp", + "@type": "@id", + "@isCollection": true, + }, + key: { + "@id": "http://www.w3.org/ns/auth/cert#key", + "@type": "@id", + "@isCollection": true, + }, + inbox: { + "@id": "http://www.w3.org/ns/ldp#inbox", + "@type": "@id", + }, + preferencesFile: { + "@id": "http://www.w3.org/ns/pim/space#preferencesFile", + "@type": "@id", + }, + storage: { + "@id": "http://www.w3.org/ns/pim/space#storage", + "@type": "@id", + "@isCollection": true, + }, + account: { + "@id": "http://www.w3.org/ns/solid/terms#account", + "@type": "@id", + }, + privateTypeIndex: { + "@id": "http://www.w3.org/ns/solid/terms#privateTypeIndex", + "@type": "@id", + "@isCollection": true, + }, + publicTypeIndex: { + "@id": "http://www.w3.org/ns/solid/terms#publicTypeIndex", + "@type": "@id", + "@isCollection": true, + }, + knows: { + "@id": "http://xmlns.com/foaf/0.1/knows", + "@type": "@id", + "@isCollection": true, + }, + }, }, - hasAddress: { - "@id": "http://www.w3.org/2006/vcard/ns#hasAddress", - "@type": "@id", - "@container": "@set", + Person2: { + "@id": "http://xmlns.com/foaf/0.1/Person", + "@context": { + type: { + "@id": "@type", + }, + fn: { + "@id": "http://www.w3.org/2006/vcard/ns#fn", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + name: { + "@id": "http://xmlns.com/foaf/0.1/name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + hasAddress: { + "@id": "http://www.w3.org/2006/vcard/ns#hasAddress", + "@type": "@id", + "@isCollection": true, + }, + hasEmail: { + "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", + "@type": "@id", + "@isCollection": true, + }, + hasPhoto: { + "@id": "http://www.w3.org/2006/vcard/ns#hasPhoto", + "@type": "@id", + }, + img: { + "@id": "http://xmlns.com/foaf/0.1/img", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + hasTelephone: { + "@id": "http://www.w3.org/2006/vcard/ns#hasTelephone", + "@type": "@id", + "@isCollection": true, + }, + phone: { + "@id": "http://www.w3.org/2006/vcard/ns#phone", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + organizationName: { + "@id": "http://www.w3.org/2006/vcard/ns#organization-name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + role: { + "@id": "http://www.w3.org/2006/vcard/ns#role", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + trustedApp: { + "@id": "http://www.w3.org/ns/auth/acl#trustedApp", + "@type": "@id", + "@isCollection": true, + }, + key: { + "@id": "http://www.w3.org/ns/auth/cert#key", + "@type": "@id", + "@isCollection": true, + }, + inbox: { + "@id": "http://www.w3.org/ns/ldp#inbox", + "@type": "@id", + }, + preferencesFile: { + "@id": "http://www.w3.org/ns/pim/space#preferencesFile", + "@type": "@id", + }, + storage: { + "@id": "http://www.w3.org/ns/pim/space#storage", + "@type": "@id", + "@isCollection": true, + }, + account: { + "@id": "http://www.w3.org/ns/solid/terms#account", + "@type": "@id", + }, + privateTypeIndex: { + "@id": "http://www.w3.org/ns/solid/terms#privateTypeIndex", + "@type": "@id", + "@isCollection": true, + }, + publicTypeIndex: { + "@id": "http://www.w3.org/ns/solid/terms#publicTypeIndex", + "@type": "@id", + "@isCollection": true, + }, + knows: { + "@id": "http://xmlns.com/foaf/0.1/knows", + "@type": "@id", + "@isCollection": true, + }, + }, }, countryName: { "@id": "http://www.w3.org/2006/vcard/ns#country-name", @@ -402,66 +572,149 @@ srs:RSAPublicKeyShape { "@id": "http://www.w3.org/2006/vcard/ns#street-address", "@type": "http://www.w3.org/2001/XMLSchema#string", }, - hasEmail: { - "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", - "@type": "@id", - "@container": "@set", + Dom: { + "@id": "http://www.w3.org/2006/vcard/ns#Dom", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - Dom: "http://www.w3.org/2006/vcard/ns#Dom", - Home: "http://www.w3.org/2006/vcard/ns#Home", - ISDN: "http://www.w3.org/2006/vcard/ns#ISDN", - Internet: "http://www.w3.org/2006/vcard/ns#Internet", - Intl: "http://www.w3.org/2006/vcard/ns#Intl", - Label: "http://www.w3.org/2006/vcard/ns#Label", - Parcel: "http://www.w3.org/2006/vcard/ns#Parcel", - Postal: "http://www.w3.org/2006/vcard/ns#Postal", - Pref: "http://www.w3.org/2006/vcard/ns#Pref", - Work: "http://www.w3.org/2006/vcard/ns#Work", - X400: "http://www.w3.org/2006/vcard/ns#X400", - value: { - "@id": "http://www.w3.org/2006/vcard/ns#value", - "@type": "@id", + Home: { + "@id": "http://www.w3.org/2006/vcard/ns#Home", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - hasPhoto: { - "@id": "http://www.w3.org/2006/vcard/ns#hasPhoto", - "@type": "@id", + ISDN: { + "@id": "http://www.w3.org/2006/vcard/ns#ISDN", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - img: { - "@id": "http://xmlns.com/foaf/0.1/img", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Internet: { + "@id": "http://www.w3.org/2006/vcard/ns#Internet", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - hasTelephone: { - "@id": "http://www.w3.org/2006/vcard/ns#hasTelephone", - "@type": "@id", - "@container": "@set", + Intl: { + "@id": "http://www.w3.org/2006/vcard/ns#Intl", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - phone: { - "@id": "http://www.w3.org/2006/vcard/ns#phone", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Label: { + "@id": "http://www.w3.org/2006/vcard/ns#Label", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - organizationName: { - "@id": "http://www.w3.org/2006/vcard/ns#organization-name", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Parcel: { + "@id": "http://www.w3.org/2006/vcard/ns#Parcel", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - role: { - "@id": "http://www.w3.org/2006/vcard/ns#role", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Postal: { + "@id": "http://www.w3.org/2006/vcard/ns#Postal", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, - trustedApp: { - "@id": "http://www.w3.org/ns/auth/acl#trustedApp", - "@type": "@id", - "@container": "@set", + Pref: { + "@id": "http://www.w3.org/2006/vcard/ns#Pref", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Work: { + "@id": "http://www.w3.org/2006/vcard/ns#Work", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + X400: { + "@id": "http://www.w3.org/2006/vcard/ns#X400", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + mode: { + "@id": "http://www.w3.org/ns/auth/acl#mode", + "@isCollection": true, }, - mode: { "@id": "http://www.w3.org/ns/auth/acl#mode", "@container": "@set" }, Append: "http://www.w3.org/ns/auth/acl#Append", Control: "http://www.w3.org/ns/auth/acl#Control", Read: "http://www.w3.org/ns/auth/acl#Read", Write: "http://www.w3.org/ns/auth/acl#Write", - origin: { "@id": "http://www.w3.org/ns/auth/acl#origin", "@type": "@id" }, - key: { - "@id": "http://www.w3.org/ns/auth/cert#key", + origin: { + "@id": "http://www.w3.org/ns/auth/acl#origin", "@type": "@id", - "@container": "@set", }, modulus: { "@id": "http://www.w3.org/ns/auth/cert#modulus", @@ -471,36 +724,7 @@ srs:RSAPublicKeyShape { "@id": "http://www.w3.org/ns/auth/cert#exponent", "@type": "http://www.w3.org/2001/XMLSchema#integer", }, - inbox: { "@id": "http://www.w3.org/ns/ldp#inbox", "@type": "@id" }, - preferencesFile: { - "@id": "http://www.w3.org/ns/pim/space#preferencesFile", - "@type": "@id", - }, - storage: { - "@id": "http://www.w3.org/ns/pim/space#storage", - "@type": "@id", - "@container": "@set", - }, - account: { - "@id": "http://www.w3.org/ns/solid/terms#account", - "@type": "@id", - }, - privateTypeIndex: { - "@id": "http://www.w3.org/ns/solid/terms#privateTypeIndex", - "@type": "@id", - "@container": "@set", - }, - publicTypeIndex: { - "@id": "http://www.w3.org/ns/solid/terms#publicTypeIndex", - "@type": "@id", - "@container": "@set", - }, - knows: { - "@id": "http://xmlns.com/foaf/0.1/knows", - "@type": "@id", - "@container": "@set", - }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface SolidProfileShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Defines the node as a Person (from Schema.org) | Defines the node as a Person (from foaf)\r\n */\r\n type: ({\r\n "@id": "Person";\r\n } | {\r\n "@id": "Person2";\r\n })[];\r\n /**\r\n * The formatted name of a person. Example: John Smith\r\n */\r\n fn?: string;\r\n /**\r\n * An alternate way to define a person\'s name.\r\n */\r\n name?: string;\r\n /**\r\n * The person\'s street address.\r\n */\r\n hasAddress?: (AddressShape)[];\r\n /**\r\n * The person\'s email.\r\n */\r\n hasEmail?: (EmailShape)[];\r\n /**\r\n * A link to the person\'s photo\r\n */\r\n hasPhoto?: {\r\n "@id": string;\r\n };\r\n /**\r\n * Photo link but in string form\r\n */\r\n img?: string;\r\n /**\r\n * Person\'s telephone number\r\n */\r\n hasTelephone?: (PhoneNumberShape)[];\r\n /**\r\n * An alternative way to define a person\'s telephone number using a string\r\n */\r\n phone?: string;\r\n /**\r\n * The name of the organization with which the person is affiliated\r\n */\r\n organizationName?: string;\r\n /**\r\n * The name of the person\'s role in their organization\r\n */\r\n role?: string;\r\n /**\r\n * A list of app origins that are trusted by this user\r\n */\r\n trustedApp?: (TrustedAppShape)[];\r\n /**\r\n * A list of RSA public keys that are associated with private keys the user holds.\r\n */\r\n key?: (RSAPublicKeyShape)[];\r\n /**\r\n * The user\'s LDP inbox to which apps can post notifications\r\n */\r\n inbox: {\r\n "@id": string;\r\n };\r\n /**\r\n * The user\'s preferences\r\n */\r\n preferencesFile?: {\r\n "@id": string;\r\n };\r\n /**\r\n * The location of a Solid storage server related to this WebId\r\n */\r\n storage?: {\r\n "@id": string;\r\n }[];\r\n /**\r\n * The user\'s account\r\n */\r\n account?: {\r\n "@id": string;\r\n };\r\n /**\r\n * A registry of all types used on the user\'s Pod (for private access only)\r\n */\r\n privateTypeIndex?: {\r\n "@id": string;\r\n }[];\r\n /**\r\n * A registry of all types used on the user\'s Pod (for public access)\r\n */\r\n publicTypeIndex?: {\r\n "@id": string;\r\n }[];\r\n /**\r\n * A list of WebIds for all the people this user knows.\r\n */\r\n knows?: {\r\n "@id": string;\r\n }[];\r\n}\r\n\r\nexport interface AddressShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * The name of the user\'s country of residence\r\n */\r\n countryName?: string;\r\n /**\r\n * The name of the user\'s locality (City, Town etc.) of residence\r\n */\r\n locality?: string;\r\n /**\r\n * The user\'s postal code\r\n */\r\n postalCode?: string;\r\n /**\r\n * The name of the user\'s region (State, Province etc.) of residence\r\n */\r\n region?: string;\r\n /**\r\n * The user\'s street address\r\n */\r\n streetAddress?: string;\r\n}\r\n\r\nexport interface EmailShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * The type of email.\r\n */\r\n type?: {\r\n "@id": "Dom";\r\n } | {\r\n "@id": "Home";\r\n } | {\r\n "@id": "ISDN";\r\n } | {\r\n "@id": "Internet";\r\n } | {\r\n "@id": "Intl";\r\n } | {\r\n "@id": "Label";\r\n } | {\r\n "@id": "Parcel";\r\n } | {\r\n "@id": "Postal";\r\n } | {\r\n "@id": "Pref";\r\n } | {\r\n "@id": "Work";\r\n } | {\r\n "@id": "X400";\r\n };\r\n /**\r\n * The value of an email as a mailto link (Example )\r\n */\r\n value: {\r\n "@id": string;\r\n };\r\n}\r\n\r\nexport interface PhoneNumberShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * They type of Phone Number\r\n */\r\n type?: {\r\n "@id": "Dom";\r\n } | {\r\n "@id": "Home";\r\n } | {\r\n "@id": "ISDN";\r\n } | {\r\n "@id": "Internet";\r\n } | {\r\n "@id": "Intl";\r\n } | {\r\n "@id": "Label";\r\n } | {\r\n "@id": "Parcel";\r\n } | {\r\n "@id": "Postal";\r\n } | {\r\n "@id": "Pref";\r\n } | {\r\n "@id": "Work";\r\n } | {\r\n "@id": "X400";\r\n };\r\n /**\r\n * The value of a phone number as a tel link (Example )\r\n */\r\n value: {\r\n "@id": string;\r\n };\r\n}\r\n\r\nexport interface TrustedAppShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * The level of access provided to this origin\r\n */\r\n mode: ({\r\n "@id": "Append";\r\n } | {\r\n "@id": "Control";\r\n } | {\r\n "@id": "Read";\r\n } | {\r\n "@id": "Write";\r\n })[];\r\n /**\r\n * The app origin the user trusts\r\n */\r\n origin: {\r\n "@id": string;\r\n };\r\n}\r\n\r\nexport interface RSAPublicKeyShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * RSA Modulus\r\n */\r\n modulus: string;\r\n /**\r\n * RSA Exponent\r\n */\r\n exponent: number;\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface SolidProfileShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Defines the node as a Person (from Schema.org) | Defines the node as a Person (from foaf)\n */\n type: ({\n "@id": "Person";\n } | {\n "@id": "Person2";\n })[];\n /**\n * The formatted name of a person. Example: John Smith\n */\n fn?: string;\n /**\n * An alternate way to define a person\'s name.\n */\n name?: string;\n /**\n * The person\'s street address.\n */\n hasAddress?: (AddressShape)[];\n /**\n * The person\'s email.\n */\n hasEmail?: (EmailShape)[];\n /**\n * A link to the person\'s photo\n */\n hasPhoto?: {\n "@id": string;\n };\n /**\n * Photo link but in string form\n */\n img?: string;\n /**\n * Person\'s telephone number\n */\n hasTelephone?: (PhoneNumberShape)[];\n /**\n * An alternative way to define a person\'s telephone number using a string\n */\n phone?: string;\n /**\n * The name of the organization with which the person is affiliated\n */\n organizationName?: string;\n /**\n * The name of the person\'s role in their organization\n */\n role?: string;\n /**\n * A list of app origins that are trusted by this user\n */\n trustedApp?: (TrustedAppShape)[];\n /**\n * A list of RSA public keys that are associated with private keys the user holds.\n */\n key?: (RSAPublicKeyShape)[];\n /**\n * The user\'s LDP inbox to which apps can post notifications\n */\n inbox: {\n "@id": string;\n };\n /**\n * The user\'s preferences\n */\n preferencesFile?: {\n "@id": string;\n };\n /**\n * The location of a Solid storage server related to this WebId\n */\n storage?: {\n "@id": string;\n }[];\n /**\n * The user\'s account\n */\n account?: {\n "@id": string;\n };\n /**\n * A registry of all types used on the user\'s Pod (for private access only)\n */\n privateTypeIndex?: {\n "@id": string;\n }[];\n /**\n * A registry of all types used on the user\'s Pod (for public access)\n */\n publicTypeIndex?: {\n "@id": string;\n }[];\n /**\n * A list of WebIds for all the people this user knows.\n */\n knows?: {\n "@id": string;\n }[];\n}\n\nexport interface AddressShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * The name of the user\'s country of residence\n */\n countryName?: string;\n /**\n * The name of the user\'s locality (City, Town etc.) of residence\n */\n locality?: string;\n /**\n * The user\'s postal code\n */\n postalCode?: string;\n /**\n * The name of the user\'s region (State, Province etc.) of residence\n */\n region?: string;\n /**\n * The user\'s street address\n */\n streetAddress?: string;\n}\n\nexport interface EmailShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * The type of email.\n */\n type?: {\n "@id": "Dom";\n } | {\n "@id": "Home";\n } | {\n "@id": "ISDN";\n } | {\n "@id": "Internet";\n } | {\n "@id": "Intl";\n } | {\n "@id": "Label";\n } | {\n "@id": "Parcel";\n } | {\n "@id": "Postal";\n } | {\n "@id": "Pref";\n } | {\n "@id": "Work";\n } | {\n "@id": "X400";\n };\n /**\n * The value of an email as a mailto link (Example )\n */\n value: {\n "@id": string;\n };\n}\n\nexport interface PhoneNumberShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * They type of Phone Number\n */\n type?: {\n "@id": "Dom";\n } | {\n "@id": "Home";\n } | {\n "@id": "ISDN";\n } | {\n "@id": "Internet";\n } | {\n "@id": "Intl";\n } | {\n "@id": "Label";\n } | {\n "@id": "Parcel";\n } | {\n "@id": "Postal";\n } | {\n "@id": "Pref";\n } | {\n "@id": "Work";\n } | {\n "@id": "X400";\n };\n /**\n * The value of a phone number as a tel link (Example )\n */\n value: {\n "@id": string;\n };\n}\n\nexport interface TrustedAppShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * The level of access provided to this origin\n */\n mode: ({\n "@id": "Append";\n } | {\n "@id": "Control";\n } | {\n "@id": "Read";\n } | {\n "@id": "Write";\n })[];\n /**\n * The app origin the user trusts\n */\n origin: {\n "@id": string;\n };\n}\n\nexport interface RSAPublicKeyShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * RSA Modulus\n */\n modulus: string;\n /**\n * RSA Exponent\n */\n exponent: number;\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/reducedProfile.ts b/packages/schema-converter-shex/test/testData/reducedProfile.ts index 5528dc0..b94387c 100644 --- a/packages/schema-converter-shex/test/testData/reducedProfile.ts +++ b/packages/schema-converter-shex/test/testData/reducedProfile.ts @@ -51,31 +51,173 @@ srs:EmailShape EXTRA a { sampleTurtle: ``, baseNode: "", successfulContext: { - type: { "@id": "@type" }, - Person: "http://schema.org/Person", - Person2: "http://xmlns.com/foaf/0.1/Person", - hasEmail: { - "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", - "@type": "@id", - "@container": "@set", + Person: { + "@id": "http://schema.org/Person", + "@context": { + type: { + "@id": "@type", + }, + hasEmail: { + "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "http://xmlns.com/foaf/0.1/name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + }, }, - Dom: "http://www.w3.org/2006/vcard/ns#Dom", - Home: "http://www.w3.org/2006/vcard/ns#Home", - ISDN: "http://www.w3.org/2006/vcard/ns#ISDN", - Internet: "http://www.w3.org/2006/vcard/ns#Internet", - Intl: "http://www.w3.org/2006/vcard/ns#Intl", - Label: "http://www.w3.org/2006/vcard/ns#Label", - Parcel: "http://www.w3.org/2006/vcard/ns#Parcel", - Postal: "http://www.w3.org/2006/vcard/ns#Postal", - Pref: "http://www.w3.org/2006/vcard/ns#Pref", - Work: "http://www.w3.org/2006/vcard/ns#Work", - X400: "http://www.w3.org/2006/vcard/ns#X400", - value: { "@id": "http://www.w3.org/2006/vcard/ns#value", "@type": "@id" }, - name: { - "@id": "http://xmlns.com/foaf/0.1/name", - "@type": "http://www.w3.org/2001/XMLSchema#string", + Person2: { + "@id": "http://xmlns.com/foaf/0.1/Person", + "@context": { + type: { + "@id": "@type", + }, + hasEmail: { + "@id": "http://www.w3.org/2006/vcard/ns#hasEmail", + "@type": "@id", + "@isCollection": true, + }, + name: { + "@id": "http://xmlns.com/foaf/0.1/name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + }, + }, + Dom: { + "@id": "http://www.w3.org/2006/vcard/ns#Dom", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Home: { + "@id": "http://www.w3.org/2006/vcard/ns#Home", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + ISDN: { + "@id": "http://www.w3.org/2006/vcard/ns#ISDN", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Internet: { + "@id": "http://www.w3.org/2006/vcard/ns#Internet", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Intl: { + "@id": "http://www.w3.org/2006/vcard/ns#Intl", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Label: { + "@id": "http://www.w3.org/2006/vcard/ns#Label", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Parcel: { + "@id": "http://www.w3.org/2006/vcard/ns#Parcel", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Postal: { + "@id": "http://www.w3.org/2006/vcard/ns#Postal", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Pref: { + "@id": "http://www.w3.org/2006/vcard/ns#Pref", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + Work: { + "@id": "http://www.w3.org/2006/vcard/ns#Work", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, + }, + X400: { + "@id": "http://www.w3.org/2006/vcard/ns#X400", + "@context": { + type: { + "@id": "@type", + }, + value: { + "@id": "http://www.w3.org/2006/vcard/ns#value", + "@type": "@id", + }, + }, }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface SolidProfileShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * Defines the node as a Person | Defines the node as a Person\r\n */\r\n type: ({\r\n "@id": "Person";\r\n } | {\r\n "@id": "Person2";\r\n })[];\r\n /**\r\n * The person\'s email.\r\n */\r\n hasEmail?: (EmailShape)[];\r\n /**\r\n * An alternate way to define a person\'s name\r\n */\r\n name?: string;\r\n}\r\n\r\nexport interface EmailShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n /**\r\n * The type of email.\r\n */\r\n type?: {\r\n "@id": "Dom";\r\n } | {\r\n "@id": "Home";\r\n } | {\r\n "@id": "ISDN";\r\n } | {\r\n "@id": "Internet";\r\n } | {\r\n "@id": "Intl";\r\n } | {\r\n "@id": "Label";\r\n } | {\r\n "@id": "Parcel";\r\n } | {\r\n "@id": "Postal";\r\n } | {\r\n "@id": "Pref";\r\n } | {\r\n "@id": "Work";\r\n } | {\r\n "@id": "X400";\r\n };\r\n /**\r\n * The value of an email as a mailto link (Example )\r\n */\r\n value: {\r\n "@id": string;\r\n };\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface SolidProfileShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * Defines the node as a Person | Defines the node as a Person\n */\n type: ({\n "@id": "Person";\n } | {\n "@id": "Person2";\n })[];\n /**\n * The person\'s email.\n */\n hasEmail?: (EmailShape)[];\n /**\n * An alternate way to define a person\'s name\n */\n name?: string;\n}\n\nexport interface EmailShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n /**\n * The type of email.\n */\n type?: {\n "@id": "Dom";\n } | {\n "@id": "Home";\n } | {\n "@id": "ISDN";\n } | {\n "@id": "Internet";\n } | {\n "@id": "Intl";\n } | {\n "@id": "Label";\n } | {\n "@id": "Parcel";\n } | {\n "@id": "Postal";\n } | {\n "@id": "Pref";\n } | {\n "@id": "Work";\n } | {\n "@id": "X400";\n };\n /**\n * The value of an email as a mailto link (Example )\n */\n value: {\n "@id": string;\n };\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/reusedPredicates.ts b/packages/schema-converter-shex/test/testData/reusedPredicates.ts index 9b0702b..87a9141 100644 --- a/packages/schema-converter-shex/test/testData/reusedPredicates.ts +++ b/packages/schema-converter-shex/test/testData/reusedPredicates.ts @@ -18,43 +18,73 @@ export const reusedPredicates: TestData = { app:LawShape { rdf:type [ app:Law ] ; - app:name xsd:string ; + app:name xsd:string *; app:path IRI ; } app:VocabularyShape { rdf:type [ app:Vocabulary ] ; app:name xsd:string ; - app:path IRI ; + app:path IRI *; } `, sampleTurtle: ``, baseNode: "http://example.com/SampleParent", successfulContext: { - type: { "@id": "@type" }, - Document: "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Document", - vocabulary: { - "@id": - "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#vocabulary", - "@type": "@id", - "@container": "@set", + Document: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Document", + "@context": { + type: { + "@id": "@type", + }, + vocabulary: { + "@id": + "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#vocabulary", + "@type": "@id", + "@isCollection": true, + }, + law: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#law", + "@type": "@id", + }, + }, }, - Vocabulary: - "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Vocabulary", - name: { - "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#name", - "@type": "http://www.w3.org/2001/XMLSchema#string", - }, - path: { - "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#path", - "@type": "@id", + Vocabulary: { + "@id": + "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Vocabulary", + "@context": { + type: { + "@id": "@type", + }, + name: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + }, + path: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#path", + "@type": "@id", + "@isCollection": true, + }, + }, }, - law: { - "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#law", - "@type": "@id", + Law: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Law", + "@context": { + type: { + "@id": "@type", + }, + name: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#name", + "@type": "http://www.w3.org/2001/XMLSchema#string", + "@isCollection": true, + }, + path: { + "@id": "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#path", + "@type": "@id", + }, + }, }, - Law: "https://www.forsakringskassan.se/vocabs/fk-sem-poc.ttl#Law", }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface DocumentShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n type: {\r\n "@id": "Document";\r\n };\r\n vocabulary?: (VocabularyShape)[];\r\n law: LawShape;\r\n}\r\n\r\nexport interface LawShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n type: {\r\n "@id": "Law";\r\n };\r\n name: string;\r\n path: {\r\n "@id": string;\r\n };\r\n}\r\n\r\nexport interface VocabularyShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n type: {\r\n "@id": "Vocabulary";\r\n };\r\n name: string;\r\n path: {\r\n "@id": string;\r\n };\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface DocumentShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: {\n "@id": "Document";\n };\n vocabulary?: (VocabularyShape)[];\n law: LawShape;\n}\n\nexport interface LawShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: {\n "@id": "Law";\n };\n name?: string[];\n path: {\n "@id": string;\n };\n}\n\nexport interface VocabularyShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n type: {\n "@id": "Vocabulary";\n };\n name: string;\n path?: {\n "@id": string;\n }[];\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/simple.ts b/packages/schema-converter-shex/test/testData/simple.ts index cc14a50..3d863e0 100644 --- a/packages/schema-converter-shex/test/testData/simple.ts +++ b/packages/schema-converter-shex/test/testData/simple.ts @@ -32,7 +32,7 @@ export const simple: TestData = { givenName: { "@id": "http://xmlns.com/foaf/0.1/givenName", "@type": "http://www.w3.org/2001/XMLSchema#string", - "@container": "@set", + "@isCollection": true, }, familyName: { "@id": "http://xmlns.com/foaf/0.1/familyName", @@ -41,10 +41,10 @@ export const simple: TestData = { phone: { "@id": "http://xmlns.com/foaf/0.1/phone", "@type": "@id", - "@container": "@set", + "@isCollection": true, }, mbox: { "@id": "http://xmlns.com/foaf/0.1/mbox", "@type": "@id" }, }, successfulTypings: - 'import {ContextDefinition} from "jsonld"\n\nexport interface EmployeeShape {\n "@id"?: string;\r\n "@context"?: ContextDefinition;\r\n givenName: string[];\r\n familyName: string;\r\n phone?: {\r\n "@id": string;\r\n }[];\r\n mbox: {\r\n "@id": string;\r\n };\r\n}\r\n\r\n', + 'import {ContextDefinition} from "jsonld"\n\nexport interface EmployeeShape {\n "@id"?: string;\n "@context"?: ContextDefinition;\n givenName: string[];\n familyName: string;\n phone?: {\n "@id": string;\n }[];\n mbox: {\n "@id": string;\n };\n}\n\n', }; diff --git a/packages/schema-converter-shex/test/testData/testData.ts b/packages/schema-converter-shex/test/testData/testData.ts index 518a64d..bf4d599 100644 --- a/packages/schema-converter-shex/test/testData/testData.ts +++ b/packages/schema-converter-shex/test/testData/testData.ts @@ -1,4 +1,4 @@ -import type { ContextDefinition } from "jsonld"; +import type { LdoJsonldContext } from "@ldo/jsonld-dataset-proxy"; import { activityPub } from "./activityPub"; import { circular } from "./circular"; import { profile } from "./profile"; @@ -6,24 +6,24 @@ import { reducedProfile } from "./reducedProfile"; import { simple } from "./simple"; import { extendsSimple } from "./extendsSimple"; import { reusedPredicates } from "./reusedPredicates"; -// import { oldExtends } from "./oldExtends"; +import { oldExtends } from "./oldExtends"; export interface TestData { name: string; shexc: string; sampleTurtle: string; baseNode: string; - successfulContext: ContextDefinition; + successfulContext: LdoJsonldContext; successfulTypings: string; } export const testData: TestData[] = [ simple, circular, - // profile, - // reducedProfile, - // activityPub, - // extendsSimple, - // oldExtends, - // reusedPredicates, + profile, + reducedProfile, + activityPub, + extendsSimple, + oldExtends, + reusedPredicates, ]; diff --git a/packages/schema-converter-shex/test/testData/testIfLegal.ts b/packages/schema-converter-shex/test/testData/testIfLegal.ts new file mode 100644 index 0000000..4c5b47a --- /dev/null +++ b/packages/schema-converter-shex/test/testData/testIfLegal.ts @@ -0,0 +1,35 @@ +import type { ContextDefinition } from "jsonld"; + +export interface DocumentShape { + "@id"?: string; + "@context"?: ContextDefinition; + type: { + "@id": "Document"; + }; + vocabulary?: VocabularyShape[]; + law: LawShape; +} + +export interface LawShape { + "@id"?: string; + "@context"?: ContextDefinition; + type: { + "@id": "Law"; + }; + name?: string[]; + path: { + "@id": string; + }; +} + +export interface VocabularyShape { + "@id"?: string; + "@context"?: ContextDefinition; + type: { + "@id": "Vocabulary"; + }; + name: string; + path?: { + "@id": string; + }[]; +} diff --git a/packages/traverser-shexj/package.json b/packages/traverser-shexj/package.json index c53141a..733f9eb 100644 --- a/packages/traverser-shexj/package.json +++ b/packages/traverser-shexj/package.json @@ -21,7 +21,6 @@ "homepage": "https://github.com/o-development/ldobjects/tree/main/packages/traverser-shexj#readme", "devDependencies": { "@types/jest": "^27.0.3", - "@types/shexj": "^2.1.3", "jest": "^27.4.5", "ts-jest": "^27.1.2" }, diff --git a/packages/traverser-shexj/src/ShexJTraverserDefinition.ts b/packages/traverser-shexj/src/ShexJTraverserDefinition.ts index 9f56c45..e587458 100644 --- a/packages/traverser-shexj/src/ShexJTraverserDefinition.ts +++ b/packages/traverser-shexj/src/ShexJTraverserDefinition.ts @@ -1,8 +1,8 @@ import type { ShexJTraverserTypes } from "."; -import type { TraverserDefinition } from "@ldo/type-traverser"; -import type { shapeExpr, valueSetValue } from "shexj"; +import type { TraverserDefinitions } from "@ldo/type-traverser"; +import type { shapeExpr, valueSetValue } from "./ShexJTypes"; -export const ShexJTraverserDefinition: TraverserDefinition = +export const ShexJTraverserDefinition: TraverserDefinitions = { Schema: { kind: "interface", @@ -29,7 +29,9 @@ export const ShexJTraverserDefinition: TraverserDefinition shapeExprOrRef: { kind: "union", selector: (item) => - typeof item === "string" ? "shapeDeclRef" : "shapeExpr", + typeof item === "string" || item.type === "ShapeDecl" + ? "shapeDeclRef" + : "shapeExpr", }, ShapeOr: { kind: "interface", @@ -55,7 +57,8 @@ export const ShexJTraverserDefinition: TraverserDefinition }, shapeDeclRef: { kind: "union", - selector: () => "shapeDeclLabel", + selector: (value) => + typeof value === "string" ? "shapeDeclLabel" : "ShapeDecl", }, shapeDeclLabel: { kind: "union", diff --git a/packages/traverser-shexj/src/ShexJTraverserTypes.ts b/packages/traverser-shexj/src/ShexJTraverserTypes.ts index e8df313..4d7a434 100644 --- a/packages/traverser-shexj/src/ShexJTraverserTypes.ts +++ b/packages/traverser-shexj/src/ShexJTraverserTypes.ts @@ -41,7 +41,7 @@ import type { tripleExprRef, valueSetValue, Wildcard, -} from "shexj"; +} from "./ShexJTypes"; import type { ValidateTraverserTypes } from "@ldo/type-traverser"; export type ShexJTraverserTypes = ValidateTraverserTypes<{ @@ -110,7 +110,7 @@ export type ShexJTraverserTypes = ValidateTraverserTypes<{ shapeDeclRef: { kind: "union"; type: shapeDeclRef; - typeNames: "shapeDeclLabel"; + typeNames: "shapeDeclLabel" | "ShapeDecl"; }; shapeDeclLabel: { kind: "union"; diff --git a/packages/traverser-shexj/src/ShexJTypes.ts b/packages/traverser-shexj/src/ShexJTypes.ts new file mode 100644 index 0000000..743e913 --- /dev/null +++ b/packages/traverser-shexj/src/ShexJTypes.ts @@ -0,0 +1,602 @@ +// These type definitions are slightly modified to make up for the fact that the "extends" clause can loop back on itself + +export {}; // only export specified symbols (strict-export-declare-modifiers) + +/** + * Structure for expressing a Shape Expression schema. + * @see ShEx Schema definition + */ +export interface Schema { + /** + * Mandatory type "Schema". + */ + type: "Schema"; + /** + * JSON-LD @context for ShEx. + */ + "@context"?: "http://www.w3.org/ns/shex.jsonld" | undefined; + /** + * List of semantic actions to be executed when evaluating conformance. + */ + startActs?: SemAct[] | undefined; // + + /** + * Identifies default starting shape expression. + */ + start?: shapeExprOrRef | undefined; + /** + * List of ShEx schemas to import when processing this schema. + */ + imports?: IRIREF[] | undefined; // + + /** + * The list of {@link ShapeDecl}s defined in this schema. Each MUST include and {@link ShapeOr#id}. + */ + shapes?: ShapeDecl[] | undefined; // + +} + +export interface semactsAndAnnotations { + /** + * List of semantic actions to be executed when evaluating conformance. + */ + semActs?: SemAct[] | undefined; // +; + /** + * List of {@link SemAct#predicate}/{@link SemAct#object} annotations. + */ + annotations?: Annotation[] | undefined; // + +} + +/** + * A declaration for a shapeExpr with added inheritance constraints. + * @see ShEx ShapeDecl definition + */ +export interface ShapeDecl { + /** + * Mandatory type "ShapeDecl". + */ + type: "ShapeDecl"; + /** + * The identifier is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ + id: shapeDeclLabel; + /** + * Whether this ShapeDecl participates in inheritance substitution. + */ + abstract?: BOOL | undefined; + /** + * The list of {@link shapeExprOrRef}s that a neighborhood MUST conform to in order to conform to this ShapeDecl. + */ + restricts?: shapeExprOrRef[] | undefined; // + + /** + * The {@link shapeExpr} to which this neighborhood MUST also conform. + */ + shapeExpr: shapeExpr; +} + +/** + * Union of shape expression types. + * @see ShEx shapeExpr definition + */ +export type shapeExpr = + | ShapeOr + | ShapeAnd + | ShapeNot + | NodeConstraint + | Shape + | ShapeExternal; + +/** + * Union of shapeExpr and shapeDeclRef. + * @see ShEx shapeExpr definition + */ +export type shapeExprOrRef = shapeExpr | shapeDeclRef; + +/** + * A non-exclusive choice of shape expressions; considered conformant if any of {@link #shapeExprs} conforms. + * @see ShEx shapeExpr definition + */ +export interface ShapeOr { + /** + * Mandatory type "ShapeOr". + */ + type: "ShapeOr"; + /** + * List of two or more {@link shapeExprOrRef}s in this disjunction. + */ + shapeExprs: shapeExprOrRef[]; // {2,} +} + +/** + * A conjunction of shape expressions; considered conformant if each conjunct conforms. + * @see ShEx shapeExpr definition + */ +export interface ShapeAnd { + /** + * Mandatory type "ShapeAnd". + */ + type: "ShapeAnd"; + /** + * List of two or more {@link shapeExprOrRef}s in this conjunction. + */ + shapeExprs: shapeExprOrRef[]; // {2,} +} + +/** + * A negated shape expressions; considered conformant if {@link #shapeExpr} is not conformant. + * @see ShEx shapeExpr definition + */ +export interface ShapeNot { + /** + * Mandatory type "ShapeNot". + */ + type: "ShapeNot"; + /** + * The {@link shapeExprOrRef} that must be non-conformant for this shape expression to be conformant. + */ + shapeExpr: shapeExprOrRef; +} + +/** + * A shape expression not defined in this schema or in any imported schema. The definition of this shape expression is NOT defined by ShEx. + * @see ShEx shapeExpr definition + */ +export interface ShapeExternal { + /** + * Mandatory type "ShapeExternal". + */ + type: "ShapeExternal"; +} + +/** + * A reference a shape expression. + * The reference is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + * This is modified to also include the possibility of ShapeDecl + */ +export type shapeDeclRef = shapeDeclLabel | ShapeDecl; + +/** + * An identifier for a shape expression. + * The identifier is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ +export type shapeDeclLabel = IRIREF | BNODE; + +export type nodeKind = "iri" | "bnode" | "nonliteral" | "literal"; + +/** + * A collection of constraints on RDF Terms expected for conformance. + * The identifier is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ +export interface NodeConstraint extends xsFacets, semactsAndAnnotations { + /** + * Mandatory type "NodeConstraint". + */ + type: "NodeConstraint"; + /** + * Type of RDF Term expected for a conformant RDF node. + * @see ShEx nodeKind definition + */ + nodeKind?: nodeKind | undefined; + /** + * The RDF Literal datatype IRITerm expected for a conformant RDF node. + * @see ShEx datatype definition + */ + datatype?: IRIREF | undefined; + /** + * The set of permissible values. + * @see ShEx values definition + */ + values?: valueSetValue[] | undefined; +} + +/** + * The set of XML Schema Facets supported in ShEx; defers to {@link stringFacets} and {@link numericFacets}. + * @see ShEx String Facet Constraints and ShEx Numeric Facet Constraints. + */ +export interface xsFacets extends stringFacets, numericFacets {} + +/** + * The set of XML Schema Facets applying to lexical forms of RDF terms. + * @see ShEx String Facet Constraints. + */ +export interface stringFacets { + /** + * Expected length of the lexical form of an RDF Term. + */ + length?: INTEGER | undefined; + /** + * Expected minimum length of the lexical form of an RDF Term. + */ + minlength?: INTEGER | undefined; + /** + * Expected maximum length of the lexical form of an RDF Term. + */ + maxlength?: INTEGER | undefined; + /** + * Regular expression which the lexical forn of an RDF Term must match. + */ + pattern?: STRING | undefined; + /** + * Optional flags for the regular expression in {@link pattern}. + */ + flags?: STRING | undefined; +} + +/** + * The set of XML Schema Facets applying to numeric values of RDF terms. + * @see ShEx Numeric Facet Constraints. + */ +export interface numericFacets { + /** + * Conformant RDF Literal has as a numeric value <= {@link mininclusive}. + */ + mininclusive?: numericLiteral | undefined; + /** + * Conformant RDF Literal has as a numeric value < {@link minexclusive}. + */ + minexclusive?: numericLiteral | undefined; + /** + * Conformant RDF Literal has as a numeric value > {@link maxinclusive}. + */ + maxinclusive?: numericLiteral | undefined; + /** + * Conformant RDF Literal has as a numeric value >= {@link maxexclusive}. + */ + maxexclusive?: numericLiteral | undefined; + /** + * Conformant RDF Literal has as a numeric value whose canonical form has {@link totaldigits} digits. + * @see ShEx totalDigits definition + */ + totaldigits?: INTEGER | undefined; + /** + * Conformant RDF Literal has as a numeric value whose canonical form has {@link fractiondigits} digits. + * @see ShEx fractionDigits definition + */ + fractiondigits?: INTEGER | undefined; +} + +/** + * Union of numeric types in ShEx used in {@link numericFacets}s. + */ +export type numericLiteral = INTEGER | DECIMAL | DOUBLE; + +/** + * Union of numeric types that may appear in a value set. + * @see {@link NodeConstraint#values}. + */ +export type valueSetValue = + | objectValue + | IriStem + | IriStemRange + | LiteralStem + | LiteralStemRange + | Language + | LanguageStem + | LanguageStemRange; + +/** + * JSON-LD representation of a URL or a Literal. + */ +export type objectValue = IRIREF | ObjectLiteral; + +/** + * A JSON-LD Value Object used to express an RDF Literal. + */ +export interface ObjectLiteral { + /** + * The lexical form of an RDF Literal. + */ + value: STRING; + /** + * The language tag of an RDF Literal. + */ + language?: STRING | undefined; + /** + * The datatype of an RDF Literal. + */ + type?: STRING | undefined; +} + +/** + * Matchs an RDF IRI starting with the character sequence in {@link stem}. + */ +export interface IriStem { + /** + * Mandatory type "IriStem". + */ + type: "IriStem"; + /** + * substring of IRI to be matched. + */ + stem: IRIREF; +} + +export type iriRangeStem = IRIREF | Wildcard; +export type iriRangeExclusion = IRIREF | IriStem; + +/** + * Filters a matching RDF IRIs through a list of exclusions. + * The initial match is made on an IRI stem per {@link IriStem} or a {@link Wildcard} to accept any IRI. + * The {@link exclusion}s are either specific IRIs or {@link IRIStem}s. + */ +export interface IriStemRange { + /** + * Mandatory type "IriStemRange". + */ + type: "IriStemRange"; + /** + * substring of IRI to be matched or a {@link Wildcard} matching any IRI. + */ + stem: iriRangeStem; + /** + * IRIs or {@link IRIStem}s to exclude. + */ + exclusions: iriRangeExclusion[]; // + +} + +/** + * Matchs an RDF Literal starting with the character sequence in {@link stem}. + */ +export interface LiteralStem { + /** + * Mandatory type "LiteralStem". + */ + type: "LiteralStem"; + /** + * substring of Literal to be matched. + */ + stem: STRING; +} + +export type literalRangeStem = string | Wildcard; +export type literalRangeExclusion = string | LiteralStem; + +/** + * Filters a matching RDF Literals through a list of exclusions. + * The initial match is made on an Literal stem per {@link LiteralStem} or a {@link Wildcard} to accept any Literal. + * The {@link exclusion}s are either specific Literals or {@link LiteralStem}s. + */ +export interface LiteralStemRange { + /** + * Mandatory type "LiteralStemRange". + */ + type: "LiteralStemRange"; + /** + * substring of Literal to be matched or a {@link Wildcard} matching any Literal. + */ + stem: literalRangeStem; + /** + * Literals or {@link LiteralStem}s to exclude. + */ + exclusions: literalRangeExclusion[]; // + +} + +/** + * An RDF Language Tag. + */ +export interface Language { + /** + * Mandatory type "Language". + */ + type: "Language"; + /** + * The lexical representation of an RDF Language Tag. + */ + languageTag: LANGTAG; +} + +/** + * Matchs an RDF Language Tag starting with the character sequence in {@link stem}. + */ +export interface LanguageStem { + /** + * Mandatory type "LanguageStem". + */ + type: "LanguageStem"; + /** + * substring of Language Tag to be matched. + */ + stem: LANGTAG; +} + +export type languageRangeStem = string | Wildcard; +export type languageRangeExclusion = string | LanguageStem; + +/** + * Filters a matching RDF Language Tags through a list of exclusions. + * The initial match is made on an Language Tag stem per {@link Language TagStem} or a {@link Wildcard} to accept any Language Tag. + * The {@link exclusion}s are either specific Language Tags or {@link Language TagStem}s. + */ +export interface LanguageStemRange { + /** + * Mandatory type "LanguageStemRange". + */ + type: "LanguageStemRange"; + /** + * substring of Language-Tag to be matched or a {@link Wildcard} matching any Language Tag. + */ + stem: languageRangeStem; + /** + * Language Tags or {@link LanguageStem}s to exclude. + */ + exclusions: languageRangeExclusion[]; // + +} + +/** + * An empty object signifying than any item may be matched. + * This is used in {@link IriStemRange}, {@link LiteralStemRange} and {@link LanguageStemRange}. + */ +export interface Wildcard { + /** + * Mandatory type "Wildcard". + */ + type: "Wildcard"; +} + +/** + * A collection of {@link tripleExpr}s which must be matched by RDF Triples in conformance data. + */ +export interface Shape extends semactsAndAnnotations { + /** + * Mandatory type "Shape". + */ + type: "Shape"; + /** + * Only the predicates mentioned in the {@link expression} may appear in conformant data. + */ + closed?: BOOL | undefined; + /** + * Permit extra triples with these predicates to appear in triples which don't match any {@link TripleConstraint}s mentioned in the {@link expression}. + */ + extra?: IRIREF[] | undefined; + /** + * List of one or more {@link shapeExprOrRef}s that a neighborhood must satisfy in order to conform to this shape. + */ + extends?: shapeExprOrRef[]; + /** + * A tree of {@link tripleExpr}s specifying a set triples into or out of conformant RDF Nodes. + */ + expression?: tripleExprOrRef | undefined; +} + +/** + * Union of triple expression types. + * @see ShEx tripleExpr definition + */ +export type tripleExpr = EachOf | OneOf | TripleConstraint; + +/** + * A tripleExpr or a label to one. + * @see ShEx tripleExpr definition + */ +export type tripleExprOrRef = tripleExpr | tripleExprRef; + +/** + * Common attributes appearing in every form of {@link tripleExpr}. + */ +export interface tripleExprBase extends semactsAndAnnotations { + /** + * Optional identifier for {@link tripleExpr}s for reference by {@link tripleExprRef}. + * The identifier is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ + id?: tripleExprLabel | undefined; + /** + * Minimum number of times matching triples must appear in conformant data. + */ + min?: INTEGER | undefined; + /** + * Maximum number of times matching triples must appear in conformant data. + */ + max?: INTEGER | undefined; +} + +/** + * A list of of triple expressions; considered conformant if there is some conforming mapping of the examined triples to the {@link #tripleExprs}. + * @see ShEx EachOf definition + */ +export interface EachOf extends tripleExprBase { + /** + * Mandatory type "EachOf". + */ + type: "EachOf"; + expressions: tripleExprOrRef[]; // {2,} +} + +/** + * An exclusive choice of triple expressions; considered conformant if exactly one of {@link #shapeExprs} conforms. + * @see ShEx OneOf definition + */ +export interface OneOf extends tripleExprBase { + /** + * Mandatory type "OneOf". + */ + type: "OneOf"; + expressions: tripleExprOrRef[]; // {2,} +} + +/** + * A template matching a number of triples attached to the node being validated. + */ +export interface TripleConstraint extends tripleExprBase { + /** + * Mandatory type "TripleConstraint". + */ + type: "TripleConstraint"; + /** + * If false, the TripleConstraint matches the a triple composed of a focus node, the {@link predicate} and an object matching the (optional) {@link shapeExpr}. + * If true, the TripleConstraint matches the a triple composed of a subject matching the (optional) {@link shapeExpr}, the {@link predicate} and focus node. + */ + inverse?: BOOL | undefined; + /** + * The predicate expected in a matching RDF Triple. + */ + predicate: IRIREF; + /** + * A {@link shapeExpr} matching a conformant RDF Triples subject or object, depending on the value of {@link inverse}. + */ + valueExpr?: shapeExprOrRef | undefined; +} + +/** + * A reference a triple expression. + * The reference is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ +export type tripleExprRef = tripleExprLabel; + +/** + * An identifier for a triple expression. + * The identifier is an IRI or a BlankNode + * as expressed in JSON-LD 1.1. + */ +export type tripleExprLabel = IRIREF | BNODE; + +/** + * An extension point for Shape Expressions allowing external code to be invoked during validation. + */ +export interface SemAct { + /** + * Mandatory type "SemAct". + */ + type: "SemAct"; + /* + * Identifier of the language for this semantic action. + */ + name: IRIREF; + /* + * The actual code to be interpreted/executed. + * This may be kept separate from the ShEx containing the schema by including only {@link name}s in the schema. + */ + code?: STRING | undefined; +} + +/** + * An assertion about some part of a ShEx schema which has no affect on conformance checking. + * These can be useful for documentation, provenance tracking, form generation, etch. + */ +export interface Annotation { + /** + * Mandatory type "Annotation". + */ + type: "Annotation"; + /** + * The RDF Predicate of the annotation. + */ + predicate: IRI; + /** + * A value for the above {@link predicate}. + */ + object: objectValue; +} + +export type IRIREF = string; +export type BNODE = string; +export type INTEGER = number; +export type STRING = string; +export type DECIMAL = number; +export type DOUBLE = number; +export type LANGTAG = string; +export type BOOL = boolean; +export type IRI = string; diff --git a/packages/type-traverser/src/index.ts b/packages/type-traverser/src/index.ts index 7204010..b5e3f00 100644 --- a/packages/type-traverser/src/index.ts +++ b/packages/type-traverser/src/index.ts @@ -1,9 +1,18 @@ export * from "./traverser/TraverserTypes"; export * from "./UtilTypes"; + export * from "./traverser/TraverserDefinition"; export * from "./transformer/TransformerReturnTypes"; export * from "./transformer/TransformerReturnTypesDefaults"; export * from "./traverser/Traverser"; export * from "./transformer/Transformer"; + export * from "./visitor/Visitor"; export * from "./visitor/Visitors"; + +export * from "./instanceGraph/InstanceGraph"; +export * from "./instanceGraph/ReverseRelationshipTypes"; +export * from "./instanceGraph/nodes/InstanceNode"; +export * from "./instanceGraph/nodes/InterfaceInstanceNode"; +export * from "./instanceGraph/nodes/PrimitiveInstanceNode"; +export * from "./instanceGraph/nodes/UnionInstanceNode"; diff --git a/packages/type-traverser/src/instanceGraph/nodes/InstanceNode.ts b/packages/type-traverser/src/instanceGraph/nodes/InstanceNode.ts index 7656670..e884010 100644 --- a/packages/type-traverser/src/instanceGraph/nodes/InstanceNode.ts +++ b/packages/type-traverser/src/instanceGraph/nodes/InstanceNode.ts @@ -2,7 +2,7 @@ import type { TraverserDefinition } from "../.."; import type { ParentIdentifiers } from "../../instanceGraph/ReverseRelationshipTypes"; import type { TraverserTypes } from "../../traverser/TraverserTypes"; -import type { InstanceGraph } from "../instanceGraph"; +import type { InstanceGraph } from "../InstanceGraph"; import type { InstanceNodeFor } from "./createInstanceNodeFor"; export abstract class InstanceNode< diff --git a/packages/type-traverser/src/instanceGraph/nodes/InterfaceInstanceNode.ts b/packages/type-traverser/src/instanceGraph/nodes/InterfaceInstanceNode.ts index 4db0fc7..cf51b59 100644 --- a/packages/type-traverser/src/instanceGraph/nodes/InterfaceInstanceNode.ts +++ b/packages/type-traverser/src/instanceGraph/nodes/InterfaceInstanceNode.ts @@ -1,22 +1,24 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ +import type { ApplyArrayAndUndefined } from "../../transformer/TransformerReturnTypesDefaults"; import type { InterfaceType, TraverserTypes, } from "../../traverser/TraverserTypes"; -import type { InstanceGraph } from "../instanceGraph"; +import type { InstanceGraph } from "../InstanceGraph"; import type { InstanceNodeFor } from "./createInstanceNodeFor"; import { InstanceNode } from "./InstanceNode"; /** * Helper Function */ -type InterfacePropertyNode< +export type InterfacePropertyNode< Types extends TraverserTypes, Type extends InterfaceType, PropertyName extends keyof Type["properties"], -> = Type["type"][PropertyName] extends Array - ? InstanceNodeFor[] - : InstanceNodeFor; +> = ApplyArrayAndUndefined< + Type["type"][PropertyName], + InstanceNodeFor +>; /** * Class