{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetfare/json-schema/assetfare-ios-app-schema.json",
  "title": "IosApp",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetfare-app-store-api-openapi.yml#/components/schemas/IosApp",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "App ID"
    },
    "bundle": {
      "type": "string",
      "title": "Bundle",
      "description": "App bundle"
    },
    "country": {
      "type": "string",
      "title": "Country",
      "description": "Requested country"
    },
    "lang": {
      "type": "string",
      "title": "Lang",
      "description": "Requested language"
    },
    "published": {
      "type": "boolean",
      "title": "Published",
      "description": "Published"
    },
    "available": {
      "type": "boolean",
      "title": "Available",
      "description": "Availability in the specified country"
    },
    "available_in": {
      "items": {},
      "type": "array",
      "title": "Available In",
      "description": "Available in countries"
    },
    "available_not": {
      "items": {},
      "type": "array",
      "title": "Available Not",
      "description": "Not available in countries"
    },
    "category": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Category",
      "description": "App category."
    },
    "type": {
      "type": "string",
      "title": "Type",
      "description": "App type - APP | GAME"
    },
    "emails": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Emails",
      "description": "App's developer email"
    },
    "website": {
      "type": "string",
      "title": "Website",
      "description": "App's website"
    },
    "url": {
      "type": "string",
      "title": "Url",
      "description": "Link to App Store"
    },
    "privacy_policy": {
      "type": "string",
      "title": "Privacy Policy",
      "description": "..."
    },
    "version": {
      "type": "string",
      "title": "Version",
      "description": "App version."
    },
    "released": {
      "type": "string",
      "title": "Released",
      "description": "Date of release - YYYY-MM-DD"
    },
    "updated": {
      "type": "string",
      "title": "Updated",
      "description": "Date of update - YYYY-MM-DD"
    },
    "size": {
      "type": "integer",
      "title": "Size",
      "description": "App's size in bytes."
    },
    "iap": {
      "type": "boolean",
      "title": "Iap",
      "description": "Inapp advertisement"
    },
    "developer_id": {
      "type": "string",
      "title": "Developer Id",
      "description": "App's developer ID"
    },
    "developer_name": {
      "type": "string",
      "title": "Developer Name",
      "description": "Developer name"
    },
    "rating_count": {
      "type": "integer",
      "title": "Rating Count",
      "description": "Number of ratings"
    },
    "rating_value": {
      "type": "number",
      "title": "Rating Value",
      "description": "Rating value in requested country"
    },
    "rating_avg": {
      "type": "number",
      "title": "Rating Avg",
      "description": "Weighted average Rating value"
    },
    "revenue": {
      "type": "integer",
      "title": "Revenue"
    },
    "downloads": {
      "type": "integer",
      "title": "Downloads"
    },
    "devices": {
      "items": {},
      "type": "array",
      "title": "Devices",
      "description": "App's devices list"
    },
    "arcade": {
      "type": "boolean",
      "title": "Arcade"
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "App's name on requested language"
    },
    "short": {
      "type": "string",
      "title": "Short",
      "description": "App's short description on requested language"
    },
    "whatsnew": {
      "type": "string",
      "title": "Whatsnew",
      "description": "App's new version changes on requested language"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "App's full description on requested language"
    },
    "icon": {
      "type": "string",
      "title": "Icon",
      "description": "App's image"
    },
    "trailer": {
      "type": "string",
      "title": "Trailer",
      "description": "App's trailer"
    },
    "languages": {
      "items": {},
      "type": "array",
      "title": "Languages",
      "description": "App's languages list"
    },
    "crawled": {
      "type": "string",
      "title": "Crawled",
      "description": "Last crawled date"
    },
    "removed": {
      "type": "string",
      "title": "Removed",
      "description": "Date of remove app",
      "default": ""
    },
    "age": {
      "type": "integer",
      "title": "Age",
      "description": "How long does the application exist in days"
    },
    "screenshots": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Screenshots",
      "description": "Screenshots in the specified language"
    },
    "top_countries_revenue": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Top Countries Revenue",
      "description": "Top 5 revenue country"
    },
    "top_countries_downloads": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Top Countries Downloads",
      "description": "Top 5 downloads country"
    },
    "countries_list": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Countries List",
      "description": "countries"
    },
    "url_appstorespy": {
      "type": "string",
      "title": "Url Appstorespy",
      "description": "Url to AppstoreSpy"
    },
    "ads": {
      "allOf": [
        {
          "$ref": "#/$defs/Creatives"
        }
      ],
      "title": "Ads",
      "description": "App`s ads"
    },
    "advertised": {
      "type": "boolean",
      "title": "Advertised",
      "description": "App is advertised in networks"
    },
    "transferred": {
      "type": "string",
      "title": "Transferred",
      "description": "The last transfer date as detected by AppstoreSpy"
    },
    "previous_developer_id": {
      "type": "string",
      "title": "Previous Developer Id",
      "description": "Previous developer ID before transfer"
    },
    "previous_developer_name": {
      "type": "string",
      "title": "Previous Developer Name",
      "description": "Previous developer name before transfer"
    },
    "copyright": {
      "type": "string",
      "title": "Copyright",
      "description": "Copyright"
    },
    "seller": {
      "type": "string",
      "title": "Seller",
      "description": "Seller"
    }
  },
  "type": "object",
  "$defs": {
    "AppCreativeVideo": {
      "properties": {
        "preview": {
          "type": "string",
          "title": "Preview"
        },
        "video": {
          "type": "string",
          "title": "Video"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "type": "object",
      "title": "AppCreativeVideo"
    },
    "Creatives": {
      "properties": {
        "video": {
          "$ref": "#/$defs/AppCreativeVideo"
        },
        "image": {
          "$ref": "#/$defs/Image"
        },
        "fb": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Fb"
        },
        "network": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ],
          "title": "Network"
        }
      },
      "type": "object",
      "required": [
        "video",
        "image",
        "fb",
        "network"
      ],
      "title": "Creatives"
    },
    "Image": {
      "properties": {
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "type": "object",
      "title": "Image"
    }
  }
}