{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-v2-visual-regression-ref-screenshot-schema.json",
  "title": "V2VisualRegressionRefScreenshot",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bugbug-io-visual-regression-api-openapi.yml#/components/schemas/V2VisualRegressionRefScreenshot",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "stepId": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "projectArtifactId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true
    },
    "screenshotUrl": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "browserName": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "osName": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "screenSizeType": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "runProfileId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true
    },
    "runProfileName": {
      "type": "string",
      "readOnly": true
    },
    "runMode": {
      "enum": [
        "server",
        "local",
        "recording",
        null
      ],
      "type": [
        "string",
        "null"
      ],
      "description": "* `server` - cloud\n* `local` - local\n* `recording` - recording",
      "x-spec-enum-id": "396ab9b642f5073e",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  },
  "required": [
    "browserName",
    "created",
    "id",
    "modified",
    "osName",
    "projectArtifactId",
    "runMode",
    "runProfileId",
    "runProfileName",
    "screenSizeType",
    "screenshotUrl",
    "stepId"
  ]
}