changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "after_payment": {
+ "additionalProperties": false,
+ "description": "What the agent must do after payment succeeds.",
+ "properties": {
+ "connection_required": {
+ "description": "Whether the agent must keep the original request connection open while research runs.",
+ "type": "boolean"
+ },
+ "instruction": {
+ "description": "The complete asynchronous retrieval instructions for the agent.",
+ "type": "string"
+ },
+ "poll_after_seconds": {
+ "description": "How long the agent should wait between private status checks.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "connection_required",
+ "poll_after_seconds",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "endpoint": {
+ "description": "The REST endpoint to call to create and pay for the brief.",
+ "format": "uri",
+ "type": "string"
+ },
+ "error": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A scope correction message, or null when the request is valid."
+ },
+ "jurisdictions": {
+ "description": "The normalized scope supplied for validation.",
+ "items": {
+ "description": "A country, US state, or other regulatory geography to cover, written as a clear human-readable name.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "notice": {
+ "description": "The notice that must travel with RegLayer research outputs.",
+ "type": "string"
+ },
+ "price": {
+ "additionalProperties": false,
+ "description": "The selected product, price, and geographic limits.",
+ "properties": {
+ "amount_cents": {
+ "description": "The purchase price in the smallest currency unit, currently US cents.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "code": {
+ "description": "The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions.",
+ "enum": [
+ "instant_one",
+ "instant_three"
+ ],
+ "type": "string"
+ },
+ "currency": {
+ "description": "The lowercase ISO 4217 currency code used for payment.",
+ "type": "string"
+ },
+ "delivery": {
+ "description": "How the finished brief is delivered and its normal completion window.",
+ "type": "string"
+ },
+ "max_jurisdictions": {
+ "description": "The maximum number of distinct jurisdictions accepted for this product.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "min_jurisdictions": {
+ "description": "The minimum number of distinct jurisdictions accepted for this product.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "description": "The customer-facing name of the brief product.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "name",
+ "amount_cents",
+ "currency",
+ "min_jurisdictions",
+ "max_jurisdictions",
+ "delivery"
+ ],
+ "type": "object"
+ },
+ "product": {
+ "description": "The RegLayer Instant Decision Brief product code: instant_one for exactly one jurisdiction, or instant_three for two or three jurisdictions.",
+ "enum": [
+ "instant_one",
+ "instant_three"
+ ],
+ "type": "string"
+ },
+ "required_body_fields": {
+ "description": "Fields that must be present in the purchase request body.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "required_headers": {
+ "additionalProperties": false,
+ "description": "HTTP headers required by the purchase endpoint.",
+ "properties": {
+ "Content-Type": {
+ "description": "The required request content type.",
+ "type": "string"
+ },
+ "Idempotency-Key": {
+ "description": "A unique stable value that makes purchase retries safe.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "Content-Type",
+ "Idempotency-Key"
+ ],
+ "type": "object"
+ },
+ "valid": {
+ "description": "Whether the selected product and jurisdictions form a valid purchasable scope.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "valid",
+ "product",
+ "jurisdictions",
+ "price",
+ "error",
+ "endpoint",
+ "required_headers",
+ "required_body_fields",
+ "after_payment",
+ "notice"
+ ],
+ "type": "object"
+}