changedOutput schema / properties / pendingInvitations / anyOf
Previous value: -[
- {
- "properties": {
- "items": {
- "items": {
- "description": "An invitation to join an organization",
- "properties": {
- "acceptedAt": {
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "createdAt": {
- "format": "date-time",
- "type": "string"
- },
- "email": {
- "format": "email",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "type": "string"
- },
- "id": {
- "format": "uuid",
- "type": "string"
- },
- "role": {
- "enum": [
- "owner",
- "manager",
- "viewer"
- ],
- "type": "string"
- },
- "state": {
- "enum": [
- "pending",
- "accepted",
- "rejected",
- "expired",
- "cancelled"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "email",
- "role",
- "state",
- "createdAt",
- "expiresAt"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "total": {
- "type": "integer"
- }
- },
- "required": [
- "items",
- "total"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "items": {
+ "items": {
+ "description": "An invitation to join an organization",
+ "properties": {
+ "acceptedAt": {
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "email": {
+ "format": "email",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "projectAccessMode": {
+ "description": "Which projects of the organization the invitee reaches on accepting: every project, or only projectIds",
+ "enum": [
+ "all",
+ "selected"
+ ],
+ "type": "string"
+ },
+ "projectIds": {
+ "description": "The projects a selected access reaches, limited to those still in the organization; empty when the mode is all. It may be empty on selected once its projects left the organization, which grants nothing",
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "enum": [
+ "owner",
+ "manager",
+ "viewer"
+ ],
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "pending",
+ "accepted",
+ "rejected",
+ "expired",
+ "cancelled"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "email",
+ "role",
+ "state",
+ "createdAt",
+ "expiresAt",
+ "projectAccessMode",
+ "projectIds"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "items",
+ "total"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]