{"uid":"cap_aly6EbUCQDMYmU5KK-a3E","slug":"validate-enonic-xp-api-descriptor-574a289c","name":"Validate Enonic XP API Descriptor","description":"Validate Enonic XP API descriptor: Validate a JSON document for Enonic XP API descriptor. Uses a pinned SchemaStore definition on this PC. Reports JSON pointers and rule violations. Up to 100 KB per document; no YAML/TOML parsing or deployment/security guarantee. 0.01 USDC includes one JSON document validation.","url":"https://market.datapackvibe.com/x402/assistant-schema-enonic-xp-api-descriptor-b74c253d-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"document":{"default":{},"description":"JSON value to validate; maximum 100 KB, 32 levels."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Txh9H8XU88Q0vIBDgW5U0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON document against the Enonic XP API descriptor schema using a pinned SchemaStore definition, reporting any JSON pointer violations.","exampleAgentPrompt":"Can you validate this Enonic XP API descriptor JSON for me and tell me if it has any schema violations or JSON pointer errors? Here's the document: {\"api\":\"com.enonic.app.myapp:myapi\",\"version\":\"1.0\",\"operations\":{\"get\":{\"description\":\"Fetch resource\"}}}","exampleUseCases":[{"title":"Pre-commit Enonic XP descriptor check","prompt":"Before I commit this Enonic XP API descriptor to the repo, can you validate it against the official schema and flag any JSON pointer issues or rule violations? Here's the JSON: {\"api\":\"com.enonic.myapp:api\",\"version\":\"1.0\"}"},{"title":"Debugging a broken Enonic XP API","prompt":"My Enonic XP app keeps failing to load — can you validate this API descriptor JSON and tell me exactly which fields or paths are violating the schema rules?"},{"title":"CI pipeline descriptor validation","prompt":"As part of our build check, validate this Enonic XP API descriptor JSON document and return any schema violations or malformed JSON pointers so I can fail the build if there are errors."}],"resultDescription":"Returns a validation report indicating whether the submitted JSON document conforms to the Enonic XP API descriptor schema, including specific JSON pointer paths and descriptions of any rule violations found.","failureModes":["Document exceeds 100 KB limit — rejected with size error","Document nesting exceeds 32 levels — rejected","Invalid JSON submitted (not parseable) — parse error returned","Schema definition mismatch if submitted document uses unsupported Enonic XP version fields","Network or service timeout for large documents near size limit"],"whenToPreferThis":"Choose this endpoint when you need to validate a JSON document specifically against the Enonic XP API descriptor schema. It uses a pinned SchemaStore definition, making it suitable for deterministic, reproducible validation results without relying on live schema fetches. Prefer it over generic JSON Schema validators when Enonic XP-specific rule enforcement and JSON pointer reporting are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:51.648Z","isFirstParty":false,"canonicalSlug":"validate-enonic-xp-api-descriptor-574a289c"}