{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-firebase/json-schema/google-firebase-google-firebase-appdistro-v1-release-schema.json",
  "title": "GoogleFirebaseAppdistroV1Release",
  "description": "A release of a Firebase app.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-firebase-firebaseappdistribution-projects-api-openapi.yml#/components/schemas/GoogleFirebaseAppdistroV1Release",
  "type": "object",
  "properties": {
    "androidPackageRegistrationState": {
      "enum": [
        "ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED",
        "REGISTERED",
        "NOT_REGISTERED",
        "REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT"
      ],
      "readOnly": true,
      "type": "string",
      "description": "Output only. Registration state of the Android package (BinaryType.APK)."
    },
    "displayVersion": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Display version of the release. For an Android release, the display version is the `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`."
    },
    "releaseNotes": {
      "$ref": "#/$defs/GoogleFirebaseAppdistroV1ReleaseNotes",
      "description": "Notes about the release."
    },
    "binaryDownloadUri": {
      "description": "Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file.",
      "readOnly": true,
      "type": "string"
    },
    "updateTime": {
      "description": "Output only. The time the release was last updated.",
      "readOnly": true,
      "type": "string",
      "format": "google-datetime"
    },
    "name": {
      "type": "string",
      "description": "The name of the release resource. Format: `projects/{project_number}/apps/{app}/releases/{release}`"
    },
    "firebaseConsoleUri": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. A link to the Firebase console displaying a single release."
    },
    "testState": {
      "description": "Output only. The overall state of tests run on this release",
      "readOnly": true,
      "type": "string",
      "enum": [
        "TEST_STATE_UNSPECIFIED",
        "NO_TESTS_REQUESTED",
        "IN_PROGRESS",
        "PASSED",
        "FAILED",
        "INCONCLUSIVE"
      ]
    },
    "testingUri": {
      "readOnly": true,
      "description": "Output only. A link to the release in the tester web clip or Android app that lets testers (which were granted access to the app) view release notes and install the app onto their devices.",
      "type": "string"
    },
    "binaryType": {
      "description": "Output only. Type of binary.",
      "enum": [
        "BINARY_TYPE_UNSPECIFIED",
        "IPA",
        "APK",
        "AAB"
      ],
      "type": "string",
      "readOnly": true
    },
    "openInvitationCount": {
      "readOnly": true,
      "description": "Output only. Number of testers who were invited (incl. expired invitations), but did not (yet) accept the invitation.",
      "format": "int32",
      "type": "integer"
    },
    "expireTime": {
      "format": "google-datetime",
      "type": "string",
      "description": "Output only. The time the release will expire.",
      "readOnly": true
    },
    "buildVersion": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Build version of the release. For an Android release, the build version is the `versionCode`. For an iOS release, the build version is the `CFBundleVersion`."
    },
    "feedbackCount": {
      "type": "integer",
      "readOnly": true,
      "description": "Output only. Number of feedback reports left by testers.",
      "format": "int32"
    },
    "createTime": {
      "format": "google-datetime",
      "type": "string",
      "readOnly": true,
      "description": "Output only. The time the release was created."
    },
    "acceptedInvitationCount": {
      "format": "int32",
      "readOnly": true,
      "description": "Output only. Number of testers with accepted invitations.",
      "type": "integer"
    },
    "installationCount": {
      "format": "int32",
      "type": "integer",
      "readOnly": true,
      "description": "Output only. Number of testers who have downloaded this release."
    }
  },
  "$defs": {
    "GoogleFirebaseAppdistroV1ReleaseNotes": {
      "properties": {
        "text": {
          "description": "The text of the release notes.",
          "type": "string"
        }
      },
      "description": "Notes that belong to a release.",
      "type": "object"
    }
  }
}