@twin.org/standards-foaf 0.0.3-next.50 → 0.0.3-next.52

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TWIN Standards FOAF
2
2
 
3
- Models which define the structure of [FOAF](http://xmlns.com/foaf/0.1/).
3
+ This package provides data models for the [FOAF vocabulary](https://xmlns.com/foaf/spec/), supporting interoperable descriptions of people, organisations, and social relationships.
4
4
 
5
5
  ## Installation
6
6
 
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.51...standards-foaf-v0.0.3-next.52) (2026-03-10)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-foaf:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.50...standards-foaf-v0.0.3-next.51) (2026-03-10)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-foaf:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-foaf-v0.0.3-next.49...standards-foaf-v0.0.3-next.50) (2026-03-09)
4
18
 
5
19
 
package/docs/examples.md CHANGED
@@ -1 +1,21 @@
1
- # @twin.org/standards-foaf Examples
1
+ # Standards FOAF Examples
2
+
3
+ These snippets demonstrate registering schema support and defining person records with common FOAF terms.
4
+
5
+ ## FoafDataTypes
6
+
7
+ ```typescript
8
+ import { FoafContexts, FoafDataTypes, FoafTypes, type IFoafPerson } from '@twin.org/standards-foaf';
9
+
10
+ FoafDataTypes.registerRedirects();
11
+ FoafDataTypes.registerTypes();
12
+
13
+ const person: IFoafPerson = {
14
+ '@context': FoafContexts.Context,
15
+ type: FoafTypes.Person,
16
+ name: 'Alex Example',
17
+ mbox: 'mailto:alex@example.org'
18
+ };
19
+
20
+ console.log(person.type); // Person
21
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twin.org/standards-foaf",
3
- "version": "0.0.3-next.50",
4
- "description": "Models which define the structure of FOAF",
3
+ "version": "0.0.3-next.52",
4
+ "description": "Data models for the FOAF vocabulary.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/twinfoundation/standards.git",