{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cdata/main/json-schema/cdata-service-account-schema.json", "title": "ServiceAccount", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cdata-service-accounts-api-openapi.yml#/components/schemas/ServiceAccount", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Service account identifier." }, "name": { "type": "string", "description": "Unique display name within the organization." }, "description": { "type": [ "string", "null" ], "description": "Optional free-text description of the service account." }, "status": { "type": "string", "enum": [ "active", "deactivated" ], "description": "Current lifecycle state of the service account." }, "client_id": { "type": "string", "format": "uuid", "description": "Auto-generated. Used for OAuth 2.0 client credentials authentication." }, "external_id": { "type": [ "string", "null" ], "description": "Idempotency key supplied by the calling system." }, "created_at": { "type": "string", "format": "date-time", "description": "ISO 8601 UTC." }, "created_by": { "type": "string", "format": "uuid", "description": "User ID of the creator." } } }