App Index Schema

The App Index is a JSON document format for describing application metadata across platforms and distribution channels. It provides a structured, machine-readable catalog of an application’s localized descriptions, permissions, icons, screenshots, distribution links, and source repository information.

Schema URI: https://appfair.org/schemas/appindex/v1.json

Specification version: 1.0

Overview

An App Index document is a single JSON file (conventionally named appindex.json) that contains all user-facing metadata for one or more applications. The format is platform-agnostic: the same schema supports mobile, desktop, and web applications across any operating system and distribution channel.

{
  "$schema": "https://appfair.org/schemas/appindex/v1.json",
  "specVersion": "1.0",
  "generated": "2026-05-01T18:00:00Z",
  "generator": "skip/1.8.11",
  "apps": [
    {
      "name": "MyApp",
      "title": { "en": "My App" },
      "description": { "en": "A great app." },
      "keywords": { "en": ["app", "great"] },
      "links": { ... },
      "source": { ... },
      "platforms": {
        "ios": { "version": "1.0.0", ... },
        "android": { "version": "1.0.0", ... }
      }
    }
  ]
}

Document Structure

Top-Level Fields

FieldTypeRequiredDescription
$schemastringyesMust be "https://appfair.org/schemas/appindex/v1.json"
specVersionstringyesMust be "1.0"
generatedstringnoISO 8601 timestamp of when the document was generated
generatorstringnoIdentifier of the tool that produced the document
appsarrayyesOne or more application entries

App Entry

Each element of the apps array describes a single application. Localized fields at the app level are shared defaults across all platforms.

FieldTypeRequiredDescription
namestringyesCanonical machine-readable name
titlelocalized stringnoDisplay name (shared across platforms)
subtitlelocalized stringnoShort promotional text
descriptionlocalized stringnoFull description
keywordslocalized string arraynoSearch keywords as arrays
releaseNoteslocalized stringnoWhat’s new in this version
platformsobjectyesPer-platform metadata (keys are platform identifiers)
linksobjectnoCross-platform URLs (privacy, support, etc.)
sourceobjectnoSource code repository information

Field Promotion and Resolution

When a localized field (title, subtitle, description, keywords, releaseNotes) is identical across all platforms, the generator promotes it to the app level to avoid duplication. When it differs between platforms, each platform carries its own version.

Resolution rule for consumers: When a promotable field exists at both the app level and a platform level, the platform-level value takes precedence for that platform. Consumers SHOULD resolve each locale by checking the platform first, then falling back to the app level.

When all locales of a localized string have the same value (e.g. a brand name that doesn’t change across languages), the value is collapsed to a single "en" key.

Platform Entry

Each key in platforms is a platform identifier (e.g. "ios", "android", "macos", "windows", "linux"). The platform identifier is the key in the parent object, not a field within the platform entry.

FieldTypeRequiredDescription
versionstringyesHuman-readable version string
buildNumberstringnoInternal build number
bundleIdentifierstringnoApple bundle identifier (Apple platforms)
applicationIdstringnoAndroid application ID (Android platforms)
titlelocalized stringnoPlatform-specific display name override
subtitlelocalized stringnoPlatform-specific promotional text override
descriptionlocalized stringnoPlatform-specific description override
keywordslocalized string arraynoPlatform-specific keywords override
releaseNoteslocalized stringnoPlatform-specific release notes override
permissionsarraynoPermission declarations
channelsobjectnoDistribution channel entries
assetsobjectnoImage assets (icon, screenshots, etc.)
metadataobjectnoPlatform-specific configuration (opaque)
sbomobjectnoSPDX 2.3 Software Bill of Materials

Localized Strings

All user-facing text is represented as a localized string: an object mapping BCP 47 locale codes to translated values. The "en" key represents the default English locale.

{ "en": "A fast web browser", "fr": "Un navigateur web rapide" }

When all locales have the same value, the dictionary is collapsed to a single "en" key.

Keywords use a localized string array format:

{ "keywords": { "en": ["web", "browser"], "fr": ["web", "navigateur"] } }

Cross-platform URLs. Each value is a localized URL map:

{ "links": { "privacy": { "en": "https://example.com/privacy" } } }

Source Repository

{
  "source": {
    "url": "https://github.com/Org/App.git",
    "release": "https://github.com/Org/App/releases/tag/1.0.0/",
    "assets": "https://raw.githubusercontent.com/Org/App/refs/tags/1.0.0/",
    "license": "GPL-2.0-only"
  }
}
FieldDescription
urlRepository clone URL (may be HTTPS or SSH; intentionally not URI-constrained)
releaseURL to the release page for the current version
assetsBase URL for resolving image location paths: assets + location = full URL
licenseSPDX license identifier

Distribution Channels

Each platform declares distribution channels in the channels object. Keys are channel identifiers. Well-known keys include appleappstore, googleplaystore, testflight, amazonappstore, homebrew, flatpak, and microsoftstore.

{ "channels": { "appleappstore": { "id": "1640618584", "url": "https://apps.apple.com/app/id1640618584" } } }

Assets

Image assets grouped in an assets object:

{
  "assets": {
    "icon": { "location": "icon-1024.png", "size": 442604, "digest": "sha256:bea1...", "width": 1024, "height": 1024 },
    "screenshots": { "en": [{ "location": "screenshots/1.png", ... }] },
    "featureGraphic": { "en": { "location": "images/featureGraphic.png", ... } }
  }
}

Image location paths combined with source.assets form resolvable URLs.

Permissions

Platform-specific declarations with a key and an optional localized description:

{ "permissions": [{ "key": "NSCameraUsageDescription", "description": { "en": "Camera access for video calls" } }] }

Platform Metadata

Opaque platform-specific configuration in the metadata object:

{ "metadata": { "entitlements": { ... }, "infoPlist": { ... }, "manifest": { ... } } }

Store Catalogs

An App Index can also be an app store’s catalog. App Fair reads App Index documents as its primary catalog format: each Android device gets the android builds and each iOS device gets the ios builds. A landing page needs to describe an app; a store also needs to know where the installable package is and how to check it. These optional fields supply that, and a landing-page document can leave all of them out.

Catalog

A top-level catalog object describes the catalog itself:

FieldTypeDescription
namelocalized stringThe catalog’s display name
descriptionlocalized stringWhat the catalog offers
homepagestring (URI)The catalog’s website
mirrorsstring arrayAlternate URLs serving this same document, tried in order when the primary fails
categoriesobjectLabels ({ "name": localized string }) for the category keys apps use
antiFeaturesobjectLabels (name, description) for the anti-feature keys apps declare
rankstring arrayApp names in editorial order, highest first

App Fields

FieldTypeDescription
categoriesstring arrayCategory keys, labeled by catalog.categories
antiFeaturesstring arrayKeys such as Ads or Tracking, with labels in catalog.antiFeatures
developerobjectname, url, email

Platform Fields

FieldTypeDescription
releasedstring (date-time)When this version was published
minimumSystemVersionstringThe oldest OS version the build runs on (iOS; Android uses minSdk)
distributionobjectThe installable packages, by kind (apk, adp)

An Android build’s distribution.apk:

{
  "distribution": {
    "apk": {
      "url": "Net-Skip-release.apk",
      "size": 9284057,
      "digest": "sha256:4bdf97be…",
      "signer": "sha256:43238d51…",
      "versionCode": 228,
      "minSdk": 29,
      "nativecode": ["arm64-v8a"]
    }
  }
}

url is absolute or relative to source.release. A store verifies the file’s digest and its signing certificate’s signer before handing it to the installer.

An iOS build distributed through an alternative app marketplace (the EU, Japan, and Brazil) has a distribution.adp, for its Apple alternative distribution package:

{
  "distribution": {
    "adp": {
      "appleItemId": "1640618584",
      "appleVersionId": "869899373",
      "url": "https://appfair.net/marketplace/packages/1640618584/",
      "size": 805788,
      "requiredDeviceCapabilities": ["arm64"],
      "shareUrl": "https://appfair.net/apps/net-skip"
    }
  }
}

appleItemId is the app’s “Apple ID” in App Store Connect, which MarketplaceKit installs by. appleVersionId names the packaged version and lets a marketplace offer automatic updates. url is the package’s base URL: the folder that holds manifest.json, signature, variant/ and delta/. iOS downloads a package only from the marketplace’s registered domain, so a marketplace uses its own copy for a URL on any other domain. An iOS entry without adp (an App Store-only app) is not offered by a marketplace.

Generation

skip meta index                          # stdout
skip meta index -O appindex.json         # file
skip export --appindex -d output/        # export with resource linking

Schema

https://appfair.org/schemas/appindex/v1.json