{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fulcradynamics-com/json-schema/fulcradynamics-com-fulcra-file-upload-input-schema.json",
  "title": "FulcraFileUploadInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fulcradynamics-com-files-api-openapi.yml#/components/schemas/FulcraFileUploadInput",
  "additionalProperties": false,
  "properties": {
    "archived_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "deleted_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "fulcra_userid": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "last_scanned": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "restored_from_id": {
      "type": "string"
    },
    "scan_state": {
      "type": "string"
    },
    "size": {
      "format": "int64",
      "type": "integer"
    },
    "source_data_types": {
      "items": {
        "$ref": "#/$defs/FulcraFileUploadDataType"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "source_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "source_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": "string"
    },
    "uploaded_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "fulcra_userid",
    "created_at",
    "state",
    "scan_state",
    "last_scanned",
    "name",
    "path",
    "size",
    "source_name",
    "source_id",
    "source_data_types",
    "deleted_at",
    "uploaded_at",
    "archived_at",
    "restored_from_id"
  ],
  "type": "object",
  "$defs": {
    "FulcraFileUploadDataType": {
      "additionalProperties": false,
      "properties": {
        "data_type": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "data_type",
        "state"
      ],
      "type": "object"
    }
  }
}