---
title: "Pydantic"
method: GET
path: "/pydantic"
tags: ["/root"]
---

# Pydantic

`GET /pydantic`

This route exposes pydantic models - which are not returned by any other route - to the OpenAPI spec to ensure they get included during sdk codegen

## Response `200`

Successful Response

- union
  - string
  - Vehicle1
    - `schema_version` 1, required
    - `_id` string, required
  - string — Must be a string starting with `user_`
  - string — Must be a string starting with `org_`
  - ScheduleCalendarSpec — Specification relative to calendar time when to run an action. A timestamp matches if at least one range of each field matches except for year. If year is missing, that means all years match. For all fields besides year, at least one range must be present to match anything.
    - `second` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `minute` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `hour` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `day_of_month` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `month` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `year` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `day_of_week` ScheduleRange[]
      - `start` integer, required
      - `end` integer
      - `step` integer
    - `comment` string, nullable
  - ScheduleIntervalSpec — Specification for scheduling on an interval. Matches times expressed as epoch + (n * every) + offset.
    - `every` string, duration, required
    - `offset` string, duration, nullable

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
