---
title: "Describe the plan entry format"
method: GET
path: "/etl/v1/plans/schema"
tags: ["ETL"]
---

# Describe the plan entry format

`GET /etl/v1/plans/schema`

## Request

- Base URL: `https://api.minubo.com`
- URL: `https://api.minubo.com/etl/v1/plans/schema`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Accepted entry fields with type, role (time/dimension/measure/meta) and whether the ETL stores them in the plan table, the time field formats, the plan name regex and the rules the ETL applies. Tenant independent; the headers are required for consistency with the other plan endpoints.

## Response `200`

Plan entry schema

- EtlPlanSchemaResponse
  - `fields` EtlPlanFieldSchema[], required
    - `name` string, required
    - `type` 'string' | 'number', required
    - `role` 'time' | 'dimension' | 'measure' | 'meta', required: time: exactly one per entry; dimension: string key or attribute; measure: number, at least one per entry; meta: taxRate.
    - `storedInPlanTable` boolean, required: false when the ETL accepts the field but never writes it to the plan table (option H2).
  - `timeFormats` object, required: Regex per time field, as enforced by POST /etl/v1/plans (timeDate is a strict calendar date).
  - `nameRegex` string, required: Regex the trimmed plan name must match.
  - `rules` string[], required: Plain-language rules the ETL applies to staged plans.
  - `plannableMappings` EtlMappings, required: Curated semantic field mappings, including API inputs and downstream plan destinations.
    - `measures` EtlMeasure[]
      - `internalCode` string
      - `apiField` string
      - `genericPlanColumn` string
      - `sqlPlanField` string
      - `planColumn` string
      - `planMeasure` string
      - `actualsMeasure` string
      - `aliases` string[]
      - `note` string
    - `dimensions` EtlDimension[]
      - `internalCode` string
      - `apiField` string
      - `genericPlanColumn` string
      - `sqlPlanField` string
      - `planColumn` string
      - `planAttribute` string
      - `note` string

## Other responses

- `500`: Unexpected internal error

## Changes

- **2026-11-18** `d3e0716cb194`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/minubo/apis/minubo-api/changes/etl/v1/plans/schema/get.md)

---

[API](https://skmtc.dev/minubo/apis/minubo-api.md) - [All operations](https://skmtc.dev/minubo/apis/minubo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/minubo/apis/minubo-api/revisions/ff6f75bd8816?raw)
