@friggframework/schemas 2.0.0--canary.684.bfb48ef.0 → 2.0.0--canary.682.3c8b68a.0

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": "@friggframework/schemas",
3
- "version": "2.0.0--canary.684.bfb48ef.0",
3
+ "version": "2.0.0--canary.682.3c8b68a.0",
4
4
  "description": "Canonical JSON Schema definitions for Frigg Framework",
5
5
  "main": "index.js",
6
6
  "author": "",
@@ -41,5 +41,5 @@
41
41
  "middleware/",
42
42
  "index.js"
43
43
  ],
44
- "gitHead": "bfb48ef7325e5052da0628e130ee6a77807d544e"
44
+ "gitHead": "3c8b68a5062138b3b869c284daceb427f055aed7"
45
45
  }
@@ -29,32 +29,10 @@
29
29
  "type": "boolean",
30
30
  "description": "Whether the authentication is currently valid"
31
31
  },
32
- "scope": {
33
- "type": "string",
34
- "enum": ["individual", "organization"],
35
- "description": "Whose the credential is (ADR-056 §3.4), from who owns the credential. `global` ones are not listed to tenants."
36
- },
37
- "owner": {
38
- "type": "object",
39
- "properties": {
40
- "type": { "type": "string", "enum": ["individual", "organization"] },
41
- "id": { "type": "string" }
42
- },
43
- "description": "The user that owns it: the person, or the organization's user"
44
- },
45
- "organizationId": {
46
- "type": ["string", "null"],
47
- "description": "The organization it belongs to. Null for an individual credential connected outside an organization, or under ownership.individualAcross 'all'."
48
- },
49
- "access": {
50
- "type": "string",
51
- "enum": ["manage", "use", "view"],
52
- "description": "What the caller may do: manage (reauthorize, delete) or use. A member only uses an organization's credential."
53
- },
54
32
  "entityCount": {
55
33
  "type": "integer",
56
34
  "minimum": 0,
57
- "description": "Number of entities using this credential that the caller may see"
35
+ "description": "Number of entities using this credential"
58
36
  },
59
37
  "createdAt": {
60
38
  "type": "string",
@@ -115,13 +115,6 @@
115
115
  "description": "DEPRECATED alias of strictMembership; its meaning changed.",
116
116
  "default": false
117
117
  },
118
- "orgAdminRoles": {
119
- "type": "array",
120
- "description": "Organization roles (the adopter token's role claim) that may manage organization-level things: connect or delete an organization-level account, re-authorize or delete its credential, create, change or delete an organization-owned integration (ADR-056 §3). A token with no role claim is MEMBER, never admin. A shared-secret (x-frigg header) caller needs no role. Compared case-insensitively.",
121
- "items": { "type": "string", "minLength": 1 },
122
- "minItems": 1,
123
- "default": ["ADMIN"]
124
- },
125
118
  "authModes": {
126
119
  "type": "object",
127
120
  "description": "Authentication mode configuration - enables multiple authentication strategies. x-frigg-appUserId and x-frigg-appOrgId headers are automatically supported for user identification with any auth mode.",