{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-role-response-dto-schema.json",
  "title": "RoleResponseDto",
  "description": "Role information response",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-role-api-openapi.yml#/components/schemas/RoleResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Role ID"
    },
    "name": {
      "type": "string",
      "description": "Role name"
    },
    "tenantId": {
      "type": "string",
      "description": "Tenant ID"
    },
    "description": {
      "type": "string",
      "description": "Role description"
    },
    "createdAt": {
      "$ref": "#/$defs/OffsetDateTime",
      "type": "string",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "$ref": "#/$defs/OffsetDateTime",
      "type": "string",
      "description": "Last update timestamp"
    },
    "createdBy": {
      "type": "string",
      "description": "ID of the user who created the role"
    },
    "updatedBy": {
      "type": "string",
      "description": "ID of the user who last updated the role"
    }
  },
  "$defs": {
    "OffsetDateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}