{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ServiceAccountCredentials",
  "description": "ServiceAccountCredentials schema from Palo Alto Networks SASE IAM Service API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/sase-iam-api-service-account-credentials-schema.json",
  "type": "object",
  "properties": {
    "key_id": {
      "type": "string",
      "description": "Unique identifier of the generated key."
    },
    "client_id": {
      "type": "string",
      "description": "OAuth 2.0 client ID for this credential set."
    },
    "client_secret": {
      "type": "string",
      "description": "OAuth 2.0 client secret. Returned only once at creation time. Store this value securely as it cannot be retrieved again.",
      "writeOnly": true
    },
    "description": {
      "type": "string",
      "description": "Description provided when the key was created."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "Expiration timestamp, or null if credentials do not expire."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}
