changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "capability_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9][a-z0-9._-]*$",
- "type": "string"
- },
- "capability_version": {
- "anyOf": [
- {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "catalog_digest": {
- "anyOf": [
- {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "issued_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"
- },
- "machine_principal_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"
- },
- "maximum_charge": {
- "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
- "type": "string"
- },
- "payment_rail": {
- "enum": [
- "account_core_balance",
- "starter_credit",
- "x402"
- ],
- "type": "string"
- },
- "product": {
- "const": "rqm-studio",
- "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"
- },
- "receipt_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"
- },
- "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"
- },
- "rqm_account_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.studio-receipt.v1",
- "type": "string"
- },
- "settled_charge": {
- "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
- "type": "string"
- },
- "status": {
- "const": "settled",
- "type": "string"
- },
- "tariff_version": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "receipt_id",
- "reservation_id",
- "quote_id",
- "rqm_account_id",
- "machine_principal_id",
- "product",
- "capability_id",
- "capability_version",
- "request_hash",
- "catalog_digest",
- "tariff_version",
- "currency",
- "payment_rail",
- "maximum_charge",
- "settled_charge",
- "status",
- "issued_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": {
+ "capability_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[a-z0-9][a-z0-9._-]*$",
+ "type": "string"
+ },
+ "capability_version": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "catalog_digest": {
+ "anyOf": [
+ {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "issued_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"
+ },
+ "machine_principal_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"
+ },
+ "maximum_charge": {
+ "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
+ "type": "string"
+ },
+ "payment_rail": {
+ "enum": [
+ "account_core_balance",
+ "starter_credit",
+ "x402"
+ ],
+ "type": "string"
+ },
+ "product": {
+ "const": "rqm-studio",
+ "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"
+ },
+ "receipt_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"
+ },
+ "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"
+ },
+ "rqm_account_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.studio-receipt.v1",
+ "type": "string"
+ },
+ "settled_charge": {
+ "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
+ "type": "string"
+ },
+ "status": {
+ "const": "settled",
+ "type": "string"
+ },
+ "tariff_version": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "receipt_id",
+ "reservation_id",
+ "quote_id",
+ "rqm_account_id",
+ "machine_principal_id",
+ "product",
+ "capability_id",
+ "capability_version",
+ "request_hash",
+ "catalog_digest",
+ "tariff_version",
+ "currency",
+ "payment_rail",
+ "maximum_charge",
+ "settled_charge",
+ "status",
+ "issued_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"
+ }
+]