{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-api-response-dream-symbol-schema.json",
  "title": "ApiResponse[DreamSymbol]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-dreams-api-openapi.yml#/components/schemas/ApiResponse_DreamSymbol_",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success",
      "description": "True if the request succeeded",
      "default": true
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "Human-readable status message",
      "default": "success"
    },
    "data": {
      "$ref": "#/$defs/DreamSymbol",
      "description": "The endpoint response payload"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "ContextVariant": {
      "properties": {
        "context": {
          "type": "string",
          "title": "Context",
          "description": "The specific dream context or variant."
        },
        "meaning": {
          "type": "string",
          "title": "Meaning",
          "description": "The interpretation for this specific context."
        }
      },
      "type": "object",
      "required": [
        "context",
        "meaning"
      ],
      "title": "ContextVariant"
    },
    "DreamSymbol": {
      "properties": {
        "slug": {
          "type": "string",
          "title": "Slug",
          "description": "URL-safe identifier."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Display name of the symbol."
        },
        "category": {
          "type": "string",
          "title": "Category",
          "description": "Symbol category: animals, nature, people, places, objects, actions, body, or abstract."
        },
        "jungian_meaning": {
          "type": "string",
          "title": "Jungian Meaning",
          "description": "Jungian/Western psychological interpretation."
        },
        "jungian_archetype": {
          "type": "string",
          "title": "Jungian Archetype",
          "description": "Primary Jungian archetype activated by this symbol."
        },
        "vedic_meaning": {
          "type": "string",
          "title": "Vedic Meaning",
          "description": "Classical Vedic dream tradition interpretation."
        },
        "vedic_auspicious": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Vedic Auspicious",
          "description": "True if auspicious (Shubha), False if inauspicious (Ashubha), null if mixed/context-dependent."
        },
        "traditions_agree": {
          "type": "string",
          "title": "Traditions Agree",
          "description": "Whether Jungian and Vedic traditions agree: 'agree', 'conflict', or 'partial'."
        },
        "emotional_tone": {
          "type": "string",
          "title": "Emotional Tone",
          "description": "Primary emotional register: anxiety, transformation, auspicious, warning, grief, power, healing, clarity, confusion, or neutral."
        },
        "themes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Themes",
          "description": "Thematic keywords used for AI synthesis and search."
        },
        "context_variants": {
          "items": {
            "$ref": "#/$defs/ContextVariant"
          },
          "type": "array",
          "title": "Context Variants",
          "description": "Alternative readings depending on dream context."
        },
        "related_symbols": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Related Symbols",
          "description": "Slugs of four related dream symbols: hand-picked links first, then the most similar symbols by category, themes and meaning. Every slug exists in the catalogue; links are reciprocal."
        }
      },
      "type": "object",
      "required": [
        "slug",
        "name",
        "category",
        "jungian_meaning",
        "jungian_archetype",
        "vedic_meaning",
        "traditions_agree",
        "emotional_tone",
        "themes",
        "context_variants",
        "related_symbols"
      ],
      "title": "DreamSymbol"
    }
  }
}