changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "accepted_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "cancellation_requested": {
- "type": "boolean"
- },
- "capability_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9][a-z0-9._-]*$",
- "type": "string"
- },
- "capability_version": {
- "const": "1.0.0",
- "type": "string"
- },
- "catalog_digest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "catalog_revision": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "commercial_state": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "completed_at": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "correlation_id": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "error_code": {
- "anyOf": [
- {
- "maxLength": 128,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "job_id": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "product": {
- "const": "robotics",
- "type": "string"
- },
- "quote_id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "request_hash": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "request_schema_version": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "reservation_id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "schema_version": {
- "const": "rqm.jobs.robotics-job-status.v1",
- "type": "string"
- },
- "started_at": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "queued",
- "running",
- "completed",
- "failed",
- "cancelled",
- "recovery"
- ],
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "product",
- "capability_id",
- "capability_version",
- "request_schema_version",
- "catalog_revision",
- "catalog_digest",
- "request_hash",
- "job_id",
- "status",
- "quote_id",
- "reservation_id",
- "correlation_id",
- "commercial_state",
- "error_code",
- "cancellation_requested",
- "accepted_at",
- "started_at",
- "completed_at"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "AUTHENTICATION_REQUIRED",
- "MACHINE_AUTHENTICATION_FAILED",
- "MACHINE_AUTHORIZATION_FAILED",
- "ACCOUNT_CORE_UNAVAILABLE",
- "FEATURE_DISABLED",
- "QUOTE_NOT_ENTITLED",
- "QUOTE_IDEMPOTENCY_CONFLICT",
- "QUOTE_NOT_AVAILABLE",
- "QUOTE_REQUEST_INVALID",
- "QUOTE_MISMATCH",
- "PRICE_LIMIT_EXCEEDED",
- "RUNTIME_LIMIT_EXCEEDED",
- "ARTIFACT_PREFERENCE_UNAVAILABLE",
- "INSUFFICIENT_BALANCE",
- "RESERVATION_FAILED",
- "PRODUCT_REJECTED",
- "PRODUCT_UNAVAILABLE",
- "JOB_NOT_FOUND",
- "JOB_NOT_READY",
- "JOB_ACCESS_DENIED",
- "SETTLEMENT_FAILED",
- "FUNDING_UNAVAILABLE",
- "FUNDING_FAILED"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- },
- "schema_version": {
- "const": "rqm.jobs.error.v1",
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accepted_at": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ ],
+ "format": "date-time",
+ "type": "string"
+ },
+ "cancellation_requested": {
+ "type": "boolean"
+ },
+ "capability_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[a-z0-9][a-z0-9._-]*$",
+ "type": "string"
+ },
+ "capability_version": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "catalog_digest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "catalog_revision": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "commercial_state": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "completed_at": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ ],
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "correlation_id": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error_code": {
+ "anyOf": [
+ {
+ "maxLength": 128,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "job_id": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ },
+ "product": {
+ "const": "robotics",
+ "type": "string"
+ },
+ "quote_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "request_hash": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "request_schema_version": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reservation_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "rqm.jobs.robotics-job-status.v1",
+ "type": "string"
+ },
+ "started_at": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ ],
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "running",
+ "completed",
+ "failed",
+ "cancelled",
+ "recovery"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "product",
+ "capability_id",
+ "capability_version",
+ "request_schema_version",
+ "catalog_revision",
+ "catalog_digest",
+ "request_hash",
+ "job_id",
+ "status",
+ "quote_id",
+ "reservation_id",
+ "correlation_id",
+ "commercial_state",
+ "error_code",
+ "cancellation_requested",
+ "accepted_at",
+ "started_at",
+ "completed_at"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "AUTHENTICATION_REQUIRED",
+ "MACHINE_AUTHENTICATION_FAILED",
+ "MACHINE_AUTHORIZATION_FAILED",
+ "ACCOUNT_CORE_UNAVAILABLE",
+ "FEATURE_DISABLED",
+ "QUOTE_NOT_ENTITLED",
+ "QUOTE_IDEMPOTENCY_CONFLICT",
+ "QUOTE_NOT_AVAILABLE",
+ "QUOTE_REQUEST_INVALID",
+ "QUOTE_MISMATCH",
+ "PRICE_LIMIT_EXCEEDED",
+ "RUNTIME_LIMIT_EXCEEDED",
+ "ARTIFACT_PREFERENCE_UNAVAILABLE",
+ "INSUFFICIENT_BALANCE",
+ "RESERVATION_FAILED",
+ "PRODUCT_REJECTED",
+ "PRODUCT_UNAVAILABLE",
+ "JOB_NOT_FOUND",
+ "JOB_NOT_READY",
+ "JOB_ACCESS_DENIED",
+ "SETTLEMENT_FAILED",
+ "FUNDING_UNAVAILABLE",
+ "FUNDING_FAILED"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "schema_version": {
+ "const": "rqm.jobs.error.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ }
+]