{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telesign/main/json-schema/telesign-rest-apikey-schema.json",
  "title": "RestAPIKey",
  "x-generated": "2026-10-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telesign-accounts-api-openapi.yml#/components/schemas/RestAPIKey",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "key_id": {
          "type": "string",
          "description": "A unique identifier for managing this REST API key. Cannot be used as a token to authenticate REST API requests."
        }
      }
    },
    {
      "$ref": "#/$defs/RestAPIKeyDetails"
    }
  ],
  "$defs": {
    "RestAPIKeyDetails": {
      "type": "object",
      "properties": {
        "last_updated": {
          "type": "string",
          "description": "When this REST API key was last updated."
        },
        "expiration_date": {
          "type": "string",
          "description": "The expiration date of this REST API key. A value of `never` indicates that this key never expires."
        }
      }
    }
  }
}