{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Balance", "title": "Balance", "type": "object", "properties": { "payment": { "type": "string", "description": "The payment type for the account. Can be prepaid or postpaid.", "enum": [ "prepaid", "postpaid" ] }, "type": { "type": "string", "description": "The type of balance.", "enum": [ "credits", "euros" ] }, "amount": { "type": "number", "format": "double", "description": "The available balance amount." } } }