changedInput schema / oneOf
Previous value: -[
- {
- "not": {
- "required": [
- "pr"
- ]
- },
- "required": [
- "diff"
- ]
- },
- {
- "not": {
- "required": [
- "diff"
- ]
- },
- "required": [
- "repo",
- "pr"
- ]
- }
-]New value: +[
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "pr"
+ ]
+ },
+ {
+ "required": [
+ "files"
+ ]
+ }
+ ]
+ },
+ "required": [
+ "diff"
+ ]
+ },
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "diff"
+ ]
+ },
+ {
+ "required": [
+ "files"
+ ]
+ }
+ ]
+ },
+ "required": [
+ "repo",
+ "pr"
+ ]
+ },
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "diff"
+ ]
+ },
+ {
+ "required": [
+ "pr"
+ ]
+ }
+ ]
+ },
+ "required": [
+ "files"
+ ]
+ }
+]
addedInput schema / properties / base_sha
Added value: +{
+ "pattern": "^[a-fA-F0-9]{40}$",
+ "type": "string"
+}
addedInput schema / properties / contract_id
Added value: +{
+ "description": "Optional short-lived contract_id returned by plan_repo_task.",
+ "pattern": "^[a-fA-F0-9]{32}$",
+ "type": "string"
+}
addedInput schema / properties / files
Added value: +{
+ "description": "Privacy-preserving changed-file facts; contains no source or diff hunks.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "additions": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "deletions": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line_counts_known": {
+ "description": "False when Git could not provide text line counts; zeroes are then placeholders, not measured size.",
+ "type": "boolean"
+ },
+ "path": {
+ "maxLength": 512,
+ "minLength": 1,
+ "type": "string"
+ },
+ "previousPath": {
+ "maxLength": 512,
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "added",
+ "modified",
+ "removed",
+ "renamed",
+ "copied",
+ "changed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "additions",
+ "deletions",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 250,
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / head_sha
Added value: +{
+ "pattern": "^[a-fA-F0-9]{40}$",
+ "type": "string"
+}
addedInput schema / properties / proofs
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "duration_ms": {
+ "maximum": 86400000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "obligation_id": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "client_reported",
+ "github_check"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "passed",
+ "failed",
+ "skipped"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "obligation_id",
+ "status",
+ "source"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+}