Praetorium · Schema

DetachmentRecord

WarhammerGamingOpen SourceArmy BuilderSimulator

Properties

Name Type Description
kind string
canonicalUrl string
revisions object
attribution object
data object
View JSON Schema on GitHub

JSON Schema

praetorium-gg-detachment-record-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/praetorium-gg/json-schema/praetorium-gg-detachment-record-schema.json",
  "title": "DetachmentRecord",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/praetorium-gg-v1-openapi.json#/components/schemas/DetachmentRecord",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "kind": {
      "type": "string",
      "const": "detachment"
    },
    "canonicalUrl": {
      "type": "string"
    },
    "revisions": {
      "$ref": "#/$defs/Revisions"
    },
    "attribution": {
      "$ref": "#/$defs/Attribution"
    },
    "data": {
      "$ref": "#/$defs/Detachment"
    }
  },
  "required": [
    "kind",
    "canonicalUrl",
    "revisions",
    "attribution",
    "data"
  ],
  "$defs": {
    "Attribution": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Detachment": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "catalogueId": {
          "type": "string"
        },
        "faction": {
          "type": "string"
        },
        "factionSlug": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "points": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "dispositions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NamedRule"
          }
        },
        "enhancements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PointedRule"
          }
        },
        "upgrades": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PointedRule"
          }
        },
        "stratagems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Stratagem"
          }
        },
        "keywordRules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeywordRule"
          }
        },
        "attribution": {
          "type": "string"
        },
        "provenance": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "definitions": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "revision": {
                  "type": "string"
                },
                "detachmentId": {
                  "type": "string"
                }
              },
              "required": [
                "revision",
                "detachmentId"
              ]
            },
            "rules": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "revision": {
                  "type": "string"
                }
              },
              "required": [
                "revision"
              ]
            },
            "datacards": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "revision": {
                  "type": "string"
                }
              },
              "required": [
                "revision"
              ]
            }
          },
          "required": [
            "definitions",
            "rules",
            "datacards"
          ]
        }
      },
      "required": [
        "catalogueId",
        "faction",
        "factionSlug",
        "id",
        "slug",
        "name",
        "points",
        "dispositions",
        "rules",
        "enhancements",
        "upgrades",
        "stratagems",
        "keywordRules",
        "attribution",
        "provenance"
      ]
    },
    "KeywordRule": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "description"
      ]
    },
    "NamedRule": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name",
        "description"
      ]
    },
    "PointedRule": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "points": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name",
        "points",
        "description"
      ]
    },
    "Revisions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "Stratagem": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "cp": {
          "type": "integer"
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "phases": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "turn": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "name",
        "cp",
        "type",
        "phases",
        "turn",
        "description"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/praetorium-gg-detachment-record"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.