# 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"},"Topic":{"maxLength":60,"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","pattern":"^(ERROR|WARN|INFO|DEBUG|[a-z0-9_:,=]+)$","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},"bitswapTimeout":{"default":15,"description":"Timeout for one swarm-internal data block response","minimum":0,"type":"integer"},"blockCacheCount":{"default":131072,"description":"Maximum number of non-pinned blocks to cache","minimum":0,"type":"integer"},"blockCacheSize":{"default":1073741824,"description":"Maximum number of bytes of non-pinned blocks to cache","minimum":0,"type":"integer"},"blockGcInterval":{"default":300,"description":"GC interval for the block store, in seconds","minimum":30,"type":"integer"},"branchCacheSize":{"default":67108864,"description":"Maximum number of index bytes cached in memory","type":"integer"},"detectionCyclesHighLatency":{"default":5,"description":"multiple of the gossipInterval used for determining high-latency but still working stream replication","type":"number"},"detectionCyclesLowLatency":{"default":2,"description":"multiple of the gossipInterval used for determining low-latency stream replication","type":"number"},"gossipInterval":{"default":10,"description":"Interval at which the node sends its known stream links and offsets to all peers","type":"integer"},"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},"mdns":{"default":true,"description":"Enable mDNS discovery of peers within the same IP broadcast domain","type":"boolean"},"metricsInterval":{"default":1800,"description":"Metrics event emission interval, in seconds","minimum":0,"type":"integer"},"pingTimeout":{"default":5,"description":"Timeout for one swarm-internal ping response","minimum":0,"type":"integer"},"swarmKey":{"$ref":"#/definitions/Basic/Key","default":"MDAwMDAwMDAxMTExMTExMTIyMjIyMjIyMzMzMzMzMzM="},"topic":{"$ref":"#/definitions/Basic/Topic","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"}


# settings

timestamp: 2023-04-12 16:14:25
settings:
{"com.actyx":{"admin":{"authorizedUsers":["0vIyowvMVCbl00tn/tD8KLDOW6tqTKSXwlEuhKayK4qc="]},"swarm":{"topic":"other-topic"}}}


timestamp: 2023-04-12 16:37:44
settings:
{"com.actyx":{"admin":{"authorizedUsers":["0vIyowvMVCbl00tn/tD8KLDOW6tqTKSXwlEuhKayK4qc="]},"swarm":{"topic":"default-topic"}}}


