Skip to main content

Collection

This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run pnpm generate-formations-resource-docs to regenerate.

Creates a collection of keyed JSON items. Items are written through the collections API, not declared in a template.

Syntax​

type: collection
properties:
name: String
schema: Object

Output​

The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:

some_field:
ref: MyCollection

Properties​

name

Unique within the project.

Required: Yes Type: String


schema

A JSON Schema every item's data must satisfy, stored as written.

Required: No Type: Object Nullable: Yes