{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-create-deployment-credential-request-schema.json", "title": "CreateDeploymentCredentialRequest", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/snyk-deploymentcredentials-api-openapi.yml#/components/schemas/CreateDeploymentCredentialRequest", "additionalProperties": false, "properties": { "data": { "properties": { "attributes": { "$ref": "#/$defs/DeploymentCredentialsAttributes" }, "type": { "enum": [ "deployment_credential" ], "type": "string" } }, "required": [ "attributes", "type" ], "type": "object" } }, "required": [ "data" ], "type": "object", "$defs": { "DeploymentCredentialAttributes": { "additionalProperties": false, "properties": { "comment": { "description": "Optional comment information", "type": "string" }, "deployment_id": { "description": "Associated Deployment ID", "format": "uuid", "readOnly": true, "type": "string" }, "environment_variable_name": { "type": "string" }, "type": { "description": "Associated connection type", "type": "string" } }, "required": [ "deployment_id", "environment_variable_name", "type" ], "type": "object" }, "DeploymentCredentialsAttributes": { "items": { "$ref": "#/$defs/DeploymentCredentialAttributes" }, "maxItems": 10, "type": "array" } } }