{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumethic-com/json-schema/lumethic-com-create-listing-request-api-schema.json",
  "title": "CreateListingRequestApi",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumethic-com-openapi.json#/components/schemas/CreateListingRequestApi",
  "properties": {
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "currency": {
      "$ref": "#/$defs/SupportedCurrency",
      "default": "usd"
    },
    "price_personal_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Personal Cents"
    },
    "price_commercial_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Commercial Cents"
    },
    "price_editorial_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Editorial Cents"
    },
    "price_extended_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Extended Cents"
    },
    "license_terms_personal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Personal"
    },
    "license_terms_commercial": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Commercial"
    },
    "license_terms_editorial": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Editorial"
    },
    "license_terms_extended": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Terms Extended"
    }
  },
  "type": "object",
  "required": [
    "title"
  ],
  "$defs": {
    "SupportedCurrency": {
      "type": "string",
      "enum": [
        "usd",
        "cad",
        "mxn",
        "eur",
        "gbp",
        "chf",
        "sek",
        "nok",
        "dkk",
        "pln",
        "czk",
        "huf",
        "ron",
        "bgn",
        "aud",
        "nzd",
        "jpy",
        "sgd",
        "hkd",
        "krw",
        "cny",
        "inr",
        "thb",
        "myr",
        "brl",
        "aed",
        "zar",
        "ils"
      ],
      "title": "SupportedCurrency",
      "description": "Supported currencies for marketplace listings and purchases.\n\nFocus on major currencies for EU, US, Australia, and Canada regions,\nplus other commonly used currencies in photography markets."
    }
  }
}