{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-body-update-collection-api-collections-id-put-schema.json",
  "title": "Body_update_collection_api_collections__id__put",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-collections-api-openapi.yml#/components/schemas/Body_update_collection_api_collections__id__put",
  "properties": {
    "artwork": {
      "anyOf": [
        {
          "type": "string",
          "contentMediaType": "application/octet-stream"
        },
        {
          "type": "null"
        }
      ],
      "title": "Artwork",
      "description": "Collection artwork file."
    },
    "rom_ids": {
      "type": "string",
      "title": "Rom Ids",
      "description": "Collection ROM IDs as a JSON array string (e.g. [1,2,3])."
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 400
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "url_cover": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url Cover",
      "description": "Updated remote cover URL."
    }
  },
  "type": "object",
  "required": [
    "rom_ids"
  ]
}