{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-entity-product-list-response-schema.json", "title": "EntityProductListResponse", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/methodfi-entity-products-api-openapi.yml#/components/schemas/EntityProductListResponse", "allOf": [ { "$ref": "#/$defs/SuccessEnvelope" }, { "type": "object", "properties": { "data": { "type": "object", "description": "Object keyed by product name with EntityProduct values.", "additionalProperties": { "$ref": "#/$defs/EntityProduct" } } } } ], "$defs": { "EntityProduct": { "type": "object", "required": [ "name", "status", "created_at", "updated_at" ], "properties": { "name": { "type": "string", "description": "Name of the product." }, "status": { "type": "string", "description": "Availability status of the product.", "enum": [ "available", "restricted", "unavailable" ] }, "status_error": { "type": [ "object", "null" ], "description": "Error details about the product status." }, "latest_request_id": { "type": [ "string", "null" ], "description": "ID of the latest request for this product." }, "latest_successful_request_id": { "type": [ "string", "null" ], "description": "ID of the latest successful request for this product." }, "is_subscribable": { "type": "boolean", "description": "Whether this product can be subscribed to." }, "created_at": { "type": "string", "format": "date-time", "description": "Timestamp when the product was created." }, "updated_at": { "type": "string", "format": "date-time", "description": "Timestamp when the product was last updated." } } }, "SuccessEnvelope": { "type": "object", "description": "Standard envelope for successful responses that return a single payload.", "required": [ "success", "data", "message" ], "properties": { "success": { "type": "boolean", "description": "Always `true` for successful responses." }, "data": { "description": "Operation-specific response payload." }, "message": { "type": [ "string", "null" ] } } } } }