{"$defs": {"InputManifest": {"additionalProperties": false, "properties": {"size": {"minimum": 0, "title": "Size", "type": "integer"}, "sha256": {"maxLength": 64, "minLength": 64, "title": "Sha256", "type": "string"}, "content_type": {"title": "Content Type", "type": "string"}, "content_encoding": {"default": "identity", "enum": ["identity", "gzip", "zstd"], "title": "Content Encoding", "type": "string"}}, "required": ["size", "sha256", "content_type"], "title": "InputManifest", "type": "object"}, "KeyPrincipal": {"additionalProperties": false, "properties": {"kind": {"const": "api_key", "default": "api_key", "title": "Kind", "type": "string"}, "key_id": {"title": "Key Id", "type": "string"}}, "required": ["key_id"], "title": "KeyPrincipal", "type": "object"}, "OptionsSpec": {"additionalProperties": false, "properties": {"time_limit_seconds": {"anyOf": [{"maximum": 21600, "minimum": 1, "type": "integer"}, {"type": "null"}], "default": null, "title": "Time Limit Seconds"}, "compute_preset": {"anyOf": [{"maxLength": 32, "minLength": 1, "type": "string"}, {"type": "null"}], "default": null, "title": "Compute Preset"}, "webhook": {"anyOf": [{"$ref": "#/$defs/WebhookSpec"}, {"type": "null"}], "default": null}, "solver_options": {"additionalProperties": {"additionalProperties": true, "type": "object"}, "title": "Solver Options", "type": "object"}}, "title": "OptionsSpec", "type": "object"}, "TokenPrincipal": {"additionalProperties": false, "properties": {"kind": {"const": "browser_token", "default": "browser_token", "title": "Kind", "type": "string"}, "account_id": {"title": "Account Id", "type": "string"}, "uid": {"anyOf": [{"type": "integer"}, {"type": "null"}], "default": null, "title": "Uid"}, "sess": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Sess"}, "jti": {"title": "Jti", "type": "string"}}, "required": ["account_id", "jti"], "title": "TokenPrincipal", "type": "object"}, "WebhookSpec": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "title": "Url", "type": "string"}, "events": {"items": {"enum": ["terminal", "running", "progress", "settled"], "type": "string"}, "maxItems": 4, "title": "Events", "type": "array"}}, "required": ["url"], "title": "WebhookSpec", "type": "object"}}, "additionalProperties": false, "properties": {"problem_id": {"title": "Problem Id", "type": "string"}, "problem_type": {"default": "opaque/1", "title": "Problem Type", "type": "string"}, "solver": {"default": "auto", "minLength": 1, "title": "Solver", "type": "string"}, "options": {"$ref": "#/$defs/OptionsSpec"}, "metadata": {"additionalProperties": {"type": "string"}, "title": "Metadata", "type": "object"}, "features": {"items": {"type": "string"}, "title": "Features", "type": "array"}, "input": {"$ref": "#/$defs/InputManifest"}, "submit_channel": {"enum": ["api", "studio", "sandbox"], "title": "Submit Channel", "type": "string"}, "idempotency_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Idempotency Key"}, "request_id": {"title": "Request Id", "type": "string"}, "dry_run": {"default": false, "title": "Dry Run", "type": "boolean"}, "principal": {"discriminator": {"mapping": {"api_key": "#/$defs/KeyPrincipal", "browser_token": "#/$defs/TokenPrincipal"}, "propertyName": "kind"}, "oneOf": [{"$ref": "#/$defs/KeyPrincipal"}, {"$ref": "#/$defs/TokenPrincipal"}], "title": "Principal"}, "safety_retry": {"default": false, "title": "Safety Retry", "type": "boolean"}}, "required": ["problem_id", "input", "submit_channel", "request_id", "principal"], "title": "AdmissionRequestV1", "type": "object"}