Skip to main content

Get the data schema

GET 

/templates/:id/schema

JSON Schema (draft 2020-12) describing the data object the template expects: the one stored with the published (or latest) version, or with the version version names, else one inferred from its sample data the way the editor does; 404 when the version has neither. With format=make the schema comes back as Make parameter definitions (one data collection, plus a version select listing the release channels when the template has any besides published), which the Make app loads as dynamic fields; a template with neither schema nor sample data then gets a single JSON field instead of a 404. With format=swagger it comes back as { "schema": … } in the OpenAPI 2.0 dialect (one type per property, no nullable or oneOf, a label in x-ms-summary), which the Power Platform connector loads as dynamic fields; without schema or sample data that is an object without properties. Needs template:read.

Request​

Responses​

JSON Schema, Make parameter definitions for format=make, or { schema } for format=swagger.