PagoPA · Schema
Purpose
CompanyPaymentsGovernmentPublic SectorDigital IdentityInteroperabilityNotificationsItaly
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| eserviceId | string | |
| consumerId | string | |
| suspendedByConsumer | boolean | |
| suspendedByProducer | boolean | |
| title | string | |
| description | string | |
| createdAt | string | |
| updatedAt | string | |
| isRiskAnalysisValid | boolean | |
| isFreeOfCharge | boolean | |
| freeOfChargeReason | string | |
| delegationId | string | |
| currentVersion | object | |
| waitingForApprovalVersion | object | |
| rejectedVersion | object | |
| purposeTemplateId | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/pagopa/main/json-schema/pagopa-purpose-schema.json",
"title": "Purpose",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pagopa-pdnd-interop-v2-openapi.yml#/components/schemas/Purpose",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"eserviceId": {
"type": "string",
"format": "uuid"
},
"consumerId": {
"type": "string",
"format": "uuid"
},
"suspendedByConsumer": {
"type": "boolean"
},
"suspendedByProducer": {
"type": "boolean"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"isRiskAnalysisValid": {
"type": "boolean"
},
"isFreeOfCharge": {
"type": "boolean"
},
"freeOfChargeReason": {
"type": "string"
},
"delegationId": {
"type": "string",
"format": "uuid"
},
"currentVersion": {
"$ref": "#/$defs/PurposeVersion"
},
"waitingForApprovalVersion": {
"$ref": "#/$defs/PurposeVersion"
},
"rejectedVersion": {
"$ref": "#/$defs/PurposeVersion"
},
"purposeTemplateId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"id",
"eserviceId",
"consumerId",
"title",
"description",
"createdAt",
"isRiskAnalysisValid",
"isFreeOfCharge"
],
"$defs": {
"PurposeVersion": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"state": {
"$ref": "#/$defs/PurposeVersionState"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"suspendedAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"firstActivationAt": {
"type": "string",
"format": "date-time"
},
"dailyCalls": {
"description": "Maximum number of daily calls performed using this version",
"type": "integer",
"format": "int32",
"minimum": 1,
"maximum": 1000000000
},
"rejectionReason": {
"type": "string"
}
},
"required": [
"id",
"state",
"dailyCalls",
"createdAt"
],
"description": "business representation of a purpose version"
},
"PurposeVersionState": {
"type": "string",
"description": "Purpose State",
"enum": [
"ACTIVE",
"DRAFT",
"SUSPENDED",
"WAITING_FOR_APPROVAL",
"ARCHIVED",
"REJECTED"
]
}
}
}
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/pagopa-purpose"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.