changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "decision": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "additionalProperties": true,
- "properties": {
- "at": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "by": {
- "additionalProperties": true,
- "properties": {
- "kind": {
- "enum": [
- "person",
- "agent",
- "debbie"
- ]
- },
- "name": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "untrusted": {
- "type": "boolean"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "reason": {
- "maxLength": 400,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- }
- },
- "required": [
- "by",
- "reason",
- "at"
- ],
- "type": "object"
- }
- ]
- },
- "id": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "job": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "description": "deb8 job reference, if any; this adapter cannot start a job",
- "type": "object"
- }
- ]
- },
- "looksLikeInstruction": {
- "type": "boolean"
- },
- "material": {
- "maxLength": 3878,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "provenance": {
- "additionalProperties": true,
- "properties": {
- "derivedFrom": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- }
- ]
- },
- "materialDigest": {
- "maxLength": 64,
- "minLength": 64,
- "pattern": "\\S",
- "type": "string"
- },
- "receivedAt": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "via": {
- "enum": [
- "api",
- "connector",
- "workspace",
- "deb8"
- ]
- }
- },
- "required": [
- "via",
- "derivedFrom",
- "materialDigest",
- "receivedAt"
- ],
- "type": "object"
- },
- "sessionId": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "source": {
- "additionalProperties": true,
- "properties": {
- "kind": {
- "enum": [
- "person",
- "agent",
- "debbie"
- ]
- },
- "name": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "untrusted": {
- "type": "boolean"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "state": {
- "enum": [
- "proposed",
- "accepted",
- "rejected"
- ]
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "version": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "sessionId",
- "title",
- "material",
- "looksLikeInstruction",
- "source",
- "provenance",
- "state",
- "decision",
- "job",
- "version"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "contract": {
- "const": "a2a2p.co-invention/1.0.0"
- },
- "follow_token": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "follow_url": {
- "maxLength": 300,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "next": {
- "maxLength": 1000,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "session": {
- "additionalProperties": true,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 40,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "platform": {
- "maxLength": 36,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- }
- },
- "required": [
- "name",
- "platform"
- ],
- "type": "object"
- },
- "domain": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "id": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "idea": {
- "maxLength": 1750,
- "minLength": 15,
- "pattern": "\\S",
- "type": "string"
- },
- "revision": {
- "minimum": 1,
- "type": "integer"
- },
- "state": {
- "enum": [
- "open",
- "ended"
- ]
- }
- },
- "required": [
- "id",
- "idea",
- "domain",
- "agent",
- "state",
- "revision"
- ],
- "type": "object"
- }
- },
- "required": [
- "contract",
- "session",
- "concepts",
- "next"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "const": "rate_limited"
- },
- "contract": {
- "const": "a2a2p.co-invention/1.0.0"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "message": {
- "maxLength": 1000,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "rate_limit": {
- "description": "a2a2p.rate-limit/2.0.0 receipt",
- "type": "object"
- }
- },
- "required": [
- "contract",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "concepts": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "decision": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "at": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "by": {
+ "additionalProperties": true,
+ "properties": {
+ "kind": {
+ "enum": [
+ "person",
+ "agent",
+ "debbie"
+ ]
+ },
+ "name": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "untrusted": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "reason": {
+ "maxLength": 400,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "by",
+ "reason",
+ "at"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "id": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "job": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "description": "deb8 job reference, if any; this adapter cannot start a job",
+ "type": "object"
+ }
+ ]
+ },
+ "looksLikeInstruction": {
+ "type": "boolean"
+ },
+ "material": {
+ "maxLength": 3878,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "provenance": {
+ "additionalProperties": true,
+ "properties": {
+ "derivedFrom": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ ]
+ },
+ "materialDigest": {
+ "maxLength": 64,
+ "minLength": 64,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "receivedAt": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "via": {
+ "enum": [
+ "api",
+ "connector",
+ "workspace",
+ "deb8"
+ ]
+ }
+ },
+ "required": [
+ "via",
+ "derivedFrom",
+ "materialDigest",
+ "receivedAt"
+ ],
+ "type": "object"
+ },
+ "sessionId": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": true,
+ "properties": {
+ "kind": {
+ "enum": [
+ "person",
+ "agent",
+ "debbie"
+ ]
+ },
+ "name": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "untrusted": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "proposed",
+ "accepted",
+ "rejected"
+ ]
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "version": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "sessionId",
+ "title",
+ "material",
+ "looksLikeInstruction",
+ "source",
+ "provenance",
+ "state",
+ "decision",
+ "job",
+ "version"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "contract": {
+ "const": "a2a2p.co-invention/1.1.0"
+ },
+ "follow_token": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "follow_url": {
+ "maxLength": 300,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "next": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "session": {
+ "additionalProperties": true,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 40,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "platform": {
+ "maxLength": 36,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "platform"
+ ],
+ "type": "object"
+ },
+ "domain": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "idea": {
+ "maxLength": 1750,
+ "minLength": 15,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "revision": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "state": {
+ "enum": [
+ "open",
+ "ended"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "idea",
+ "domain",
+ "agent",
+ "state",
+ "revision"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "contract",
+ "session",
+ "concepts",
+ "next"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "const": "rate_limited"
+ },
+ "contract": {
+ "const": "a2a2p.co-invention/1.1.0"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "rate_limit": {
+ "description": "a2a2p.rate-limit/2.0.0 receipt",
+ "type": "object"
+ }
+ },
+ "required": [
+ "contract",
+ "error"
+ ],
+ "type": "object"
+ }
+]