{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contentrain-io/json-schema/contentrain-io-post-api-media-v1-projectid-assets-request-schema.json",
  "title": "PostApiMediaV1ProjectidAssetsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/contentrain-io-openapi-generated.yml#/components/schemas/PostApiMediaV1ProjectidAssetsRequest",
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Binary file to upload (multipart/form-data)."
    },
    "alt": {
      "type": "string",
      "description": "Alt text for accessibility."
    },
    "tags": {
      "type": "string",
      "description": "Comma‑separated tags."
    },
    "variants": {
      "type": "string",
      "description": "JSON string describing variants to generate."
    },
    "url": {
      "type": "string",
      "description": "Source URL to fetch (JSON body)."
    }
  },
  "required": [
    "file"
  ]
}