{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ethora-com/json-schema/ethora-com-file-record-schema.json",
  "title": "FileRecord",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ethora-com-openapi.json#/components/schemas/FileRecord",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "ownerKey": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "locationPreview": {
      "type": [
        "string",
        "null"
      ]
    },
    "duration": {
      "type": [
        "string",
        "null"
      ]
    },
    "originalname": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "mimetype": {
      "type": "string"
    },
    "size": {
      "type": "number"
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "isPrivate": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}