labelproof

v0.1.0
io.github.CloudCorpRecords/labelproof Checked 4 days ago Published 26 days ago

Read-only EU energy-label preflight checks against supplier-declared EPREL records.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_eprel_products Search public energy-label records

Search the queried source by model identifier, registration number, or supplier/brand + product group. Returns CANDIDATE public records with deterministic match kinds and visible ambiguity: 'exact_public_record' / 'possible_match' / 'multiple_matches' / 'no_match_in_queried_source' — a no-match is never 'not registered'. Outage → 'unavailable'; unverified schema → 'source_schema_unverified'; stale → 'stale'. Answers come from the queried source at the stated retrieval time: the official EPREL Public API in live mode, or a clearly-labelled synthetic fixture in dev/test — provenance.so…

ParameterTypeDescription
modelIdentifierstringThe supplier's model identifier to search for.
productGroupstringProduct group to narrow the search (must be covered by the queried source). The official live source searches ONE group at a time: text searches (model/brand) REQUIRE it; registration-number lookups d…
registrationNumberstringA public registration number, when known.
supplierOrBrandstringSupplier or trade brand to narrow the search.

get_eprel_product_record Get one public record

Structure ONE public record by its public record identifier: declared supplier/brand, product group, declared public fields, documents, missing fields, provenance and freshness. 'exact_public_record' / 'no_match_in_queried_source' / 'unavailable'. Answers come from the queried source at the stated retrieval time: the official EPREL Public API in live mode, or a clearly-labelled synthetic fixture in dev/test — provenance.sourceAuthority names which. Supplier-declared data only; Jithox verifies nothing. Preflight evidence only — never a conformity, CE, GPSR, safety or market-access determina…

ParameterTypeDescription
publicRecordIdstringThe public record identifier (from a prior search candidate).

get_eprel_energy_label_data Get declared label data

Structure the supplier-DECLARED energy-label / product-sheet data for one public record. The result states supplierDeclared=true and independentlyVerifiedByJithox=false explicitly — nothing is independently verified. Answers come from the queried source at the stated retrieval time: the official EPREL Public API in live mode, or a clearly-labelled synthetic fixture in dev/test — provenance.sourceAuthority names which. Preflight evidence only — never a conformity, CE, GPSR, safety or market-access determination.

ParameterTypeDescription
publicRecordIdstringThe public record identifier whose declared label data to return.

compare_eprel_product_metrics Compare declared metrics

Compare two or more COMPATIBLE records on their COMMON supplier-declared metrics — a value table only. Cross-product-group comparison fails safely as 'incompatible_comparison'; no 'best product', no ranking, no buying advice. Answers come from the queried source at the stated retrieval time: the official EPREL Public API in live mode, or a clearly-labelled synthetic fixture in dev/test — provenance.sourceAuthority names which. Supplier-declared data only; Jithox verifies nothing.

ParameterTypeDescription
metricKeysarrayOptional metric keys to restrict the comparison to.
publicRecordIdsarrayPublic record identifiers to compare; a comparison needs at least 2 (fewer returns 'insufficient_identifiers'), up to 5.

prepare_energy_label_preflight_receipt Prepare a preflight receipt

Bundle the preflight lookups into one idempotent Ed25519-signed receipt committing to the FINGERPRINTED inputs, record references, sources, freshness and decision states — provable evidence of WHAT was looked up and WHEN. Attests the lookups, never a registration, conformity or market-access outcome. Preflight evidence only — never a conformity, CE, GPSR, safety or market-access determination.

ParameterTypeDescription
bundle *objectThe preflight results to attest (fingerprinted inputs, sources, decision states — no raw query values).
createdAt *stringISO timestamp the bundle was assembled.