mightstone.services.scryfall.models.Catalog

pydantic model mightstone.services.scryfall.models.Catalog

Show JSON schema
{
   "title": "Catalog",
   "type": "object",
   "properties": {
      "object": {
         "const": "catalog",
         "enum": [
            "catalog"
         ],
         "title": "Object",
         "type": "string"
      },
      "id": {
         "anyOf": [
            {
               "format": "uuid",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Id"
      },
      "uri": {
         "anyOf": [
            {
               "format": "uri",
               "minLength": 1,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Uri"
      },
      "total_values": {
         "title": "Total Values",
         "type": "integer"
      },
      "data": {
         "items": {
            "type": "string"
         },
         "title": "Data",
         "type": "array"
      }
   },
   "required": [
      "object",
      "total_values",
      "data"
   ]
}

Fields:
Validators:
field data: List[str] [Required]

An array of datapoints, as strings.

Validated by:
field id: UUID | None = None

Object type, always catalog

Validated by:
field object: Literal['catalog'] [Required]
Validated by:
field total_values: int [Required]

The number of items in the data array.

Validated by:
field uri: Url | None = None

A link to the current catalog on Scryfall’s API.

Validated by:
validator enforce_id  »  all fields