Properties
| Name | Type | Description |
|---|---|---|
| faction | object | |
| battleSize | object | |
| nonMatchedPlay | boolean | |
| query | object | |
| detachment | object | |
| units | array | |
| revisions | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/praetorium-gg/json-schema/praetorium-gg-unit-index-schema.json",
"title": "UnitIndex",
"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/UnitIndex",
"type": "object",
"additionalProperties": false,
"properties": {
"faction": {
"$ref": "#/$defs/FactionSummary"
},
"battleSize": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"nonMatchedPlay": {
"type": "boolean"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detachment": {
"anyOf": [
{
"$ref": "#/$defs/Detachment"
},
{
"type": "null"
}
]
},
"units": {
"type": "array",
"items": {
"$ref": "#/$defs/UnitSummary"
}
},
"revisions": {
"$ref": "#/$defs/Revisions"
}
},
"required": [
"faction",
"battleSize",
"nonMatchedPlay",
"query",
"detachment",
"units",
"revisions"
],
"$defs": {
"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"
]
},
"FactionSummary": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"datasheets": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"detachments": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"slug",
"name",
"datasheets",
"detachments"
],
"additionalProperties": false
},
"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"
]
},
"UnitSummary": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"group": {
"type": "string"
},
"allied": {
"type": "boolean"
},
"alliedFaction": {
"type": [
"string",
"null"
]
},
"points": {
"type": [
"number",
"null"
]
},
"limit": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"composition": {
"type": "array",
"items": {
"type": "string"
}
},
"costs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"models": {
"type": "string"
},
"cost": {
"type": "string"
},
"keyword": {
"type": "string"
},
"faction": {
"type": "string"
},
"detachment": {
"type": "string"
},
"copies": {
"type": "string"
}
},
"required": [
"models",
"cost"
],
"additionalProperties": false
}
},
"canLead": {
"type": "array",
"items": {
"type": "string"
}
},
"canSupport": {
"type": "array",
"items": {
"type": "string"
}
},
"canBeLedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"canBeSupportedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": [
"string",
"null"
]
},
"referenceId": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"slug",
"name",
"group",
"allied",
"alliedFaction",
"points",
"limit",
"keywords",
"composition",
"costs",
"canLead",
"canSupport",
"canBeLedBy",
"canBeSupportedBy",
"url",
"referenceId"
],
"additionalProperties": false
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/praetorium-gg-unit-index"
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.