{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-deploy-file-content-schema.json",
  "title": "DeployFileContent",
  "description": "Response of `GET /sites/{siteId}/deploys/{deployId}/file`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-deploys-api-openapi.yml#/components/schemas/DeployFileContent",
  "properties": {
    "path": {
      "description": "The path, normalized — which is the spelling the manifest holds.",
      "type": "string"
    },
    "sha256": {
      "description": "Digest of the content as stored.\n\nSent so the editor can publish a change without re-reading anything: the new manifest is the old one\nwith this entry's digest replaced, and every other file is reused by `prepare`.",
      "type": "string"
    },
    "size": {
      "description": "Size in bytes, as the manifest records it.",
      "format": "int64",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ]
    },
    "text": {
      "description": "The file's text, or null when the bytes are not valid UTF-8.\n\nNull rather than a lossy decode, so the dashboard can say the file cannot be edited here instead of\noffering an editor whose contents would overwrite the original with replacement characters.",
      "type": [
        "null",
        "string"
      ]
    }
  },
  "required": [
    "path",
    "sha256",
    "size",
    "text"
  ],
  "type": "object"
}