JSON Schema content validation rules stored in S3. Rules define the structure and constraints for suggestion values.
List all rules in a folder
Returns a list of rule summaries for the specified folder. Each summary includes metadata like the component key, deprecation status, and creator info. Requires authentication.
path Parameters
folderRule folder name (e.g., "layout", "validation")
List all rules in a folder › Responses
Rules listed successfully
statusMachine-readable status code
messageHuman-readable status message
traceIdUnique request trace ID for debugging and log correlation
Get a single rule by folder and component key
Retrieves the full rule definition including its JSON Schema body. Returns an ETag header for optimistic concurrency on subsequent updates. Requires authentication.
path Parameters
folderRule folder name
componentKeyComponent key identifying the rule within the folder
Get a single rule by folder and component key › Responses
Rule retrieved successfully
statusMachine-readable status code
messageHuman-readable status message
traceIdUnique request trace ID for debugging and log correlation
A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.
Update an existing rule
Updates a rule's JSON Schema body. Supports optimistic concurrency via the If-Match header (ETag from a previous GET). Set overwrite=true to bypass the concurrency check. Requires authentication.
path Parameters
folderRule folder name
componentKeyComponent key of the rule to update
query Parameters
overwriteSet to true to bypass ETag concurrency check
Headers
If-MatchETag from a previous GET for optimistic concurrency
Update an existing rule › Request Body
schemaJsonValid JSON string representing the rule's JSON Schema
Update an existing rule › Responses
Rule updated successfully
statusMachine-readable status code
messageHuman-readable status message
traceIdUnique request trace ID for debugging and log correlation
A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.
Create a new rule
Creates a new rule under the specified folder and component key. The schemaJson field must be a valid JSON string representing the rule's JSON Schema. Set overwrite=true to replace an existing rule. Requires authentication.
path Parameters
folderRule folder name
componentKeyComponent key for the new rule
query Parameters
overwriteSet to true to overwrite an existing rule
Create a new rule › Request Body
schemaJsonValid JSON string representing the rule's JSON Schema
Create a new rule › Responses
Rule created successfully
statusMachine-readable status code
messageHuman-readable status message
traceIdUnique request trace ID for debugging and log correlation
A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.