{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/justgains-com/json-schema/justgains-com-media-asset-schema.json",
  "title": "MediaAsset",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/justgains-com-openapi.json#/components/schemas/MediaAsset",
  "required": [
    "FileName",
    "FilePath"
  ],
  "type": "object",
  "properties": {
    "CreatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "CreatedBy": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "UpdatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "UpdatedBy": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "DeletedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "DeletedBy": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "MediaId": {
      "type": "string",
      "format": "uuid"
    },
    "MediaType": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "FileName": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "FilePath": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "FileSize": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "FileFormat": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "Description": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}