{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-file-schema.json",
  "title": "File",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-files-api-openapi.yml#/components/schemas/File",
  "additionalProperties": false,
  "properties": {
    "checksum": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "roomId": {
      "format": "uuid",
      "type": "string"
    },
    "size": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "pattern": "^(0|[1-9][0-9]*)$",
      "type": "string"
    }
  },
  "required": [
    "id",
    "roomId",
    "name",
    "size",
    "checksum"
  ],
  "type": "object"
}