PassportCraft · Schema
CategorySchema
Digital Product PassportEU ComplianceSoftware-as-a-ServiceB2BSustainability
Properties
| Name | Type | Description |
|---|---|---|
| object | string | |
| id | string | |
| name | string | |
| category | string | |
| display_name | string | |
| schema_version | string | |
| battery_kinds | object | |
| field_groups | array | |
| fields | array | |
| per_battery_fields | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/passportcraft-com/json-schema/passportcraft-com-category-schema-schema.json",
"title": "CategorySchema",
"x-generated": "2026-11-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/passportcraft-com-openapi.json#/components/schemas/CategorySchema",
"type": "object",
"properties": {
"object": {
"type": "string",
"const": "category_schema"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"display_name": {
"type": "string"
},
"schema_version": {
"type": "string"
},
"battery_kinds": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"kinds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"category": {
"type": "string",
"enum": [
"battery",
"battery-information"
]
},
"condition": {
"type": "string"
}
},
"required": [
"value",
"category",
"condition"
],
"additionalProperties": {}
}
}
},
"required": [
"rule",
"kinds"
],
"additionalProperties": {}
},
"field_groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"object": {
"type": "string",
"const": "field_group"
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"object",
"id",
"label"
],
"additionalProperties": {}
}
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"object": {
"type": "string",
"const": "field"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"text",
"number",
"select",
"multiselect",
"date",
"month",
"url",
"array",
"pictogram"
]
},
"required": {
"type": "boolean"
},
"per_battery": {
"type": "string",
"enum": [
"override",
"only"
]
},
"battery_access_tier": {
"type": "string",
"enum": [
"public",
"restricted",
"authority"
]
},
"battery_required": {
"type": "boolean"
},
"required_when": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
},
"required_unless": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
},
"only_when": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
}
},
"required_from": {
"type": "string"
},
"withheld_from_public": {
"type": "string"
},
"access_tier": {
"type": "string",
"enum": [
"public",
"restricted",
"authority"
]
},
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"hint": {
"type": "string"
},
"help_url": {
"type": "string"
},
"unit": {
"type": "string"
},
"unit_field": {
"type": "string"
},
"default_unit": {
"type": "string"
},
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"item_type": {
"type": "string",
"const": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"value",
"label"
],
"additionalProperties": {}
}
},
"document_types": {
"type": "array",
"items": {
"type": "string",
"enum": [
"certification",
"image",
"document",
"conformity_declaration"
]
}
},
"document_id_key": {
"type": "string"
},
"requirement": {
"type": "string",
"enum": [
"required",
"recommended",
"optional"
]
},
"functional_basis": {
"type": "string"
},
"regulatory_basis": {
"type": "array",
"items": {
"type": "object",
"properties": {
"regulation": {
"type": "string"
},
"reference": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"in_force",
"in_force_conditional",
"applies_later",
"anticipated",
"voluntary"
]
},
"jurisdiction": {
"type": "string"
},
"applies_when": {
"type": "string"
},
"note": {
"type": "string"
},
"status_changing": {
"type": "boolean"
}
},
"required": [
"regulation",
"reference",
"status"
],
"additionalProperties": {}
}
}
},
"required": [
"object",
"name",
"type",
"required",
"access_tier",
"group",
"label",
"description"
],
"additionalProperties": {}
}
},
"per_battery_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"object": {
"type": "string",
"const": "field"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"text",
"number",
"select",
"multiselect",
"date",
"month",
"url",
"array",
"pictogram"
]
},
"required": {
"type": "boolean"
},
"per_battery": {
"type": "string",
"enum": [
"override",
"only"
]
},
"battery_access_tier": {
"type": "string",
"enum": [
"public",
"restricted",
"authority"
]
},
"battery_required": {
"type": "boolean"
},
"required_when": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
},
"required_unless": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
},
"only_when": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"one_of": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
}
},
"required": [
"field",
"one_of"
],
"additionalProperties": {}
}
},
"required_from": {
"type": "string"
},
"withheld_from_public": {
"type": "string"
},
"access_tier": {
"type": "string",
"enum": [
"public",
"restricted",
"authority"
]
},
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"hint": {
"type": "string"
},
"help_url": {
"type": "string"
},
"unit": {
"type": "string"
},
"unit_field": {
"type": "string"
},
"default_unit": {
"type": "string"
},
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"item_type": {
"type": "string",
"const": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"value",
"label"
],
"additionalProperties": {}
}
},
"document_types": {
"type": "array",
"items": {
"type": "string",
"enum": [
"certification",
"image",
"document",
"conformity_declaration"
]
}
},
"document_id_key": {
"type": "string"
},
"requirement": {
"type": "string",
"enum": [
"required",
"recommended",
"optional"
]
},
"functional_basis": {
"type": "string"
},
"regulatory_basis": {
"type": "array",
"items": {
"type": "object",
"properties": {
"regulation": {
"type": "string"
},
"reference": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"in_force",
"in_force_conditional",
"applies_later",
"anticipated",
"voluntary"
]
},
"jurisdiction": {
"type": "string"
},
"applies_when": {
"type": "string"
},
"note": {
"type": "string"
},
"status_changing": {
"type": "boolean"
}
},
"required": [
"regulation",
"reference",
"status"
],
"additionalProperties": {}
}
}
},
"required": [
"object",
"name",
"type",
"required",
"access_tier",
"group",
"label",
"description"
],
"additionalProperties": {}
}
}
},
"required": [
"object",
"id",
"name",
"category",
"display_name",
"schema_version",
"field_groups",
"fields",
"per_battery_fields"
],
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/passportcraft-com-category-schema"
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.