{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theagentc-io/json-schema/theagentc-io-app-listing-read-schema.json",
  "title": "AppListingRead",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theagentc-io-openapi.json#/components/schemas/AppListingRead",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspace Id"
    },
    "apple_app_id": {
      "type": "string",
      "title": "Apple App Id"
    },
    "bundle_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bundle Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "subtitle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subtitle"
    },
    "category": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Category"
    },
    "icon_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Icon Url"
    },
    "screenshot_urls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Screenshot Urls"
    },
    "uploaded_screenshots": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Uploaded Screenshots"
    },
    "brand_tokens": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand Tokens"
    },
    "review_summary": {
      "anyOf": [
        {
          "$ref": "#/$defs/ReviewSummary"
        },
        {
          "type": "null"
        }
      ]
    },
    "concepts_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Concepts Count"
    },
    "cover_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cover Url"
    },
    "unreleased": {
      "type": "boolean",
      "title": "Unreleased",
      "default": false
    },
    "supports_ipad": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Supports Ipad"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "workspace_id",
    "apple_app_id",
    "bundle_id",
    "name",
    "subtitle",
    "category",
    "icon_url",
    "screenshot_urls",
    "brand_tokens",
    "status",
    "error",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "ReviewSummary": {
      "properties": {
        "count": {
          "type": "integer",
          "title": "Count",
          "default": 0
        },
        "avg_rating": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avg Rating"
        },
        "mined_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mined At"
        }
      },
      "type": "object",
      "title": "ReviewSummary"
    }
  }
}