# cloud.pyroclastic.status.component

> Published by [ops.dids.lol](https://lexicon.garden/identity/did:plc:qnyj44s7iujxusfvc574dfwm)

✓ This is the authoritative definition for this NSID.

## Description

Something whose pyroclastic.cloud status is reported, such as a server.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qnyj44s7iujxusfvc574dfwm/cloud.pyroclastic.status.component)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qnyj44s7iujxusfvc574dfwm/cloud.pyroclastic.status.component/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qnyj44s7iujxusfvc574dfwm/cloud.pyroclastic.status.component/examples)

## Definitions

### `cloud.pyroclastic.status.component`

**Type**: `record`

The stable key of the component

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `host` | `string` | No | An optional hostname for the component. |
| `name` | `string` | Yes | The display name of the component. |
| `state` | `string` | Yes | The current state of the component. |
| `createdAt` | `string` (datetime) | Yes | When the component is first listed. |
| `updatedAt` | `string` (datetime) | Yes | The time the component record was updated. |

## Raw Schema

```json
{
  "id": "cloud.pyroclastic.status.component",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "state",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "host": {
            "type": "string",
            "maxLength": 253,
            "description": "An optional hostname for the component."
          },
          "name": {
            "type": "string",
            "maxLength": 640,
            "description": "The display name of the component.",
            "maxGraphemes": 64
          },
          "state": {
            "type": "string",
            "maxLength": 64,
            "description": "The current state of the component.",
            "knownValues": [
              "ok",
              "maintenance",
              "incident",
              "recovering"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the component is first listed."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "The time the component record was updated."
          }
        }
      },
      "description": "The stable key of the component"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Something whose pyroclastic.cloud status is reported, such as a server."
}
```
