{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valjeanspecialty/json-schema/valjeanspecialty-upload-url-schema.json",
  "title": "UploadUrl",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valjeanspecialty-documents-api-openapi.yml#/components/schemas/UploadUrl",
  "type": "object",
  "properties": {
    "upload_id": {
      "type": "string"
    },
    "upload_url": {
      "type": "string",
      "description": "PUT the file's bytes here.",
      "format": "uri"
    },
    "method": {
      "type": "string",
      "const": "PUT"
    },
    "headers": {
      "type": "object",
      "properties": {
        "Content-Type": {
          "type": "string"
        }
      },
      "required": [
        "Content-Type"
      ]
    },
    "max_bytes": {
      "type": "integer"
    },
    "expires_in_seconds": {
      "type": "integer"
    },
    "then": {
      "type": "string",
      "description": "What to call next."
    }
  },
  "required": [
    "upload_id",
    "upload_url",
    "method",
    "headers",
    "max_bytes",
    "expires_in_seconds",
    "then"
  ]
}