{
  "$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-assertion-request-schema.json",
  "title": "GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest",
  "description": "Request message for the ExchangeAppAttestAssertion 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/GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest",
  "type": "object",
  "properties": {
    "assertion": {
      "type": "string",
      "description": "Required. The CBOR-encoded assertion returned by the client-side App Attest API.",
      "format": "byte"
    },
    "challenge": {
      "format": "byte",
      "type": "string",
      "description": "Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge."
    },
    "limitedUse": {
      "type": "boolean",
      "description": "Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection* feature, set this to `true`. The default value is `false`."
    },
    "artifact": {
      "type": "string",
      "format": "byte",
      "description": "Required. The artifact returned by a previous call to ExchangeAppAttestAttestation."
    }
  }
}