European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Module clients/ep/jsonLdHelpers

    JSON-LD parsing helpers for European Parliament API data.

    Pure utility functions for extracting and converting values from EP API JSON-LD responses. Used by transform functions and the EP client to safely handle heterogeneous API field formats.

    Functions

    determineVoteOutcome
    extractActivityDate
    extractAuthorId
    extractDateValue
    extractDocumentRefs
    extractField
    extractLocation
    extractMemberIds
    extractMultilingualText
    extractTextFromLangArray
    extractVoteCount
    firstDefined
    mapDocumentStatus
    mapDocumentType
    mapQuestionType
    toSafeString