discourse/spec/requests/api/schemas/json/badge_create_request.json

18 lines
352 B
JSON

{
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The name for the new badge."
},
"badge_type_id": {
"type": "integer",
"description": "The ID for the badge type. 1 for Gold, 2 for Silver, 3 for Bronze."
}
},
"required": [
"name",
"badge_type_id"
]
}