@cueframe/api-contract 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.json CHANGED
@@ -123,6 +123,30 @@
123
123
  ],
124
124
  "components": {
125
125
  "securitySchemes": {
126
+ "oauth2": {
127
+ "type": "oauth2",
128
+ "description": "Authorization code with PKCE (S256). Request explicit resource scopes for least privilege; identity-only grants retain account-level access.",
129
+ "flows": {
130
+ "authorizationCode": {
131
+ "authorizationUrl": "https://api.cueframe.ai/api/auth/mcp/authorize",
132
+ "tokenUrl": "https://api.cueframe.ai/api/auth/mcp/token",
133
+ "scopes": {
134
+ "media:read": "Read media",
135
+ "media:write": "Modify media",
136
+ "sessions:read": "Read sessions",
137
+ "sessions:write": "Modify sessions",
138
+ "projects:read": "Read projects",
139
+ "projects:write": "Modify projects",
140
+ "renders:read": "Read renders",
141
+ "renders:write": "Modify renders",
142
+ "webhooks:read": "Read webhooks",
143
+ "webhooks:write": "Modify webhooks",
144
+ "billing:read": "Read billing",
145
+ "billing:write": "Modify billing"
146
+ }
147
+ }
148
+ }
149
+ },
126
150
  "bearerAuth": {
127
151
  "type": "http",
128
152
  "scheme": "bearer",
@@ -2873,7 +2897,17 @@
2873
2897
  "tracks"
2874
2898
  ],
2875
2899
  "additionalProperties": {},
2876
- "description": "Canonical composition wire shape (multi-track; carries reframe, captions, markers)."
2900
+ "description": "Canonical composition wire shape (multi-track; carries reframe, captions, markers).",
2901
+ "examples": [
2902
+ {
2903
+ "v": 1,
2904
+ "format": {
2905
+ "aspectRatio": "16:9",
2906
+ "fps": 30
2907
+ },
2908
+ "tracks": []
2909
+ }
2910
+ ]
2877
2911
  },
2878
2912
  "CompositionReplaceRequest": {
2879
2913
  "anyOf": [
@@ -2955,6 +2989,22 @@
2955
2989
  {
2956
2990
  "$ref": "#/components/schemas/Composition"
2957
2991
  }
2992
+ ],
2993
+ "examples": [
2994
+ {
2995
+ "composition": {
2996
+ "v": 1,
2997
+ "format": {
2998
+ "aspectRatio": "16:9",
2999
+ "fps": 30
3000
+ },
3001
+ "tracks": []
3002
+ },
3003
+ "componentExecutionVersions": [
3004
+ 3
3005
+ ],
3006
+ "expectedBrandIdentity": "0000000000000000000000000000000000000000000000000000000000000000"
3007
+ }
2958
3008
  ]
2959
3009
  },
2960
3010
  "CompositionOp": {
@@ -8924,7 +8974,17 @@
8924
8974
  "ops"
8925
8975
  ],
8926
8976
  "additionalProperties": false,
8927
- "description": "POST /projects/:id/composition/apply body — a batch of CompositionOps."
8977
+ "description": "POST /projects/:id/composition/apply body — a batch of CompositionOps.",
8978
+ "examples": [
8979
+ {
8980
+ "ops": [
8981
+ {
8982
+ "type": "clip.remove",
8983
+ "clipId": "observed-clip"
8984
+ }
8985
+ ]
8986
+ }
8987
+ ]
8928
8988
  },
8929
8989
  "CompositionCreateRequest": {
8930
8990
  "type": "object",
@@ -16677,7 +16737,12 @@
16677
16737
  }
16678
16738
  },
16679
16739
  "additionalProperties": false,
16680
- "description": "PUT /components/:id body: every writable field, all optional; an omitted field is carried forward. Org/user are server-resolved; never accepted from the body."
16740
+ "description": "PUT /components/:id body: every writable field, all optional; an omitted field is carried forward. Org/user are server-resolved; never accepted from the body.",
16741
+ "examples": [
16742
+ {
16743
+ "name": "Renamed title"
16744
+ }
16745
+ ]
16681
16746
  },
16682
16747
  "ComponentPatchRequest": {
16683
16748
  "type": "object",
@@ -17896,7 +17961,12 @@
17896
17961
  }
17897
17962
  },
17898
17963
  "additionalProperties": false,
17899
- "description": "PATCH /components/:id body, RFC 7396 merge: a field you omit is left exactly as it was. Org/user are server-resolved; never accepted from the body."
17964
+ "description": "PATCH /components/:id body, RFC 7396 merge: a field you omit is left exactly as it was. Org/user are server-resolved; never accepted from the body.",
17965
+ "examples": [
17966
+ {
17967
+ "name": "Renamed title"
17968
+ }
17969
+ ]
17900
17970
  },
17901
17971
  "BrandKitResponse": {
17902
17972
  "type": "object",
@@ -29815,493 +29885,2177 @@
29815
29885
  ],
29816
29886
  "additionalProperties": false
29817
29887
  },
29818
- "TemplateApplyRequest": {
29819
- "type": "object",
29820
- "properties": {
29821
- "componentExecutionVersions": {
29822
- "minItems": 1,
29823
- "maxItems": 1,
29824
- "type": "array",
29825
- "items": {
29826
- "type": "number",
29827
- "const": 3
29828
- }
29829
- },
29830
- "expectedBrandIdentity": {
29831
- "type": "string",
29832
- "pattern": "^[a-f0-9]{64}$"
29833
- },
29834
- "projectId": {
29835
- "type": "string",
29836
- "minLength": 1
29837
- },
29838
- "values": {
29839
- "default": {},
29840
- "type": "object",
29841
- "propertyNames": {
29842
- "type": "string"
29843
- },
29844
- "additionalProperties": {}
29845
- },
29846
- "media": {
29847
- "default": {},
29848
- "type": "object",
29849
- "propertyNames": {
29850
- "type": "string"
29851
- },
29852
- "additionalProperties": {
29853
- "$ref": "#/components/schemas/TemplateMediaValue"
29854
- }
29855
- },
29856
- "preset": {
29857
- "type": "string",
29858
- "minLength": 1
29859
- },
29860
- "brandKitId": {
29861
- "type": "string",
29862
- "minLength": 1
29863
- }
29864
- },
29865
- "required": [
29866
- "projectId",
29867
- "values",
29868
- "media"
29869
- ],
29870
- "additionalProperties": false
29871
- },
29872
- "TemplateMediaValue": {
29873
- "anyOf": [
29874
- {
29875
- "type": "object",
29876
- "properties": {
29877
- "mediaId": {
29878
- "type": "string",
29879
- "minLength": 1
29880
- }
29881
- },
29882
- "required": [
29883
- "mediaId"
29884
- ],
29885
- "additionalProperties": false
29886
- },
29887
- {
29888
- "type": "object",
29889
- "properties": {
29890
- "url": {
29891
- "type": "string",
29892
- "format": "starts_with",
29893
- "pattern": "^https:\\/\\/.*"
29894
- },
29895
- "mimeType": {
29896
- "type": "string",
29897
- "minLength": 1
29898
- }
29899
- },
29900
- "required": [
29901
- "url"
29902
- ],
29903
- "additionalProperties": false
29904
- },
29905
- {
29906
- "type": "object",
29907
- "properties": {
29908
- "sample": {
29909
- "type": "boolean",
29910
- "const": true
29911
- }
29912
- },
29913
- "required": [
29914
- "sample"
29915
- ],
29916
- "additionalProperties": false
29917
- }
29918
- ]
29919
- },
29920
- "TemplateApplyResponse": {
29921
- "type": "object",
29922
- "properties": {
29923
- "projectId": {
29924
- "type": "string"
29925
- },
29926
- "compositionId": {
29927
- "type": "string"
29928
- },
29929
- "versionId": {
29930
- "type": "string"
29931
- },
29932
- "etag": {
29933
- "type": "string"
29934
- },
29935
- "templateId": {
29936
- "type": "string"
29937
- },
29938
- "version": {
29939
- "type": "integer",
29940
- "minimum": -9007199254740991,
29941
- "maximum": 9007199254740991
29942
- },
29943
- "components": {
29944
- "type": "array",
29945
- "items": {
29946
- "type": "object",
29947
- "properties": {
29948
- "documentKey": {
29949
- "type": "string"
29950
- },
29951
- "componentId": {
29952
- "type": "string"
29953
- },
29954
- "sourceVersionId": {
29955
- "type": "string"
29956
- },
29957
- "created": {
29958
- "type": "boolean"
29959
- }
29960
- },
29961
- "required": [
29962
- "documentKey",
29963
- "componentId",
29964
- "sourceVersionId",
29965
- "created"
29966
- ],
29967
- "additionalProperties": false
29968
- }
29969
- }
29970
- },
29971
- "required": [
29972
- "projectId",
29973
- "compositionId",
29974
- "versionId",
29975
- "etag",
29976
- "templateId",
29977
- "version",
29978
- "components"
29979
- ],
29980
- "additionalProperties": false
29981
- },
29982
- "TemplateApplyPendingResponse": {
29983
- "type": "object",
29984
- "properties": {
29985
- "templateId": {
29986
- "type": "string"
29987
- },
29988
- "version": {
29989
- "type": "integer",
29990
- "minimum": -9007199254740991,
29991
- "maximum": 9007199254740991
29992
- },
29993
- "pendingMediaIds": {
29994
- "type": "array",
29995
- "items": {
29996
- "type": "string"
29997
- }
29998
- }
29999
- },
30000
- "required": [
30001
- "templateId",
30002
- "version",
30003
- "pendingMediaIds"
30004
- ],
30005
- "additionalProperties": false
30006
- },
30007
- "TemplateInstantiateRequest": {
30008
- "type": "object",
30009
- "properties": {
30010
- "projectName": {
30011
- "type": "string",
30012
- "minLength": 1,
30013
- "maxLength": 200
30014
- },
30015
- "values": {
30016
- "default": {},
30017
- "type": "object",
30018
- "propertyNames": {
30019
- "type": "string"
30020
- },
30021
- "additionalProperties": {}
30022
- },
30023
- "media": {
30024
- "default": {},
30025
- "type": "object",
30026
- "propertyNames": {
30027
- "type": "string"
30028
- },
30029
- "additionalProperties": {
30030
- "$ref": "#/components/schemas/TemplateMediaValue"
30031
- }
30032
- },
30033
- "preset": {
30034
- "type": "string",
30035
- "minLength": 1
30036
- },
30037
- "brandKitId": {
30038
- "type": "string",
30039
- "minLength": 1
30040
- }
30041
- },
30042
- "required": [
30043
- "projectName",
30044
- "values",
30045
- "media"
30046
- ],
30047
- "additionalProperties": false
30048
- },
30049
- "TemplateInstantiationJobResponse": {
30050
- "type": "object",
30051
- "properties": {
30052
- "jobId": {
30053
- "type": "string"
30054
- },
30055
- "projectId": {
30056
- "type": [
30057
- "string",
30058
- "null"
30059
- ]
30060
- },
30061
- "status": {
30062
- "type": "string",
30063
- "enum": [
30064
- "preparing",
30065
- "ready",
30066
- "failed",
30067
- "cancelled"
30068
- ]
30069
- },
30070
- "stage": {
30071
- "type": "string",
30072
- "enum": [
30073
- "resolving",
30074
- "downloading",
30075
- "verifying",
30076
- "importing",
30077
- "processing",
30078
- "attaching",
30079
- "applying",
30080
- "preflighting",
30081
- "ready"
30082
- ]
30083
- },
30084
- "templateRef": {
30085
- "type": "string"
30086
- },
30087
- "documentSha256": {
30088
- "type": [
30089
- "string",
30090
- "null"
30091
- ]
30092
- },
30093
- "errorCode": {
30094
- "type": "string"
30095
- },
30096
- "errorMessage": {
30097
- "type": "string"
30098
- },
30099
- "createdAt": {
30100
- "type": "string"
30101
- },
30102
- "updatedAt": {
30103
- "type": "string"
30104
- }
30105
- },
30106
- "required": [
30107
- "jobId",
30108
- "projectId",
30109
- "status",
30110
- "stage",
30111
- "templateRef",
30112
- "documentSha256",
30113
- "createdAt",
30114
- "updatedAt"
30115
- ],
30116
- "additionalProperties": false
30117
- },
30118
- "TemplateRenderCreateRequest": {
30119
- "type": "object",
30120
- "properties": {
30121
- "values": {
30122
- "default": {},
30123
- "type": "object",
30124
- "propertyNames": {
30125
- "type": "string"
30126
- },
30127
- "additionalProperties": {}
30128
- },
30129
- "media": {
30130
- "default": {},
30131
- "type": "object",
30132
- "propertyNames": {
30133
- "type": "string"
30134
- },
30135
- "additionalProperties": {
30136
- "$ref": "#/components/schemas/TemplateMediaValue"
30137
- }
30138
- },
30139
- "preset": {
30140
- "type": "string",
30141
- "minLength": 1
30142
- },
30143
- "brandKitId": {
30144
- "type": "string",
30145
- "minLength": 1
30146
- },
30147
- "posterAt": {
30148
- "description": "Seconds into the render for the poster still; default 1.",
30149
- "type": "number",
30150
- "minimum": 0
30151
- }
30152
- },
30153
- "required": [
30154
- "values",
30155
- "media"
30156
- ],
30157
- "additionalProperties": false
30158
- },
30159
- "TemplateRenderResponse": {
30160
- "type": "object",
30161
- "properties": {
30162
- "id": {
30163
- "type": "string"
30164
- },
30165
- "status": {
30166
- "type": "string",
30167
- "enum": [
30168
- "preparing",
30169
- "rendering",
30170
- "complete",
30171
- "failed",
30172
- "cancelled",
30173
- "revoked"
30174
- ]
30175
- },
30176
- "templateId": {
30177
- "type": "string"
30178
- },
30179
- "version": {
30180
- "type": "integer",
30181
- "minimum": -9007199254740991,
30182
- "maximum": 9007199254740991
30183
- },
30184
- "preset": {
30185
- "type": "string"
30186
- },
30187
- "brandKitId": {
30188
- "type": "string"
30189
- },
30190
- "shareUrl": {
30191
- "type": [
30192
- "string",
30193
- "null"
30194
- ]
30195
- },
30196
- "posterUrl": {
30197
- "type": [
30198
- "string",
30199
- "null"
30200
- ]
30201
- },
30202
- "renderId": {
30203
- "type": [
30204
- "string",
30205
- "null"
30206
- ]
30207
- },
30208
- "errorCode": {
30209
- "type": "string"
30210
- },
30211
- "errorMessage": {
30212
- "type": "string"
30213
- },
30214
- "expiresAt": {
30215
- "type": "string"
30216
- },
30217
- "createdAt": {
30218
- "type": "string"
30219
- },
30220
- "updatedAt": {
30221
- "type": "string"
30222
- }
30223
- },
30224
- "required": [
30225
- "id",
30226
- "status",
30227
- "templateId",
30228
- "version",
30229
- "shareUrl",
30230
- "posterUrl",
30231
- "renderId",
30232
- "createdAt",
30233
- "updatedAt"
30234
- ],
30235
- "additionalProperties": false
30236
- },
30237
- "X402PaymentRequired": {
30238
- "type": "object",
30239
- "title": "X402PaymentRequired",
30240
- "description": "x402 v2 PaymentRequired challenge — the body of a 402 on a priced operation.",
30241
- "properties": {
30242
- "x402Version": {
30243
- "type": "integer",
30244
- "const": 2
30245
- },
30246
- "accepts": {
30247
- "type": "array",
30248
- "description": "Accepted payment requirements. Read `accepts[0]` for scheme (`exact` for a fixed price, `upto` for a measured one), network (CAIP-2), asset, amount and payTo.",
30249
- "items": {
30250
- "type": "object"
30251
- }
30252
- },
30253
- "error": {
30254
- "type": "string",
30255
- "description": "Human-readable reason."
30256
- }
30257
- },
30258
- "required": [
30259
- "x402Version",
30260
- "accepts"
30261
- ]
30262
- },
30263
- "SceneShotSpecV2": {
29888
+ "BuiltinComponentResolveResponse": {
30264
29889
  "type": "object",
30265
29890
  "properties": {
30266
- "version": {
30267
- "type": "number",
30268
- "const": 2
30269
- },
30270
- "referenceSize": {
30271
- "type": "object",
30272
- "properties": {
30273
- "width": {
30274
- "type": "integer",
30275
- "minimum": 16,
30276
- "maximum": 8192
30277
- },
30278
- "height": {
30279
- "type": "integer",
30280
- "minimum": 16,
30281
- "maximum": 8192
30282
- }
30283
- },
30284
- "required": [
30285
- "width",
30286
- "height"
30287
- ],
30288
- "additionalProperties": false
30289
- },
30290
- "camera": {
30291
- "type": "object",
30292
- "properties": {
30293
- "position": {
30294
- "type": "array",
30295
- "prefixItems": [
30296
- {
30297
- "type": "number"
30298
- },
30299
- {
30300
- "type": "number"
30301
- },
30302
- {
30303
- "type": "number"
30304
- }
29891
+ "card": {
29892
+ "oneOf": [
29893
+ {
29894
+ "type": "object",
29895
+ "properties": {
29896
+ "identity": {
29897
+ "type": "object",
29898
+ "properties": {
29899
+ "scope": {
29900
+ "oneOf": [
29901
+ {
29902
+ "type": "object",
29903
+ "properties": {
29904
+ "kind": {
29905
+ "type": "string",
29906
+ "const": "builtin"
29907
+ },
29908
+ "collection": {
29909
+ "type": "string",
29910
+ "minLength": 1,
29911
+ "maxLength": 256
29912
+ }
29913
+ },
29914
+ "required": [
29915
+ "kind",
29916
+ "collection"
29917
+ ],
29918
+ "additionalProperties": false
29919
+ },
29920
+ {
29921
+ "type": "object",
29922
+ "properties": {
29923
+ "kind": {
29924
+ "type": "string",
29925
+ "const": "org-local"
29926
+ },
29927
+ "orgId": {
29928
+ "type": "string",
29929
+ "minLength": 1,
29930
+ "maxLength": 256
29931
+ },
29932
+ "workspaceId": {
29933
+ "type": "string",
29934
+ "minLength": 1,
29935
+ "maxLength": 256
29936
+ }
29937
+ },
29938
+ "required": [
29939
+ "kind",
29940
+ "orgId",
29941
+ "workspaceId"
29942
+ ],
29943
+ "additionalProperties": false
29944
+ },
29945
+ {
29946
+ "type": "object",
29947
+ "properties": {
29948
+ "kind": {
29949
+ "type": "string",
29950
+ "const": "org-hosted"
29951
+ },
29952
+ "orgId": {
29953
+ "type": "string",
29954
+ "minLength": 1,
29955
+ "maxLength": 256
29956
+ },
29957
+ "deploymentId": {
29958
+ "type": "string",
29959
+ "minLength": 1,
29960
+ "maxLength": 256
29961
+ }
29962
+ },
29963
+ "required": [
29964
+ "kind",
29965
+ "orgId",
29966
+ "deploymentId"
29967
+ ],
29968
+ "additionalProperties": false
29969
+ }
29970
+ ],
29971
+ "type": "object"
29972
+ },
29973
+ "id": {
29974
+ "type": "string",
29975
+ "minLength": 1,
29976
+ "maxLength": 256
29977
+ },
29978
+ "revision": {
29979
+ "type": "string",
29980
+ "pattern": "^[a-f0-9]{64}$"
29981
+ }
29982
+ },
29983
+ "required": [
29984
+ "scope",
29985
+ "id",
29986
+ "revision"
29987
+ ],
29988
+ "additionalProperties": false
29989
+ },
29990
+ "name": {
29991
+ "type": "string",
29992
+ "minLength": 1,
29993
+ "maxLength": 256
29994
+ },
29995
+ "description": {
29996
+ "type": "string"
29997
+ },
29998
+ "category": {
29999
+ "type": "string",
30000
+ "minLength": 1,
30001
+ "maxLength": 256
30002
+ },
30003
+ "presentation": {
30004
+ "type": "object",
30005
+ "properties": {
30006
+ "version": {
30007
+ "type": "number",
30008
+ "const": 1
30009
+ },
30010
+ "representativeTimeSeconds": {
30011
+ "type": "number",
30012
+ "minimum": 0
30013
+ }
30014
+ },
30015
+ "required": [
30016
+ "version",
30017
+ "representativeTimeSeconds"
30018
+ ],
30019
+ "additionalProperties": false
30020
+ },
30021
+ "showcase": {
30022
+ "type": "object",
30023
+ "properties": {
30024
+ "version": {
30025
+ "type": "number",
30026
+ "const": 1
30027
+ },
30028
+ "presentationKey": {
30029
+ "type": "string",
30030
+ "minLength": 1
30031
+ },
30032
+ "fixtureIdentity": {
30033
+ "type": "string",
30034
+ "pattern": "^[a-f0-9]{64}$"
30035
+ },
30036
+ "rendererIdentity": {
30037
+ "type": "string",
30038
+ "pattern": "^[a-f0-9]{64}$"
30039
+ },
30040
+ "video": {
30041
+ "type": "object",
30042
+ "properties": {
30043
+ "file": {
30044
+ "type": "string",
30045
+ "minLength": 1
30046
+ },
30047
+ "sha256": {
30048
+ "type": "string",
30049
+ "pattern": "^[a-f0-9]{64}$"
30050
+ },
30051
+ "byteLength": {
30052
+ "type": "integer",
30053
+ "exclusiveMinimum": 0,
30054
+ "maximum": 9007199254740991
30055
+ },
30056
+ "width": {
30057
+ "type": "integer",
30058
+ "exclusiveMinimum": 0,
30059
+ "maximum": 9007199254740991
30060
+ },
30061
+ "height": {
30062
+ "type": "integer",
30063
+ "exclusiveMinimum": 0,
30064
+ "maximum": 9007199254740991
30065
+ },
30066
+ "fps": {
30067
+ "type": "number",
30068
+ "exclusiveMinimum": 0
30069
+ },
30070
+ "durationInFrames": {
30071
+ "type": "integer",
30072
+ "exclusiveMinimum": 0,
30073
+ "maximum": 9007199254740991
30074
+ }
30075
+ },
30076
+ "required": [
30077
+ "file",
30078
+ "sha256",
30079
+ "byteLength",
30080
+ "width",
30081
+ "height",
30082
+ "fps",
30083
+ "durationInFrames"
30084
+ ],
30085
+ "additionalProperties": false
30086
+ },
30087
+ "poster": {
30088
+ "type": "object",
30089
+ "properties": {
30090
+ "file": {
30091
+ "type": "string",
30092
+ "minLength": 1
30093
+ },
30094
+ "sha256": {
30095
+ "type": "string",
30096
+ "pattern": "^[a-f0-9]{64}$"
30097
+ },
30098
+ "byteLength": {
30099
+ "type": "integer",
30100
+ "exclusiveMinimum": 0,
30101
+ "maximum": 9007199254740991
30102
+ },
30103
+ "frame": {
30104
+ "type": "integer",
30105
+ "minimum": 0,
30106
+ "maximum": 9007199254740991
30107
+ }
30108
+ },
30109
+ "required": [
30110
+ "file",
30111
+ "sha256",
30112
+ "byteLength",
30113
+ "frame"
30114
+ ],
30115
+ "additionalProperties": false
30116
+ }
30117
+ },
30118
+ "required": [
30119
+ "version",
30120
+ "presentationKey",
30121
+ "fixtureIdentity",
30122
+ "rendererIdentity",
30123
+ "video",
30124
+ "poster"
30125
+ ],
30126
+ "additionalProperties": false
30127
+ },
30128
+ "preview": {
30129
+ "type": "object",
30130
+ "properties": {
30131
+ "identity": {
30132
+ "type": "string",
30133
+ "pattern": "^[a-f0-9]{64}$"
30134
+ },
30135
+ "status": {
30136
+ "type": "string",
30137
+ "enum": [
30138
+ "unproven",
30139
+ "verified"
30140
+ ]
30141
+ }
30142
+ },
30143
+ "required": [
30144
+ "identity",
30145
+ "status"
30146
+ ],
30147
+ "additionalProperties": false
30148
+ },
30149
+ "kind": {
30150
+ "type": "string",
30151
+ "const": "definition"
30152
+ },
30153
+ "source": {
30154
+ "type": "object",
30155
+ "properties": {
30156
+ "scope": {
30157
+ "oneOf": [
30158
+ {
30159
+ "type": "object",
30160
+ "properties": {
30161
+ "kind": {
30162
+ "type": "string",
30163
+ "const": "builtin"
30164
+ },
30165
+ "collection": {
30166
+ "type": "string",
30167
+ "minLength": 1,
30168
+ "maxLength": 256
30169
+ }
30170
+ },
30171
+ "required": [
30172
+ "kind",
30173
+ "collection"
30174
+ ],
30175
+ "additionalProperties": false
30176
+ },
30177
+ {
30178
+ "type": "object",
30179
+ "properties": {
30180
+ "kind": {
30181
+ "type": "string",
30182
+ "const": "org-local"
30183
+ },
30184
+ "orgId": {
30185
+ "type": "string",
30186
+ "minLength": 1,
30187
+ "maxLength": 256
30188
+ },
30189
+ "workspaceId": {
30190
+ "type": "string",
30191
+ "minLength": 1,
30192
+ "maxLength": 256
30193
+ }
30194
+ },
30195
+ "required": [
30196
+ "kind",
30197
+ "orgId",
30198
+ "workspaceId"
30199
+ ],
30200
+ "additionalProperties": false
30201
+ },
30202
+ {
30203
+ "type": "object",
30204
+ "properties": {
30205
+ "kind": {
30206
+ "type": "string",
30207
+ "const": "org-hosted"
30208
+ },
30209
+ "orgId": {
30210
+ "type": "string",
30211
+ "minLength": 1,
30212
+ "maxLength": 256
30213
+ },
30214
+ "deploymentId": {
30215
+ "type": "string",
30216
+ "minLength": 1,
30217
+ "maxLength": 256
30218
+ }
30219
+ },
30220
+ "required": [
30221
+ "kind",
30222
+ "orgId",
30223
+ "deploymentId"
30224
+ ],
30225
+ "additionalProperties": false
30226
+ }
30227
+ ],
30228
+ "type": "object"
30229
+ },
30230
+ "componentId": {
30231
+ "type": "string",
30232
+ "minLength": 1,
30233
+ "maxLength": 256
30234
+ },
30235
+ "sourceVersionId": {
30236
+ "type": "string",
30237
+ "pattern": "^[a-f0-9]{64}$"
30238
+ },
30239
+ "sourceVersion": {
30240
+ "anyOf": [
30241
+ {
30242
+ "type": "number",
30243
+ "const": 2
30244
+ },
30245
+ {
30246
+ "type": "number",
30247
+ "const": 3
30248
+ }
30249
+ ]
30250
+ }
30251
+ },
30252
+ "required": [
30253
+ "scope",
30254
+ "componentId",
30255
+ "sourceVersionId",
30256
+ "sourceVersion"
30257
+ ],
30258
+ "additionalProperties": false
30259
+ },
30260
+ "declaration": {
30261
+ "oneOf": [
30262
+ {
30263
+ "type": "object",
30264
+ "properties": {
30265
+ "state": {
30266
+ "type": "string",
30267
+ "const": "v3"
30268
+ },
30269
+ "capabilities": {
30270
+ "minItems": 1,
30271
+ "type": "array",
30272
+ "items": {
30273
+ "oneOf": [
30274
+ {
30275
+ "type": "object",
30276
+ "properties": {
30277
+ "kind": {
30278
+ "type": "string",
30279
+ "const": "clip"
30280
+ }
30281
+ },
30282
+ "required": [
30283
+ "kind"
30284
+ ],
30285
+ "additionalProperties": false
30286
+ },
30287
+ {
30288
+ "type": "object",
30289
+ "properties": {
30290
+ "kind": {
30291
+ "type": "string",
30292
+ "const": "cut-transition"
30293
+ },
30294
+ "protocol": {
30295
+ "type": "string",
30296
+ "const": "per-child"
30297
+ }
30298
+ },
30299
+ "required": [
30300
+ "kind",
30301
+ "protocol"
30302
+ ],
30303
+ "additionalProperties": false
30304
+ },
30305
+ {
30306
+ "type": "object",
30307
+ "properties": {
30308
+ "kind": {
30309
+ "type": "string",
30310
+ "const": "content-slots"
30311
+ },
30312
+ "slots": {
30313
+ "minItems": 1,
30314
+ "type": "array",
30315
+ "items": {
30316
+ "type": "object",
30317
+ "properties": {
30318
+ "name": {
30319
+ "type": "string",
30320
+ "minLength": 1,
30321
+ "maxLength": 128
30322
+ },
30323
+ "min": {
30324
+ "type": "integer",
30325
+ "minimum": 0,
30326
+ "maximum": 9007199254740991
30327
+ },
30328
+ "max": {
30329
+ "type": "integer",
30330
+ "exclusiveMinimum": 0,
30331
+ "maximum": 9007199254740991
30332
+ },
30333
+ "ownership": {
30334
+ "type": "string",
30335
+ "enum": [
30336
+ "reference",
30337
+ "exclusive"
30338
+ ]
30339
+ },
30340
+ "sizing": {
30341
+ "type": "string",
30342
+ "enum": [
30343
+ "canvas",
30344
+ "container"
30345
+ ]
30346
+ }
30347
+ },
30348
+ "required": [
30349
+ "name",
30350
+ "min",
30351
+ "max",
30352
+ "ownership",
30353
+ "sizing"
30354
+ ],
30355
+ "additionalProperties": false
30356
+ }
30357
+ }
30358
+ },
30359
+ "required": [
30360
+ "kind",
30361
+ "slots"
30362
+ ],
30363
+ "additionalProperties": false
30364
+ },
30365
+ {
30366
+ "type": "object",
30367
+ "properties": {
30368
+ "kind": {
30369
+ "type": "string",
30370
+ "const": "clip-wrapper"
30371
+ },
30372
+ "ordering": {
30373
+ "type": "string",
30374
+ "enum": [
30375
+ "any",
30376
+ "innermost"
30377
+ ]
30378
+ },
30379
+ "acceptsWrappedTargets": {
30380
+ "type": "boolean"
30381
+ }
30382
+ },
30383
+ "required": [
30384
+ "kind",
30385
+ "ordering",
30386
+ "acceptsWrappedTargets"
30387
+ ],
30388
+ "additionalProperties": false
30389
+ },
30390
+ {
30391
+ "type": "object",
30392
+ "properties": {
30393
+ "kind": {
30394
+ "type": "string",
30395
+ "const": "global-wrapper"
30396
+ },
30397
+ "scope": {
30398
+ "type": "string",
30399
+ "const": "media-lanes"
30400
+ },
30401
+ "ordering": {
30402
+ "type": "string",
30403
+ "enum": [
30404
+ "any",
30405
+ "innermost"
30406
+ ]
30407
+ },
30408
+ "acceptsWrappedTargets": {
30409
+ "type": "boolean"
30410
+ }
30411
+ },
30412
+ "required": [
30413
+ "kind",
30414
+ "scope",
30415
+ "ordering",
30416
+ "acceptsWrappedTargets"
30417
+ ],
30418
+ "additionalProperties": false
30419
+ }
30420
+ ],
30421
+ "type": "object"
30422
+ }
30423
+ },
30424
+ "timing": {
30425
+ "type": "object",
30426
+ "properties": {
30427
+ "defaultDuration": {
30428
+ "type": "object",
30429
+ "properties": {
30430
+ "frames": {
30431
+ "type": "integer",
30432
+ "exclusiveMinimum": 0,
30433
+ "maximum": 9007199254740991
30434
+ },
30435
+ "fps": {
30436
+ "type": "number",
30437
+ "exclusiveMinimum": 0
30438
+ }
30439
+ },
30440
+ "required": [
30441
+ "frames",
30442
+ "fps"
30443
+ ],
30444
+ "additionalProperties": false
30445
+ },
30446
+ "minDurationSec": {
30447
+ "type": "number",
30448
+ "exclusiveMinimum": 0
30449
+ },
30450
+ "maxDurationSec": {
30451
+ "type": "number",
30452
+ "exclusiveMinimum": 0
30453
+ }
30454
+ },
30455
+ "required": [
30456
+ "defaultDuration"
30457
+ ],
30458
+ "additionalProperties": false
30459
+ }
30460
+ },
30461
+ "required": [
30462
+ "state",
30463
+ "capabilities",
30464
+ "timing"
30465
+ ],
30466
+ "additionalProperties": false
30467
+ },
30468
+ {
30469
+ "type": "object",
30470
+ "properties": {
30471
+ "state": {
30472
+ "type": "string",
30473
+ "const": "legacy-v2"
30474
+ },
30475
+ "metadataStatus": {
30476
+ "type": "string",
30477
+ "const": "unresolved"
30478
+ }
30479
+ },
30480
+ "required": [
30481
+ "state",
30482
+ "metadataStatus"
30483
+ ],
30484
+ "additionalProperties": false
30485
+ }
30486
+ ],
30487
+ "type": "object"
30488
+ },
30489
+ "origin": {
30490
+ "type": "string",
30491
+ "enum": [
30492
+ "server-native",
30493
+ "customer-owned"
30494
+ ]
30495
+ }
30496
+ },
30497
+ "required": [
30498
+ "identity",
30499
+ "name",
30500
+ "description",
30501
+ "category",
30502
+ "kind",
30503
+ "source",
30504
+ "declaration",
30505
+ "origin"
30506
+ ],
30507
+ "additionalProperties": false
30508
+ },
30509
+ {
30510
+ "type": "object",
30511
+ "properties": {
30512
+ "identity": {
30513
+ "type": "object",
30514
+ "properties": {
30515
+ "scope": {
30516
+ "oneOf": [
30517
+ {
30518
+ "type": "object",
30519
+ "properties": {
30520
+ "kind": {
30521
+ "type": "string",
30522
+ "const": "builtin"
30523
+ },
30524
+ "collection": {
30525
+ "type": "string",
30526
+ "minLength": 1,
30527
+ "maxLength": 256
30528
+ }
30529
+ },
30530
+ "required": [
30531
+ "kind",
30532
+ "collection"
30533
+ ],
30534
+ "additionalProperties": false
30535
+ },
30536
+ {
30537
+ "type": "object",
30538
+ "properties": {
30539
+ "kind": {
30540
+ "type": "string",
30541
+ "const": "org-local"
30542
+ },
30543
+ "orgId": {
30544
+ "type": "string",
30545
+ "minLength": 1,
30546
+ "maxLength": 256
30547
+ },
30548
+ "workspaceId": {
30549
+ "type": "string",
30550
+ "minLength": 1,
30551
+ "maxLength": 256
30552
+ }
30553
+ },
30554
+ "required": [
30555
+ "kind",
30556
+ "orgId",
30557
+ "workspaceId"
30558
+ ],
30559
+ "additionalProperties": false
30560
+ },
30561
+ {
30562
+ "type": "object",
30563
+ "properties": {
30564
+ "kind": {
30565
+ "type": "string",
30566
+ "const": "org-hosted"
30567
+ },
30568
+ "orgId": {
30569
+ "type": "string",
30570
+ "minLength": 1,
30571
+ "maxLength": 256
30572
+ },
30573
+ "deploymentId": {
30574
+ "type": "string",
30575
+ "minLength": 1,
30576
+ "maxLength": 256
30577
+ }
30578
+ },
30579
+ "required": [
30580
+ "kind",
30581
+ "orgId",
30582
+ "deploymentId"
30583
+ ],
30584
+ "additionalProperties": false
30585
+ }
30586
+ ],
30587
+ "type": "object"
30588
+ },
30589
+ "id": {
30590
+ "type": "string",
30591
+ "minLength": 1,
30592
+ "maxLength": 256
30593
+ },
30594
+ "revision": {
30595
+ "type": "string",
30596
+ "pattern": "^[a-f0-9]{64}$"
30597
+ }
30598
+ },
30599
+ "required": [
30600
+ "scope",
30601
+ "id",
30602
+ "revision"
30603
+ ],
30604
+ "additionalProperties": false
30605
+ },
30606
+ "name": {
30607
+ "type": "string",
30608
+ "minLength": 1,
30609
+ "maxLength": 256
30610
+ },
30611
+ "description": {
30612
+ "type": "string"
30613
+ },
30614
+ "category": {
30615
+ "type": "string",
30616
+ "minLength": 1,
30617
+ "maxLength": 256
30618
+ },
30619
+ "presentation": {
30620
+ "type": "object",
30621
+ "properties": {
30622
+ "version": {
30623
+ "type": "number",
30624
+ "const": 1
30625
+ },
30626
+ "representativeTimeSeconds": {
30627
+ "type": "number",
30628
+ "minimum": 0
30629
+ }
30630
+ },
30631
+ "required": [
30632
+ "version",
30633
+ "representativeTimeSeconds"
30634
+ ],
30635
+ "additionalProperties": false
30636
+ },
30637
+ "showcase": {
30638
+ "type": "object",
30639
+ "properties": {
30640
+ "version": {
30641
+ "type": "number",
30642
+ "const": 1
30643
+ },
30644
+ "presentationKey": {
30645
+ "type": "string",
30646
+ "minLength": 1
30647
+ },
30648
+ "fixtureIdentity": {
30649
+ "type": "string",
30650
+ "pattern": "^[a-f0-9]{64}$"
30651
+ },
30652
+ "rendererIdentity": {
30653
+ "type": "string",
30654
+ "pattern": "^[a-f0-9]{64}$"
30655
+ },
30656
+ "video": {
30657
+ "type": "object",
30658
+ "properties": {
30659
+ "file": {
30660
+ "type": "string",
30661
+ "minLength": 1
30662
+ },
30663
+ "sha256": {
30664
+ "type": "string",
30665
+ "pattern": "^[a-f0-9]{64}$"
30666
+ },
30667
+ "byteLength": {
30668
+ "type": "integer",
30669
+ "exclusiveMinimum": 0,
30670
+ "maximum": 9007199254740991
30671
+ },
30672
+ "width": {
30673
+ "type": "integer",
30674
+ "exclusiveMinimum": 0,
30675
+ "maximum": 9007199254740991
30676
+ },
30677
+ "height": {
30678
+ "type": "integer",
30679
+ "exclusiveMinimum": 0,
30680
+ "maximum": 9007199254740991
30681
+ },
30682
+ "fps": {
30683
+ "type": "number",
30684
+ "exclusiveMinimum": 0
30685
+ },
30686
+ "durationInFrames": {
30687
+ "type": "integer",
30688
+ "exclusiveMinimum": 0,
30689
+ "maximum": 9007199254740991
30690
+ }
30691
+ },
30692
+ "required": [
30693
+ "file",
30694
+ "sha256",
30695
+ "byteLength",
30696
+ "width",
30697
+ "height",
30698
+ "fps",
30699
+ "durationInFrames"
30700
+ ],
30701
+ "additionalProperties": false
30702
+ },
30703
+ "poster": {
30704
+ "type": "object",
30705
+ "properties": {
30706
+ "file": {
30707
+ "type": "string",
30708
+ "minLength": 1
30709
+ },
30710
+ "sha256": {
30711
+ "type": "string",
30712
+ "pattern": "^[a-f0-9]{64}$"
30713
+ },
30714
+ "byteLength": {
30715
+ "type": "integer",
30716
+ "exclusiveMinimum": 0,
30717
+ "maximum": 9007199254740991
30718
+ },
30719
+ "frame": {
30720
+ "type": "integer",
30721
+ "minimum": 0,
30722
+ "maximum": 9007199254740991
30723
+ }
30724
+ },
30725
+ "required": [
30726
+ "file",
30727
+ "sha256",
30728
+ "byteLength",
30729
+ "frame"
30730
+ ],
30731
+ "additionalProperties": false
30732
+ }
30733
+ },
30734
+ "required": [
30735
+ "version",
30736
+ "presentationKey",
30737
+ "fixtureIdentity",
30738
+ "rendererIdentity",
30739
+ "video",
30740
+ "poster"
30741
+ ],
30742
+ "additionalProperties": false
30743
+ },
30744
+ "preview": {
30745
+ "type": "object",
30746
+ "properties": {
30747
+ "identity": {
30748
+ "type": "string",
30749
+ "pattern": "^[a-f0-9]{64}$"
30750
+ },
30751
+ "status": {
30752
+ "type": "string",
30753
+ "enum": [
30754
+ "unproven",
30755
+ "verified"
30756
+ ]
30757
+ }
30758
+ },
30759
+ "required": [
30760
+ "identity",
30761
+ "status"
30762
+ ],
30763
+ "additionalProperties": false
30764
+ },
30765
+ "kind": {
30766
+ "type": "string",
30767
+ "const": "preset"
30768
+ },
30769
+ "definition": {
30770
+ "type": "object",
30771
+ "properties": {
30772
+ "scope": {
30773
+ "oneOf": [
30774
+ {
30775
+ "type": "object",
30776
+ "properties": {
30777
+ "kind": {
30778
+ "type": "string",
30779
+ "const": "builtin"
30780
+ },
30781
+ "collection": {
30782
+ "type": "string",
30783
+ "minLength": 1,
30784
+ "maxLength": 256
30785
+ }
30786
+ },
30787
+ "required": [
30788
+ "kind",
30789
+ "collection"
30790
+ ],
30791
+ "additionalProperties": false
30792
+ },
30793
+ {
30794
+ "type": "object",
30795
+ "properties": {
30796
+ "kind": {
30797
+ "type": "string",
30798
+ "const": "org-local"
30799
+ },
30800
+ "orgId": {
30801
+ "type": "string",
30802
+ "minLength": 1,
30803
+ "maxLength": 256
30804
+ },
30805
+ "workspaceId": {
30806
+ "type": "string",
30807
+ "minLength": 1,
30808
+ "maxLength": 256
30809
+ }
30810
+ },
30811
+ "required": [
30812
+ "kind",
30813
+ "orgId",
30814
+ "workspaceId"
30815
+ ],
30816
+ "additionalProperties": false
30817
+ },
30818
+ {
30819
+ "type": "object",
30820
+ "properties": {
30821
+ "kind": {
30822
+ "type": "string",
30823
+ "const": "org-hosted"
30824
+ },
30825
+ "orgId": {
30826
+ "type": "string",
30827
+ "minLength": 1,
30828
+ "maxLength": 256
30829
+ },
30830
+ "deploymentId": {
30831
+ "type": "string",
30832
+ "minLength": 1,
30833
+ "maxLength": 256
30834
+ }
30835
+ },
30836
+ "required": [
30837
+ "kind",
30838
+ "orgId",
30839
+ "deploymentId"
30840
+ ],
30841
+ "additionalProperties": false
30842
+ }
30843
+ ],
30844
+ "type": "object"
30845
+ },
30846
+ "componentId": {
30847
+ "type": "string",
30848
+ "minLength": 1,
30849
+ "maxLength": 256
30850
+ },
30851
+ "sourceVersionId": {
30852
+ "type": "string",
30853
+ "pattern": "^[a-f0-9]{64}$"
30854
+ },
30855
+ "sourceVersion": {
30856
+ "anyOf": [
30857
+ {
30858
+ "type": "number",
30859
+ "const": 2
30860
+ },
30861
+ {
30862
+ "type": "number",
30863
+ "const": 3
30864
+ }
30865
+ ]
30866
+ }
30867
+ },
30868
+ "required": [
30869
+ "scope",
30870
+ "componentId",
30871
+ "sourceVersionId",
30872
+ "sourceVersion"
30873
+ ],
30874
+ "additionalProperties": false
30875
+ },
30876
+ "presetVersionId": {
30877
+ "type": "string",
30878
+ "pattern": "^[a-f0-9]{64}$"
30879
+ },
30880
+ "historicalDocument": {
30881
+ "type": "object",
30882
+ "properties": {
30883
+ "scope": {
30884
+ "oneOf": [
30885
+ {
30886
+ "type": "object",
30887
+ "properties": {
30888
+ "kind": {
30889
+ "type": "string",
30890
+ "const": "builtin"
30891
+ },
30892
+ "collection": {
30893
+ "type": "string",
30894
+ "minLength": 1,
30895
+ "maxLength": 256
30896
+ }
30897
+ },
30898
+ "required": [
30899
+ "kind",
30900
+ "collection"
30901
+ ],
30902
+ "additionalProperties": false
30903
+ },
30904
+ {
30905
+ "type": "object",
30906
+ "properties": {
30907
+ "kind": {
30908
+ "type": "string",
30909
+ "const": "org-local"
30910
+ },
30911
+ "orgId": {
30912
+ "type": "string",
30913
+ "minLength": 1,
30914
+ "maxLength": 256
30915
+ },
30916
+ "workspaceId": {
30917
+ "type": "string",
30918
+ "minLength": 1,
30919
+ "maxLength": 256
30920
+ }
30921
+ },
30922
+ "required": [
30923
+ "kind",
30924
+ "orgId",
30925
+ "workspaceId"
30926
+ ],
30927
+ "additionalProperties": false
30928
+ },
30929
+ {
30930
+ "type": "object",
30931
+ "properties": {
30932
+ "kind": {
30933
+ "type": "string",
30934
+ "const": "org-hosted"
30935
+ },
30936
+ "orgId": {
30937
+ "type": "string",
30938
+ "minLength": 1,
30939
+ "maxLength": 256
30940
+ },
30941
+ "deploymentId": {
30942
+ "type": "string",
30943
+ "minLength": 1,
30944
+ "maxLength": 256
30945
+ }
30946
+ },
30947
+ "required": [
30948
+ "kind",
30949
+ "orgId",
30950
+ "deploymentId"
30951
+ ],
30952
+ "additionalProperties": false
30953
+ }
30954
+ ],
30955
+ "type": "object"
30956
+ },
30957
+ "documentId": {
30958
+ "type": "string",
30959
+ "minLength": 1,
30960
+ "maxLength": 256
30961
+ },
30962
+ "documentSha256": {
30963
+ "type": "string",
30964
+ "pattern": "^[a-f0-9]{64}$"
30965
+ }
30966
+ },
30967
+ "required": [
30968
+ "scope",
30969
+ "documentId",
30970
+ "documentSha256"
30971
+ ],
30972
+ "additionalProperties": false
30973
+ },
30974
+ "equivalence": {
30975
+ "type": "string",
30976
+ "enum": [
30977
+ "unproven",
30978
+ "verified"
30979
+ ]
30980
+ }
30981
+ },
30982
+ "required": [
30983
+ "identity",
30984
+ "name",
30985
+ "description",
30986
+ "category",
30987
+ "kind",
30988
+ "definition",
30989
+ "presetVersionId",
30990
+ "historicalDocument",
30991
+ "equivalence"
30992
+ ],
30993
+ "additionalProperties": false
30994
+ },
30995
+ {
30996
+ "type": "object",
30997
+ "properties": {
30998
+ "identity": {
30999
+ "type": "object",
31000
+ "properties": {
31001
+ "scope": {
31002
+ "oneOf": [
31003
+ {
31004
+ "type": "object",
31005
+ "properties": {
31006
+ "kind": {
31007
+ "type": "string",
31008
+ "const": "builtin"
31009
+ },
31010
+ "collection": {
31011
+ "type": "string",
31012
+ "minLength": 1,
31013
+ "maxLength": 256
31014
+ }
31015
+ },
31016
+ "required": [
31017
+ "kind",
31018
+ "collection"
31019
+ ],
31020
+ "additionalProperties": false
31021
+ },
31022
+ {
31023
+ "type": "object",
31024
+ "properties": {
31025
+ "kind": {
31026
+ "type": "string",
31027
+ "const": "org-local"
31028
+ },
31029
+ "orgId": {
31030
+ "type": "string",
31031
+ "minLength": 1,
31032
+ "maxLength": 256
31033
+ },
31034
+ "workspaceId": {
31035
+ "type": "string",
31036
+ "minLength": 1,
31037
+ "maxLength": 256
31038
+ }
31039
+ },
31040
+ "required": [
31041
+ "kind",
31042
+ "orgId",
31043
+ "workspaceId"
31044
+ ],
31045
+ "additionalProperties": false
31046
+ },
31047
+ {
31048
+ "type": "object",
31049
+ "properties": {
31050
+ "kind": {
31051
+ "type": "string",
31052
+ "const": "org-hosted"
31053
+ },
31054
+ "orgId": {
31055
+ "type": "string",
31056
+ "minLength": 1,
31057
+ "maxLength": 256
31058
+ },
31059
+ "deploymentId": {
31060
+ "type": "string",
31061
+ "minLength": 1,
31062
+ "maxLength": 256
31063
+ }
31064
+ },
31065
+ "required": [
31066
+ "kind",
31067
+ "orgId",
31068
+ "deploymentId"
31069
+ ],
31070
+ "additionalProperties": false
31071
+ }
31072
+ ],
31073
+ "type": "object"
31074
+ },
31075
+ "id": {
31076
+ "type": "string",
31077
+ "minLength": 1,
31078
+ "maxLength": 256
31079
+ },
31080
+ "revision": {
31081
+ "type": "string",
31082
+ "pattern": "^[a-f0-9]{64}$"
31083
+ }
31084
+ },
31085
+ "required": [
31086
+ "scope",
31087
+ "id",
31088
+ "revision"
31089
+ ],
31090
+ "additionalProperties": false
31091
+ },
31092
+ "name": {
31093
+ "type": "string",
31094
+ "minLength": 1,
31095
+ "maxLength": 256
31096
+ },
31097
+ "description": {
31098
+ "type": "string"
31099
+ },
31100
+ "category": {
31101
+ "type": "string",
31102
+ "minLength": 1,
31103
+ "maxLength": 256
31104
+ },
31105
+ "presentation": {
31106
+ "type": "object",
31107
+ "properties": {
31108
+ "version": {
31109
+ "type": "number",
31110
+ "const": 1
31111
+ },
31112
+ "representativeTimeSeconds": {
31113
+ "type": "number",
31114
+ "minimum": 0
31115
+ }
31116
+ },
31117
+ "required": [
31118
+ "version",
31119
+ "representativeTimeSeconds"
31120
+ ],
31121
+ "additionalProperties": false
31122
+ },
31123
+ "showcase": {
31124
+ "type": "object",
31125
+ "properties": {
31126
+ "version": {
31127
+ "type": "number",
31128
+ "const": 1
31129
+ },
31130
+ "presentationKey": {
31131
+ "type": "string",
31132
+ "minLength": 1
31133
+ },
31134
+ "fixtureIdentity": {
31135
+ "type": "string",
31136
+ "pattern": "^[a-f0-9]{64}$"
31137
+ },
31138
+ "rendererIdentity": {
31139
+ "type": "string",
31140
+ "pattern": "^[a-f0-9]{64}$"
31141
+ },
31142
+ "video": {
31143
+ "type": "object",
31144
+ "properties": {
31145
+ "file": {
31146
+ "type": "string",
31147
+ "minLength": 1
31148
+ },
31149
+ "sha256": {
31150
+ "type": "string",
31151
+ "pattern": "^[a-f0-9]{64}$"
31152
+ },
31153
+ "byteLength": {
31154
+ "type": "integer",
31155
+ "exclusiveMinimum": 0,
31156
+ "maximum": 9007199254740991
31157
+ },
31158
+ "width": {
31159
+ "type": "integer",
31160
+ "exclusiveMinimum": 0,
31161
+ "maximum": 9007199254740991
31162
+ },
31163
+ "height": {
31164
+ "type": "integer",
31165
+ "exclusiveMinimum": 0,
31166
+ "maximum": 9007199254740991
31167
+ },
31168
+ "fps": {
31169
+ "type": "number",
31170
+ "exclusiveMinimum": 0
31171
+ },
31172
+ "durationInFrames": {
31173
+ "type": "integer",
31174
+ "exclusiveMinimum": 0,
31175
+ "maximum": 9007199254740991
31176
+ }
31177
+ },
31178
+ "required": [
31179
+ "file",
31180
+ "sha256",
31181
+ "byteLength",
31182
+ "width",
31183
+ "height",
31184
+ "fps",
31185
+ "durationInFrames"
31186
+ ],
31187
+ "additionalProperties": false
31188
+ },
31189
+ "poster": {
31190
+ "type": "object",
31191
+ "properties": {
31192
+ "file": {
31193
+ "type": "string",
31194
+ "minLength": 1
31195
+ },
31196
+ "sha256": {
31197
+ "type": "string",
31198
+ "pattern": "^[a-f0-9]{64}$"
31199
+ },
31200
+ "byteLength": {
31201
+ "type": "integer",
31202
+ "exclusiveMinimum": 0,
31203
+ "maximum": 9007199254740991
31204
+ },
31205
+ "frame": {
31206
+ "type": "integer",
31207
+ "minimum": 0,
31208
+ "maximum": 9007199254740991
31209
+ }
31210
+ },
31211
+ "required": [
31212
+ "file",
31213
+ "sha256",
31214
+ "byteLength",
31215
+ "frame"
31216
+ ],
31217
+ "additionalProperties": false
31218
+ }
31219
+ },
31220
+ "required": [
31221
+ "version",
31222
+ "presentationKey",
31223
+ "fixtureIdentity",
31224
+ "rendererIdentity",
31225
+ "video",
31226
+ "poster"
31227
+ ],
31228
+ "additionalProperties": false
31229
+ },
31230
+ "preview": {
31231
+ "type": "object",
31232
+ "properties": {
31233
+ "identity": {
31234
+ "type": "string",
31235
+ "pattern": "^[a-f0-9]{64}$"
31236
+ },
31237
+ "status": {
31238
+ "type": "string",
31239
+ "enum": [
31240
+ "unproven",
31241
+ "verified"
31242
+ ]
31243
+ }
31244
+ },
31245
+ "required": [
31246
+ "identity",
31247
+ "status"
31248
+ ],
31249
+ "additionalProperties": false
31250
+ },
31251
+ "kind": {
31252
+ "type": "string",
31253
+ "const": "recipe"
31254
+ },
31255
+ "document": {
31256
+ "type": "object",
31257
+ "properties": {
31258
+ "scope": {
31259
+ "oneOf": [
31260
+ {
31261
+ "type": "object",
31262
+ "properties": {
31263
+ "kind": {
31264
+ "type": "string",
31265
+ "const": "builtin"
31266
+ },
31267
+ "collection": {
31268
+ "type": "string",
31269
+ "minLength": 1,
31270
+ "maxLength": 256
31271
+ }
31272
+ },
31273
+ "required": [
31274
+ "kind",
31275
+ "collection"
31276
+ ],
31277
+ "additionalProperties": false
31278
+ },
31279
+ {
31280
+ "type": "object",
31281
+ "properties": {
31282
+ "kind": {
31283
+ "type": "string",
31284
+ "const": "org-local"
31285
+ },
31286
+ "orgId": {
31287
+ "type": "string",
31288
+ "minLength": 1,
31289
+ "maxLength": 256
31290
+ },
31291
+ "workspaceId": {
31292
+ "type": "string",
31293
+ "minLength": 1,
31294
+ "maxLength": 256
31295
+ }
31296
+ },
31297
+ "required": [
31298
+ "kind",
31299
+ "orgId",
31300
+ "workspaceId"
31301
+ ],
31302
+ "additionalProperties": false
31303
+ },
31304
+ {
31305
+ "type": "object",
31306
+ "properties": {
31307
+ "kind": {
31308
+ "type": "string",
31309
+ "const": "org-hosted"
31310
+ },
31311
+ "orgId": {
31312
+ "type": "string",
31313
+ "minLength": 1,
31314
+ "maxLength": 256
31315
+ },
31316
+ "deploymentId": {
31317
+ "type": "string",
31318
+ "minLength": 1,
31319
+ "maxLength": 256
31320
+ }
31321
+ },
31322
+ "required": [
31323
+ "kind",
31324
+ "orgId",
31325
+ "deploymentId"
31326
+ ],
31327
+ "additionalProperties": false
31328
+ }
31329
+ ],
31330
+ "type": "object"
31331
+ },
31332
+ "documentId": {
31333
+ "type": "string",
31334
+ "minLength": 1,
31335
+ "maxLength": 256
31336
+ },
31337
+ "documentSha256": {
31338
+ "type": "string",
31339
+ "pattern": "^[a-f0-9]{64}$"
31340
+ }
31341
+ },
31342
+ "required": [
31343
+ "scope",
31344
+ "documentId",
31345
+ "documentSha256"
31346
+ ],
31347
+ "additionalProperties": false
31348
+ },
31349
+ "placementCount": {
31350
+ "type": "integer",
31351
+ "minimum": 1,
31352
+ "maximum": 9007199254740991
31353
+ },
31354
+ "memberSources": {
31355
+ "minItems": 1,
31356
+ "type": "array",
31357
+ "items": {
31358
+ "type": "object",
31359
+ "properties": {
31360
+ "scope": {
31361
+ "oneOf": [
31362
+ {
31363
+ "type": "object",
31364
+ "properties": {
31365
+ "kind": {
31366
+ "type": "string",
31367
+ "const": "builtin"
31368
+ },
31369
+ "collection": {
31370
+ "type": "string",
31371
+ "minLength": 1,
31372
+ "maxLength": 256
31373
+ }
31374
+ },
31375
+ "required": [
31376
+ "kind",
31377
+ "collection"
31378
+ ],
31379
+ "additionalProperties": false
31380
+ },
31381
+ {
31382
+ "type": "object",
31383
+ "properties": {
31384
+ "kind": {
31385
+ "type": "string",
31386
+ "const": "org-local"
31387
+ },
31388
+ "orgId": {
31389
+ "type": "string",
31390
+ "minLength": 1,
31391
+ "maxLength": 256
31392
+ },
31393
+ "workspaceId": {
31394
+ "type": "string",
31395
+ "minLength": 1,
31396
+ "maxLength": 256
31397
+ }
31398
+ },
31399
+ "required": [
31400
+ "kind",
31401
+ "orgId",
31402
+ "workspaceId"
31403
+ ],
31404
+ "additionalProperties": false
31405
+ },
31406
+ {
31407
+ "type": "object",
31408
+ "properties": {
31409
+ "kind": {
31410
+ "type": "string",
31411
+ "const": "org-hosted"
31412
+ },
31413
+ "orgId": {
31414
+ "type": "string",
31415
+ "minLength": 1,
31416
+ "maxLength": 256
31417
+ },
31418
+ "deploymentId": {
31419
+ "type": "string",
31420
+ "minLength": 1,
31421
+ "maxLength": 256
31422
+ }
31423
+ },
31424
+ "required": [
31425
+ "kind",
31426
+ "orgId",
31427
+ "deploymentId"
31428
+ ],
31429
+ "additionalProperties": false
31430
+ }
31431
+ ],
31432
+ "type": "object"
31433
+ },
31434
+ "componentId": {
31435
+ "type": "string",
31436
+ "minLength": 1,
31437
+ "maxLength": 256
31438
+ },
31439
+ "sourceVersionId": {
31440
+ "type": "string",
31441
+ "pattern": "^[a-f0-9]{64}$"
31442
+ },
31443
+ "sourceVersion": {
31444
+ "anyOf": [
31445
+ {
31446
+ "type": "number",
31447
+ "const": 2
31448
+ },
31449
+ {
31450
+ "type": "number",
31451
+ "const": 3
31452
+ }
31453
+ ]
31454
+ }
31455
+ },
31456
+ "required": [
31457
+ "scope",
31458
+ "componentId",
31459
+ "sourceVersionId",
31460
+ "sourceVersion"
31461
+ ],
31462
+ "additionalProperties": false
31463
+ }
31464
+ },
31465
+ "equivalence": {
31466
+ "type": "string",
31467
+ "enum": [
31468
+ "unproven",
31469
+ "verified"
31470
+ ]
31471
+ }
31472
+ },
31473
+ "required": [
31474
+ "identity",
31475
+ "name",
31476
+ "description",
31477
+ "category",
31478
+ "kind",
31479
+ "document",
31480
+ "placementCount",
31481
+ "memberSources",
31482
+ "equivalence"
31483
+ ],
31484
+ "additionalProperties": false
31485
+ }
31486
+ ],
31487
+ "type": "object"
31488
+ },
31489
+ "document": {
31490
+ "type": "object",
31491
+ "propertyNames": {
31492
+ "type": "string"
31493
+ },
31494
+ "additionalProperties": {}
31495
+ },
31496
+ "documentText": {
31497
+ "type": "string"
31498
+ },
31499
+ "documentSha256": {
31500
+ "type": "string",
31501
+ "pattern": "^[a-f0-9]{64}$"
31502
+ },
31503
+ "source": {
31504
+ "type": "object",
31505
+ "propertyNames": {
31506
+ "type": "string"
31507
+ },
31508
+ "additionalProperties": {}
31509
+ },
31510
+ "sources": {
31511
+ "type": "array",
31512
+ "items": {
31513
+ "type": "object",
31514
+ "propertyNames": {
31515
+ "type": "string"
31516
+ },
31517
+ "additionalProperties": {}
31518
+ }
31519
+ },
31520
+ "preset": {
31521
+ "type": "object",
31522
+ "propertyNames": {
31523
+ "type": "string"
31524
+ },
31525
+ "additionalProperties": {}
31526
+ }
31527
+ },
31528
+ "required": [
31529
+ "card"
31530
+ ],
31531
+ "additionalProperties": false
31532
+ },
31533
+ "TemplateApplyRequest": {
31534
+ "type": "object",
31535
+ "properties": {
31536
+ "documentSha256": {
31537
+ "type": "string",
31538
+ "pattern": "^[a-f0-9]{64}$"
31539
+ },
31540
+ "insert": {
31541
+ "type": "object",
31542
+ "properties": {
31543
+ "startTime": {
31544
+ "type": "number",
31545
+ "minimum": 0
31546
+ },
31547
+ "idPrefix": {
31548
+ "type": "string",
31549
+ "minLength": 1
31550
+ }
31551
+ },
31552
+ "required": [
31553
+ "startTime",
31554
+ "idPrefix"
31555
+ ],
31556
+ "additionalProperties": false
31557
+ },
31558
+ "expectedRevision": {
31559
+ "type": "integer",
31560
+ "minimum": 0,
31561
+ "maximum": 9007199254740991
31562
+ },
31563
+ "commandId": {
31564
+ "type": "string",
31565
+ "minLength": 1,
31566
+ "maxLength": 128
31567
+ },
31568
+ "componentExecutionVersions": {
31569
+ "minItems": 1,
31570
+ "maxItems": 1,
31571
+ "type": "array",
31572
+ "items": {
31573
+ "type": "number",
31574
+ "const": 3
31575
+ }
31576
+ },
31577
+ "expectedBrandIdentity": {
31578
+ "type": "string",
31579
+ "pattern": "^[a-f0-9]{64}$"
31580
+ },
31581
+ "projectId": {
31582
+ "type": "string",
31583
+ "minLength": 1
31584
+ },
31585
+ "values": {
31586
+ "default": {},
31587
+ "type": "object",
31588
+ "propertyNames": {
31589
+ "type": "string"
31590
+ },
31591
+ "additionalProperties": {}
31592
+ },
31593
+ "media": {
31594
+ "default": {},
31595
+ "type": "object",
31596
+ "propertyNames": {
31597
+ "type": "string"
31598
+ },
31599
+ "additionalProperties": {
31600
+ "$ref": "#/components/schemas/TemplateMediaValue"
31601
+ }
31602
+ },
31603
+ "preset": {
31604
+ "type": "string",
31605
+ "minLength": 1
31606
+ },
31607
+ "brandKitId": {
31608
+ "type": "string",
31609
+ "minLength": 1
31610
+ }
31611
+ },
31612
+ "required": [
31613
+ "projectId",
31614
+ "values",
31615
+ "media"
31616
+ ],
31617
+ "additionalProperties": false,
31618
+ "examples": [
31619
+ {
31620
+ "projectId": "observed-project",
31621
+ "values": {},
31622
+ "media": {}
31623
+ }
31624
+ ]
31625
+ },
31626
+ "TemplateMediaValue": {
31627
+ "anyOf": [
31628
+ {
31629
+ "type": "object",
31630
+ "properties": {
31631
+ "mediaId": {
31632
+ "type": "string",
31633
+ "minLength": 1
31634
+ }
31635
+ },
31636
+ "required": [
31637
+ "mediaId"
31638
+ ],
31639
+ "additionalProperties": false
31640
+ },
31641
+ {
31642
+ "type": "object",
31643
+ "properties": {
31644
+ "url": {
31645
+ "type": "string",
31646
+ "format": "starts_with",
31647
+ "pattern": "^https:\\/\\/.*"
31648
+ },
31649
+ "mimeType": {
31650
+ "type": "string",
31651
+ "minLength": 1
31652
+ }
31653
+ },
31654
+ "required": [
31655
+ "url"
31656
+ ],
31657
+ "additionalProperties": false
31658
+ },
31659
+ {
31660
+ "type": "object",
31661
+ "properties": {
31662
+ "sample": {
31663
+ "type": "boolean",
31664
+ "const": true
31665
+ }
31666
+ },
31667
+ "required": [
31668
+ "sample"
31669
+ ],
31670
+ "additionalProperties": false
31671
+ }
31672
+ ]
31673
+ },
31674
+ "TemplateApplyResponse": {
31675
+ "type": "object",
31676
+ "properties": {
31677
+ "projectId": {
31678
+ "type": "string"
31679
+ },
31680
+ "compositionId": {
31681
+ "type": "string"
31682
+ },
31683
+ "versionId": {
31684
+ "type": "string"
31685
+ },
31686
+ "etag": {
31687
+ "type": "string"
31688
+ },
31689
+ "templateId": {
31690
+ "type": "string"
31691
+ },
31692
+ "version": {
31693
+ "type": "integer",
31694
+ "minimum": -9007199254740991,
31695
+ "maximum": 9007199254740991
31696
+ },
31697
+ "components": {
31698
+ "type": "array",
31699
+ "items": {
31700
+ "type": "object",
31701
+ "properties": {
31702
+ "documentKey": {
31703
+ "type": "string"
31704
+ },
31705
+ "componentId": {
31706
+ "type": "string"
31707
+ },
31708
+ "sourceVersionId": {
31709
+ "type": "string"
31710
+ },
31711
+ "created": {
31712
+ "type": "boolean"
31713
+ }
31714
+ },
31715
+ "required": [
31716
+ "documentKey",
31717
+ "componentId",
31718
+ "sourceVersionId",
31719
+ "created"
31720
+ ],
31721
+ "additionalProperties": false
31722
+ }
31723
+ }
31724
+ },
31725
+ "required": [
31726
+ "projectId",
31727
+ "compositionId",
31728
+ "versionId",
31729
+ "etag",
31730
+ "templateId",
31731
+ "version",
31732
+ "components"
31733
+ ],
31734
+ "additionalProperties": false
31735
+ },
31736
+ "TemplateApplyPendingResponse": {
31737
+ "type": "object",
31738
+ "properties": {
31739
+ "templateId": {
31740
+ "type": "string"
31741
+ },
31742
+ "version": {
31743
+ "type": "integer",
31744
+ "minimum": -9007199254740991,
31745
+ "maximum": 9007199254740991
31746
+ },
31747
+ "pendingMediaIds": {
31748
+ "type": "array",
31749
+ "items": {
31750
+ "type": "string"
31751
+ }
31752
+ }
31753
+ },
31754
+ "required": [
31755
+ "templateId",
31756
+ "version",
31757
+ "pendingMediaIds"
31758
+ ],
31759
+ "additionalProperties": false
31760
+ },
31761
+ "TemplateInstantiateRequest": {
31762
+ "type": "object",
31763
+ "properties": {
31764
+ "projectName": {
31765
+ "type": "string",
31766
+ "minLength": 1,
31767
+ "maxLength": 200
31768
+ },
31769
+ "values": {
31770
+ "default": {},
31771
+ "type": "object",
31772
+ "propertyNames": {
31773
+ "type": "string"
31774
+ },
31775
+ "additionalProperties": {}
31776
+ },
31777
+ "media": {
31778
+ "default": {},
31779
+ "type": "object",
31780
+ "propertyNames": {
31781
+ "type": "string"
31782
+ },
31783
+ "additionalProperties": {
31784
+ "$ref": "#/components/schemas/TemplateMediaValue"
31785
+ }
31786
+ },
31787
+ "preset": {
31788
+ "type": "string",
31789
+ "minLength": 1
31790
+ },
31791
+ "brandKitId": {
31792
+ "type": "string",
31793
+ "minLength": 1
31794
+ }
31795
+ },
31796
+ "required": [
31797
+ "projectName",
31798
+ "values",
31799
+ "media"
31800
+ ],
31801
+ "additionalProperties": false
31802
+ },
31803
+ "TemplateInstantiationJobResponse": {
31804
+ "type": "object",
31805
+ "properties": {
31806
+ "jobId": {
31807
+ "type": "string"
31808
+ },
31809
+ "projectId": {
31810
+ "type": [
31811
+ "string",
31812
+ "null"
31813
+ ]
31814
+ },
31815
+ "status": {
31816
+ "type": "string",
31817
+ "enum": [
31818
+ "preparing",
31819
+ "ready",
31820
+ "failed",
31821
+ "cancelled"
31822
+ ]
31823
+ },
31824
+ "stage": {
31825
+ "type": "string",
31826
+ "enum": [
31827
+ "resolving",
31828
+ "downloading",
31829
+ "verifying",
31830
+ "importing",
31831
+ "processing",
31832
+ "attaching",
31833
+ "applying",
31834
+ "preflighting",
31835
+ "ready"
31836
+ ]
31837
+ },
31838
+ "templateRef": {
31839
+ "type": "string"
31840
+ },
31841
+ "documentSha256": {
31842
+ "type": [
31843
+ "string",
31844
+ "null"
31845
+ ]
31846
+ },
31847
+ "errorCode": {
31848
+ "type": "string"
31849
+ },
31850
+ "errorMessage": {
31851
+ "type": "string"
31852
+ },
31853
+ "createdAt": {
31854
+ "type": "string"
31855
+ },
31856
+ "updatedAt": {
31857
+ "type": "string"
31858
+ }
31859
+ },
31860
+ "required": [
31861
+ "jobId",
31862
+ "projectId",
31863
+ "status",
31864
+ "stage",
31865
+ "templateRef",
31866
+ "documentSha256",
31867
+ "createdAt",
31868
+ "updatedAt"
31869
+ ],
31870
+ "additionalProperties": false
31871
+ },
31872
+ "TemplateRenderCreateRequest": {
31873
+ "type": "object",
31874
+ "properties": {
31875
+ "values": {
31876
+ "default": {},
31877
+ "type": "object",
31878
+ "propertyNames": {
31879
+ "type": "string"
31880
+ },
31881
+ "additionalProperties": {}
31882
+ },
31883
+ "media": {
31884
+ "default": {},
31885
+ "type": "object",
31886
+ "propertyNames": {
31887
+ "type": "string"
31888
+ },
31889
+ "additionalProperties": {
31890
+ "$ref": "#/components/schemas/TemplateMediaValue"
31891
+ }
31892
+ },
31893
+ "preset": {
31894
+ "type": "string",
31895
+ "minLength": 1
31896
+ },
31897
+ "brandKitId": {
31898
+ "type": "string",
31899
+ "minLength": 1
31900
+ },
31901
+ "posterAt": {
31902
+ "description": "Seconds into the render for the poster still; default 1.",
31903
+ "type": "number",
31904
+ "minimum": 0
31905
+ }
31906
+ },
31907
+ "required": [
31908
+ "values",
31909
+ "media"
31910
+ ],
31911
+ "additionalProperties": false
31912
+ },
31913
+ "TemplateRenderResponse": {
31914
+ "type": "object",
31915
+ "properties": {
31916
+ "id": {
31917
+ "type": "string"
31918
+ },
31919
+ "status": {
31920
+ "type": "string",
31921
+ "enum": [
31922
+ "preparing",
31923
+ "rendering",
31924
+ "complete",
31925
+ "failed",
31926
+ "cancelled",
31927
+ "revoked"
31928
+ ]
31929
+ },
31930
+ "templateId": {
31931
+ "type": "string"
31932
+ },
31933
+ "version": {
31934
+ "type": "integer",
31935
+ "minimum": -9007199254740991,
31936
+ "maximum": 9007199254740991
31937
+ },
31938
+ "preset": {
31939
+ "type": "string"
31940
+ },
31941
+ "brandKitId": {
31942
+ "type": "string"
31943
+ },
31944
+ "shareUrl": {
31945
+ "type": [
31946
+ "string",
31947
+ "null"
31948
+ ]
31949
+ },
31950
+ "posterUrl": {
31951
+ "type": [
31952
+ "string",
31953
+ "null"
31954
+ ]
31955
+ },
31956
+ "renderId": {
31957
+ "type": [
31958
+ "string",
31959
+ "null"
31960
+ ]
31961
+ },
31962
+ "errorCode": {
31963
+ "type": "string"
31964
+ },
31965
+ "errorMessage": {
31966
+ "type": "string"
31967
+ },
31968
+ "expiresAt": {
31969
+ "type": "string"
31970
+ },
31971
+ "createdAt": {
31972
+ "type": "string"
31973
+ },
31974
+ "updatedAt": {
31975
+ "type": "string"
31976
+ }
31977
+ },
31978
+ "required": [
31979
+ "id",
31980
+ "status",
31981
+ "templateId",
31982
+ "version",
31983
+ "shareUrl",
31984
+ "posterUrl",
31985
+ "renderId",
31986
+ "createdAt",
31987
+ "updatedAt"
31988
+ ],
31989
+ "additionalProperties": false
31990
+ },
31991
+ "X402PaymentRequired": {
31992
+ "type": "object",
31993
+ "title": "X402PaymentRequired",
31994
+ "description": "x402 v2 PaymentRequired challenge — the body of a 402 on a priced operation.",
31995
+ "properties": {
31996
+ "x402Version": {
31997
+ "type": "integer",
31998
+ "const": 2
31999
+ },
32000
+ "accepts": {
32001
+ "type": "array",
32002
+ "description": "Accepted payment requirements. Read `accepts[0]` for scheme (`exact` for a fixed price, `upto` for a measured one), network (CAIP-2), asset, amount and payTo.",
32003
+ "items": {
32004
+ "type": "object"
32005
+ }
32006
+ },
32007
+ "error": {
32008
+ "type": "string",
32009
+ "description": "Human-readable reason."
32010
+ }
32011
+ },
32012
+ "required": [
32013
+ "x402Version",
32014
+ "accepts"
32015
+ ]
32016
+ },
32017
+ "SceneShotSpecV2": {
32018
+ "type": "object",
32019
+ "properties": {
32020
+ "version": {
32021
+ "type": "number",
32022
+ "const": 2
32023
+ },
32024
+ "referenceSize": {
32025
+ "type": "object",
32026
+ "properties": {
32027
+ "width": {
32028
+ "type": "integer",
32029
+ "minimum": 16,
32030
+ "maximum": 8192
32031
+ },
32032
+ "height": {
32033
+ "type": "integer",
32034
+ "minimum": 16,
32035
+ "maximum": 8192
32036
+ }
32037
+ },
32038
+ "required": [
32039
+ "width",
32040
+ "height"
32041
+ ],
32042
+ "additionalProperties": false
32043
+ },
32044
+ "camera": {
32045
+ "type": "object",
32046
+ "properties": {
32047
+ "position": {
32048
+ "type": "array",
32049
+ "prefixItems": [
32050
+ {
32051
+ "type": "number"
32052
+ },
32053
+ {
32054
+ "type": "number"
32055
+ },
32056
+ {
32057
+ "type": "number"
32058
+ }
30305
32059
  ],
30306
32060
  "items": false,
30307
32061
  "minItems": 3,
@@ -41689,10 +43443,14 @@
41689
43443
  {
41690
43444
  "bearerAuth": []
41691
43445
  },
43446
+ {
43447
+ "oauth2": []
43448
+ },
41692
43449
  {
41693
43450
  "x402": []
41694
43451
  }
41695
43452
  ],
43453
+ "x-permissions": {},
41696
43454
  "responses": {
41697
43455
  "200": {
41698
43456
  "description": "Authenticated caller identity.",
@@ -41819,10 +43577,14 @@
41819
43577
  {
41820
43578
  "bearerAuth": []
41821
43579
  },
43580
+ {
43581
+ "oauth2": []
43582
+ },
41822
43583
  {
41823
43584
  "x402": []
41824
43585
  }
41825
43586
  ],
43587
+ "x-permissions": {},
41826
43588
  "responses": {
41827
43589
  "200": {
41828
43590
  "description": "The caller's account, plan, entitlements, and cost ceilings.",
@@ -41929,6 +43691,11 @@
41929
43691
  {
41930
43692
  "bearerAuth": []
41931
43693
  },
43694
+ {
43695
+ "oauth2": [
43696
+ "projects:read"
43697
+ ]
43698
+ },
41932
43699
  {
41933
43700
  "x402": []
41934
43701
  }
@@ -42084,6 +43851,11 @@
42084
43851
  {
42085
43852
  "bearerAuth": []
42086
43853
  },
43854
+ {
43855
+ "oauth2": [
43856
+ "projects:write"
43857
+ ]
43858
+ },
42087
43859
  {
42088
43860
  "x402": []
42089
43861
  }
@@ -42229,6 +44001,11 @@
42229
44001
  {
42230
44002
  "bearerAuth": []
42231
44003
  },
44004
+ {
44005
+ "oauth2": [
44006
+ "projects:read"
44007
+ ]
44008
+ },
42232
44009
  {
42233
44010
  "x402": []
42234
44011
  }
@@ -42372,6 +44149,11 @@
42372
44149
  {
42373
44150
  "bearerAuth": []
42374
44151
  },
44152
+ {
44153
+ "oauth2": [
44154
+ "projects:write"
44155
+ ]
44156
+ },
42375
44157
  {
42376
44158
  "x402": []
42377
44159
  }
@@ -42525,6 +44307,11 @@
42525
44307
  {
42526
44308
  "bearerAuth": []
42527
44309
  },
44310
+ {
44311
+ "oauth2": [
44312
+ "projects:write"
44313
+ ]
44314
+ },
42528
44315
  {
42529
44316
  "x402": []
42530
44317
  }
@@ -42673,6 +44460,11 @@
42673
44460
  {
42674
44461
  "bearerAuth": []
42675
44462
  },
44463
+ {
44464
+ "oauth2": [
44465
+ "projects:read"
44466
+ ]
44467
+ },
42676
44468
  {
42677
44469
  "x402": []
42678
44470
  }
@@ -42828,6 +44620,11 @@
42828
44620
  {
42829
44621
  "bearerAuth": []
42830
44622
  },
44623
+ {
44624
+ "oauth2": [
44625
+ "projects:write"
44626
+ ]
44627
+ },
42831
44628
  {
42832
44629
  "x402": []
42833
44630
  }
@@ -42986,6 +44783,11 @@
42986
44783
  {
42987
44784
  "bearerAuth": []
42988
44785
  },
44786
+ {
44787
+ "oauth2": [
44788
+ "projects:write"
44789
+ ]
44790
+ },
42989
44791
  {
42990
44792
  "x402": []
42991
44793
  }
@@ -43132,6 +44934,11 @@
43132
44934
  {
43133
44935
  "bearerAuth": []
43134
44936
  },
44937
+ {
44938
+ "oauth2": [
44939
+ "projects:read"
44940
+ ]
44941
+ },
43135
44942
  {
43136
44943
  "x402": []
43137
44944
  }
@@ -43257,6 +45064,11 @@
43257
45064
  {
43258
45065
  "bearerAuth": []
43259
45066
  },
45067
+ {
45068
+ "oauth2": [
45069
+ "projects:write"
45070
+ ]
45071
+ },
43260
45072
  {
43261
45073
  "x402": []
43262
45074
  }
@@ -43415,6 +45227,11 @@
43415
45227
  {
43416
45228
  "bearerAuth": []
43417
45229
  },
45230
+ {
45231
+ "oauth2": [
45232
+ "projects:write"
45233
+ ]
45234
+ },
43418
45235
  {
43419
45236
  "x402": []
43420
45237
  }
@@ -43573,6 +45390,11 @@
43573
45390
  {
43574
45391
  "bearerAuth": []
43575
45392
  },
45393
+ {
45394
+ "oauth2": [
45395
+ "projects:write"
45396
+ ]
45397
+ },
43576
45398
  {
43577
45399
  "x402": []
43578
45400
  }
@@ -43731,6 +45553,11 @@
43731
45553
  {
43732
45554
  "bearerAuth": []
43733
45555
  },
45556
+ {
45557
+ "oauth2": [
45558
+ "projects:write"
45559
+ ]
45560
+ },
43734
45561
  {
43735
45562
  "x402": []
43736
45563
  }
@@ -43886,10 +45713,14 @@
43886
45713
  {
43887
45714
  "bearerAuth": []
43888
45715
  },
45716
+ {
45717
+ "oauth2": []
45718
+ },
43889
45719
  {
43890
45720
  "x402": []
43891
45721
  }
43892
45722
  ],
45723
+ "x-permissions": {},
43893
45724
  "requestBody": {
43894
45725
  "required": true,
43895
45726
  "content": {
@@ -44110,6 +45941,11 @@
44110
45941
  {
44111
45942
  "bearerAuth": []
44112
45943
  },
45944
+ {
45945
+ "oauth2": [
45946
+ "projects:write"
45947
+ ]
45948
+ },
44113
45949
  {
44114
45950
  "x402": []
44115
45951
  }
@@ -44256,6 +46092,11 @@
44256
46092
  {
44257
46093
  "bearerAuth": []
44258
46094
  },
46095
+ {
46096
+ "oauth2": [
46097
+ "media:read"
46098
+ ]
46099
+ },
44259
46100
  {
44260
46101
  "x402": []
44261
46102
  }
@@ -44405,6 +46246,11 @@
44405
46246
  {
44406
46247
  "bearerAuth": []
44407
46248
  },
46249
+ {
46250
+ "oauth2": [
46251
+ "media:write"
46252
+ ]
46253
+ },
44408
46254
  {
44409
46255
  "x402": []
44410
46256
  }
@@ -44550,6 +46396,11 @@
44550
46396
  {
44551
46397
  "bearerAuth": []
44552
46398
  },
46399
+ {
46400
+ "oauth2": [
46401
+ "media:write"
46402
+ ]
46403
+ },
44553
46404
  {
44554
46405
  "x402": []
44555
46406
  }
@@ -44693,6 +46544,11 @@
44693
46544
  {
44694
46545
  "bearerAuth": []
44695
46546
  },
46547
+ {
46548
+ "oauth2": [
46549
+ "media:read"
46550
+ ]
46551
+ },
44696
46552
  {
44697
46553
  "x402": []
44698
46554
  }
@@ -44892,6 +46748,11 @@
44892
46748
  {
44893
46749
  "bearerAuth": []
44894
46750
  },
46751
+ {
46752
+ "oauth2": [
46753
+ "media:write"
46754
+ ]
46755
+ },
44895
46756
  {
44896
46757
  "x402": []
44897
46758
  }
@@ -45027,6 +46888,11 @@
45027
46888
  {
45028
46889
  "bearerAuth": []
45029
46890
  },
46891
+ {
46892
+ "oauth2": [
46893
+ "media:write"
46894
+ ]
46895
+ },
45030
46896
  {
45031
46897
  "x402": []
45032
46898
  }
@@ -45164,6 +47030,11 @@
45164
47030
  {
45165
47031
  "bearerAuth": []
45166
47032
  },
47033
+ {
47034
+ "oauth2": [
47035
+ "media:write"
47036
+ ]
47037
+ },
45167
47038
  {
45168
47039
  "x402": []
45169
47040
  }
@@ -45310,6 +47181,11 @@
45310
47181
  {
45311
47182
  "bearerAuth": []
45312
47183
  },
47184
+ {
47185
+ "oauth2": [
47186
+ "media:write"
47187
+ ]
47188
+ },
45313
47189
  {
45314
47190
  "x402": []
45315
47191
  }
@@ -45446,6 +47322,11 @@
45446
47322
  {
45447
47323
  "bearerAuth": []
45448
47324
  },
47325
+ {
47326
+ "oauth2": [
47327
+ "media:read"
47328
+ ]
47329
+ },
45449
47330
  {
45450
47331
  "x402": []
45451
47332
  }
@@ -45591,6 +47472,11 @@
45591
47472
  {
45592
47473
  "bearerAuth": []
45593
47474
  },
47475
+ {
47476
+ "oauth2": [
47477
+ "media:read"
47478
+ ]
47479
+ },
45594
47480
  {
45595
47481
  "x402": []
45596
47482
  }
@@ -45765,6 +47651,11 @@
45765
47651
  {
45766
47652
  "bearerAuth": []
45767
47653
  },
47654
+ {
47655
+ "oauth2": [
47656
+ "media:read"
47657
+ ]
47658
+ },
45768
47659
  {
45769
47660
  "x402": []
45770
47661
  }
@@ -45900,6 +47791,11 @@
45900
47791
  {
45901
47792
  "bearerAuth": []
45902
47793
  },
47794
+ {
47795
+ "oauth2": [
47796
+ "media:read"
47797
+ ]
47798
+ },
45903
47799
  {
45904
47800
  "x402": []
45905
47801
  }
@@ -46090,6 +47986,11 @@
46090
47986
  {
46091
47987
  "bearerAuth": []
46092
47988
  },
47989
+ {
47990
+ "oauth2": [
47991
+ "media:write"
47992
+ ]
47993
+ },
46093
47994
  {
46094
47995
  "x402": []
46095
47996
  }
@@ -46243,6 +48144,11 @@
46243
48144
  {
46244
48145
  "bearerAuth": []
46245
48146
  },
48147
+ {
48148
+ "oauth2": [
48149
+ "media:write"
48150
+ ]
48151
+ },
46246
48152
  {
46247
48153
  "x402": []
46248
48154
  }
@@ -46381,6 +48287,11 @@
46381
48287
  {
46382
48288
  "bearerAuth": []
46383
48289
  },
48290
+ {
48291
+ "oauth2": [
48292
+ "media:write"
48293
+ ]
48294
+ },
46384
48295
  {
46385
48296
  "x402": []
46386
48297
  }
@@ -46542,6 +48453,11 @@
46542
48453
  {
46543
48454
  "bearerAuth": []
46544
48455
  },
48456
+ {
48457
+ "oauth2": [
48458
+ "media:write"
48459
+ ]
48460
+ },
46545
48461
  {
46546
48462
  "x402": []
46547
48463
  }
@@ -46699,6 +48615,11 @@
46699
48615
  {
46700
48616
  "bearerAuth": []
46701
48617
  },
48618
+ {
48619
+ "oauth2": [
48620
+ "media:read"
48621
+ ]
48622
+ },
46702
48623
  {
46703
48624
  "x402": []
46704
48625
  }
@@ -46863,6 +48784,11 @@
46863
48784
  {
46864
48785
  "bearerAuth": []
46865
48786
  },
48787
+ {
48788
+ "oauth2": [
48789
+ "media:write"
48790
+ ]
48791
+ },
46866
48792
  {
46867
48793
  "x402": []
46868
48794
  }
@@ -47021,6 +48947,11 @@
47021
48947
  {
47022
48948
  "bearerAuth": []
47023
48949
  },
48950
+ {
48951
+ "oauth2": [
48952
+ "media:write"
48953
+ ]
48954
+ },
47024
48955
  {
47025
48956
  "x402": []
47026
48957
  }
@@ -47180,6 +49111,11 @@
47180
49111
  {
47181
49112
  "bearerAuth": []
47182
49113
  },
49114
+ {
49115
+ "oauth2": [
49116
+ "media:write"
49117
+ ]
49118
+ },
47183
49119
  {
47184
49120
  "x402": []
47185
49121
  }
@@ -47319,6 +49255,12 @@
47319
49255
  {
47320
49256
  "bearerAuth": []
47321
49257
  },
49258
+ {
49259
+ "oauth2": [
49260
+ "projects:read",
49261
+ "media:read"
49262
+ ]
49263
+ },
47322
49264
  {
47323
49265
  "x402": []
47324
49266
  }
@@ -47457,6 +49399,11 @@
47457
49399
  {
47458
49400
  "bearerAuth": []
47459
49401
  },
49402
+ {
49403
+ "oauth2": [
49404
+ "media:read"
49405
+ ]
49406
+ },
47460
49407
  {
47461
49408
  "x402": []
47462
49409
  }
@@ -47592,6 +49539,11 @@
47592
49539
  {
47593
49540
  "bearerAuth": []
47594
49541
  },
49542
+ {
49543
+ "oauth2": [
49544
+ "media:write"
49545
+ ]
49546
+ },
47595
49547
  {
47596
49548
  "x402": []
47597
49549
  }
@@ -47740,6 +49692,11 @@
47740
49692
  {
47741
49693
  "bearerAuth": []
47742
49694
  },
49695
+ {
49696
+ "oauth2": [
49697
+ "media:read"
49698
+ ]
49699
+ },
47743
49700
  {
47744
49701
  "x402": []
47745
49702
  }
@@ -47865,6 +49822,11 @@
47865
49822
  {
47866
49823
  "bearerAuth": []
47867
49824
  },
49825
+ {
49826
+ "oauth2": [
49827
+ "media:read"
49828
+ ]
49829
+ },
47868
49830
  {
47869
49831
  "x402": []
47870
49832
  }
@@ -47970,6 +49932,11 @@
47970
49932
  {
47971
49933
  "bearerAuth": []
47972
49934
  },
49935
+ {
49936
+ "oauth2": [
49937
+ "renders:write"
49938
+ ]
49939
+ },
47973
49940
  {
47974
49941
  "x402": []
47975
49942
  }
@@ -48155,6 +50122,11 @@
48155
50122
  {
48156
50123
  "bearerAuth": []
48157
50124
  },
50125
+ {
50126
+ "oauth2": [
50127
+ "renders:read"
50128
+ ]
50129
+ },
48158
50130
  {
48159
50131
  "x402": []
48160
50132
  }
@@ -48329,6 +50301,11 @@
48329
50301
  {
48330
50302
  "bearerAuth": []
48331
50303
  },
50304
+ {
50305
+ "oauth2": [
50306
+ "renders:write"
50307
+ ]
50308
+ },
48332
50309
  {
48333
50310
  "x402": []
48334
50311
  }
@@ -48501,6 +50478,11 @@
48501
50478
  {
48502
50479
  "bearerAuth": []
48503
50480
  },
50481
+ {
50482
+ "oauth2": [
50483
+ "renders:read"
50484
+ ]
50485
+ },
48504
50486
  {
48505
50487
  "x402": []
48506
50488
  }
@@ -48654,6 +50636,11 @@
48654
50636
  {
48655
50637
  "bearerAuth": []
48656
50638
  },
50639
+ {
50640
+ "oauth2": [
50641
+ "renders:write"
50642
+ ]
50643
+ },
48657
50644
  {
48658
50645
  "x402": []
48659
50646
  }
@@ -48817,6 +50804,11 @@
48817
50804
  {
48818
50805
  "bearerAuth": []
48819
50806
  },
50807
+ {
50808
+ "oauth2": [
50809
+ "renders:write"
50810
+ ]
50811
+ },
48820
50812
  {
48821
50813
  "x402": []
48822
50814
  }
@@ -48990,6 +50982,11 @@
48990
50982
  {
48991
50983
  "bearerAuth": []
48992
50984
  },
50985
+ {
50986
+ "oauth2": [
50987
+ "renders:write"
50988
+ ]
50989
+ },
48993
50990
  {
48994
50991
  "x402": []
48995
50992
  }
@@ -49143,6 +51140,11 @@
49143
51140
  {
49144
51141
  "bearerAuth": []
49145
51142
  },
51143
+ {
51144
+ "oauth2": [
51145
+ "renders:read"
51146
+ ]
51147
+ },
49146
51148
  {
49147
51149
  "x402": []
49148
51150
  }
@@ -49286,6 +51288,11 @@
49286
51288
  {
49287
51289
  "bearerAuth": []
49288
51290
  },
51291
+ {
51292
+ "oauth2": [
51293
+ "renders:write"
51294
+ ]
51295
+ },
49289
51296
  {
49290
51297
  "x402": []
49291
51298
  }
@@ -49451,6 +51458,11 @@
49451
51458
  {
49452
51459
  "bearerAuth": []
49453
51460
  },
51461
+ {
51462
+ "oauth2": [
51463
+ "renders:write"
51464
+ ]
51465
+ },
49454
51466
  {
49455
51467
  "x402": []
49456
51468
  }
@@ -49616,6 +51628,11 @@
49616
51628
  {
49617
51629
  "bearerAuth": []
49618
51630
  },
51631
+ {
51632
+ "oauth2": [
51633
+ "renders:read"
51634
+ ]
51635
+ },
49619
51636
  {
49620
51637
  "x402": []
49621
51638
  }
@@ -49769,6 +51786,11 @@
49769
51786
  {
49770
51787
  "bearerAuth": []
49771
51788
  },
51789
+ {
51790
+ "oauth2": [
51791
+ "renders:write"
51792
+ ]
51793
+ },
49772
51794
  {
49773
51795
  "x402": []
49774
51796
  }
@@ -49932,6 +51954,11 @@
49932
51954
  {
49933
51955
  "bearerAuth": []
49934
51956
  },
51957
+ {
51958
+ "oauth2": [
51959
+ "projects:read"
51960
+ ]
51961
+ },
49935
51962
  {
49936
51963
  "x402": []
49937
51964
  }
@@ -50087,6 +52114,11 @@
50087
52114
  {
50088
52115
  "bearerAuth": []
50089
52116
  },
52117
+ {
52118
+ "oauth2": [
52119
+ "projects:write"
52120
+ ]
52121
+ },
50090
52122
  {
50091
52123
  "x402": []
50092
52124
  }
@@ -50214,6 +52246,11 @@
50214
52246
  {
50215
52247
  "bearerAuth": []
50216
52248
  },
52249
+ {
52250
+ "oauth2": [
52251
+ "projects:write"
52252
+ ]
52253
+ },
50217
52254
  {
50218
52255
  "x402": []
50219
52256
  }
@@ -50349,6 +52386,11 @@
50349
52386
  {
50350
52387
  "bearerAuth": []
50351
52388
  },
52389
+ {
52390
+ "oauth2": [
52391
+ "projects:read"
52392
+ ]
52393
+ },
50352
52394
  {
50353
52395
  "x402": []
50354
52396
  }
@@ -50474,6 +52516,11 @@
50474
52516
  {
50475
52517
  "bearerAuth": []
50476
52518
  },
52519
+ {
52520
+ "oauth2": [
52521
+ "projects:read"
52522
+ ]
52523
+ },
50477
52524
  {
50478
52525
  "x402": []
50479
52526
  }
@@ -50629,6 +52676,11 @@
50629
52676
  {
50630
52677
  "bearerAuth": []
50631
52678
  },
52679
+ {
52680
+ "oauth2": [
52681
+ "projects:write"
52682
+ ]
52683
+ },
50632
52684
  {
50633
52685
  "x402": []
50634
52686
  }
@@ -50754,6 +52806,11 @@
50754
52806
  {
50755
52807
  "bearerAuth": []
50756
52808
  },
52809
+ {
52810
+ "oauth2": [
52811
+ "projects:write"
52812
+ ]
52813
+ },
50757
52814
  {
50758
52815
  "x402": []
50759
52816
  }
@@ -50928,6 +52985,11 @@
50928
52985
  {
50929
52986
  "bearerAuth": []
50930
52987
  },
52988
+ {
52989
+ "oauth2": [
52990
+ "projects:read"
52991
+ ]
52992
+ },
50931
52993
  {
50932
52994
  "x402": []
50933
52995
  }
@@ -51085,6 +53147,11 @@
51085
53147
  {
51086
53148
  "bearerAuth": []
51087
53149
  },
53150
+ {
53151
+ "oauth2": [
53152
+ "projects:read"
53153
+ ]
53154
+ },
51088
53155
  {
51089
53156
  "x402": []
51090
53157
  }
@@ -51218,6 +53285,11 @@
51218
53285
  {
51219
53286
  "bearerAuth": []
51220
53287
  },
53288
+ {
53289
+ "oauth2": [
53290
+ "projects:write"
53291
+ ]
53292
+ },
51221
53293
  {
51222
53294
  "x402": []
51223
53295
  }
@@ -51337,6 +53409,11 @@
51337
53409
  {
51338
53410
  "bearerAuth": []
51339
53411
  },
53412
+ {
53413
+ "oauth2": [
53414
+ "projects:write"
53415
+ ]
53416
+ },
51340
53417
  {
51341
53418
  "x402": []
51342
53419
  }
@@ -51388,6 +53465,24 @@
51388
53465
  }
51389
53466
  }
51390
53467
  },
53468
+ "402": {
53469
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
53470
+ "headers": {
53471
+ "Payment-Required": {
53472
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
53473
+ "schema": {
53474
+ "type": "string"
53475
+ }
53476
+ }
53477
+ },
53478
+ "content": {
53479
+ "application/json": {
53480
+ "schema": {
53481
+ "$ref": "#/components/schemas/X402PaymentRequired"
53482
+ }
53483
+ }
53484
+ }
53485
+ },
51391
53486
  "403": {
51392
53487
  "description": "Forbidden — permission insufficient.",
51393
53488
  "content": {
@@ -51468,7 +53563,19 @@
51468
53563
  "name": "id",
51469
53564
  "required": true
51470
53565
  }
51471
- ]
53566
+ ],
53567
+ "x-payment-info": {
53568
+ "price": {
53569
+ "mode": "fixed",
53570
+ "currency": "USDC",
53571
+ "amount": "10000"
53572
+ },
53573
+ "protocols": [
53574
+ {
53575
+ "x402": {}
53576
+ }
53577
+ ]
53578
+ }
51472
53579
  }
51473
53580
  },
51474
53581
  "/v1/template-jobs/{jobId}": {
@@ -51483,6 +53590,11 @@
51483
53590
  {
51484
53591
  "bearerAuth": []
51485
53592
  },
53593
+ {
53594
+ "oauth2": [
53595
+ "projects:read"
53596
+ ]
53597
+ },
51486
53598
  {
51487
53599
  "x402": []
51488
53600
  }
@@ -51513,6 +53625,24 @@
51513
53625
  }
51514
53626
  }
51515
53627
  },
53628
+ "402": {
53629
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
53630
+ "headers": {
53631
+ "Payment-Required": {
53632
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
53633
+ "schema": {
53634
+ "type": "string"
53635
+ }
53636
+ }
53637
+ },
53638
+ "content": {
53639
+ "application/json": {
53640
+ "schema": {
53641
+ "$ref": "#/components/schemas/X402PaymentRequired"
53642
+ }
53643
+ }
53644
+ }
53645
+ },
51516
53646
  "403": {
51517
53647
  "description": "Forbidden — permission insufficient.",
51518
53648
  "content": {
@@ -51543,7 +53673,19 @@
51543
53673
  "name": "jobId",
51544
53674
  "required": true
51545
53675
  }
51546
- ]
53676
+ ],
53677
+ "x-payment-info": {
53678
+ "price": {
53679
+ "mode": "fixed",
53680
+ "currency": "USDC",
53681
+ "amount": "10000"
53682
+ },
53683
+ "protocols": [
53684
+ {
53685
+ "x402": {}
53686
+ }
53687
+ ]
53688
+ }
51547
53689
  }
51548
53690
  },
51549
53691
  "/v1/template-jobs/{jobId}/retry": {
@@ -51558,6 +53700,11 @@
51558
53700
  {
51559
53701
  "bearerAuth": []
51560
53702
  },
53703
+ {
53704
+ "oauth2": [
53705
+ "projects:write"
53706
+ ]
53707
+ },
51561
53708
  {
51562
53709
  "x402": []
51563
53710
  }
@@ -51589,6 +53736,24 @@
51589
53736
  }
51590
53737
  }
51591
53738
  },
53739
+ "402": {
53740
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
53741
+ "headers": {
53742
+ "Payment-Required": {
53743
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
53744
+ "schema": {
53745
+ "type": "string"
53746
+ }
53747
+ }
53748
+ },
53749
+ "content": {
53750
+ "application/json": {
53751
+ "schema": {
53752
+ "$ref": "#/components/schemas/X402PaymentRequired"
53753
+ }
53754
+ }
53755
+ }
53756
+ },
51592
53757
  "403": {
51593
53758
  "description": "Forbidden — permission insufficient.",
51594
53759
  "content": {
@@ -51619,7 +53784,19 @@
51619
53784
  "name": "jobId",
51620
53785
  "required": true
51621
53786
  }
51622
- ]
53787
+ ],
53788
+ "x-payment-info": {
53789
+ "price": {
53790
+ "mode": "fixed",
53791
+ "currency": "USDC",
53792
+ "amount": "10000"
53793
+ },
53794
+ "protocols": [
53795
+ {
53796
+ "x402": {}
53797
+ }
53798
+ ]
53799
+ }
51623
53800
  }
51624
53801
  },
51625
53802
  "/v1/template-jobs/{jobId}/cancel": {
@@ -51634,6 +53811,11 @@
51634
53811
  {
51635
53812
  "bearerAuth": []
51636
53813
  },
53814
+ {
53815
+ "oauth2": [
53816
+ "projects:write"
53817
+ ]
53818
+ },
51637
53819
  {
51638
53820
  "x402": []
51639
53821
  }
@@ -51664,6 +53846,24 @@
51664
53846
  }
51665
53847
  }
51666
53848
  },
53849
+ "402": {
53850
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
53851
+ "headers": {
53852
+ "Payment-Required": {
53853
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
53854
+ "schema": {
53855
+ "type": "string"
53856
+ }
53857
+ }
53858
+ },
53859
+ "content": {
53860
+ "application/json": {
53861
+ "schema": {
53862
+ "$ref": "#/components/schemas/X402PaymentRequired"
53863
+ }
53864
+ }
53865
+ }
53866
+ },
51667
53867
  "403": {
51668
53868
  "description": "Forbidden — permission insufficient.",
51669
53869
  "content": {
@@ -51694,7 +53894,19 @@
51694
53894
  "name": "jobId",
51695
53895
  "required": true
51696
53896
  }
51697
- ]
53897
+ ],
53898
+ "x-payment-info": {
53899
+ "price": {
53900
+ "mode": "fixed",
53901
+ "currency": "USDC",
53902
+ "amount": "10000"
53903
+ },
53904
+ "protocols": [
53905
+ {
53906
+ "x402": {}
53907
+ }
53908
+ ]
53909
+ }
51698
53910
  }
51699
53911
  },
51700
53912
  "/v1/templates/{id}/apply": {
@@ -51704,11 +53916,16 @@
51704
53916
  "templates"
51705
53917
  ],
51706
53918
  "summary": "Apply a template to a project",
51707
- "description": "Bind the template's parameters and write the result as the project's timeline, in one Studio command: the server installs the template's components, writes its brand kit (or the preset's, or `brandKitId`'s) onto the project and saves the bound composition. Media values are `{ mediaId }` (must be complete), `{ url }` (an https URL imported once per org) or `{ sample: true }` (the parameter's pinned sample). While an import runs the answer is 202 with `pendingMediaIds`; call again once they are complete. A public slug is imported into this org on first use.",
53919
+ "description": "Bind the template's parameters and write the result as the project's timeline, in one Studio command: the server installs the template's components, writes its brand kit (or the preset's, or `brandKitId`'s) onto the project and saves the bound composition. Media values are `{ mediaId }` (must be complete), `{ url }` (an https URL imported once per org) or `{ sample: true }` (the parameter's pinned sample). While an import runs the answer is 202 with `pendingMediaIds`; call again once they are complete. A public slug is imported into this org on first use. Builtin packages require the documentSha256 returned by resolveBuiltinComponent and insert with startTime/idPrefix, expectedRevision and commandId; insertion preserves existing tracks.",
51708
53920
  "security": [
51709
53921
  {
51710
53922
  "bearerAuth": []
51711
53923
  },
53924
+ {
53925
+ "oauth2": [
53926
+ "projects:write"
53927
+ ]
53928
+ },
51712
53929
  {
51713
53930
  "x402": []
51714
53931
  }
@@ -51895,6 +54112,11 @@
51895
54112
  {
51896
54113
  "bearerAuth": []
51897
54114
  },
54115
+ {
54116
+ "oauth2": [
54117
+ "renders:write"
54118
+ ]
54119
+ },
51898
54120
  {
51899
54121
  "x402": []
51900
54122
  }
@@ -52063,6 +54285,11 @@
52063
54285
  {
52064
54286
  "bearerAuth": []
52065
54287
  },
54288
+ {
54289
+ "oauth2": [
54290
+ "renders:read"
54291
+ ]
54292
+ },
52066
54293
  {
52067
54294
  "x402": []
52068
54295
  }
@@ -52196,6 +54423,11 @@
52196
54423
  {
52197
54424
  "bearerAuth": []
52198
54425
  },
54426
+ {
54427
+ "oauth2": [
54428
+ "renders:write"
54429
+ ]
54430
+ },
52199
54431
  {
52200
54432
  "x402": []
52201
54433
  }
@@ -52349,6 +54581,11 @@
52349
54581
  {
52350
54582
  "bearerAuth": []
52351
54583
  },
54584
+ {
54585
+ "oauth2": [
54586
+ "renders:write"
54587
+ ]
54588
+ },
52352
54589
  {
52353
54590
  "x402": []
52354
54591
  }
@@ -52482,6 +54719,11 @@
52482
54719
  {
52483
54720
  "bearerAuth": []
52484
54721
  },
54722
+ {
54723
+ "oauth2": [
54724
+ "projects:write"
54725
+ ]
54726
+ },
52485
54727
  {
52486
54728
  "x402": []
52487
54729
  }
@@ -52625,6 +54867,11 @@
52625
54867
  {
52626
54868
  "bearerAuth": []
52627
54869
  },
54870
+ {
54871
+ "oauth2": [
54872
+ "projects:read"
54873
+ ]
54874
+ },
52628
54875
  {
52629
54876
  "x402": []
52630
54877
  }
@@ -52795,6 +55042,11 @@
52795
55042
  {
52796
55043
  "bearerAuth": []
52797
55044
  },
55045
+ {
55046
+ "oauth2": [
55047
+ "projects:read"
55048
+ ]
55049
+ },
52798
55050
  {
52799
55051
  "x402": []
52800
55052
  }
@@ -52918,6 +55170,11 @@
52918
55170
  {
52919
55171
  "bearerAuth": []
52920
55172
  },
55173
+ {
55174
+ "oauth2": [
55175
+ "projects:write"
55176
+ ]
55177
+ },
52921
55178
  {
52922
55179
  "x402": []
52923
55180
  }
@@ -53081,6 +55338,11 @@
53081
55338
  {
53082
55339
  "bearerAuth": []
53083
55340
  },
55341
+ {
55342
+ "oauth2": [
55343
+ "projects:write"
55344
+ ]
55345
+ },
53084
55346
  {
53085
55347
  "x402": []
53086
55348
  }
@@ -53209,6 +55471,11 @@
53209
55471
  {
53210
55472
  "bearerAuth": []
53211
55473
  },
55474
+ {
55475
+ "oauth2": [
55476
+ "projects:read"
55477
+ ]
55478
+ },
53212
55479
  {
53213
55480
  "x402": []
53214
55481
  }
@@ -53374,6 +55641,11 @@
53374
55641
  {
53375
55642
  "bearerAuth": []
53376
55643
  },
55644
+ {
55645
+ "oauth2": [
55646
+ "projects:read"
55647
+ ]
55648
+ },
53377
55649
  {
53378
55650
  "x402": []
53379
55651
  }
@@ -53499,6 +55771,11 @@
53499
55771
  {
53500
55772
  "bearerAuth": []
53501
55773
  },
55774
+ {
55775
+ "oauth2": [
55776
+ "projects:write"
55777
+ ]
55778
+ },
53502
55779
  {
53503
55780
  "x402": []
53504
55781
  }
@@ -53646,6 +55923,11 @@
53646
55923
  {
53647
55924
  "bearerAuth": []
53648
55925
  },
55926
+ {
55927
+ "oauth2": [
55928
+ "projects:write"
55929
+ ]
55930
+ },
53649
55931
  {
53650
55932
  "x402": []
53651
55933
  }
@@ -53798,6 +56080,11 @@
53798
56080
  {
53799
56081
  "bearerAuth": []
53800
56082
  },
56083
+ {
56084
+ "oauth2": [
56085
+ "projects:write"
56086
+ ]
56087
+ },
53801
56088
  {
53802
56089
  "x402": []
53803
56090
  }
@@ -53950,6 +56237,11 @@
53950
56237
  {
53951
56238
  "bearerAuth": []
53952
56239
  },
56240
+ {
56241
+ "oauth2": [
56242
+ "projects:write"
56243
+ ]
56244
+ },
53953
56245
  {
53954
56246
  "x402": []
53955
56247
  }
@@ -54090,6 +56382,125 @@
54090
56382
  }
54091
56383
  }
54092
56384
  },
56385
+ "/v1/components/builtin/resolve": {
56386
+ "get": {
56387
+ "operationId": "resolveBuiltinComponent",
56388
+ "tags": [
56389
+ "components"
56390
+ ],
56391
+ "summary": "Resolve an exact builtin library artifact",
56392
+ "description": "Required permission: projects:read",
56393
+ "security": [
56394
+ {
56395
+ "bearerAuth": []
56396
+ },
56397
+ {
56398
+ "oauth2": [
56399
+ "projects:read"
56400
+ ]
56401
+ },
56402
+ {
56403
+ "x402": []
56404
+ }
56405
+ ],
56406
+ "x-permissions": {
56407
+ "projects": [
56408
+ "read"
56409
+ ]
56410
+ },
56411
+ "parameters": [
56412
+ {
56413
+ "name": "collection",
56414
+ "in": "query",
56415
+ "required": true,
56416
+ "schema": {
56417
+ "type": "string",
56418
+ "minLength": 1
56419
+ }
56420
+ },
56421
+ {
56422
+ "name": "id",
56423
+ "in": "query",
56424
+ "required": true,
56425
+ "schema": {
56426
+ "type": "string",
56427
+ "minLength": 1
56428
+ }
56429
+ },
56430
+ {
56431
+ "name": "revision",
56432
+ "in": "query",
56433
+ "required": true,
56434
+ "schema": {
56435
+ "type": "string",
56436
+ "pattern": "^[a-f0-9]{64}$"
56437
+ }
56438
+ }
56439
+ ],
56440
+ "responses": {
56441
+ "200": {
56442
+ "description": "The exact saved artifact and its source pins.",
56443
+ "content": {
56444
+ "application/json": {
56445
+ "schema": {
56446
+ "$ref": "#/components/schemas/BuiltinComponentResolveResponse"
56447
+ }
56448
+ }
56449
+ }
56450
+ },
56451
+ "400": {
56452
+ "description": "Bad request — validation_error / invalid_cursor / invalid_query.",
56453
+ "content": {
56454
+ "application/json": {
56455
+ "schema": {
56456
+ "$ref": "#/components/schemas/ErrorEnvelope"
56457
+ }
56458
+ }
56459
+ }
56460
+ },
56461
+ "401": {
56462
+ "description": "Missing or invalid Authorization header.",
56463
+ "content": {
56464
+ "application/json": {
56465
+ "schema": {
56466
+ "$ref": "#/components/schemas/ErrorEnvelope"
56467
+ }
56468
+ }
56469
+ }
56470
+ },
56471
+ "403": {
56472
+ "description": "Forbidden — permission insufficient.",
56473
+ "content": {
56474
+ "application/json": {
56475
+ "schema": {
56476
+ "$ref": "#/components/schemas/ErrorEnvelope"
56477
+ }
56478
+ }
56479
+ }
56480
+ },
56481
+ "404": {
56482
+ "description": "Resource not found.",
56483
+ "content": {
56484
+ "application/json": {
56485
+ "schema": {
56486
+ "$ref": "#/components/schemas/ErrorEnvelope"
56487
+ }
56488
+ }
56489
+ }
56490
+ },
56491
+ "503": {
56492
+ "description": "Service unavailable — billing_unavailable / honest-503 for runtime deps.",
56493
+ "content": {
56494
+ "application/json": {
56495
+ "schema": {
56496
+ "$ref": "#/components/schemas/ErrorEnvelope"
56497
+ }
56498
+ }
56499
+ }
56500
+ }
56501
+ }
56502
+ }
56503
+ },
54093
56504
  "/v1/components": {
54094
56505
  "get": {
54095
56506
  "operationId": "listCatalog",
@@ -54102,6 +56513,11 @@
54102
56513
  {
54103
56514
  "bearerAuth": []
54104
56515
  },
56516
+ {
56517
+ "oauth2": [
56518
+ "projects:read"
56519
+ ]
56520
+ },
54105
56521
  {
54106
56522
  "x402": []
54107
56523
  }
@@ -54388,6 +56804,11 @@
54388
56804
  {
54389
56805
  "bearerAuth": []
54390
56806
  },
56807
+ {
56808
+ "oauth2": [
56809
+ "projects:write"
56810
+ ]
56811
+ },
54391
56812
  {
54392
56813
  "x402": []
54393
56814
  }
@@ -54533,6 +56954,11 @@
54533
56954
  {
54534
56955
  "bearerAuth": []
54535
56956
  },
56957
+ {
56958
+ "oauth2": [
56959
+ "projects:write"
56960
+ ]
56961
+ },
54536
56962
  {
54537
56963
  "x402": []
54538
56964
  }
@@ -54686,6 +57112,11 @@
54686
57112
  {
54687
57113
  "bearerAuth": []
54688
57114
  },
57115
+ {
57116
+ "oauth2": [
57117
+ "projects:write"
57118
+ ]
57119
+ },
54689
57120
  {
54690
57121
  "x402": []
54691
57122
  }
@@ -54839,6 +57270,11 @@
54839
57270
  {
54840
57271
  "bearerAuth": []
54841
57272
  },
57273
+ {
57274
+ "oauth2": [
57275
+ "projects:read"
57276
+ ]
57277
+ },
54842
57278
  {
54843
57279
  "x402": []
54844
57280
  }
@@ -54984,6 +57420,11 @@
54984
57420
  {
54985
57421
  "bearerAuth": []
54986
57422
  },
57423
+ {
57424
+ "oauth2": [
57425
+ "projects:read"
57426
+ ]
57427
+ },
54987
57428
  {
54988
57429
  "x402": []
54989
57430
  }
@@ -55160,6 +57601,11 @@
55160
57601
  {
55161
57602
  "bearerAuth": []
55162
57603
  },
57604
+ {
57605
+ "oauth2": [
57606
+ "sessions:read"
57607
+ ]
57608
+ },
55163
57609
  {
55164
57610
  "x402": []
55165
57611
  }
@@ -55315,6 +57761,11 @@
55315
57761
  {
55316
57762
  "bearerAuth": []
55317
57763
  },
57764
+ {
57765
+ "oauth2": [
57766
+ "sessions:write"
57767
+ ]
57768
+ },
55318
57769
  {
55319
57770
  "x402": []
55320
57771
  }
@@ -55460,6 +57911,11 @@
55460
57911
  {
55461
57912
  "bearerAuth": []
55462
57913
  },
57914
+ {
57915
+ "oauth2": [
57916
+ "sessions:read"
57917
+ ]
57918
+ },
55463
57919
  {
55464
57920
  "x402": []
55465
57921
  }
@@ -55603,6 +58059,11 @@
55603
58059
  {
55604
58060
  "bearerAuth": []
55605
58061
  },
58062
+ {
58063
+ "oauth2": [
58064
+ "sessions:write"
58065
+ ]
58066
+ },
55606
58067
  {
55607
58068
  "x402": []
55608
58069
  }
@@ -55741,6 +58202,11 @@
55741
58202
  {
55742
58203
  "bearerAuth": []
55743
58204
  },
58205
+ {
58206
+ "oauth2": [
58207
+ "sessions:write"
58208
+ ]
58209
+ },
55744
58210
  {
55745
58211
  "x402": []
55746
58212
  }
@@ -55897,6 +58363,11 @@
55897
58363
  {
55898
58364
  "bearerAuth": []
55899
58365
  },
58366
+ {
58367
+ "oauth2": [
58368
+ "sessions:read"
58369
+ ]
58370
+ },
55900
58371
  {
55901
58372
  "x402": []
55902
58373
  }
@@ -56042,6 +58513,11 @@
56042
58513
  {
56043
58514
  "bearerAuth": []
56044
58515
  },
58516
+ {
58517
+ "oauth2": [
58518
+ "webhooks:read"
58519
+ ]
58520
+ },
56045
58521
  {
56046
58522
  "x402": []
56047
58523
  }
@@ -56197,6 +58673,11 @@
56197
58673
  {
56198
58674
  "bearerAuth": []
56199
58675
  },
58676
+ {
58677
+ "oauth2": [
58678
+ "webhooks:write"
58679
+ ]
58680
+ },
56200
58681
  {
56201
58682
  "x402": []
56202
58683
  }
@@ -56345,6 +58826,11 @@
56345
58826
  {
56346
58827
  "bearerAuth": []
56347
58828
  },
58829
+ {
58830
+ "oauth2": [
58831
+ "webhooks:read"
58832
+ ]
58833
+ },
56348
58834
  {
56349
58835
  "x402": []
56350
58836
  }
@@ -56480,6 +58966,11 @@
56480
58966
  {
56481
58967
  "bearerAuth": []
56482
58968
  },
58969
+ {
58970
+ "oauth2": [
58971
+ "webhooks:read"
58972
+ ]
58973
+ },
56483
58974
  {
56484
58975
  "x402": []
56485
58976
  }
@@ -56623,6 +59114,11 @@
56623
59114
  {
56624
59115
  "bearerAuth": []
56625
59116
  },
59117
+ {
59118
+ "oauth2": [
59119
+ "webhooks:write"
59120
+ ]
59121
+ },
56626
59122
  {
56627
59123
  "x402": []
56628
59124
  }
@@ -56776,6 +59272,11 @@
56776
59272
  {
56777
59273
  "bearerAuth": []
56778
59274
  },
59275
+ {
59276
+ "oauth2": [
59277
+ "webhooks:write"
59278
+ ]
59279
+ },
56779
59280
  {
56780
59281
  "x402": []
56781
59282
  }
@@ -56904,6 +59405,11 @@
56904
59405
  {
56905
59406
  "bearerAuth": []
56906
59407
  },
59408
+ {
59409
+ "oauth2": [
59410
+ "webhooks:write"
59411
+ ]
59412
+ },
56907
59413
  {
56908
59414
  "x402": []
56909
59415
  }
@@ -57042,6 +59548,11 @@
57042
59548
  {
57043
59549
  "bearerAuth": []
57044
59550
  },
59551
+ {
59552
+ "oauth2": [
59553
+ "webhooks:write"
59554
+ ]
59555
+ },
57045
59556
  {
57046
59557
  "x402": []
57047
59558
  }
@@ -57180,6 +59691,11 @@
57180
59691
  {
57181
59692
  "bearerAuth": []
57182
59693
  },
59694
+ {
59695
+ "oauth2": [
59696
+ "projects:write"
59697
+ ]
59698
+ },
57183
59699
  {
57184
59700
  "x402": []
57185
59701
  }
@@ -57313,6 +59829,11 @@
57313
59829
  {
57314
59830
  "bearerAuth": []
57315
59831
  },
59832
+ {
59833
+ "oauth2": [
59834
+ "projects:read"
59835
+ ]
59836
+ },
57316
59837
  {
57317
59838
  "x402": []
57318
59839
  }
@@ -57428,6 +59949,11 @@
57428
59949
  {
57429
59950
  "bearerAuth": []
57430
59951
  },
59952
+ {
59953
+ "oauth2": [
59954
+ "projects:write"
59955
+ ]
59956
+ },
57431
59957
  {
57432
59958
  "x402": []
57433
59959
  }
@@ -57556,6 +60082,11 @@
57556
60082
  {
57557
60083
  "bearerAuth": []
57558
60084
  },
60085
+ {
60086
+ "oauth2": [
60087
+ "projects:read"
60088
+ ]
60089
+ },
57559
60090
  {
57560
60091
  "x402": []
57561
60092
  }
@@ -57671,6 +60202,11 @@
57671
60202
  {
57672
60203
  "bearerAuth": []
57673
60204
  },
60205
+ {
60206
+ "oauth2": [
60207
+ "media:read"
60208
+ ]
60209
+ },
57674
60210
  {
57675
60211
  "x402": []
57676
60212
  }
@@ -57816,6 +60352,11 @@
57816
60352
  {
57817
60353
  "bearerAuth": []
57818
60354
  },
60355
+ {
60356
+ "oauth2": [
60357
+ "media:read"
60358
+ ]
60359
+ },
57819
60360
  {
57820
60361
  "x402": []
57821
60362
  }
@@ -57971,6 +60512,11 @@
57971
60512
  {
57972
60513
  "bearerAuth": []
57973
60514
  },
60515
+ {
60516
+ "oauth2": [
60517
+ "projects:write"
60518
+ ]
60519
+ },
57974
60520
  {
57975
60521
  "x402": []
57976
60522
  }
@@ -58128,6 +60674,11 @@
58128
60674
  {
58129
60675
  "bearerAuth": []
58130
60676
  },
60677
+ {
60678
+ "oauth2": [
60679
+ "projects:read"
60680
+ ]
60681
+ },
58131
60682
  {
58132
60683
  "x402": []
58133
60684
  }
@@ -58271,6 +60822,11 @@
58271
60822
  {
58272
60823
  "bearerAuth": []
58273
60824
  },
60825
+ {
60826
+ "oauth2": [
60827
+ "projects:write"
60828
+ ]
60829
+ },
58274
60830
  {
58275
60831
  "x402": []
58276
60832
  }
@@ -58444,6 +61000,11 @@
58444
61000
  {
58445
61001
  "bearerAuth": []
58446
61002
  },
61003
+ {
61004
+ "oauth2": [
61005
+ "projects:write"
61006
+ ]
61007
+ },
58447
61008
  {
58448
61009
  "x402": []
58449
61010
  }
@@ -58607,6 +61168,11 @@
58607
61168
  {
58608
61169
  "bearerAuth": []
58609
61170
  },
61171
+ {
61172
+ "oauth2": [
61173
+ "projects:read"
61174
+ ]
61175
+ },
58610
61176
  {
58611
61177
  "x402": []
58612
61178
  }
@@ -58742,6 +61308,11 @@
58742
61308
  {
58743
61309
  "bearerAuth": []
58744
61310
  },
61311
+ {
61312
+ "oauth2": [
61313
+ "projects:read"
61314
+ ]
61315
+ },
58745
61316
  {
58746
61317
  "x402": []
58747
61318
  }
@@ -58885,6 +61456,11 @@
58885
61456
  {
58886
61457
  "bearerAuth": []
58887
61458
  },
61459
+ {
61460
+ "oauth2": [
61461
+ "projects:write"
61462
+ ]
61463
+ },
58888
61464
  {
58889
61465
  "x402": []
58890
61466
  }
@@ -59042,6 +61618,11 @@
59042
61618
  {
59043
61619
  "bearerAuth": []
59044
61620
  },
61621
+ {
61622
+ "oauth2": [
61623
+ "projects:write"
61624
+ ]
61625
+ },
59045
61626
  {
59046
61627
  "x402": []
59047
61628
  }
@@ -59197,6 +61778,11 @@
59197
61778
  {
59198
61779
  "bearerAuth": []
59199
61780
  },
61781
+ {
61782
+ "oauth2": [
61783
+ "projects:read"
61784
+ ]
61785
+ },
59200
61786
  {
59201
61787
  "x402": []
59202
61788
  }
@@ -59327,6 +61913,11 @@
59327
61913
  {
59328
61914
  "bearerAuth": []
59329
61915
  },
61916
+ {
61917
+ "oauth2": [
61918
+ "projects:write"
61919
+ ]
61920
+ },
59330
61921
  {
59331
61922
  "x402": []
59332
61923
  }
@@ -59459,6 +62050,11 @@
59459
62050
  {
59460
62051
  "bearerAuth": []
59461
62052
  },
62053
+ {
62054
+ "oauth2": [
62055
+ "projects:write"
62056
+ ]
62057
+ },
59462
62058
  {
59463
62059
  "x402": []
59464
62060
  }
@@ -59591,6 +62187,11 @@
59591
62187
  {
59592
62188
  "bearerAuth": []
59593
62189
  },
62190
+ {
62191
+ "oauth2": [
62192
+ "projects:read"
62193
+ ]
62194
+ },
59594
62195
  {
59595
62196
  "x402": []
59596
62197
  }
@@ -59736,6 +62337,11 @@
59736
62337
  {
59737
62338
  "bearerAuth": []
59738
62339
  },
62340
+ {
62341
+ "oauth2": [
62342
+ "projects:write"
62343
+ ]
62344
+ },
59739
62345
  {
59740
62346
  "x402": []
59741
62347
  }
@@ -59881,6 +62487,12 @@
59881
62487
  {
59882
62488
  "bearerAuth": []
59883
62489
  },
62490
+ {
62491
+ "oauth2": [
62492
+ "projects:write",
62493
+ "media:write"
62494
+ ]
62495
+ },
59884
62496
  {
59885
62497
  "x402": []
59886
62498
  }
@@ -60046,10 +62658,14 @@
60046
62658
  {
60047
62659
  "bearerAuth": []
60048
62660
  },
62661
+ {
62662
+ "oauth2": []
62663
+ },
60049
62664
  {
60050
62665
  "x402": []
60051
62666
  }
60052
62667
  ],
62668
+ "x-permissions": {},
60053
62669
  "requestBody": {
60054
62670
  "required": true,
60055
62671
  "content": {
@@ -60166,6 +62782,11 @@
60166
62782
  {
60167
62783
  "bearerAuth": []
60168
62784
  },
62785
+ {
62786
+ "oauth2": [
62787
+ "billing:read"
62788
+ ]
62789
+ },
60169
62790
  {
60170
62791
  "x402": []
60171
62792
  }
@@ -60343,10 +62964,14 @@
60343
62964
  {
60344
62965
  "bearerAuth": []
60345
62966
  },
62967
+ {
62968
+ "oauth2": []
62969
+ },
60346
62970
  {
60347
62971
  "x402": []
60348
62972
  }
60349
62973
  ],
62974
+ "x-permissions": {},
60350
62975
  "responses": {
60351
62976
  "200": {
60352
62977
  "description": "Plan catalog.",
@@ -60453,6 +63078,11 @@
60453
63078
  {
60454
63079
  "bearerAuth": []
60455
63080
  },
63081
+ {
63082
+ "oauth2": [
63083
+ "billing:write"
63084
+ ]
63085
+ },
60456
63086
  {
60457
63087
  "x402": []
60458
63088
  }
@@ -60588,10 +63218,14 @@
60588
63218
  {
60589
63219
  "bearerAuth": []
60590
63220
  },
63221
+ {
63222
+ "oauth2": []
63223
+ },
60591
63224
  {
60592
63225
  "x402": []
60593
63226
  }
60594
63227
  ],
63228
+ "x-permissions": {},
60595
63229
  "x-x402": "write",
60596
63230
  "requestBody": {
60597
63231
  "required": true,