WorkOS · Schema

AuditLogSchemaTargetDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
type string The type of the target resource.
metadata object Optional JSON schema for target metadata.
View JSON Schema on GitHub

JSON Schema

workos-auditlogschematargetdto-schema.json Raw ↑
{
  "$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"
  ]
}