{"uid":"cap_ITRgEZsVv4IpnH7KltFwd","slug":"validate-enonic-xp-form-fragment-descriptor-c6ce9434","name":"Validate Enonic XP Form Fragment Descriptor","description":"Validate Enonic XP Form Fragment descriptor: Validate a JSON document for Enonic XP Form Fragment 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-form-fragment-de-59b1d78b-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_NRiv7bV1al3VDEGw9y99t","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 Form Fragment descriptor schema using a pinned SchemaStore definition","exampleAgentPrompt":"Can you validate this Enonic XP Form Fragment descriptor JSON for me and tell me if there are any schema violations or JSON pointer errors? Here's the document: {\"name\":\"myFragment\",\"form\":[{\"input\":{\"name\":\"title\",\"type\":\"TextLine\"}}]}","exampleUseCases":[{"title":"Pre-commit form fragment check","prompt":"Before I commit this Enonic XP Form Fragment descriptor, can you validate this JSON against the schema and tell me exactly which fields are wrong and where? Here's the JSON: {\"name\":\"contactForm\",\"form\":[{\"input\":{\"name\":\"email\",\"type\":\"TextLine\",\"label\":\"Email\"}}]}"},{"title":"Debugging malformed fragment descriptor","prompt":"My Enonic XP site is throwing errors and I think my Form Fragment descriptor JSON is malformed — can you validate it and point out all the rule violations with their JSON pointer locations?"},{"title":"CI pipeline schema check","prompt":"I need to verify that this Enonic XP Form Fragment descriptor JSON is schema-compliant before my pipeline moves forward — can you run it through the SchemaStore validator and report any issues?"}],"resultDescription":"Returns a validation report indicating whether the JSON document conforms to the Enonic XP Form Fragment descriptor schema. On failure, includes JSON pointers to the exact locations of violations and descriptions of the rule(s) broken. On success, confirms the document is valid. Limited to documents up to 100 KB and 32 nesting levels.","failureModes":["Document exceeds 100 KB limit — validation refused","Nesting depth exceeds 32 levels — validation refused","Malformed JSON submitted — parse error returned","Schema definition unavailable or outdated on host machine — may produce unexpected results","Non-JSON formats (YAML, TOML) not supported — parsing errors returned"],"whenToPreferThis":"Choose this endpoint when you specifically need to validate a JSON document against the Enonic XP Form Fragment descriptor schema using the SchemaStore-pinned definition. Prefer it over generic JSON Schema validators when you want Enonic-specific rule enforcement and precise JSON pointer error reporting without setting up local tooling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:53:04.165Z","isFirstParty":false,"canonicalSlug":"validate-enonic-xp-form-fragment-descriptor-c6ce9434"}