{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AuditLogSchemaTargetDto",
  "title": "AuditLogSchemaTargetDto",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of the target resource.",
      "example": "invoice"
    },
    "metadata": {
      "type": "object",
      "description": "Optional JSON schema for target metadata.",
      "example": {
        "type": "object",
        "properties": {
          "cost": {
            "type": "number"
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}