addedInput schema / properties / filter
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "against": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of faction slugs the opposing side fielded. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "againstDetachment": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of detachment names the opposing side fielded. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "deployment": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of deployment ids. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "detachment": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of detachment names your side fielded, exactly as shown, such as Awakened Dynasty. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ending": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of completed, finished-early, conceded, reported. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "faction": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of faction slugs your side fielded, as list_factions gives them, such as necrons. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "from": {
+ "description": "First UTC day to include, YYYY-MM-DD.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "pack": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of mission pack ids, as list_reference gives them. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "period": {
+ "description": "Only battles from the last 7d, 30d, 90d or 1y; overrides from and to.",
+ "enum": [
+ "7d",
+ "30d",
+ "90d",
+ "1y"
+ ],
+ "type": "string"
+ },
+ "player": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of player ids, from players[].id of a listed battle. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "q": {
+ "description": "Text matched against player, army, faction, detachment and mission names.",
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of won, lost, drawn, read from your seat; only finished battles have one. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "size": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of battle sizes in points as text, such as 2000. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of setup, playing, finished. A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "to": {
+ "description": "Last UTC day to include, YYYY-MM-DD.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "type": {
+ "additionalProperties": false,
+ "description": "{in, out} lists of practice (against an automated opponent), guest, team, manual (table keeps its own score), organised (counts for a group or tournament). A battle must carry one of in (when given) and none of out.",
+ "properties": {
+ "in": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "out": {
+ "default": [],
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}