{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/citi/main/json-schema/citi-file-upload-response-schema.json",
  "title": "FileUploadResponse",
  "description": "Response parameters for file upload.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citi-file-api-openapi.yml#/components/schemas/File-Upload-Response",
  "type": "object",
  "properties": {
    "file_id": {
      "$ref": "#/$defs/File-Id"
    },
    "created_time": {
      "$ref": "#/$defs/Created-Time"
    },
    "status_details": {
      "$ref": "#/$defs/Status-Details"
    }
  },
  "$defs": {
    "Created-Time": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the file created. Pattern YYYY-MM-DDTHH:mm:ssZ",
      "title": "created_time"
    },
    "File-Id": {
      "type": "string",
      "description": "Unique identifier for the document uploaded.",
      "title": "file_id",
      "minLength": 1,
      "maxLength": 128
    },
    "Message": {
      "type": "string",
      "description": "Description of the status.",
      "title": "message",
      "minLength": 1,
      "maxLength": 500
    },
    "Status": {
      "type": "string",
      "description": "Status of the request.",
      "title": "status",
      "minLength": 1,
      "maxLength": 64
    },
    "Status-Details": {
      "title": "StatusDetails",
      "description": "Status Details.",
      "type": "object",
      "properties": {
        "status": {
          "$ref": "#/$defs/Status"
        },
        "message": {
          "$ref": "#/$defs/Message"
        }
      }
    }
  }
}