Config for ghana-nia
Jobs that use the ghana-nia adaptor may require authentication. A
"credential" for the ghana-nia adaptor will follow the schema below. When
using the CLI, you can set up your own state.configuration by using the
sample below.
Sample Configuration
Paste this into the configuration key of your state.json file and
modify the values to run jobs locally.
{
"baseUrl": "https://example.com",
"merchantKey": "abc-123-def"
}
Full Schema
The full configuration schema describes each attribute of the credential and notes those that are required.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"baseUrl": {
"title": "Base URL",
"type": "string",
"description": "The base URL (http://www.example.com)",
"format": "uri",
"minLength": 1,
"examples": [
"https://example.com"
]
},
"merchantKey": {
"title": "NIA Merchant Key",
"type": "string",
"description": "NI Merchant Key",
"examples": [
"abc-123-def"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"baseUrl",
"merchantKey"
]
}