{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dependency-track/json-schema/dependency-track-create-secret-request-schema.json",
  "title": "create-secret-request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dependency-track-secrets-api-openapi.yml#/components/schemas/create-secret-request",
  "required": [
    "name",
    "value"
  ],
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/$defs/secret-name"
    },
    "description": {
      "maxLength": 255,
      "type": "string"
    },
    "value": {
      "maxLength": 4096,
      "minLength": 1,
      "type": "string"
    }
  },
  "$defs": {
    "secret-name": {
      "pattern": "^[a-zA-Z0-9_-]{1,64}$",
      "type": "string"
    }
  }
}