Repository navigation
reference api manifest
Generated from
manifest.schema.json. Runtime validation remains authoritative for cross-file and engine-dependent rules.
Authoring schema for Mod API v1 manifest.json files.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
schemaVersion |
const: 1
|
yes | stable | |
id |
ref: packId
|
yes | stable | |
displayName |
string | yes | stable | min length: 1
|
version |
ref: semanticVersion
|
yes | stable | |
modApiVersion |
const: 1
|
yes | stable | |
authors |
array of string | no | stable | |
description |
string | no | stable | |
previewImages |
array of string | no | stable | max items: 8; unique items |
dependencies |
ref: dependencies
|
no | stable | |
optionalDependencies |
ref: dependencies
|
no | stable | |
loadAfter |
ref: packIdList
|
no | stable | |
loadBefore |
ref: packIdList
|
no | stable | |
conflicts |
ref: packIdList
|
no | stable | |
overrides |
array of ref: contentId
|
no | stable | unique items |
priority |
integer | no | stable | min: -100000; max: 100000; default: 0
|
contentRoots |
array of string | yes | stable | min items: 1; unique items |
assetBundles |
array of ref: assetBundle
|
no | experimental | max items: 3; unique items; Generated by Captivity Mod Packager. Do not author this field manually. |
Schema form: string.
Constraints: pattern: ^[a-z0-9][a-z0-9._-]*$.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Schema form: string.
Constraints: max length: 160; pattern: ^[a-z0-9][a-z0-9._-]*:[a-z0-9][a-z0-9-]*(?:/[a-z0-9][a-z0-9-]*)*$.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Schema form: string.
Constraints: pattern: ^(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Schema form: string.
Constraints: pattern: ^(?:>=\s*)?(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Schema form: object.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
id |
ref: packId
|
yes | ||
version |
ref: versionRange
|
yes |
Schema form: array of ref: dependency.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Schema form: object.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
platform |
enum: windows, android, webgl
|
yes | ||
path |
string | yes | pattern: ^bundles/(windows|android|webgl)/[^/]+\.[Bb][Uu][Nn][Dd][Ll][Ee]$
|
|
sha256 |
string | yes | pattern: ^[0-9a-fA-F]{64}$
|
|
sizeBytes |
integer | yes | min: 1; max: 268435456
|
Schema form: array of ref: packId.
Constraints: unique items.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Published from Docs/Modding/Public. The repository documentation is the canonical source.
Captivity Reloaded wiki* Captivity Reloaded Wiki
- Getting started
- Core concepts
- Content types
- Authoring tools
-
Reference
- Example pack index
- Schema index
- Field-by-field API reference
- Public asset-slot catalog
- Core enemy asset slots
- Validation and errors
- Validation/error-code catalog
- Mod API changelog
- Migration guides
- Troubleshooting
- Glossary
- Defaults and compatibility
- Resource limits
- Mod-author test matrix
- Implementation status
- Mod API v1 release checklist
- Release verification runbook
- Release evidence template
- Licensing and redistribution
- Development