{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-data-access-by-name-response-schema.json",
  "title": "DataAccessByNameResponse",
  "description": "Response schema for retrieving data access by its name, with associated privileges and description.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-data-access-api-openapi.yml#/components/schemas/DataAccessByNameResponse",
  "required": [
    "code",
    "message"
  ],
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "The status code of the response, indicating the success or failure of the operation.",
      "format": "int32",
      "exampleSetFlag": true
    },
    "dataAccessPrivileges": {
      "type": "array",
      "description": "A list of data access permissions (privileges) associated with the data access.",
      "exampleSetFlag": true,
      "items": {
        "$ref": "#/$defs/DataAccessPermission",
        "exampleSetFlag": false
      }
    },
    "description": {
      "type": "string",
      "description": "A description of the data access object.",
      "exampleSetFlag": true
    },
    "message": {
      "type": "string",
      "description": "A message providing more details about the response.",
      "exampleSetFlag": true
    },
    "name": {
      "type": "string",
      "description": "The name of the data access object.",
      "exampleSetFlag": true
    }
  },
  "exampleSetFlag": false,
  "$defs": {
    "DataAccessPermission": {
      "title": "DataAccessPermission",
      "type": "object",
      "properties": {
        "childPermissions": {
          "type": "array",
          "description": "A list of child permissions under this data access permission, allowing nested or hierarchical permissions.",
          "exampleSetFlag": true,
          "items": {
            "$ref": "#/$defs/DataAccessPermission",
            "exampleSetFlag": false
          }
        },
        "id": {
          "type": "string",
          "description": "A unique identifier for the data access permission.",
          "exampleSetFlag": true
        },
        "name": {
          "type": "string",
          "description": "The name of the data access permission.",
          "exampleSetFlag": true
        },
        "permission": {
          "type": "string",
          "description": "The actual permission type (e.g., 'read', 'write', 'execute').",
          "exampleSetFlag": true
        }
      },
      "description": "Represents a single data access permission, with potential child permissions for hierarchical structure.",
      "exampleSetFlag": false
    }
  }
}