{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codequiry-com/json-schema/codequiry-com-remote-file-schema.json",
  "title": "RemoteFile",
  "description": "A stored copy of an external page or file that a submission matched against. The web corpus is shared - one stored file can be matched by many submissions - so a row carries no submission or timestamp of its own.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codequiry-com-openapi.yml#/components/schemas/RemoteFile",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "filedir": {
      "type": "string",
      "description": "Path/name of the file within the stored source."
    },
    "filename": {
      "type": [
        "string",
        "null"
      ]
    },
    "content": {
      "type": "string",
      "description": "The stored source text."
    },
    "language_id": {
      "type": "integer"
    },
    "location": {
      "type": "string",
      "description": "Display label for the match, echoed from the match object."
    },
    "source": {
      "type": "string",
      "description": "Origin URL, echoed from the match object."
    }
  }
}