{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumethic-com/json-schema/lumethic-com-listing-response-schema.json",
  "title": "ListingResponse",
  "description": "Response model for marketplace listings.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumethic-com-openapi.json#/components/schemas/ListingResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id",
      "description": "Unique identifier for the listing"
    },
    "verification_id": {
      "type": "string",
      "format": "uuid",
      "title": "Verification Id",
      "description": "ID of the verified photo this listing represents"
    },
    "title": {
      "type": "string",
      "title": "Title",
      "description": "Display title for the listing"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Optional description of the photo and its context"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active",
      "description": "Whether the listing is currently available for purchase"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "description": "ISO 4217 currency code (e.g., 'usd', 'eur', 'chf')"
    },
    "price_personal_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Personal Cents",
      "description": "Price in cents for personal use license"
    },
    "price_commercial_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Commercial Cents",
      "description": "Price in cents for commercial use license"
    },
    "price_editorial_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Editorial Cents",
      "description": "Price in cents for editorial use license"
    },
    "price_extended_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Extended Cents",
      "description": "Price in cents for extended/unlimited use license"
    },
    "license_terms_personal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Personal",
      "description": "Terms and restrictions for personal use"
    },
    "license_terms_commercial": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Commercial",
      "description": "Terms and restrictions for commercial use"
    },
    "license_terms_editorial": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Editorial",
      "description": "Terms and restrictions for editorial use"
    },
    "license_terms_extended": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Extended",
      "description": "Terms and restrictions for extended use"
    },
    "total_sales": {
      "type": "integer",
      "title": "Total Sales",
      "description": "Total number of licenses sold for this listing"
    },
    "total_revenue_cents": {
      "type": "integer",
      "title": "Total Revenue Cents",
      "description": "Total revenue generated in cents"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "description": "ISO 8601 timestamp when the listing was created"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At",
      "description": "ISO 8601 timestamp when the listing was last modified"
    }
  },
  "type": "object",
  "required": [
    "id",
    "verification_id",
    "title",
    "description",
    "is_active",
    "currency",
    "price_personal_cents",
    "price_commercial_cents",
    "price_editorial_cents",
    "price_extended_cents",
    "license_terms_personal",
    "license_terms_commercial",
    "license_terms_editorial",
    "license_terms_extended",
    "total_sales",
    "total_revenue_cents",
    "created_at",
    "updated_at"
  ]
}