PassportCraft · Schema

UnitReading

Digital Product PassportEU ComplianceSoftware-as-a-ServiceB2BSustainability

Properties

Name Type Description
object string
id string
name string
organization_id string
passport_id string
unit_id string
passport string
unit string
livemode boolean
field string
value object
observed_on object
source object
note object
document_id object
recorded_by object
recorded_actor_type object
recorded_via object
recorded_at string
legacy_import boolean
View JSON Schema on GitHub

JSON Schema

passportcraft-com-unit-reading-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/passportcraft-com/json-schema/passportcraft-com-unit-reading-schema.json",
  "title": "UnitReading",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/passportcraft-com-openapi.json#/components/schemas/UnitReading",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "const": "unit_reading"
    },
    "id": {
      "type": "string",
      "maxLength": 255
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "organization_id": {
      "type": "string",
      "maxLength": 255
    },
    "passport_id": {
      "type": "string",
      "maxLength": 255
    },
    "unit_id": {
      "type": "string",
      "maxLength": 255
    },
    "passport": {
      "type": "string",
      "maxLength": 255
    },
    "unit": {
      "type": "string",
      "maxLength": 255
    },
    "livemode": {
      "type": "boolean"
    },
    "field": {
      "type": "string"
    },
    "value": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "unit": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "unit"
          ],
          "additionalProperties": {}
        }
      ]
    },
    "observed_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "source": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "measurement",
            "brand_statement"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "document_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_by": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_actor_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "user",
            "api_key"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_via": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "editor",
            "api"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "recorded_at": {
      "type": "string"
    },
    "legacy_import": {
      "type": "boolean"
    }
  },
  "required": [
    "object",
    "id",
    "name",
    "organization_id",
    "passport_id",
    "unit_id",
    "passport",
    "unit",
    "livemode",
    "field",
    "value",
    "observed_on",
    "source",
    "note",
    "document_id",
    "recorded_by",
    "recorded_actor_type",
    "recorded_via",
    "recorded_at",
    "legacy_import"
  ],
  "additionalProperties": {}
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/passportcraft-com-unit-reading"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.