{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apipass/json-schema/apipass-custom-enterprise-price-create-schema.json",
  "title": "CustomEnterprisePriceCreate",
  "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/CustomEnterprisePriceCreate",
  "properties": {
    "user_id": {
      "type": "string",
      "format": "uuid",
      "title": "User Id"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive"
      ],
      "title": "Status",
      "default": "active"
    },
    "minimum_payment_usd": {
      "type": "number",
      "minimum": 5000.0,
      "title": "Minimum Payment Usd",
      "default": 5000.0
    },
    "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": {
      "type": "string",
      "format": "uuid",
      "title": "Model Type Id"
    },
    "credit_rule_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Credit Rule Id"
    },
    "credit_cost": {
      "type": "number",
      "exclusiveMinimum": 0.0,
      "title": "Credit Cost"
    },
    "cost_unit": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Cost Unit"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "user_id",
    "model_type_id",
    "credit_cost"
  ]
}