{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dependency-track/json-schema/dependency-track-secret-metadata-schema.json",
  "title": "secret-metadata",
  "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/secret-metadata",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/$defs/secret-name"
    },
    "description": {
      "type": "string"
    },
    "created_at": {
      "$ref": "#/$defs/timestamp"
    },
    "updated_at": {
      "$ref": "#/$defs/timestamp"
    }
  },
  "$defs": {
    "secret-name": {
      "pattern": "^[a-zA-Z0-9_-]{1,64}$",
      "type": "string"
    },
    "timestamp": {
      "type": "integer",
      "description": "Epoch timestamp in milliseconds since January 1, 1970 UTC.",
      "format": "int64"
    }
  }
}