{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/master-setter-com/json-schema/master-setter-com-card-list-schema.json",
  "title": "CardList",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/master-setter-com-openapi.json#/components/schemas/CardList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Card"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    },
    "retrieved_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Card": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "set_id": {
          "type": "string"
        },
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "local_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string",
          "description": "Name in the card's own language."
        },
        "supertype": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtypes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "hp": {
          "type": [
            "string",
            "integer",
            "null"
          ]
        },
        "types": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "rarity": {
          "type": [
            "string",
            "null"
          ]
        },
        "artist": {
          "type": [
            "string",
            "null"
          ]
        },
        "regulation_mark": {
          "type": [
            "string",
            "null"
          ]
        },
        "image_small": {
          "type": [
            "string",
            "null"
          ]
        },
        "image_large": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "Pagination": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "total": {
          "type": [
            "integer",
            "null"
          ]
        },
        "total_is_estimate": {
          "type": "boolean"
        },
        "has_more": {
          "type": "boolean",
          "description": "The reliable end-of-results signal."
        }
      }
    }
  }
}