{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-memory-card-create-payload-schema.json",
  "title": "MemoryCardCreatePayload",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-memory-cards-api-openapi.yml#/components/schemas/MemoryCardCreatePayload",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "title": "Name"
    },
    "emulator": {
      "type": "string",
      "maxLength": 50,
      "title": "Emulator"
    },
    "platform_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform Id"
    },
    "is_public": {
      "type": "boolean",
      "title": "Is Public",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "name",
    "emulator"
  ]
}