73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"title": "Customization",
|
|
"description": "Describes a list of customizations",
|
|
"type": "object",
|
|
"properties": {
|
|
"customizations": {
|
|
"description": "A list of customizations",
|
|
"type": "array",
|
|
"items": {
|
|
"description": "A customization object",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "An integer id associated with this customization",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "The name associated with this customization",
|
|
"type": "string"
|
|
},
|
|
"functions": {
|
|
"description": "A list of functions associated with this customization",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "function.schema.json#/properties/functions/items"
|
|
}
|
|
},
|
|
"flavor_text": {
|
|
"description": "Flavor text associated with this customization",
|
|
"type": "string"
|
|
},
|
|
"rules_description": {
|
|
"description": "Rules description associated with this customization",
|
|
"type": "string"
|
|
},
|
|
"physrep_requirements": {
|
|
"description": "The physrep requirements associated with this customization",
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"description": "A list of function tags associated with this customization",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "functiontag.schema.json#/properties/function_tags/items"
|
|
}
|
|
},
|
|
"visibility": {
|
|
"description": "A list of groups associated with this customization",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "group.schema.json#/properties/groups/items"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"functions",
|
|
"flavor_text",
|
|
"rules_description",
|
|
"physrep_requirements",
|
|
"tags",
|
|
"visibility"
|
|
]
|
|
}
|
|
},
|
|
"customization_update": {
|
|
"$ref": "#/properties/customizations/items"
|
|
}
|
|
},
|
|
"required": ["customizations", "customization_update"]
|
|
}
|