{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-firmware-schema-schema.json",
  "title": "FirmwareSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-firmware-api-openapi.yml#/components/schemas/FirmwareSchema",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "platform_id": {
      "type": "integer",
      "title": "Platform Id"
    },
    "file_name": {
      "type": "string",
      "title": "File Name"
    },
    "file_name_no_tags": {
      "type": "string",
      "title": "File Name No Tags"
    },
    "file_name_no_ext": {
      "type": "string",
      "title": "File Name No Ext"
    },
    "file_extension": {
      "type": "string",
      "title": "File Extension"
    },
    "file_path": {
      "type": "string",
      "title": "File Path"
    },
    "file_size_bytes": {
      "type": "integer",
      "title": "File Size Bytes"
    },
    "full_path": {
      "type": "string",
      "title": "Full Path"
    },
    "is_verified": {
      "type": "boolean",
      "title": "Is Verified"
    },
    "crc_hash": {
      "type": "string",
      "title": "Crc Hash"
    },
    "md5_hash": {
      "type": "string",
      "title": "Md5 Hash"
    },
    "sha1_hash": {
      "type": "string",
      "title": "Sha1 Hash"
    },
    "missing_from_fs": {
      "type": "boolean",
      "title": "Missing From Fs"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "platform_id",
    "file_name",
    "file_name_no_tags",
    "file_name_no_ext",
    "file_extension",
    "file_path",
    "file_size_bytes",
    "full_path",
    "is_verified",
    "crc_hash",
    "md5_hash",
    "sha1_hash",
    "missing_from_fs",
    "created_at",
    "updated_at"
  ]
}