Dimensions

Altay Sansal

Oct 20, 2025

0 min read

Intro

NamedDimension

Represents a single dimension with a name and size.

Reference

Dimension
pydantic model mdio.builder.schemas.dimension.NamedDimension

Represents a single dimension with a name and size.

Show JSON schema
{
   "title": "NamedDimension",
   "description": "Represents a single dimension with a name and size.",
   "type": "object",
   "properties": {
      "name": {
         "description": "Unique identifier for the dimension.",
         "title": "Name",
         "type": "string"
      },
      "size": {
         "description": "Total size of the dimension.",
         "exclusiveMinimum": 0,
         "title": "Size",
         "type": "integer"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "size"
   ]
}

field name: str [Required]

Unique identifier for the dimension.

field size: int [Required]

Total size of the dimension.

Constraints:
  • gt = 0