{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-folder-job-status-schema.json",
  "title": "FolderJobStatus",
  "description": "The status of a folder async job.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-aem-folders-openapi.yml#/components/schemas/FolderJobStatus",
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "format": "uuid",
      "minLength": 36
    },
    "state": {
      "type": "string",
      "enum": [
        "PROCESSING",
        "COMPLETED",
        "COMPLETED_WITH_ERRORS",
        "FAILED"
      ],
      "description": "The state of the async job. Possible values are `PROCESSING`, `COMPLETED`, `COMPLETED_WITH_ERRORS`, or `FAILED`. A state of `COMPLETED_WITH_ERRORS` indicates that at least one of the operations contained in the async job contains errors or warnings.  To inspect the errors or warnings, request the job result by following the link provided in the Location header.",
      "minLength": 6
    },
    "status": {
      "type": "string",
      "description": "Additional information about processing state. If an error occurred, error information will appear here."
    }
  },
  "required": [
    "jobId",
    "state"
  ]
}