{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-secret-list-response-schema.json", "title": "SecretListResponse", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/methodfi-secrets-api-openapi.yml#/components/schemas/SecretListResponse", "allOf": [ { "$ref": "#/$defs/ListEnvelope" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/$defs/Secret" } } } } ], "$defs": { "ListEnvelope": { "type": "object", "description": "Standard envelope for successful responses that return a list payload.", "required": [ "success", "data", "message" ], "properties": { "success": { "type": "boolean", "description": "Always `true` for successful responses." }, "data": { "description": "Operation-specific list payload." }, "message": { "type": [ "string", "null" ] } } }, "Metadata": { "type": [ "object", "null" ], "additionalProperties": true, "description": "Arbitrary key-value metadata attached to the resource." }, "Secret": { "type": "object", "required": [ "id", "metadata", "status", "created_at", "updated_at" ], "properties": { "id": { "type": "string", "description": "Unique identifier for the secret." }, "metadata": { "$ref": "#/$defs/Metadata" }, "status": { "$ref": "#/$defs/SecretStatus" }, "created_at": { "type": "string", "format": "date-time", "description": "Timestamp when the secret was created." }, "updated_at": { "type": "string", "format": "date-time", "description": "Timestamp when the secret was last updated." } } }, "SecretStatus": { "type": "string", "enum": [ "active", "deleted" ] } } }