changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "quote": {
+ "type": "object"
+ },
+ "readiness_progress": {
+ "type": "object"
+ },
+ "report_delivery": {
+ "$id": "https://a2a2p.com/schema/resolution-report-delivery",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "state": {
+ "const": "pending_machine_draft"
+ }
+ },
+ "required": [
+ "state"
+ ]
+ },
+ "then": {
+ "properties": {
+ "available": {
+ "const": false
+ },
+ "operator_published": {
+ "const": false
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "state": {
+ "const": "machine_draft"
+ }
+ },
+ "required": [
+ "state"
+ ]
+ },
+ "then": {
+ "properties": {
+ "available": {
+ "const": true
+ },
+ "operator_published": {
+ "const": false
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "state": {
+ "const": "operator_published"
+ }
+ },
+ "required": [
+ "state"
+ ]
+ },
+ "then": {
+ "properties": {
+ "available": {
+ "const": true
+ },
+ "operator_published": {
+ "const": true
+ }
+ }
+ }
+ }
+ ],
+ "description": "Distinguishes report availability and publication provenance from request lifecycle, supplier quoting, and physical authority.",
+ "properties": {
+ "authority": {
+ "additionalProperties": false,
+ "properties": {
+ "fabrication": {
+ "const": false,
+ "type": "boolean"
+ },
+ "payment": {
+ "const": false,
+ "type": "boolean"
+ },
+ "purchase": {
+ "const": false,
+ "type": "boolean"
+ },
+ "shipment": {
+ "const": false,
+ "type": "boolean"
+ },
+ "supplier_contact": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "supplier_contact",
+ "purchase",
+ "payment",
+ "fabrication",
+ "shipment"
+ ],
+ "type": "object"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "contract": {
+ "const": "a2a2p.resolution-report-delivery"
+ },
+ "external_action": {
+ "const": false,
+ "type": "boolean"
+ },
+ "limitations": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "operator_published": {
+ "type": "boolean"
+ },
+ "professional_engineering_review_claimed": {
+ "const": false,
+ "type": "boolean"
+ },
+ "state": {
+ "enum": [
+ "pending_machine_draft",
+ "machine_draft",
+ "operator_published"
+ ],
+ "type": "string"
+ },
+ "supplier_quote": {
+ "const": false,
+ "type": "boolean"
+ },
+ "version": {
+ "const": "1.0.0"
+ }
+ },
+ "required": [
+ "contract",
+ "version",
+ "state",
+ "available",
+ "operator_published",
+ "professional_engineering_review_claimed",
+ "supplier_quote",
+ "external_action",
+ "authority",
+ "limitations"
+ ],
+ "title": "a2a2p resolution-report delivery receipt",
+ "type": "object"
+ },
+ "request_id": {
+ "type": "string"
+ },
+ "resolution_report": {
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ },
+ "submitted": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_id",
+ "status",
+ "submitted",
+ "report_delivery"
+ ],
+ "type": "object"
+}