# Attributes

- [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#SCHEMA_REPRESENTATION)
- [Criticality](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Criticality)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Criticality.SCHEMA_REPRESENTATION)
- [Environment](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Environment)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Environment.SCHEMA_REPRESENTATION)
- [ContactInfo](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo.SCHEMA_REPRESENTATION)
- [Channel](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Channel)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Channel.SCHEMA_REPRESENTATION)

Consumer provided attributes.

| JSON representation |
|---|
| ``` { "criticality": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Criticality`) }, "environment": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Environment`) }, "developerOwners": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`) } ], "operatorOwners": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`) } ], "businessOwners": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`) } ] } ``` |

| Fields ||
|---|---|
| `criticality` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Criticality`)`` Optional. User-defined criticality information. |
| `environment` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Environment`)`` Optional. User-defined environment information. |
| `developerOwners[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`)`` Optional. Developer team that owns development and coding. |
| `operatorOwners[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`)`` Optional. Operator team that ensures runtime and operations. |
| `businessOwners[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#ContactInfo`)`` Optional. Business team that ensures user needs are met and value is delivered |

## Criticality

Criticality of the Application, Service, or Workload

| JSON representation |
|---|
| ``` { "level": string, "missionCritical": boolean, "type": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Type`) } ``` |

| Fields ||
|---|---|
| `level (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. Criticality level. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead. |
| `missionCritical (deprecated)` | `boolean` > [!WARNING] > This item is deprecated! Optional. Indicates mission-critical Application, Service, or Workload. Deprecated: Please refer to type instead. |
| `type` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Type`)`` Required. Criticality Type. |

## Environment

Environment of the Application, Service, or Workload

| JSON representation |
|---|
| ``` { "environment": string, "type": enum (`Type`) } ``` |

| Fields ||
|---|---|
| `environment (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. Environment name. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead. |
| `type` | ``enum (`Type`)`` Required. Environment Type. |

## ContactInfo

Contact information of stakeholders.

| JSON representation |
|---|
| ``` { "displayName": string, "email": string, "channel": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Channel`) } } ``` |

| Fields ||
|---|---|
| `displayName` | `string` Optional. Contact's name. Can have a maximum length of 63 characters. |
| `email` | `string` Required. Email address of the contacts. |
| `channel` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes#Channel`)`` Optional. Communication channel of the contacts. |

## Channel

Separate message to accommodate custom formats across IRC and Slack.

| JSON representation |
|---|
| ``` { "uri": string } ``` |

| Fields ||
|---|---|
| `uri` | `string` Required. URI of the channel. |