@twin.org/standards-foaf 0.0.3-next.16 → 0.0.3-next.18

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.
@@ -1 +1 @@
1
- {"version":3,"file":"foafContextType.js","sourceRoot":"","sources":["../../../src/models/foafContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { FoafContexts } from \"./foafContexts.js\";\n\n/**\n * The FOAF JSON-LD context type.\n */\nexport type FoafContextType =\n\t| typeof FoafContexts.Namespace\n\t| [typeof FoafContexts.Namespace]\n\t| [...IJsonLdContextDefinitionElement[], typeof FoafContexts.Namespace];\n"]}
1
+ {"version":3,"file":"foafContextType.js","sourceRoot":"","sources":["../../../src/models/foafContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { FoafContexts } from \"./foafContexts.js\";\n\n/**\n * The FOAF JSON-LD context type.\n */\nexport type FoafContextType =\n\t| typeof FoafContexts.Context\n\t| [typeof FoafContexts.Context]\n\t| [...IJsonLdContextDefinitionElement[], typeof FoafContexts.Context];\n"]}
@@ -6,9 +6,15 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const FoafContexts = {
8
8
  /**
9
- * The FOAF Namespace.
9
+ * The canonical RDF namespace URI.
10
10
  */
11
11
  Namespace: "https://xmlns.com/foaf/0.1/",
12
+ /**
13
+ * The value to use in @context.
14
+ * Note: Context matches Namespace (both include trailing slash) as per FOAF specification.
15
+ * The FOAF JSON-LD context URL format includes a trailing slash.
16
+ */
17
+ Context: "https://xmlns.com/foaf/0.1/",
12
18
  /**
13
19
  * The JSON-LD Context URL.
14
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"foafContexts.js","sourceRoot":"","sources":["../../../src/models/foafContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,6BAA6B;IAExC;;OAEG;IACH,aAAa,EAAE,8CAA8C;CACpD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning FOAF.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const FoafContexts = {\n\t/**\n\t * The FOAF Namespace.\n\t */\n\tNamespace: \"https://xmlns.com/foaf/0.1/\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://schema.twindev.org/foaf/types.jsonld\"\n} as const;\n\n/**\n * The LD Contexts concerning FOAF.\n */\nexport type FoafContexts = (typeof FoafContexts)[keyof typeof FoafContexts];\n"]}
1
+ {"version":3,"file":"foafContexts.js","sourceRoot":"","sources":["../../../src/models/foafContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,6BAA6B;IAExC;;;;OAIG;IACH,OAAO,EAAE,6BAA6B;IAEtC;;OAEG;IACH,aAAa,EAAE,8CAA8C;CACpD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning FOAF.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const FoafContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://xmlns.com/foaf/0.1/\",\n\n\t/**\n\t * The value to use in @context.\n\t * Note: Context matches Namespace (both include trailing slash) as per FOAF specification.\n\t * The FOAF JSON-LD context URL format includes a trailing slash.\n\t */\n\tContext: \"https://xmlns.com/foaf/0.1/\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://schema.twindev.org/foaf/types.jsonld\"\n} as const;\n\n/**\n * The LD Contexts concerning FOAF.\n */\nexport type FoafContexts = (typeof FoafContexts)[keyof typeof FoafContexts];\n"]}
@@ -3,4 +3,4 @@ import type { FoafContexts } from "./foafContexts.js";
3
3
  /**
4
4
  * The FOAF JSON-LD context type.
5
5
  */
6
- export type FoafContextType = typeof FoafContexts.Namespace | [typeof FoafContexts.Namespace] | [...IJsonLdContextDefinitionElement[], typeof FoafContexts.Namespace];
6
+ export type FoafContextType = typeof FoafContexts.Context | [typeof FoafContexts.Context] | [...IJsonLdContextDefinitionElement[], typeof FoafContexts.Context];
@@ -3,9 +3,15 @@
3
3
  */
4
4
  export declare const FoafContexts: {
5
5
  /**
6
- * The FOAF Namespace.
6
+ * The canonical RDF namespace URI.
7
7
  */
8
8
  readonly Namespace: "https://xmlns.com/foaf/0.1/";
9
+ /**
10
+ * The value to use in @context.
11
+ * Note: Context matches Namespace (both include trailing slash) as per FOAF specification.
12
+ * The FOAF JSON-LD context URL format includes a trailing slash.
13
+ */
14
+ readonly Context: "https://xmlns.com/foaf/0.1/";
9
15
  /**
10
16
  * The JSON-LD Context URL.
11
17
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.18](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.17...standards-foaf-v0.0.3-next.18) (2026-01-21)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-foaf:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.17](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.16...standards-foaf-v0.0.3-next.17) (2026-01-21)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
16
+
3
17
  ## [0.0.3-next.16](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.15...standards-foaf-v0.0.3-next.16) (2026-01-19)
4
18
 
5
19
 
@@ -1,5 +1,5 @@
1
1
  # Type Alias: FoafContextType
2
2
 
3
- > **FoafContextType** = *typeof* [`Namespace`](../variables/FoafContexts.md#namespace) \| \[*typeof* [`Namespace`](../variables/FoafContexts.md#namespace)\] \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`Namespace`](../variables/FoafContexts.md#namespace)\]
3
+ > **FoafContextType** = *typeof* [`Context`](../variables/FoafContexts.md#context) \| \[*typeof* [`Context`](../variables/FoafContexts.md#context)\] \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`Context`](../variables/FoafContexts.md#context)\]
4
4
 
5
5
  The FOAF JSON-LD context type.
@@ -10,7 +10,15 @@ The LD Contexts concerning FOAF.
10
10
 
11
11
  > `readonly` **Namespace**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
12
12
 
13
- The FOAF Namespace.
13
+ The canonical RDF namespace URI.
14
+
15
+ ### Context
16
+
17
+ > `readonly` **Context**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
18
+
19
+ The value to use in @context.
20
+ Note: Context matches Namespace (both include trailing slash) as per FOAF specification.
21
+ The FOAF JSON-LD context URL format includes a trailing slash.
14
22
 
15
23
  ### JsonLdContext
16
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-foaf",
3
- "version": "0.0.3-next.16",
3
+ "version": "0.0.3-next.18",
4
4
  "description": "Models which define the structure of FOAF",
5
5
  "repository": {
6
6
  "type": "git",