A Pool-Capability assigns Capabilities to a Pool to define which actions can be scheduled using this pool. A config for the whole pool can be defined here.

Properties

Property

Possible Values

Example

Description

id

string

0B

External ID of the PoolCapability.

capability

Capability

see Capability

The Capability that is assigned to the superordinated Device by this PoolCapability.

config

string (JSON)

{
  "preroll":3
}
CODE

The values for the properties defined in the Capabilities.

Example JSON Snippet

{
  "id": "0B",
  "capability": {
    "id": "0B",
    "content": "{\"action\":\"Record\",\"input\":{\"targetPath\":{\"type\":\"string\",\"optional\":\"true\"},\"profileName\":{\"type\":\"string\",\"optional\":\"true\"}},\"output\":{\"pathToFile\":{\"type\":\"string\"}},\"properties\":{\"preroll\":{\"type\":\"integer\",\"kind\":\"fix\"}}, \"events\": [ \"RecorderMock.fileCreated\", \"RecorderMock.recordingFailed\", \"RecorderMock.recordingStarted\", \"RecorderMock.recordingFinished\" ]}",
    "capabilityType": "Record",
    "needsStopCommand": true
  },
  "config": "{\"preroll\":2}"
}
JSON