Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.
View complete output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"minProperties": 10,
"maxProperties": 10,
"required": [
"base",
"quote",
"symbol",
"startDate",
"endDate",
"count",
"points",
"retrievedAt",
"source",
"warnings"
],
"properties": {
"base": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"minLength": 3,
"maxLength": 3
},
"quote": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"minLength": 3,
"maxLength": 3
},
"symbol": {
"type": "string",
"pattern": "^[A-Z]{3}/[A-Z]{3}$",
"minLength": 7,
"maxLength": 7
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"minLength": 10,
"maxLength": 10
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"minLength": 10,
"maxLength": 10
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 256
},
"points": {
"type": "array",
"minItems": 0,
"maxItems": 256,
"items": {
"type": "object",
"additionalProperties": false,
"minProperties": 3,
"maxProperties": 3,
"required": [
"date",
"rate",
"status"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"minLength": 10,
"maxLength": 10
},
"rate": {
"type": "number",
"minimum": 1e-8,
"maximum": 1000000000
},
"status": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
}
}
},
"retrievedAt": {
"type": "string",
"minLength": 20,
"maxLength": 32
},
"source": {
"type": "object",
"additionalProperties": false,
"minProperties": 7,
"maxProperties": 7,
"required": [
"provider",
"dataset",
"sourceUrl",
"freeAccessUrl",
"retrievedAt",
"attribution",
"notice"
],
"properties": {
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"dataset": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"sourceUrl": {
"type": "string",
"pattern": "^https://",
"minLength": 9,
"maxLength": 2048
},
"freeAccessUrl": {
"type": "string",
"pattern": "^https://",
"minLength": 9,
"maxLength": 2048
},
"retrievedAt": {
"type": "string",
"minLength": 20,
"maxLength": 32
},
"attribution": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"notice": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
},
"warnings": {
"type": "array",
"minItems": 0,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}