{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apipass/json-schema/apipass-custom-enterprise-price-update-schema.json",
  "title": "CustomEnterprisePriceUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apipass-admin-enterprise-api-openapi.yml#/components/schemas/CustomEnterprisePriceUpdate",
  "properties": {
    "status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "active",
            "inactive"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "minimum_payment_usd": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 5000.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Minimum Payment Usd"
    },
    "last_qualified_payment_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Qualified Payment At"
    },
    "qualified_until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Qualified Until"
    },
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "model_type_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Type Id"
    },
    "credit_rule_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Credit Rule Id"
    },
    "credit_cost": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Credit Cost"
    },
    "cost_unit": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Cost Unit"
    }
  },
  "additionalProperties": false,
  "type": "object"
}