-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8bfc0b
commit 217a6ab
Showing
2 changed files
with
127 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
127 changes: 127 additions & 0 deletions
127
jsonschema/equinix/access_manager/v1/RoleAssignmentEvent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"$id": "https://equinix.github.io/equinix-cloudevents/jsonschema/equinix/access_manager/v1/RoleAssignmentEvent.json", | ||
"name": "RoleAssignmentEvent", | ||
"examples": [], | ||
"package": "equinix.access_manager.v1", | ||
"datatype": "equinix.access_manager.v1.RoleAssignmentEvent", | ||
"domain": "Equinix Access Manager RoleAssignmentEvent", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"$ref": "#/definitions/Data", | ||
"definitions": { | ||
"Data": { | ||
"properties": { | ||
"resource": { | ||
"$ref": "#/definitions/Resource", | ||
"additionalProperties": true, | ||
"description": "Optional. The Backup event payload. Unset for deletion events." | ||
}, | ||
"message": { | ||
"type": "string", | ||
"description": "Supporting message describing the event" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "RoleAssignmentEvent Event Data", | ||
"description": "The data within all RoleAssignmentEvent events." | ||
}, | ||
"Resource": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "Uuid to the resource that has generated the event" | ||
}, | ||
"user": { | ||
"$ref": "#/definitions/user", | ||
"additionalProperties": true, | ||
"description": "Equinix user of the resource generating the event" | ||
}, | ||
"role": { | ||
"$ref": "#/definitions/role", | ||
"additionalProperties": true, | ||
"description": "Equinix role of the resource generating the event" | ||
}, | ||
"resource": { | ||
"$ref": "#/definitions/resource", | ||
"additionalProperties": true, | ||
"description": "Equinix resource of the resource generating the event" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "Resource", | ||
"description": "Schema of the resource that fired the event" | ||
} | ||
}, | ||
"user": { | ||
"properties": { | ||
"refId": { | ||
"type": "string", | ||
"description": "Equinix user id" | ||
}, | ||
"userName": { | ||
"type": "string", | ||
"description": "Equinix user name" | ||
}, | ||
"email": { | ||
"type": "string", | ||
"description": "Equinix user email" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "user", | ||
"description": "User attribute schema" | ||
}, | ||
"role": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "Equinix role uuid" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Equinix role name" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "role", | ||
"description": "Role attribute schema" | ||
}, | ||
"resource": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "Equinix resource uuid" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "Equinix resource type" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Equinix resource name" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"title": "resource", | ||
"description": "Resource attribute schema" | ||
}, | ||
"cloudeventTypes": { | ||
"released": [], | ||
"preview": [ | ||
"equinix.access_manager.user.role.added", | ||
"equinix.access_manager.user.role.removed" | ||
] | ||
}, | ||
"metricNames": { | ||
"released": [], | ||
"preview": [] | ||
}, | ||
"alertNames": { | ||
"released": [], | ||
"preview": [] | ||
} | ||
} |