{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudtruth/json-schema/cloudtruth-service-account-create-request-schema.json",
  "title": "ServiceAccountCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudtruth-service-accounts-api-openapi.yml#/components/schemas/ServiceAccountCreateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the process or system using the service account.",
      "maxLength": 128
    },
    "description": {
      "type": "string",
      "description": "An optional description of the process or system using the service account."
    },
    "role": {
      "type": "string",
      "writeOnly": true,
      "description": "The role for the service acount"
    },
    "owner": {
      "type": "string",
      "description": "The owner of the service account.",
      "maxLength": 128
    }
  },
  "required": [
    "name"
  ]
}