{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-list-push-credentials-response-schema.json",
  "title": "ListPushCredentialsResponse",
  "description": "Mobile mobile push credentials",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-push-credentials-api-openapi.yml#/components/schemas/ListPushCredentialsResponse",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/PushCredential"
      },
      "type": "array"
    },
    "meta": {
      "$ref": "#/$defs/PaginationMeta"
    }
  },
  "type": "object",
  "$defs": {
    "PaginationMeta": {
      "properties": {
        "page_number": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        },
        "total_pages": {
          "type": "integer"
        },
        "total_results": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "PushCredential": {
      "properties": {
        "alias": {
          "description": "Alias to uniquely identify a credential",
          "type": "string"
        },
        "certificate": {
          "description": "Apple certificate for sending push notifications. For iOS only",
          "type": "string"
        },
        "created_at": {
          "description": "ISO 8601 timestamp when the room was created",
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier of a push credential",
          "type": "string"
        },
        "private_key": {
          "description": "Apple private key for a given certificate for sending push notifications. For iOS only",
          "type": "string"
        },
        "project_account_json_file": {
          "additionalProperties": true,
          "description": "Google server key for sending push notifications. For Android only",
          "type": "object"
        },
        "record_type": {
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "description": "Type of mobile push credential. Either <code>ios</code> or <code>android</code>",
          "type": "string"
        },
        "updated_at": {
          "description": "ISO 8601 timestamp when the room was updated.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "certificate",
        "private_key",
        "project_account_json_file",
        "alias",
        "type",
        "record_type",
        "created_at",
        "updated_at"
      ],
      "title": "Successful response with details about a push credential",
      "type": "object"
    }
  }
}