{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-post-media-item-request-schema.json",
  "title": "PostMediaItemRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-media-api-openapi.yml#/components/schemas/PostMediaItemRequest",
  "type": "object",
  "properties": {
    "linkedType": {
      "enum": [
        "Property"
      ],
      "type": "string"
    },
    "linkedId": {
      "minimum": 1,
      "type": "integer",
      "format": "int64"
    },
    "mediaType": {
      "enum": [
        "Photo",
        "Floorplan",
        "VirtualTour",
        "File",
        "Document",
        "Brochure",
        "EPC",
        "WebLink"
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "fileToUpload": {
      "type": [
        "string",
        "null"
      ],
      "format": "binary"
    },
    "filename": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}