{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/achieved-io/json-schema/achieved-io-post-api-v1-documents-request-schema.json",
  "title": "PostApiV1DocumentsRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/achieved-io-openapi-generated.yml#/components/schemas/PostApiV1DocumentsRequest",
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "The document file (multipart/form-data)"
    },
    "project_id": {
      "type": "string",
      "description": "The project to attach the document to"
    },
    "type": {
      "type": "string",
      "description": "\"report\", \"agreement\", \"statement\", \"other\""
    },
    "visibility": {
      "type": "string",
      "description": "\"private\" (default) or \"investor_visible\""
    }
  },
  "required": [
    "file",
    "project_id",
    "type"
  ]
}