changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "_sakina_meta": {
+ "additionalProperties": true,
+ "properties": {
+ "content_type": {
+ "enum": [
+ "name_of_allah",
+ "not_found",
+ "crisis_resource_only"
+ ],
+ "type": "string"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "disclaimer_locale": {
+ "const": "en",
+ "type": "string"
+ },
+ "educational_context": {
+ "type": "string"
+ },
+ "llm_directives": {
+ "additionalProperties": true,
+ "properties": {
+ "CRITICAL_RULES": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "CRITICAL_RULES"
+ ],
+ "type": "object"
+ },
+ "presentation_contract": {
+ "additionalProperties": true,
+ "properties": {},
+ "type": "object"
+ },
+ "source": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "source",
+ "content_type",
+ "disclaimer",
+ "llm_directives",
+ "presentation_contract",
+ "educational_context"
+ ],
+ "type": "object"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "arabic": {
+ "type": "string"
+ },
+ "english_meaning": {
+ "type": "string"
+ },
+ "name_block": {
+ "type": "string"
+ },
+ "number": {
+ "type": "integer"
+ },
+ "quranic_references": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reflection": {
+ "type": "string"
+ },
+ "related": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "call": {
+ "additionalProperties": true,
+ "properties": {
+ "arguments": {
+ "additionalProperties": true,
+ "properties": {},
+ "type": "object"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "call"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "teach": {
+ "additionalProperties": true,
+ "properties": {
+ "audience": {
+ "type": "string"
+ },
+ "record_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "record_id",
+ "audience"
+ ],
+ "type": "object"
+ },
+ "transliteration": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name_block",
+ "number",
+ "arabic",
+ "transliteration",
+ "english_meaning",
+ "reflection",
+ "quranic_references"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "requested": {
+ "additionalProperties": true,
+ "properties": {
+ "locale": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "requested",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "requested": {
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "withheld": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "requested",
+ "withheld",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "crisis_resource": {
+ "additionalProperties": true,
+ "description": "Present this block exactly, before anything else, and add nothing religious when content_type is crisis_resource_only.",
+ "properties": {
+ "crisis_type": {
+ "type": "string"
+ },
+ "directive": {
+ "type": "string"
+ },
+ "level": {
+ "enum": [
+ "hard",
+ "soft"
+ ],
+ "type": "string"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "level",
+ "locale",
+ "directive",
+ "text"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "_sakina_meta",
+ "content"
+ ],
+ "type": "object"
+}