{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiven/json-schema/aiven-credit-card-list-response-schema.json",
  "title": "CreditCardListResponse",
  "description": "CreditCardListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiven-organizationpaymentmethod-api-openapi.yml#/components/schemas/CreditCardListResponse",
  "type": "object",
  "properties": {
    "credit_cards": {
      "type": "array",
      "description": "Credit Cards",
      "items": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string",
            "description": "Brand"
          },
          "create_time": {
            "type": "string",
            "maxLength": 36,
            "description": "Create Time"
          },
          "exp_month": {
            "type": "integer",
            "description": "Exp Month"
          },
          "exp_year": {
            "type": "integer",
            "description": "Exp Year"
          },
          "last4": {
            "type": "string",
            "description": "Last4"
          },
          "name": {
            "type": "string",
            "description": "Name"
          },
          "organization_id": {
            "type": "string",
            "maxLength": 36,
            "description": "Organization's ID"
          },
          "payment_method_id": {
            "type": "string",
            "maxLength": 36,
            "description": "Payment method ID"
          },
          "state": {
            "type": "string",
            "description": "Payment method state"
          },
          "update_time": {
            "type": "string",
            "maxLength": 36,
            "description": "Update Time"
          }
        },
        "required": [
          "brand",
          "create_time",
          "exp_month",
          "exp_year",
          "last4",
          "name",
          "organization_id",
          "payment_method_id",
          "state",
          "update_time"
        ]
      }
    }
  },
  "required": [
    "credit_cards"
  ]
}