schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
venvironment-schema.json
target-network
The target network name.
{"anyOf": [{}, {}]}
venvironment-schema.json
items
Mapping from a named source network of the replay file to a named target network.
{"type": "object", "additionalProperties": false, "required": ["source-network", "target-network"], "properties": {"source-network": {"type": "string"}, "target-network": {"anyOf": [{}, {}]}}}
venvironment-schema.json
source-network
The source network name. Only works if the replay file was created by CANoe and contains the relevant metadata.
{"type": "string"}
venvironment-schema.json
target-network
The target network name.
{"anyOf": [{}, {}]}
venvironment-schema.json
items
Ignores an application channel of the replay file.
{"type": "object", "additionalProperties": false, "required": ["ignore-source-channel"], "properties": {"ignore-source-channel": {"anyOf": [{"type": "integer", "minimum": 0, "maximum": 65535, "default": 0}, {}]}}}
venvironment-schema.json
ignore-source-channel
The ignored source channel.
{"anyOf": [{"type": "integer", "minimum": 0, "maximum": 65535, "default": 0}, {}]}
venvironment-schema.json
items
Ignores a named source network of the replay file.
{"type": "object", "additionalProperties": false, "required": ["ignore-source-network"], "properties": {"ignore-source-network": {"type": "string"}}}
venvironment-schema.json
ignore-source-network
The ignored source network name. Only works if the replay file was created by CANoe and contains the relevant metadata.
{"type": "string"}
venvironment-schema.json
full
List of defines to be passed to capl / vcdl.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "examples": [["mydefine1", "mydefine2"], ["mydefine_with_value=42", "${var_with_define_name}=${var_with_define_value}"]]}
venvironment-schema.json
full
Define to be passed to capl / vcdl.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "pattern": "^([a-zA-Z_]|([a-zA-Z_][a-zA-Z0-9_]*)?\\$\\{[a-zA-Z_][a-zA-Z0-9_]*\\})[a-zA-Z0-9_]*(=((0|[1-9][0-9]*)|(\\$\\{[a-zA-Z_][a-zA-Z0-9_]*\\})|(\"([^\"\\\\]|\\\\\"|\\\\\\\\)*\")|[Tt]rue|[Ff]alse))?$", "examples": ["mydefine1", "mydefine2", "mydefine_with_value=42", "${var_with_define_name}=${var_with_define_value}"]}
venvironment-schema.json
full
List of network nodes represented by this application
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "examples": [[{"network": "my_can_network_1"}], [{"network": "my_can_network_1", "modeling-libraries": ["modeling/lib/1.dll", "${path_in_var}", "path/${name_in_var}"]}, {"network": "my_can_network_1", "lin-role": "master"}, {"network": "my_can_network_1", "lin-role": ["master", "config-tester"]}, {"network": "my_can_network_1", "database-node": {"database": "mydatabase", "node": "mynode"}}]]}
venvironment-schema.json
full
Absolute or relative path to a dll or vmodule file. Relative path specifications are resolved relative to the configuration file.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "anyOf": [{"pattern": "^.*\\.[Dd][Ll]{2}$"}, {"pattern": "^.*\\.[vV][mM][oO][dD][uU][lL][eE]$"}, {"pattern": "^.*\\$\\{[a-zA-Z_][a-zA-Z0-9_]*\\}$"}], "examples": ["path/to/my.dll", "path/to/my.vmodule", "${path_in_variable}", "path/${name_in_variable}"]}
venvironment-schema.json
full
A list of C-identifiers for referenced elements (case sensitive)
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "examples": [["myid"], ["THIS_IS_CASE_SENSITIVE", "__1_2_3_4_5__"], ["${id_in_variable}", "prefix_${infix_in_variable}_suffix"]]}
venvironment-schema.json
full
Activates TCP Routing
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{"type": "boolean"}, {}], "default": false}
venvironment-schema.json
full
Activates the TCP Delayed Ack Option.
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{}, {"type": "boolean"}], "default": true}
venvironment-schema.json
full
IPv4-Address of the Gateway
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{}, {}], "default": "0.0.0.0"}
venvironment-schema.json
full
IPv6-Address of the Gateway
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{}, {}], "default": "::1"}
venvironment-schema.json
full
MAC-Address of the current TcpIpStack. (Can't be a multicast address.)
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "anyOf": [{"pattern": "[0-9a-fA-F][02468aceACE](:[0-9a-fA-F]{2}){5}"}, {}], "examples": ["02:84:cf:3b:be:01", "aa:bb:cc:dd:ee:ff", "AA:BB:CC:DD:EE:FF"]}
venvironment-schema.json
full
Maximum Transmittion Unit.
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{"type": "integer", "minimum": 1, "maximum": 1500}, {}], "default": 1500}
venvironment-schema.json
full
Configurations for IPv4.
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{"type": "object", "additionalProperties": false, "required": ["address-configuration"], "properties": {"address-configuration": {"examples": ["dhcp", "static", "linked-local"], "anyOf": [{"enum": ["dhcp", "linked-local"]}, {}]}}}, {"type": "object", "additionalProperties": false, "required": ["address-configuration", "addresses"], "properties": {"addresses": {}, "address-configuration": {"anyOf": [{"const": "static"}, {}], "examples": ["dhcp", "static", "linked-local"]}}}], "examples": [{"address-configuration": "dhcp"}, {"address-configuration": "static", "addresses": [{"address": "192.168.0.2", "subnet-mask": "255.255.255.0"}, {"address": "192.168.0.3", "subnet-prefix-length": 24}]}]}
venvironment-schema.json
address-configuration
Defines how the addresses are configured. Use 'static' to configure them manually with the 'addresses' property or use 'dhcp' for automatic configuration.
{"examples": ["dhcp", "static", "linked-local"], "anyOf": [{"enum": ["dhcp", "linked-local"]}, {}]}
venvironment-schema.json
address-configuration
Defines how the addresses are configured. Use 'static' to configure them manually with the 'addresses' property or use 'dhcp' for automatic configuration.
{"anyOf": [{"const": "static"}, {}], "examples": ["dhcp", "static", "linked-local"]}
venvironment-schema.json
full
Configurations for IPv6.
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{"type": "object", "additionalProperties": false, "required": ["address-configuration"], "properties": {"address-configuration": {"examples": ["dhcp", "static"], "anyOf": [{"enum": ["dhcp", "linked-local"]}, {}]}}}, {"type": "object", "additionalProperties": false, "required": ["address-configuration", "addresses"], "properties": {"addresses": {}, "address-configuration": {"anyOf": [{"const": "static"}, {}], "examples": ["dhcp", "static"]}}}], "examples": [{"address-configuration": "dhcp"}, {"address-configuration": "static", "addresses": [{"address": "1234::abce", "subnet-prefix-length": 42}, {"address": "1234::abcf", "subnet-prefix-length": 24}]}]}
venvironment-schema.json
address-configuration
Defines how the addresses are configured. Use 'static' to configure them manually with the 'addresses' property or use 'dhcp' for automatic configuration.
{"examples": ["dhcp", "static"], "anyOf": [{"enum": ["dhcp", "linked-local"]}, {}]}
venvironment-schema.json
address-configuration
Defines how the addresses are configured. Use 'static' to configure them manually with the 'addresses' property or use 'dhcp' for automatic configuration.
{"anyOf": [{"const": "static"}, {}], "examples": ["dhcp", "static"]}
venvironment-schema.json
vlan-settings
Defines a VLAN with its relevant seetings.
{"type": "object", "additionalProperties": false, "required": ["id", "priority"], "properties": {"id": {"anyOf": [{"type": "integer", "minimum": 1, "maximum": 4094}, {}], "examples": [1, 2, 3, 4, 4094]}, "priority": {"anyOf": [{"type": "integer", "minimum": 0, "maximum": 7}, {}], "examples": [0, 1, 2, 3, 4, 5, 6, 7]}, "ipv4-settings": {}, "ipv6-settings": {}}}
venvironment-schema.json
id
Id of the current VLAN.
{"anyOf": [{"type": "integer", "minimum": 1, "maximum": 4094}, {}], "examples": [1, 2, 3, 4, 4094]}
venvironment-schema.json
priority
Priority of the current VLAN.
{"anyOf": [{"type": "integer", "minimum": 0, "maximum": 7}, {}], "examples": [0, 1, 2, 3, 4, 5, 6, 7]}
venvironment-schema.json
full
A list of VLANs with their relevant seetings.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "maxItems": 4094, "examples": [[{"id": 42, "priority": 0}], [{"id": 24, "priority": 0, "ipv4-settings": {"address-configuration": "static", "addresses": [{"address": "192.168.0.2", "subnet-mask": "255.255.255.0"}, {"address": "192.168.0.3", "subnet-prefix-length": 24}]}, "ipv6-settings": {"address-configuration": "static", "addresses": [{"address": "1234::abce", "subnet-prefix-length": 42}, {"address": "1234::abcf", "subnet-prefix-length": 24}]}}]]}
venvironment-schema.json
full
Configuration of a key slot node.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["mode"], "properties": {"mode": {"default": "automatic", "oneOf": [{"const": "automatic"}, {"const": "off"}, {"const": "manual"}, {}], "examples": ["manual", "automatic"]}, "usage": {"oneOf": [{"enum": ["startup", "sync"]}, {}], "default": "startup"}, "slot": {"oneOf": [{"type": "integer", "minimum": 1, "maximum": 2047, "default": 1}, {}]}, "mask": {"oneOf": [{"enum": ["A", "B", "AB"]}, {}], "default": "A"}, "leading-cold-start": {"oneOf": [{"type": "boolean"}, {}], "default": true}}, "allOf": [{"if": {"required": ["mode"], "properties": {"mode": {"const": "manual"}}}, "then": {"required": ["usage", "slot", "mask", "leading-cold-start"], "properties": {"mask": true, "usage": true, "slot": true, "leading-cold-start": true}}}, {"if": {"required": ["mode"], "properties": {"mode": {"anyOf": [{"const": "off"}, {"const": "automatic"}]}}}, "then": {"properties": {"usage": false, "slot": false, "mask": false, "leading-cold-start": false}}}], "examples": [{"mode": "automatic"}, {"mode": "manual", "usage": "startup", "slot": 2, "mask": "A", "leading-cold-start": true}]}
venvironment-schema.json
mode
Key slot operating modes. 'automatic': The key slot is possibly active. Any active frame in the Tx buffer will be selected for this key slot, if marked as start-up and/or sync frame. 'off': The key slot is not used. 'manual': Explicity definition of the key slot properties.
{"default": "automatic", "oneOf": [{"const": "automatic"}, {"const": "off"}, {"const": "manual"}, {}], "examples": ["manual", "automatic"]}
venvironment-schema.json
usage
The frame in this slot can be send as start-up or only as sync frame.
{"oneOf": [{"enum": ["startup", "sync"]}, {}], "default": "startup"}
venvironment-schema.json
slot
Explicit slot number of the static segment that will be used as the key slot.
{"oneOf": [{"type": "integer", "minimum": 1, "maximum": 2047, "default": 1}, {}]}
venvironment-schema.json
mask
Explicit channel mask used for the key slot.
{"oneOf": [{"enum": ["A", "B", "AB"]}, {}], "default": "A"}
venvironment-schema.json
leading-cold-start
If deactivated the key slot can only act as a following start-up or integrating sync frame.
{"oneOf": [{"type": "boolean"}, {}], "default": true}
venvironment-schema.json
full
A network node represented by this application.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["network"], "properties": {"network": {"examples": ["network_name"]}, "tcp-ip-stack-adapter": {}}, "examples": [{"network": "my_can_network_1"}]}
venvironment-schema.json
network
Assign the simulation node to a network.
{"examples": ["network_name"]}
venvironment-schema.json
full
Timestamp Option for TCP (RFC1323).
{"$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{}, {"type": "boolean"}], "default": true}
venvironment-schema.json
full
Time To Live.
{"$schema": "http://json-schema.org/draft-07/schema#", "default": 64, "anyOf": [{"type": "integer", "minimum": 0}, {}]}
venvironment-schema.json
full
A network node represented by this application.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["network"], "properties": {"network": {"examples": ["network_name"]}, "database-node": {}, "lin-role": {"anyOf": [{}, {"type": "array", "items": {}}]}, "tcp-ip-stack-adapter": {}}, "examples": [{"network": "my_can_network_1"}, {"network": "my_can_network_1", "lin-role": "master"}, {"network": "my_can_network_1", "lin-role": ["master", "config-tester"]}, {"network": "my_can_network_1", "database-node": {"database": "mydatabase", "node": "mynode"}}]}
venvironment-schema.json
network
For assignment of this NetworkNode to a Network.
{"examples": ["network_name"]}
venvironment-schema.json
full
A network node represented by this application.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["network"], "properties": {"network": {"type": "string", "examples": ["network_name"]}, "modeling-libraries": {"type": "array", "items": {}}, "database-node": {}, "lin-role": {"anyOf": [{}, {"type": "array", "items": {}}]}}, "examples": [{"network": "my_can_network_1"}, {"network": "my_can_network_1", "modeling-libraries": ["modeling/lib/1.dll", "${path_in_var}", "path/${name_in_var}"]}, {"network": "my_can_network_1", "lin-role": "master"}, {"network": "my_can_network_1", "lin-role": ["master", "config-tester"]}, {"network": "my_can_network_1", "database-node": {"database": "mydatabase", "node": "mynode"}}]}
venvironment-schema.json
network
For assignment of this NetworkNode to a Network.
{"type": "string", "examples": ["network_name"]}
venvironment-schema.json
modeling-libraries
For assignment of modeling libraries to this NetworkNode
{"type": "array", "items": {}}
venvironment-schema.json
full
A C-identifier for a referenced element (case sensitive)
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "anyOf": [{"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$"}, {"pattern": "^([a-zA-Z_][a-zA-Z0-9_]*)?\\$\\{[a-zA-Z_][a-zA-Z0-9_]*\\}[a-zA-Z0-9_]*$"}], "examples": ["myid", "THIS_IS_CASE_SENSITIVE", "__1_2_3_4_5__", "${id_in_variable}"]}
venvironment-schema.json
full
IPv4 address
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "anyOf": [{"pattern": "((1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\.){3}(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])"}, {}], "examples": ["127.0.0.1", "192.168.0.0", "172.16.0.0", "10.0.0.0"]}
venvironment-schema.json
full
IPv6 address
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "anyOf": [{"pattern": "^([0-9A-Fa-f]{1,4}(:[0-9A-Fa-f]{1,4}){7}|:(:[0-9A-Fa-f]{1,4}){1,7}|([0-9A-Fa-f]{1,4}:){1,7}:|::|([0-9A-Fa-f]{1,4}:){1}(:[0-9A-Fa-f]{1,4}){1,6}|([0-9A-Fa-f]{1,4}:){2}(:[0-9A-Fa-f]{1,4}){1,5}|([0-9A-Fa-f]{1,4}:){3}(:[0-9A-Fa-f]{1,4}){1,4}|([0-9A-Fa-f]{1,4}:){4}(:[0-9A-Fa-f]{1,4}){1,3}|([0-9A-Fa-f]{1,4}:){5}(:[0-9A-Fa-f]{1,4}){1,2}|([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}){1})$"}, {}], "examples": ["1234:0000:0000:0000:0000:0000:0000:abcd", "1234::abcd", "::1"]}
venvironment-schema.json
ipv4-subnet-mask
Subnet mask of an IPv4 Address
{"anyOf": [{}], "examples": ["255.255.255.0", "255.255.0.0", "255.240.0.0", "255.0.0.0"]}
venvironment-schema.json
ipv4-subnet-prefix-length
Subnet prefix of an IPv4 Address
{"anyOf": [{"type": "integer", "minimum": 0, "maximum": 32}, {}], "examples": [0, 24, 16, 12, 8, 32]}
venvironment-schema.json
full
List of IPv4 addresses with their subnet definition
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "examples": [[{"address": "192.168.0.2", "subnet-mask": "255.255.255.0"}], [{"address": "192.168.0.3", "subnet-prefix-length": 24}]]}
venvironment-schema.json
full
List of IPv6 addresses with their subnet definition
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["address", "subnet-prefix-length"], "properties": {"address": {}, "subnet-prefix-length": {"anyOf": [{"type": "integer", "minimum": 0, "maximum": 128}, {}], "examples": [0, 48, 128]}}}, "examples": [[{"address": "1234::abce", "subnet-prefix-length": 42}], [{"address": "1234::abcf", "subnet-prefix-length": 24}]]}
venvironment-schema.json
subnet-prefix-length
Subnetprefix of an IPv6 Address
{"anyOf": [{"type": "integer", "minimum": 0, "maximum": 128}, {}], "examples": [0, 48, 128]}
venvironment-schema.json
full
Reference to a certain node from a database
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["node", "database"], "properties": {"node": {"type": "string", "examples": ["node_name"]}, "database": {}}, "examples": [{"database": "mydatabase", "node": "mynode"}]}
venvironment-schema.json
node
The node from the database
{"type": "string", "examples": ["node_name"]}
venvironment-schema.json
database
The database
{}
venvironment-schema.json
full
Role of a node in a LIN network.
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "enum": ["master", "slave", "config-tester"], "examples": ["master", "slave", "config-tester"]}
venvironment-schema.json
full
Reference to a certain node from a database
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "required": ["node", "database"], "properties": {"node": {"type": "string", "examples": ["node_name"]}, "database": {}}, "examples": [{"database": "mydatabase", "node": "mynode"}]}
venvironment-schema.json
node
The node from the database
{"type": "string", "examples": ["node_name"]}
venvironment-schema.json
database
The database
{}
rehyperc.json
plugins
The plugins field, related to plugins in options, has either an array of plugin names (or paths) or plugin–options tuples, or an object mapping plugins to their options. Plugin options can be false, which specifies that a plugin should not be used. In all other cases, they are treated as an object, and merged by the cascade. Thus, it's possible to specify part of the options from one configuration file, and overwrite or extend it from another file.
{"oneOf": [{"type": "array", "items": {"oneOf": [{"type": "string"}, {"type": "array", "additionalItems": true, "items": [{"type": "string"}]}]}}, {"type": "object"}]}
rehyperc.json
fragment
Specify whether to parse a fragment, instead of a complete document. In document mode, unopened html, head, and body elements are opened in just the right places.
{"type": ["boolean"], "default": false}
rehyperc.json
space
Which space the document is in. If an svg element is found in the HTML space, parse automatically switches to the SVG space when entering the element, and switches back when exiting. Note: make sure to set fragment: true if space: 'svg'.
{"enum": ["svg", "html"], "default": "html"}
rehyperc.json
emitParseErrors
Emit parse errors while parsing on the vfile. Setting this to true starts emitting HTML parse errors. Specific rules can be turned off by setting them to false (or 0). The default, when emitParseErrors: true, is true (or 1), and means that rules emit as warnings. Rules can also be configured with 2, to turn them into fatal errors.
{"type": ["boolean"], "default": false}
rehyperc.json
verbose
Patch extra positional information. If specified, the following element:
{"type": ["boolean"], "default": false}
rehyperc.json
entities
Configuration for stringify-entities. Do not use escapeOnly, attribute, or subset (toHtml already passes those, so they won't work). However, useNamedReferences, useShortestReferences, and omitOptionalSemicolons are all fine.
{"type": "object", "default": {}, "additionalProperties": false, "properties": {"useNamedReferences": {"type": "boolean", "default": false}, "useShortestReferences": {"type": "boolean", "default": false}, "omitOptionalSemicolons": {"type": "boolean", "default": false}}}
rehyperc.json
useNamedReferences
Prefer named character references (&) where possible.
{"type": "boolean", "default": false}
rehyperc.json
useShortestReferences
Prefer the shortest possible reference, if that results in less bytes.
{"type": "boolean", "default": false}
rehyperc.json
omitOptionalSemicolons
Whether to omit semicolons when possible.
{"type": "boolean", "default": false}
rehyperc.json
voids
Tag names of elements to serialize without closing tag. Not used in the SVG space.
{"type": "array", "items": {"type": "string"}}
rehyperc.json
upperDoctype
Use a <!DOCTYPE… instead of <!doctype…. Useless except for XHTML.
{"type": "boolean", "default": false}
rehyperc.json
quote
Preferred quote to use.
{"enum": ["\"", "'"], "default": "\""}
rehyperc.json
quoteSmart
Use the other quote if that results in less bytes.
{"type": "boolean", "default": false}
rehyperc.json
preferUnquoted
Leave attributes unquoted if that results in less bytes. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
omitOptionalTags
Omit optional opening and closing tags. For example, in <ol><li>one</li><li>two</li></ol>, both </li> closing tags can be omitted. The first because it's followed by another li, the last because it's followed by nothing. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
collapseEmptyAttributes
Collapse empty attributes: get class instead of class="". Note: boolean attributes, such as hidden, are always collapsed. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
closeSelfClosing
Close self-closing nodes with an extra slash (/): <img /> instead of <img>. See tightSelfClosing to control whether a space is used before the slash. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
closeEmptyElements
Close SVG elements without any content with slash (/) on the opening tag instead of an end tag: <circle /> instead of <circle></circle>. See tightSelfClosing to control whether a space is used before the slash. Not used in the HTML space.
{"type": "boolean", "default": false}
rehyperc.json
tightCommaSeparatedLists
Join known comma-separated attribute values with just a comma (,), instead of padding them on the right as well (,·, where · represents a space).
{"type": "boolean", "default": false}
rehyperc.json
tightAttributes
Join attributes together, without whitespace, if possible: get class="a b"title="c d" instead of class="a b" title="c d" to save bytes. Note: creates invalid (but working) markup. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
tightDoctype
Drop unneeded spaces in doctypes: <!doctypehtml> instead of <!doctype html> to save bytes. Note: creates invalid (but working) markup.
{"type": "boolean", "default": false}
rehyperc.json
bogusComments
Use "bogus comments" instead of comments to save byes: <?charlie> instead of <!--charlie-->. Note: creates invalid (but working) markup.
{"type": "boolean", "default": false}
rehyperc.json
allowParseErrors
Do not encode characters which cause parse errors (even though they work), to save bytes. Note: creates invalid (but working) markup. Not used in the SVG space.
{"type": "boolean", "default": false}
rehyperc.json
allowDangerousHtml
Allow raw nodes and insert them as raw HTML. When falsey, encodes raw nodes. Note: Only set this if you completely trust the content.
{"type": "boolean", "default": false}
bungee-plugin.json
name
The name of the plugin.
{}
bungee-plugin.json
main
Plugin main class.
{"type": "string", "pattern": "^([a-zA-Z_$][a-zA-Z\\d_$]*\\.)*[a-zA-Z_$][a-zA-Z\\d_$]*$"}
bungee-plugin.json
version
Plugin version.
{"type": "string"}
bungee-plugin.json
author
Plugin author.
{"type": "string"}
bungee-plugin.json
depends
Plugin hard dependencies.
{"type": "array", "items": {}}
bungee-plugin.json
softDepends
Plugin soft dependencies.
{"type": "array", "items": {}}
bungee-plugin.json
description
Optional description.
{"type": "string"}
config_schema_v1.0.json
Defines how to build a Docker image and how to run predictions on your model inside that image.
{"$schema": "http://json-schema.org/draft-07/schema", "type": "object", "properties": {"build": {"type": "object", "properties": {"cuda": {"type": "string"}, "cudnn": {"type": "string"}, "gpu": {"type": "boolean"}, "python_version": {"type": ["string", "number"]}, "python_packages": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "pre_install": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "python_requirements": {"type": "string"}, "system_packages": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "run": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}, {"type": "object", "properties": {"command": {"type": "string"}, "mounts": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string", "enum": ["secret"]}, "id": {"type": "string"}, "target": {"type": "string"}}, "required": ["type", "id", "target"]}}}, "required": ["command"]}]}}}, "additionalProperties": false}, "image": {"type": "string"}, "predict": {"type": "string"}, "train": {"type": "string"}}, "additionalProperties": false}
config_schema_v1.0.json
build
This stanza describes how to build the Docker image your model runs in.
{"type": "object", "properties": {"cuda": {"type": "string"}, "cudnn": {"type": "string"}, "gpu": {"type": "boolean"}, "python_version": {"type": ["string", "number"]}, "python_packages": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "pre_install": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "python_requirements": {"type": "string"}, "system_packages": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}, "run": {"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}, {"type": "object", "properties": {"command": {"type": "string"}, "mounts": {"type": "array", "items": {"type": "object", "properties": {"type": {"type": "string", "enum": ["secret"]}, "id": {"type": "string"}, "target": {"type": "string"}}, "required": ["type", "id", "target"]}}}, "required": ["command"]}]}}}, "additionalProperties": false}
config_schema_v1.0.json
cuda
Cog automatically picks the correct version of CUDA to install, but this lets you override it for whatever reason.
{"type": "string"}
config_schema_v1.0.json
cudnn
Cog automatically picks the correct version of cuDNN to install, but this lets you override it for whatever reason.
{"type": "string"}
config_schema_v1.0.json
gpu
Enable GPUs for this model. When enabled, the [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) base image will be used, and Cog will automatically figure out what versions of CUDA and cuDNN to use based on the version of Python, PyTorch, and Tensorflow that you are using.
{"type": "boolean"}
config_schema_v1.0.json
python_version
The minor (`3.8`) or patch (`3.8.1`) version of Python to use.
{"type": ["string", "number"]}
config_schema_v1.0.json
python_packages
A list of Python packages to install, in the format `package==version`.
{"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}
config_schema_v1.0.json
pre_install
A list of setup commands to run in the environment before your Python packages are installed.
{"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}
config_schema_v1.0.json
python_requirements
A pip requirements file specifying the Python packages to install.
{"type": "string"}
config_schema_v1.0.json
system_packages
A list of Ubuntu APT packages to install.
{"type": ["array", "null"], "additionalItems": true, "items": {"anyOf": [{"type": "string"}]}}