# town.delve.video.defs

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.video.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.video.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.video.defs/examples)

## Definitions

### `town.delve.video.defs#jobStatus`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `blob` | No |  |
| `did` | `string` (did) | Yes |  |
| `error` | `string` | No |  |
| `failureCode` | `string` | No | A machine-readable code for why the video processing job failed. |
| `jobId` | `string` | Yes |  |
| `message` | `string` | No |  |
| `progress` | `integer` | No | Progress within the current processing state. |
| `state` | `string` | Yes | The state of the video processing job. All values not listed as a known value indicate that the job is in process. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "jobStatus": {
      "properties": {
        "blob": {
          "type": "blob"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "error": {
          "type": "string"
        },
        "failureCode": {
          "description": "A machine-readable code for why the video processing job failed.",
          "knownValues": [
            "validation_failure",
            "encoding_failure",
            "pds_upload_failure",
            "pds_upload_unsupported_blob_size",
            "generic_failure"
          ],
          "type": "string"
        },
        "jobId": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "progress": {
          "description": "Progress within the current processing state.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "state": {
          "description": "The state of the video processing job. All values not listed as a known value indicate that the job is in process.",
          "knownValues": [
            "JOB_STATE_CREATED",
            "JOB_STATE_ENCODING",
            "JOB_STATE_ENCODED",
            "JOB_STATE_SCANNING",
            "JOB_STATE_SCANNED",
            "JOB_STATE_UPLOADING",
            "JOB_STATE_UPLOADED",
            "JOB_STATE_COMPLETED",
            "JOB_STATE_FAILED"
          ],
          "type": "string"
        }
      },
      "required": [
        "jobId",
        "did",
        "state"
      ],
      "type": "object"
    }
  },
  "id": "town.delve.video.defs",
  "lexicon": 1
}
```
