{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fareeqy-com/json-schema/fareeqy-com-project-file-schema.json",
  "title": "ProjectFile",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fareeqy-com-openapi.yaml#/components/schemas/ProjectFile",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Numeric id (files have no slug)."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Absolute address of the page a person opens in فريقي."
    },
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string",
      "description": "The folder path the file lives at."
    },
    "folder_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "size_bytes": {
      "type": [
        "integer",
        "null"
      ]
    },
    "size_human": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Set for an external link, null for an upload."
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "The source's display name."
    },
    "scan_state": {
      "type": "string",
      "description": "Virus-scan state (e.g. pending, clean)."
    },
    "downloadable": {
      "type": "boolean",
      "description": "True once the scan has cleared the file."
    },
    "uploaded_by": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}