# schemas

scope: com.actyx
schema:
{"$id":"https://developer.actyx.com/schemas/node-settings.schema.json","$schema":"http://json-schema.org/draft-06/schema#","additionalProperties":false,"definitions":{"API":{"Events":{"additionalProperties":false,"properties":{"_internal":{"additionalProperties":true,"type":"object"},"readOnly":{"default":false,"type":"boolean"}},"type":"object"}},"Admin":{"additionalProperties":false,"properties":{"authorizedUsers":{"default":[],"description":"Public keys of the users allowed to connect to the node.","items":{"$ref":"#/definitions/Basic/UserKey"},"type":"array","uniqueItems":true},"displayName":{"$ref":"#/definitions/Basic/NonEmptyString","default":"Default Node"},"logLevels":{"additionalProperties":false,"properties":{"node":{"$ref":"#/definitions/Composite/LogLevel"}},"type":"object"}},"type":"object"},"Basic":{"AppLicenseKey":{"minLength":100,"type":"string"},"Key":{"maxLength":44,"minLength":44,"type":"string"},"MultiAddr":{"format":"multiaddr-without-peer-id","type":"string"},"MultiAddrWithPeerId":{"format":"multiaddr-with-peer-id","type":"string"},"NodeLicenseKey":{"minLength":64,"type":"string"},"NonEmptyString":{"minLength":1,"type":"string"},"UserKey":{"maxLength":45,"minLength":45,"type":"string"}},"Composite":{"AppLicense":{"oneOf":[{"$ref":"#/definitions/Basic/AppLicenseKey"},{"const":"testing","type":"string"}]},"LogLevel":{"default":"INFO","enum":["DEBUG","WARN","INFO","ERROR"],"type":"string"},"NodeLicense":{"oneOf":[{"$ref":"#/definitions/Basic/NodeLicenseKey"},{"const":"development","type":"string"}]}},"Licensing":{"additionalProperties":false,"properties":{"apps":{"additionalProperties":{"$ref":"#/definitions/Composite/AppLicense"},"default":{},"description":"Key-value pairs where the key is an app's ID.","propertyNames":{"pattern":"^(\\d|\\w|-|_)+(\\.(\\d|\\w|-|_)+)*$"},"type":"object"},"node":{"$ref":"#/definitions/Composite/NodeLicense","default":"development"}},"type":"object"},"Swarm":{"additionalProperties":false,"properties":{"announceAddresses":{"default":[],"description":"Manually configured addresses to announce. These must be multiaddresses without peer id, e.g. /ip4/1.2.3.4/tcp/4001","items":{"$ref":"#/definitions/Basic/MultiAddr"},"minItems":0,"type":"array","uniqueItems":true},"initialPeers":{"default":[],"description":"Addresses of peers to initially connect to. These must be multiaddresses containing a peer id. E.g. /dns4/demo-bootstrap.actyx.net/tcp/4001/p2p/QmUD1mA3Y8qSQB34HmgSNcxDss72UHW2kzQy7RdVstN2hH","items":{"$ref":"#/definitions/Basic/MultiAddrWithPeerId"},"type":"array","uniqueItems":true},"swarmKey":{"$ref":"#/definitions/Basic/Key","default":"MDAwMDAwMDAxMTExMTExMTIyMjIyMjIyMzMzMzMzMzM="},"topic":{"$ref":"#/definitions/Basic/NonEmptyString","default":"default-topic"}},"type":"object"}},"properties":{"admin":{"$ref":"#/definitions/Admin"},"api":{"additionalProperties":false,"properties":{"events":{"$ref":"#/definitions/API/Events"}},"type":"object"},"licensing":{"$ref":"#/definitions/Licensing"},"swarm":{"$ref":"#/definitions/Swarm"}},"type":"object"}


