appBskyVideoDefs top-level constant

Map<String, dynamic> const appBskyVideoDefs

app.bsky.video.defs

Implementation

const appBskyVideoDefs = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.video.defs",
  "defs": {
    "jobStatus": {
      "type": "object",
      "required": ["jobId", "did", "state"],
      "properties": {
        "jobId": {"type": "string"},
        "did": {"type": "string", "format": "did"},
        "state": {
          "type": "string",
          "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_COMPLETED", "JOB_STATE_FAILED"]
        },
        "progress": {
          "type": "integer",
          "description": "Progress within the current processing state.",
          "minimum": 0,
          "maximum": 100
        },
        "blob": {"type": "blob"},
        "error": {"type": "string"},
        "message": {"type": "string"}
      }
    }
  }
};