---
title: "Get Attribute Schema"
method: GET
path: "/v1/attributes"
tags: ["Issues"]
---

# Get Attribute Schema

`GET /v1/attributes`

## Request

- Base URL: `https://hostname/api/issue-management`
- URL: `https://hostname/api/issue-management/v1/attributes`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `ISSUE`, `ISSUE_READ`

Use this API to retrieve the attribute schema for the specified attribute type.

## Query parameters

- `schemaName` 'Issue', required

## Response `200`

OK

- AttributeInformation[]
  - `id` string, uuid: The unique identifier of the attribute.
  - `name` string, required: The name of the attribute.
  - `nameKey` string: The fallback name of the attribute that is used if a translation is not provided for a language.
  - `description` string: The description of the attribute.
  - `descriptionKey` string: The fallback description of the attribute that is used if a translation is not provided for a language.
  - `fieldName` string, required: The fieldName parameter value of the attribute.
  - `mappedFieldName` string: The fieldName parameter value of the attribute.
  - `enabled` boolean, required: This flag indicates whether the attribute is enabled.
  - `required` boolean: This flag indicates whether the attribute is required.
  - `readOnly` boolean: This flag indicates whether the attribute is read-only.
  - `encrypted` boolean: This flag indicates whether the attribute is encrypted.
  - `allowOther` boolean: This flag indicates whether Other can be selected as an option for the attribute value.
  - `baseAttribute` boolean: This flag indicates whether the attribute is a system attribute.
  - `responseType` 'Text' | 'SingleSelect' | 'MultiSelect' | 'Date' | 'Formula' | 'Score' | 'Level' | 'Range': The type of response associated with the attribute value.
  - `formula` string: The mathematical formula containing functions and other numerical attributes that is used to calculate the attribute value.
  - `optionType` 'None' | 'Static' | 'Dynamic': The type of system list used to source the attribute option.
  - `optionAllowed` boolean: This flag indicates whether options were configured for the attribute.
  - `schemaId` string, uuid: The unique identifier of the attribute schema.
  - `schemaName` string: The name of the attribute schema.
  - `options` AttributeOptionInformation[]: The details of the attribute options.
    - `id` string, uuid: The unique identifier of the attribute option.
    - `option` string, required: The name of the attribute option.
    - `optionKey` string: The fallback name of the attribute option that is used if a translation is not provided for a language.
    - `colorCode` string: The color code associated with the attribute option.
    - `sequence` integer: The sequential order in which the attribute options display.
    - `enabled` boolean: This flag indicates whether the attribute option is enabled.
    - `metadata` AttributeOptionMetadata
      - `hint` string: The hint of the attribute option.
      - `hintKey` string: The fallback hint of the attribute option that is used if a translation is not provided for a language.
  - `referenceCategories` CategoryInformation[]: The category details of the attribute.
    - `id` string, uuid: The unique identifier of the category.
    - `name` string: The name of the category.
    - `nameKey` string: The fallback name of the category that is used if a translation is not provided for a language.
  - `responseMaxLength` integer: The maximum number of characters that can be entered for the attribute value.
  - `responseSubType` 'STANDARD' | 'FORMULA' | 'MATRIX': The type of scoring method associated with the attribute value.
  - `associatedAttributeInformation` AssociatedAttributeInformation[]: The details of the attribute.
    - `id` string, uuid, required: The unique identifier of the attribute.
    - `name` string, required: The name of the attribute.
    - `nameKey` string: The fallback name of the attribute that is used if a translation is not provided for a language.
    - `description` string: The description of the attribute.
    - `descriptionKey` string: The fallback description of the attribute that is used if a translation is not provided for a language.
    - `schemaId` string, uuid: The unique identifier of the attribute schema.
    - `schemaName` string: The name of the attribute schema.
    - `fieldName` string, required: The fieldName parameter value of the attribute.
    - `mappedFieldName` string: The fieldName parameter value of the attribute.
    - `enabled` boolean, required: This flag indicates if the attribute is enabled.
    - `responseType` 'Text' | 'SingleSelect' | 'MultiSelect' | 'Date' | 'DateTime' | 'NumericalText' | 'NumericalSingleSelect' | 'RadioButton' | 'TextArea' | 'Formula' | 'Level' | 'Range' | 'Score' | 'System', required: The type of response associated with the attribute.
    - `responseSubType` 'Standard' | 'Formula' | 'Matrix' | 'RollUp': The type of scoring method associated with the attribute.
    - `formula` string: The mathematical formula containing functions and other numerical attributes that is used to calculate the attribute value.
    - `options` AttributeOptionInformation[]: The options for the attribute.
      - `id` string, uuid: The unique identifier of the attribute option.
      - `option` string, required: The name of the attribute option.
      - `optionKey` string: The fallback name of the attribute option that is used if a translation is not provided for a language.
      - `colorCode` string: The color code associated with the attribute option.
      - `sequence` integer: The sequential order in which the attribute options display.
      - `enabled` boolean: This flag indicates whether the attribute option is enabled.
      - `metadata` AttributeOptionMetadata
        - `hint` string: The hint of the attribute option.
        - `hintKey` string: The fallback hint of the attribute option that is used if a translation is not provided for a language.
    - `optionsByDomain` object: The attribute options that are overridden by domain.
  - `multiSelectMaxOptionValues` integer: The maximum number of options that can be selected for the attribute.
  - `hidden` boolean: This flag indicates whether the attribute is hidden.
  - `optionUrl` string: The API URL path used to source the attribute option.
  - `intakeQuestion` IntakeQuestion
    - `nameKey` string: The fallback name of the question that is used if a translation is not provided for a language.
    - `name` string: The name of the question.
    - `descriptionKey` string: The fallback description of the question that is used if a translation is not provided for a language.
    - `description` string: The description of the question.
  - `deleteMarker` 'MARKED_FOR_DELETE' | 'DELETING' | 'DELETED': The status of the attribute marked for deletion.
  - `optionMetadata` AttributeOptionMetadataInformation
    - `entityTypeName` string: The type of system list used to source the attribute option.
    - `basicServiceContextPath` string: The base path of the API URL used to source the attribute option.
    - `optionUrl` string: The API URL path used to source the attribute option.
    - `optionListUrl` string: The API URL to retrieve the complete list of entities for the dropdown.
    - `viewType` string: The display format of the attribute option.
    - `optionType` string: The type of option.
    - `permissions` string[]: The permissions required to access the attribute options.
    - `applicationUrl` string: The URL of the application where the attribute options are managed.
  - `validationRuleId` string: The validation rule configured for the attribute.
  - `abacBasicAssignmentInfo` AbacBasicAssignmentInfo[]: The details of the attribute-based access control (ABAC) assignments linked to the attribute.
    - `assignmentId` string, uuid: The unique identifier of the linked assignment.
    - `assignmentName` string: The name of the linked assignment.
  - `optionsByDomain` object: The attribute options that are overridden by domain.
  - `formulaByDomain` object: The formula for the attribute, specified by domain.
  - `associatedAttributeFieldName` string: The fieldName parameter value of the attribute.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management.md) - [All operations](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/tech-risk-compliance-issues-management/revisions/99b36925f377?raw)
