{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-firebase/json-schema/google-firebase-google-firebase-appcheck-v1-exchange-app-attest-attestation-response-schema.json",
  "title": "GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse",
  "description": "Response message for the ExchangeAppAttestAttestation method.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-firebase-firebaseappcheck-oauth-clients-api-openapi.yml#/components/schemas/GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse",
  "type": "object",
  "properties": {
    "appCheckToken": {
      "$ref": "#/$defs/GoogleFirebaseAppcheckV1AppCheckToken",
      "description": "Encapsulates an App Check token."
    },
    "artifact": {
      "description": "An artifact that can be used in future calls to ExchangeAppAttestAssertion.",
      "format": "byte",
      "type": "string"
    }
  },
  "$defs": {
    "GoogleFirebaseAppcheckV1AppCheckToken": {
      "properties": {
        "ttl": {
          "description": "The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.",
          "type": "string",
          "format": "google-duration"
        },
        "token": {
          "type": "string",
          "description": "The App Check token. App Check tokens are signed [JWTs](https://www.rfc-editor.org/info/rfc7519/) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries."
        }
      },
      "type": "object",
      "description": "Encapsulates an *App Check token*, which are used to access backend services protected by App Check."
    }
  }
}