{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seekrit-dev/json-schema/seekrit-dev-post-v1-orgs-orgid-envs-envid-branches-request-schema.json",
  "title": "PostV1OrgsOrgidEnvsEnvidBranchesRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/seekrit-dev-reference-openapi-generated.yml#/components/schemas/PostV1OrgsOrgidEnvsEnvidBranchesRequest",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "ttlSeconds": {
      "type": "string",
      "description": "omitted takes the default (7 days); pass an explicit null for no expiry. The cap is 30 days."
    },
    "wrappedDek": {
      "type": "string"
    },
    "recoveryWrappedDek": {
      "type": "string"
    },
    "grants": {
      "type": "string",
      "description": "wraps the branch's new DEK to principals that already hold a grant on the parent"
    }
  },
  "required": [
    "slug",
    "wrappedDek"
  ]
}