{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.cheapgpu.com/specs/endpoint-v1-draft/schemas/conformance-run.schema.json",
  "$comment": "Draft only. Structural validation does not establish safety, authenticity, availability, or billability.",
  "type": "object",
  "properties": {
    "contract_version": {
      "const": "cheapgpu.endpoint.v1-draft.4"
    },
    "run_id": {
      "$ref": "common.schema.json#/$defs/id"
    },
    "scope": {
      "$ref": "common.schema.json#/$defs/scope"
    },
    "suite_version": {
      "enum": [
        "endpoint-conformance-v1-draft.1",
        "responses-conformance-v1-draft.1"
      ]
    },
    "client_policy_version": {
      "const": "endpoint-egress-v1-draft.1"
    },
    "limit_policy_version": {
      "$ref": "common.schema.json#/$defs/version"
    },
    "limits": {
      "$ref": "common.schema.json#/$defs/limits"
    },
    "created_at_ms": {
      "$ref": "common.schema.json#/$defs/decimal"
    },
    "deadline_at_ms": {
      "$ref": "common.schema.json#/$defs/positive_decimal"
    }
  },
  "required": [
    "contract_version",
    "run_id",
    "scope",
    "suite_version",
    "client_policy_version",
    "limit_policy_version",
    "limits",
    "created_at_ms",
    "deadline_at_ms"
  ],
  "additionalProperties": false
}
