Share via

Azure DocumentDB: jsonschema validation

Tao Weng 0 Reputation points
2026-05-25T21:01:41.99+00:00

The documentation says that the feature is supported, but I couldn't get it working. Always receiving response that the feature is not supported.

Azure DocumentDB
Azure DocumentDB

A scalable, fully managed NoSQL database for JSON documents with fast queries and automatic indexing


1 answer

Sort by: Most helpful
  1. kagiyama yutaka 3,415 Reputation points
    2026-05-25T23:17:35.9666667+00:00

    I think Cosmos DB SQL API does not offer $jsonSchema as a collection validator, and the “feature not supported” message matches the public spec.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.