@eudiplo/cli 9.1.0-main.8be8b4e → 9.1.0-main.8e6a2ad

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": "@eudiplo/cli",
3
- "version": "9.1.0-main.8be8b4e",
3
+ "version": "9.1.0-main.8e6a2ad",
4
4
  "description": "Deployment-aware command line tools for EUDIPLO",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://eudiplo.dev/schemas/v3/CredentialConfigFile.schema.json",
2
+ "$schema": "https://eudiplo.dev/schemas/v4/CredentialConfigFile.schema.json",
3
3
  "metadata": {
4
4
  "generation": 1
5
5
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://eudiplo.dev/schemas/v3/CredentialConfigFile.schema.json",
2
+ "$schema": "https://eudiplo.dev/schemas/v4/CredentialConfigFile.schema.json",
3
3
  "metadata": {
4
4
  "generation": 1
5
5
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://eudiplo.dev/schemas/v3/CredentialConfigFile.schema.json",
2
+ "$schema": "https://eudiplo.dev/schemas/v4/CredentialConfigFile.schema.json",
3
3
  "metadata": {
4
4
  "generation": 1
5
5
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://eudiplo.dev/schemas/v3/CredentialConfigFile.schema.json",
2
+ "$schema": "https://eudiplo.dev/schemas/v4/CredentialConfigFile.schema.json",
3
3
  "metadata": {
4
4
  "generation": 1
5
5
  },
@@ -33,24 +33,26 @@
33
33
  "locale": {
34
34
  "type": "string",
35
35
  "minLength": 1,
36
- "description": "Locale tag for the display entry."
36
+ "description": "Language tag of this entry, for example en-US. Each locale may appear once."
37
37
  },
38
38
  "name": {
39
39
  "type": "string",
40
40
  "minLength": 1,
41
- "description": "Human-readable field name."
41
+ "description": "Credential name shown by wallets."
42
42
  },
43
43
  "description": {
44
- "description": "Optional field description for this locale.",
44
+ "description": "Optional description of the credential for this locale.",
45
45
  "type": "string"
46
46
  },
47
47
  "background_color": {
48
- "description": "Optional background color for card-style rendering.",
49
- "type": "string"
48
+ "description": "Optional background color for card-style rendering, as a CSS Color Level 3 numerical value: #rgb, #rrggbb, transparent, or lowercase rgb(), rgba(), hsl() or hsla() with comma-separated values. Without it, wallets use their own.",
49
+ "type": "string",
50
+ "pattern": "^(?:#(?:[0-9a-fA-F]{3}){1,2}|rgb\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *\\)|rgb\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|rgba\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|rgba\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|hsl\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|hsla\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|transparent)$"
50
51
  },
51
52
  "text_color": {
52
- "description": "Optional text color for card-style rendering.",
53
- "type": "string"
53
+ "description": "Optional text color for card-style rendering, as a CSS Color Level 3 numerical value: #rgb, #rrggbb, transparent, or lowercase rgb(), rgba(), hsl() or hsla() with comma-separated values. Without it, wallets use their own.",
54
+ "type": "string",
55
+ "pattern": "^(?:#(?:[0-9a-fA-F]{3}){1,2}|rgb\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *\\)|rgb\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|rgba\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|rgba\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|hsl\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|hsla\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|transparent)$"
54
56
  },
55
57
  "background_image": {
56
58
  "description": "Optional background image.",
@@ -89,7 +91,7 @@
89
91
  ],
90
92
  "additionalProperties": false
91
93
  },
92
- "description": "Display metadata shown by wallets."
94
+ "description": "Display metadata shown by wallets, one entry per locale."
93
95
  },
94
96
  "scope": {
95
97
  "description": "Optional OAuth scope associated with this credential type.",