{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/photoaistudio-com/json-schema/photoaistudio-com-product-feed-schema.json",
  "title": "ProductFeed",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/photoaistudio-com-openapi.yml#/components/schemas/ProductFeed",
  "type": "object",
  "properties": {
    "merchant": {
      "type": "object",
      "additionalProperties": true
    },
    "products": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Product"
      }
    }
  },
  "$defs": {
    "Product": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "unit_amount": {
          "type": "integer",
          "description": "Price in the smallest currency unit."
        },
        "currency": {
          "type": "string"
        },
        "credits": {
          "type": "integer"
        },
        "photos_equivalent": {
          "type": "integer"
        },
        "availability_status": {
          "type": "string"
        }
      }
    }
  }
}