{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-credits-controller-create-body-schema.json", "title": "Create_Credit", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/hint-health-credit-api-openapi.yml#/components/schemas/Provider.CreditsController.create_body", "type": "object", "properties": { "credit_category": { "$ref": "#/$defs/Association" }, "amount_in_cents": { "type": "integer", "format": "int32", "description": "Value must be positive" }, "reason": { "type": "string" }, "integration_record_id": { "type": "string" } }, "required": [ "credit_category", "amount_in_cents" ], "$defs": { "Association": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] } } }