{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://api-evangelist.github.io/lightdash/json-schema/lightdash-serviceaccount.json", "title": "ServiceAccount", "description": "Lightdash ServiceAccount schema", "properties": { "roleUuid": { "type": "string", "nullable": true }, "userUuid": { "type": "string" }, "scopes": { "items": { "$ref": "#/components/schemas/ServiceAccountScope" }, "type": "array" }, "rotatedAt": { "type": "string", "format": "date-time", "nullable": true }, "lastUsedAt": { "type": "string", "format": "date-time", "nullable": true }, "description": { "type": "string" }, "expiresAt": { "type": "string", "format": "date-time", "nullable": true }, "createdAt": { "type": "string", "format": "date-time" }, "organizationUuid": { "type": "string" }, "createdBy": { "properties": { "lastName": { "type": "string" }, "firstName": { "type": "string" }, "userUuid": { "type": "string" } }, "required": [ "lastName", "firstName", "userUuid" ], "type": "object", "nullable": true }, "createdByUserUuid": { "type": "string", "nullable": true }, "uuid": { "type": "string" } }, "required": [ "roleUuid", "userUuid", "scopes", "rotatedAt", "lastUsedAt", "description", "expiresAt", "createdAt", "organizationUuid", "createdBy", "createdByUserUuid", "uuid" ], "type": "object" }