{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artashippinginc/json-schema/artashippinginc-attachment-create-schema.json",
  "title": "AttachmentCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artashippinginc-attachments-api-openapi.yml#/components/schemas/AttachmentCreate",
  "additionalProperties": false,
  "properties": {
    "attachment": {
      "properties": {
        "request_id": {
          "description": "The string ID of the request resource being associated to an upload. Do not include a request_id in the attachment parameters if you are associating a shipment",
          "type": "string",
          "x-struct": null,
          "x-validate": null
        },
        "shipment_id": {
          "description": "The string ID of the shipment resource being associated to an upload. Do not include a shipment_id in the attachment parameters if you are associating a shipment",
          "type": "string",
          "x-struct": null,
          "x-validate": null
        },
        "upload_id": {
          "description": "The integer ID of the upload resource being attached",
          "type": "integer",
          "x-struct": null,
          "x-validate": null
        }
      },
      "required": [
        "upload_id"
      ],
      "type": "object",
      "x-struct": null,
      "x-validate": null
    }
  },
  "required": [
    "attachment"
  ],
  "type": "object",
  "x-struct": "Elixir.DocsWeb.Schemas.RequestBody.AttachmentCreate",
  "x-validate": null
}