@twin.org/standards-w3c-activity-streams 0.0.3-next.41 → 0.0.3-next.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/es/models/IActivityStreamsLink.js.map +1 -1
  2. package/dist/es/models/IActivityStreamsObject.js.map +1 -1
  3. package/dist/es/models/IActivityStreamsPlace.js.map +1 -1
  4. package/dist/es/schemas/ActivityStreamsActivity.json +5 -90
  5. package/dist/es/schemas/ActivityStreamsActor.json +4 -89
  6. package/dist/es/schemas/ActivityStreamsApplication.json +5 -90
  7. package/dist/es/schemas/ActivityStreamsArticle.json +5 -90
  8. package/dist/es/schemas/ActivityStreamsAudio.json +5 -90
  9. package/dist/es/schemas/ActivityStreamsCollection.json +5 -90
  10. package/dist/es/schemas/ActivityStreamsCollectionPage.json +5 -90
  11. package/dist/es/schemas/ActivityStreamsDocument.json +5 -90
  12. package/dist/es/schemas/ActivityStreamsEvent.json +5 -90
  13. package/dist/es/schemas/ActivityStreamsGroup.json +5 -90
  14. package/dist/es/schemas/ActivityStreamsImage.json +5 -90
  15. package/dist/es/schemas/ActivityStreamsIntransitiveActivity.json +5 -90
  16. package/dist/es/schemas/ActivityStreamsLink.json +1 -90
  17. package/dist/es/schemas/ActivityStreamsMention.json +1 -90
  18. package/dist/es/schemas/ActivityStreamsNote.json +5 -90
  19. package/dist/es/schemas/ActivityStreamsObject.json +5 -90
  20. package/dist/es/schemas/ActivityStreamsOrderedCollection.json +5 -90
  21. package/dist/es/schemas/ActivityStreamsOrderedCollectionPage.json +5 -90
  22. package/dist/es/schemas/ActivityStreamsOrganization.json +5 -90
  23. package/dist/es/schemas/ActivityStreamsPage.json +5 -90
  24. package/dist/es/schemas/ActivityStreamsPerson.json +5 -90
  25. package/dist/es/schemas/ActivityStreamsPlace.json +9 -90
  26. package/dist/es/schemas/ActivityStreamsProfile.json +5 -90
  27. package/dist/es/schemas/ActivityStreamsRelationship.json +5 -90
  28. package/dist/es/schemas/ActivityStreamsService.json +5 -90
  29. package/dist/es/schemas/ActivityStreamsTombstone.json +5 -90
  30. package/dist/es/schemas/ActivityStreamsVideo.json +5 -90
  31. package/dist/types/models/IActivityStreamsLink.d.ts +1 -1
  32. package/dist/types/models/IActivityStreamsObject.d.ts +6 -1
  33. package/dist/types/models/IActivityStreamsPlace.d.ts +8 -0
  34. package/docs/changelog.md +14 -0
  35. package/docs/reference/interfaces/IActivityStreamsActivity.md +16 -4
  36. package/docs/reference/interfaces/IActivityStreamsActor.md +16 -4
  37. package/docs/reference/interfaces/IActivityStreamsApplication.md +16 -4
  38. package/docs/reference/interfaces/IActivityStreamsArticle.md +16 -4
  39. package/docs/reference/interfaces/IActivityStreamsAudio.md +16 -4
  40. package/docs/reference/interfaces/IActivityStreamsCollection.md +16 -4
  41. package/docs/reference/interfaces/IActivityStreamsCollectionPage.md +16 -4
  42. package/docs/reference/interfaces/IActivityStreamsDocument.md +16 -4
  43. package/docs/reference/interfaces/IActivityStreamsEvent.md +16 -4
  44. package/docs/reference/interfaces/IActivityStreamsGroup.md +16 -4
  45. package/docs/reference/interfaces/IActivityStreamsImage.md +16 -4
  46. package/docs/reference/interfaces/IActivityStreamsIntransitiveActivity.md +16 -4
  47. package/docs/reference/interfaces/IActivityStreamsLink.md +0 -12
  48. package/docs/reference/interfaces/IActivityStreamsMention.md +0 -4
  49. package/docs/reference/interfaces/IActivityStreamsNote.md +16 -4
  50. package/docs/reference/interfaces/IActivityStreamsObject.md +12 -12
  51. package/docs/reference/interfaces/IActivityStreamsOrderedCollection.md +16 -4
  52. package/docs/reference/interfaces/IActivityStreamsOrderedCollectionPage.md +16 -4
  53. package/docs/reference/interfaces/IActivityStreamsOrganization.md +16 -4
  54. package/docs/reference/interfaces/IActivityStreamsPage.md +16 -4
  55. package/docs/reference/interfaces/IActivityStreamsPerson.md +16 -4
  56. package/docs/reference/interfaces/IActivityStreamsPlace.md +31 -4
  57. package/docs/reference/interfaces/IActivityStreamsProfile.md +16 -4
  58. package/docs/reference/interfaces/IActivityStreamsQuestion.md +16 -4
  59. package/docs/reference/interfaces/IActivityStreamsRelationship.md +16 -4
  60. package/docs/reference/interfaces/IActivityStreamsService.md +16 -4
  61. package/docs/reference/interfaces/IActivityStreamsTombstone.md +16 -4
  62. package/docs/reference/interfaces/IActivityStreamsVideo.md +16 -4
  63. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"IActivityStreamsLink.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsLink.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdLanguageMap, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContextType } from \"./activityStreamsContextType.js\";\nimport type { ActivityStreamsLinkTypes } from \"./activityStreamsLinkTypes.js\";\n\n/**\n * A W3C Activity Streams Link.\n *\n * A `Link` is used to reference a resource by URI (via `href`) and can include\n * optional presentation metadata such as `name`, `mediaType`, `height`, and `width`.\n * @see https://www.w3.org/TR/activitystreams-core/#link\n */\nexport interface IActivityStreamsLink extends IJsonLdNodeObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\": ActivityStreamsContextType;\n\n\t/**\n\t * Link type.\n\t */\n\ttype: ObjectOrArray<ActivityStreamsLinkTypes | string>;\n\n\t/**\n\t * The target URI of the Link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-href\n\t */\n\thref: string;\n\n\t/**\n\t * A natural language name for the link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name\n\t */\n\tname?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * A language hint for the target resource.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang\n\t */\n\threflang?: string;\n\n\t/**\n\t * MIME media type of the referenced resource.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype\n\t */\n\tmediaType?: string;\n\n\t/**\n\t * Link relation value(s).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-rel\n\t */\n\trel?: ObjectOrArray<string>;\n\n\t/**\n\t * Desired rendered height.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-height\n\t */\n\theight?: number;\n\n\t/**\n\t * Desired rendered width.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-width\n\t */\n\twidth?: number;\n\n\t/**\n\t * Preview of the link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-preview\n\t */\n\tpreview?: ObjectOrArray<string | IJsonLdNodeObject>;\n}\n"]}
1
+ {"version":3,"file":"IActivityStreamsLink.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsLink.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdLanguageMap, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContextType } from \"./activityStreamsContextType.js\";\nimport type { ActivityStreamsLinkTypes } from \"./activityStreamsLinkTypes.js\";\n\n/**\n * A W3C Activity Streams Link.\n *\n * A `Link` is used to reference a resource by URI (via `href`) and can include\n * optional presentation metadata such as `name`, `mediaType`, `height`, and `width`.\n * @see https://www.w3.org/TR/activitystreams-core/#link\n */\nexport interface IActivityStreamsLink {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\": ActivityStreamsContextType;\n\n\t/**\n\t * Link type.\n\t */\n\ttype: ObjectOrArray<ActivityStreamsLinkTypes | string>;\n\n\t/**\n\t * The target URI of the Link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-href\n\t */\n\thref: string;\n\n\t/**\n\t * A natural language name for the link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name\n\t */\n\tname?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * A language hint for the target resource.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang\n\t */\n\threflang?: string;\n\n\t/**\n\t * MIME media type of the referenced resource.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype\n\t */\n\tmediaType?: string;\n\n\t/**\n\t * Link relation value(s).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-rel\n\t */\n\trel?: ObjectOrArray<string>;\n\n\t/**\n\t * Desired rendered height.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-height\n\t */\n\theight?: number;\n\n\t/**\n\t * Desired rendered width.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-width\n\t */\n\twidth?: number;\n\n\t/**\n\t * Preview of the link.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-preview\n\t */\n\tpreview?: ObjectOrArray<string | IJsonLdNodeObject>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IActivityStreamsObject.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsObject.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdLanguageMap, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContextType } from \"./activityStreamsContextType.js\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\n\n/**\n * A W3C Activity Streams Object.\n *\n * This is the base type for most ActivityStreams entities. It supports natural language\n * values (e.g. `name`, `summary`, `content`) as either plain strings or language maps.\n * @see https://www.w3.org/TR/activitystreams-core/#object\n */\nexport interface IActivityStreamsObject extends IJsonLdNodeObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\": ActivityStreamsContextType;\n\n\t/**\n\t * Object type.\n\t *\n\t * The value can be a single type or an array of types.\n\t */\n\ttype?: ObjectOrArray<ActivityStreamsObjectTypes | string>;\n\n\t/**\n\t * Global identifier.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-id\n\t */\n\tid?: string;\n\n\t/**\n\t * Natural language name.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name\n\t */\n\tname?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language name map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tnameMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language summary.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary\n\t */\n\tsummary?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language summary map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tsummaryMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language content.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content\n\t */\n\tcontent?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language content map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tcontentMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * A link to the representation of the object.\n\t *\n\t * The value can be a URI or an embedded node object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-url\n\t */\n\turl?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * A graphical representation of the object.\n\t *\n\t * The value can be a URI or an embedded `Image`/`Link` object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image-term\n\t */\n\timage?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * An icon for the object.\n\t *\n\t * The value can be a URI or an embedded `Image`/`Link` object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-icon\n\t */\n\ticon?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Published date-time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published\n\t */\n\tpublished?: string;\n\n\t/**\n\t * Updated date-time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-updated\n\t */\n\tupdated?: string;\n\n\t/**\n\t * Start time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-starttime\n\t */\n\tstartTime?: string;\n\n\t/**\n\t * End time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-endtime\n\t */\n\tendTime?: string;\n\n\t/**\n\t * Duration.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-duration\n\t */\n\tduration?: string;\n\n\t/**\n\t * The generator of the object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-generator\n\t */\n\tgenerator?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Attachments.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attachment\n\t */\n\tattachment?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Objects attributed to.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto\n\t */\n\tattributedTo?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Audience.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audience\n\t */\n\taudience?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Context.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-context\n\t */\n\tcontext?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Location.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location\n\t */\n\tlocation?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Tag.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag\n\t */\n\ttag?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * In reply to.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto\n\t */\n\tinReplyTo?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Replies collection.\n\t *\n\t * Typically an embedded `Collection` of Objects that are replies to this object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies\n\t */\n\treplies?: IJsonLdNodeObject;\n\n\t/**\n\t * Preview.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-preview\n\t */\n\tpreview?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * To.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-to\n\t */\n\tto?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * BTo.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bto\n\t */\n\tbto?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * CC.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-cc\n\t */\n\tcc?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * BCC.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bcc\n\t */\n\tbcc?: ObjectOrArray<string | IJsonLdNodeObject>;\n}\n"]}
1
+ {"version":3,"file":"IActivityStreamsObject.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsObject.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdLanguageMap, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContextType } from \"./activityStreamsContextType.js\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\n\n/**\n * A W3C Activity Streams Object.\n *\n * This is the base type for most ActivityStreams entities. It supports natural language\n * values (e.g. `name`, `summary`, `content`) as either plain strings or language maps.\n * @see https://www.w3.org/TR/activitystreams-core/#object\n */\nexport interface IActivityStreamsObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\": ActivityStreamsContextType;\n\n\t/**\n\t * Object type.\n\t *\n\t * The value can be a single type or an array of types.\n\t */\n\ttype?: ObjectOrArray<ActivityStreamsObjectTypes | string>;\n\n\t/**\n\t * Global identifier.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-id\n\t */\n\tid?: string;\n\n\t/**\n\t * Natural language name.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name\n\t */\n\tname?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language name map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tnameMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language summary.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary\n\t */\n\tsummary?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language summary map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tsummaryMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language content.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content\n\t */\n\tcontent?: string | IJsonLdLanguageMap;\n\n\t/**\n\t * Natural language content map.\n\t * @see https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues\n\t */\n\tcontentMap?: IJsonLdLanguageMap;\n\n\t/**\n\t * A link to the representation of the object.\n\t *\n\t * The value can be a URI or an embedded node object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-url\n\t */\n\turl?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * A graphical representation of the object.\n\t *\n\t * The value can be a URI or an embedded `Image`/`Link` object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image-term\n\t */\n\timage?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * An icon for the object.\n\t *\n\t * The value can be a URI or an embedded `Image`/`Link` object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-icon\n\t */\n\ticon?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Published date-time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published\n\t */\n\tpublished?: string;\n\n\t/**\n\t * Updated date-time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-updated\n\t */\n\tupdated?: string;\n\n\t/**\n\t * Start time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-starttime\n\t */\n\tstartTime?: string;\n\n\t/**\n\t * End time.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-endtime\n\t */\n\tendTime?: string;\n\n\t/**\n\t * Duration.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-duration\n\t */\n\tduration?: string;\n\n\t/**\n\t * The generator of the object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-generator\n\t */\n\tgenerator?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Attachments.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attachment\n\t */\n\tattachment?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Objects attributed to.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto\n\t */\n\tattributedTo?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Audience.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audience\n\t */\n\taudience?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Context.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-context\n\t */\n\tcontext?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Location.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location\n\t */\n\tlocation?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Tag.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag\n\t */\n\ttag?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * In reply to.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto\n\t */\n\tinReplyTo?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * Replies collection.\n\t *\n\t * Typically an embedded `Collection` of Objects that are replies to this object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies\n\t */\n\treplies?: IJsonLdNodeObject;\n\n\t/**\n\t * Preview.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-preview\n\t */\n\tpreview?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * To.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-to\n\t */\n\tto?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * BTo.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bto\n\t */\n\tbto?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * CC.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-cc\n\t */\n\tcc?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * BCC.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bcc\n\t */\n\tbcc?: ObjectOrArray<string | IJsonLdNodeObject>;\n\n\t/**\n\t * MIME media type of the referenced resource.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype\n\t */\n\tmediaType?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IActivityStreamsPlace.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsPlace.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Place.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place\n */\nexport interface IActivityStreamsPlace extends IActivityStreamsObject {\n\t/**\n\t * Place type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Place | string>;\n\n\t/**\n\t * The latitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-latitude\n\t */\n\tlatitude?: number;\n\n\t/**\n\t * The longitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-longitude\n\t */\n\tlongitude?: number;\n\n\t/**\n\t * The altitude of the Place.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-altitude\n\t */\n\taltitude?: number;\n\n\t/**\n\t * The radius from the given `latitude` and `longitude`.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-radius\n\t */\n\tradius?: number;\n\n\t/**\n\t * Measurement units for the `radius` and `altitude` properties.\n\t *\n\t * If not specified, the default is assumed to be \"m\" (meters). The Activity Streams\n\t * vocabulary allows values such as \"cm\", \"feet\", \"inches\", \"km\", \"m\", \"miles\", or any\n\t * other unit expressed as a URI.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-units\n\t */\n\tunits?: string;\n}\n"]}
1
+ {"version":3,"file":"IActivityStreamsPlace.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsPlace.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Place.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place\n */\nexport interface IActivityStreamsPlace extends IActivityStreamsObject {\n\t/**\n\t * Place type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Place | string>;\n\n\t/**\n\t * The latitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-latitude\n\t */\n\tlatitude?: number;\n\n\t/**\n\t * The longitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-longitude\n\t */\n\tlongitude?: number;\n\n\t/**\n\t * The altitude of the Place.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-altitude\n\t */\n\taltitude?: number;\n\n\t/**\n\t * The accuracy of the Place.\n\t *\n\t * Indicates the accuracy of position coordinates on a Place objects.\n\t * Expressed in properties of percentage. e.g. \"94.0\" means \"94.0% accurate\".\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-accuracy\n\t */\n\taccuracy?: number;\n\n\t/**\n\t * The radius from the given `latitude` and `longitude`.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-radius\n\t */\n\tradius?: number;\n\n\t/**\n\t * Measurement units for the `radius` and `altitude` properties.\n\t *\n\t * If not specified, the default is assumed to be \"m\" (meters). The Activity Streams\n\t * vocabulary allows values such as \"cm\", \"feet\", \"inches\", \"km\", \"m\", \"miles\", or any\n\t * other unit expressed as a URI.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-units\n\t */\n\tunits?: string;\n}\n"]}
@@ -48,70 +48,6 @@
48
48
  }
49
49
  ]
50
50
  },
51
- "@id": {
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "array",
58
- "items": {
59
- "type": "string"
60
- }
61
- }
62
- ]
63
- },
64
- "@included": {
65
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
66
- },
67
- "@graph": {
68
- "anyOf": [
69
- {
70
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
71
- },
72
- {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
76
- }
77
- }
78
- ]
79
- },
80
- "@nest": {
81
- "anyOf": [
82
- {
83
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
84
- },
85
- {
86
- "type": "array",
87
- "items": {
88
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
89
- }
90
- }
91
- ]
92
- },
93
- "@type": {
94
- "anyOf": [
95
- {
96
- "type": "string"
97
- },
98
- {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- ]
105
- },
106
- "@reverse": {
107
- "type": "object",
108
- "additionalProperties": {
109
- "type": "string"
110
- }
111
- },
112
- "@index": {
113
- "type": "string"
114
- },
115
51
  "type": {
116
52
  "description": "Object or array data type",
117
53
  "anyOf": [
@@ -593,6 +529,10 @@
593
529
  }
594
530
  ]
595
531
  },
532
+ "mediaType": {
533
+ "type": "string",
534
+ "description": "MIME media type of the referenced resource."
535
+ },
596
536
  "actor": {
597
537
  "description": "Object or array data type",
598
538
  "anyOf": [
@@ -741,30 +681,5 @@
741
681
  "required": [
742
682
  "@context",
743
683
  "type"
744
- ],
745
- "additionalProperties": {
746
- "anyOf": [
747
- {
748
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
749
- },
750
- {
751
- "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
752
- },
753
- {
754
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
755
- },
756
- {
757
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
758
- },
759
- {
760
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
761
- },
762
- {
763
- "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
764
- },
765
- {
766
- "type": "array"
767
- }
768
- ]
769
- }
684
+ ]
770
685
  }
@@ -48,70 +48,6 @@
48
48
  }
49
49
  ]
50
50
  },
51
- "@id": {
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "array",
58
- "items": {
59
- "type": "string"
60
- }
61
- }
62
- ]
63
- },
64
- "@included": {
65
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
66
- },
67
- "@graph": {
68
- "anyOf": [
69
- {
70
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
71
- },
72
- {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
76
- }
77
- }
78
- ]
79
- },
80
- "@nest": {
81
- "anyOf": [
82
- {
83
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
84
- },
85
- {
86
- "type": "array",
87
- "items": {
88
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
89
- }
90
- }
91
- ]
92
- },
93
- "@type": {
94
- "anyOf": [
95
- {
96
- "type": "string"
97
- },
98
- {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- ]
105
- },
106
- "@reverse": {
107
- "type": "object",
108
- "additionalProperties": {
109
- "type": "string"
110
- }
111
- },
112
- "@index": {
113
- "type": "string"
114
- },
115
51
  "type": {
116
52
  "$ref": "https://schema.twindev.org/w3c-activity-streams/ObjectOrArray%3C(%22Actor%22%7C%22Application%22%7C%22Group%22%7C%22Organization%22%7C%22Person%22%7C%22Service%22%7Cstring)%3E",
117
53
  "description": "Actor type."
@@ -572,33 +508,12 @@
572
508
  }
573
509
  }
574
510
  ]
511
+ },
512
+ "mediaType": {
513
+ "type": "string",
514
+ "description": "MIME media type of the referenced resource."
575
515
  }
576
516
  },
577
- "additionalProperties": {
578
- "anyOf": [
579
- {
580
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
581
- },
582
- {
583
- "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
584
- },
585
- {
586
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
587
- },
588
- {
589
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
590
- },
591
- {
592
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
593
- },
594
- {
595
- "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
596
- },
597
- {
598
- "type": "array"
599
- }
600
- ]
601
- },
602
517
  "required": [
603
518
  "@context"
604
519
  ]
@@ -48,70 +48,6 @@
48
48
  }
49
49
  ]
50
50
  },
51
- "@id": {
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "array",
58
- "items": {
59
- "type": "string"
60
- }
61
- }
62
- ]
63
- },
64
- "@included": {
65
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
66
- },
67
- "@graph": {
68
- "anyOf": [
69
- {
70
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
71
- },
72
- {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
76
- }
77
- }
78
- ]
79
- },
80
- "@nest": {
81
- "anyOf": [
82
- {
83
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
84
- },
85
- {
86
- "type": "array",
87
- "items": {
88
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
89
- }
90
- }
91
- ]
92
- },
93
- "@type": {
94
- "anyOf": [
95
- {
96
- "type": "string"
97
- },
98
- {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- ]
105
- },
106
- "@reverse": {
107
- "type": "object",
108
- "additionalProperties": {
109
- "type": "string"
110
- }
111
- },
112
- "@index": {
113
- "type": "string"
114
- },
115
51
  "type": {
116
52
  "$ref": "https://schema.twindev.org/w3c-activity-streams/ObjectOrArray%3C(%22Application%22%7Cstring)%3E",
117
53
  "description": "Application type."
@@ -572,35 +508,14 @@
572
508
  }
573
509
  }
574
510
  ]
511
+ },
512
+ "mediaType": {
513
+ "type": "string",
514
+ "description": "MIME media type of the referenced resource."
575
515
  }
576
516
  },
577
517
  "required": [
578
518
  "@context",
579
519
  "type"
580
- ],
581
- "additionalProperties": {
582
- "anyOf": [
583
- {
584
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
585
- },
586
- {
587
- "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
588
- },
589
- {
590
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
591
- },
592
- {
593
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
594
- },
595
- {
596
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
597
- },
598
- {
599
- "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
600
- },
601
- {
602
- "type": "array"
603
- }
604
- ]
605
- }
520
+ ]
606
521
  }
@@ -48,70 +48,6 @@
48
48
  }
49
49
  ]
50
50
  },
51
- "@id": {
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "array",
58
- "items": {
59
- "type": "string"
60
- }
61
- }
62
- ]
63
- },
64
- "@included": {
65
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
66
- },
67
- "@graph": {
68
- "anyOf": [
69
- {
70
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
71
- },
72
- {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
76
- }
77
- }
78
- ]
79
- },
80
- "@nest": {
81
- "anyOf": [
82
- {
83
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
84
- },
85
- {
86
- "type": "array",
87
- "items": {
88
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
89
- }
90
- }
91
- ]
92
- },
93
- "@type": {
94
- "anyOf": [
95
- {
96
- "type": "string"
97
- },
98
- {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- ]
105
- },
106
- "@reverse": {
107
- "type": "object",
108
- "additionalProperties": {
109
- "type": "string"
110
- }
111
- },
112
- "@index": {
113
- "type": "string"
114
- },
115
51
  "type": {
116
52
  "$ref": "https://schema.twindev.org/w3c-activity-streams/ObjectOrArray%3C(%22Article%22%7Cstring)%3E",
117
53
  "description": "Article type."
@@ -572,35 +508,14 @@
572
508
  }
573
509
  }
574
510
  ]
511
+ },
512
+ "mediaType": {
513
+ "type": "string",
514
+ "description": "MIME media type of the referenced resource."
575
515
  }
576
516
  },
577
517
  "required": [
578
518
  "@context",
579
519
  "type"
580
- ],
581
- "additionalProperties": {
582
- "anyOf": [
583
- {
584
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
585
- },
586
- {
587
- "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
588
- },
589
- {
590
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
591
- },
592
- {
593
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
594
- },
595
- {
596
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
597
- },
598
- {
599
- "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
600
- },
601
- {
602
- "type": "array"
603
- }
604
- ]
605
- }
520
+ ]
606
521
  }
@@ -48,70 +48,6 @@
48
48
  }
49
49
  ]
50
50
  },
51
- "@id": {
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "array",
58
- "items": {
59
- "type": "string"
60
- }
61
- }
62
- ]
63
- },
64
- "@included": {
65
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
66
- },
67
- "@graph": {
68
- "anyOf": [
69
- {
70
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
71
- },
72
- {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
76
- }
77
- }
78
- ]
79
- },
80
- "@nest": {
81
- "anyOf": [
82
- {
83
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
84
- },
85
- {
86
- "type": "array",
87
- "items": {
88
- "$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
89
- }
90
- }
91
- ]
92
- },
93
- "@type": {
94
- "anyOf": [
95
- {
96
- "type": "string"
97
- },
98
- {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- ]
105
- },
106
- "@reverse": {
107
- "type": "object",
108
- "additionalProperties": {
109
- "type": "string"
110
- }
111
- },
112
- "@index": {
113
- "type": "string"
114
- },
115
51
  "type": {
116
52
  "$ref": "https://schema.twindev.org/w3c-activity-streams/ObjectOrArray%3C(%22Audio%22%7Cstring)%3E",
117
53
  "description": "Audio type."
@@ -572,35 +508,14 @@
572
508
  }
573
509
  }
574
510
  ]
511
+ },
512
+ "mediaType": {
513
+ "type": "string",
514
+ "description": "MIME media type of the referenced resource."
575
515
  }
576
516
  },
577
517
  "required": [
578
518
  "@context",
579
519
  "type"
580
- ],
581
- "additionalProperties": {
582
- "anyOf": [
583
- {
584
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
585
- },
586
- {
587
- "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
588
- },
589
- {
590
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
591
- },
592
- {
593
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
594
- },
595
- {
596
- "$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
597
- },
598
- {
599
- "$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
600
- },
601
- {
602
- "type": "array"
603
- }
604
- ]
605
- }
520
+ ]
606
521
  }