{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiacre-com/json-schema/apiacre-com-product-price-input-schema.json",
  "title": "ProductPriceInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apiacre-com-commerce-api-openapi.yml#/components/schemas/ProductPriceInput",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2083,
      "minLength": 1,
      "format": "uri",
      "title": "Url"
    },
    "expected_currency": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Currency",
      "description": "Optional ISO 4217 currency expected by the buyer"
    },
    "maximum_price": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1000000000000.0,
          "minimum": 0.0
        },
        {
          "type": "string",
          "pattern": "^(?!^[-+.]*$)[+-]?0*(?:\\d{0,13}|(?=[\\d.]{1,20}0*$)\\d{0,13}\\.\\d{0,6}0*$)"
        },
        {
          "type": "null"
        }
      ],
      "title": "Maximum Price",
      "description": "Optional maximum price in expected_currency; comparison is null when the publisher reports another currency"
    }
  },
  "type": "object",
  "required": [
    "url"
  ]
}