{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/frontegg/main/json-schema/frontegg-identity-permissionresponse-schema.json",
  "title": "PermissionResponse",
  "description": "JSON Schema for Frontegg identity PermissionResponse entity, derived from the published OpenAPI specification.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string"
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string"
    },
    "roleIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "categoryId": {
      "type": "string"
    },
    "fePermission": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "key",
    "name",
    "description",
    "createdAt",
    "updatedAt",
    "roleIds",
    "categoryId",
    "fePermission"
  ]
}