@metalabel/dfos-protocol 0.13.0 → 0.13.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metalabel/dfos-protocol",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "type": "module",
5
5
  "description": "DFOS Protocol — Ed25519 signed chain primitives, services, credentials, and verification",
6
6
  "license": "MIT",
@@ -17,41 +17,31 @@
17
17
  "type": "string",
18
18
  "description": "Short bio or description."
19
19
  },
20
- "avatar": {
21
- "$ref": "#/$defs/media",
22
- "description": "Avatar image."
23
- },
24
- "banner": {
25
- "$ref": "#/$defs/media",
26
- "description": "Banner image."
27
- },
28
- "background": {
29
- "$ref": "#/$defs/media",
30
- "description": "Background image."
31
- },
32
- "createdByDID": {
33
- "type": "string",
34
- "pattern": "^did:",
35
- "description": "DID of the identity that authored this content. Optional omit when the signer IS the author."
36
- }
37
- },
38
- "additionalProperties": false,
39
- "$defs": {
40
- "media": {
41
- "type": "object",
42
- "required": ["id"],
43
- "properties": {
44
- "id": {
45
- "type": "string",
46
- "description": "Opaque media object identifier."
20
+ "links": {
21
+ "type": "array",
22
+ "maxItems": 20,
23
+ "description": "External links — websites, social profiles, and other URIs.",
24
+ "items": {
25
+ "type": "object",
26
+ "required": ["uri"],
27
+ "properties": {
28
+ "uri": {
29
+ "type": "string",
30
+ "format": "uri",
31
+ "description": "Link target URI."
32
+ },
33
+ "label": {
34
+ "type": "string",
35
+ "description": "Optional short display label for the link."
36
+ },
37
+ "description": {
38
+ "type": "string",
39
+ "description": "Optional longer description of the link."
40
+ }
47
41
  },
48
- "uri": {
49
- "type": "string",
50
- "format": "uri",
51
- "description": "Optional URI for the media object."
52
- }
53
- },
54
- "additionalProperties": false
42
+ "additionalProperties": false
43
+ }
55
44
  }
56
- }
45
+ },
46
+ "additionalProperties": false
57
47
  }