{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-api-response-significations-response-schema.json",
  "title": "ApiResponse[SignificationsResponse]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-vedic-reference-api-openapi.yml#/components/schemas/ApiResponse_SignificationsResponse_",
  "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/SignificationsResponse",
      "description": "The endpoint response payload"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "HouseSignifications": {
      "properties": {
        "house": {
          "type": "integer",
          "maximum": 12.0,
          "minimum": 1.0,
          "title": "House"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "label": {
          "type": "string",
          "title": "Label"
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "significations": {
          "items": {
            "$ref": "#/$defs/Signification"
          },
          "type": "array",
          "title": "Significations"
        }
      },
      "type": "object",
      "required": [
        "house",
        "id",
        "name",
        "label",
        "source",
        "significations"
      ],
      "title": "HouseSignifications"
    },
    "PlanetSignifications": {
      "properties": {
        "planet": {
          "type": "string",
          "title": "Planet"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "significations": {
          "items": {
            "$ref": "#/$defs/Signification"
          },
          "type": "array",
          "title": "Significations"
        }
      },
      "type": "object",
      "required": [
        "planet",
        "id",
        "significations"
      ],
      "title": "PlanetSignifications"
    },
    "Signification": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Stable id, e.g. bphs.house.7.spouse. Never renamed or reused."
        },
        "label": {
          "type": "string",
          "title": "Label",
          "description": "Plain-English label, close to the source wording."
        },
        "domain": {
          "type": "string",
          "title": "Domain",
          "description": "Domain id from the domains list."
        },
        "source": {
          "type": "string",
          "title": "Source",
          "description": "Verse or page the entry comes from."
        },
        "deprecated": {
          "type": "boolean",
          "title": "Deprecated",
          "description": "True when retired; the id stays so old mappings do not break.",
          "default": false
        },
        "replaced_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Replaced By",
          "description": "Id of the entry that replaces a deprecated one."
        }
      },
      "type": "object",
      "required": [
        "id",
        "label",
        "domain",
        "source"
      ],
      "title": "Signification"
    },
    "SignificationDomain": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Domain id, e.g. relationships."
        },
        "label": {
          "type": "string",
          "title": "Label"
        }
      },
      "type": "object",
      "required": [
        "id",
        "label"
      ],
      "title": "SignificationDomain"
    },
    "SignificationsResponse": {
      "properties": {
        "tradition": {
          "type": "string",
          "enum": [
            "vedic",
            "western"
          ],
          "title": "Tradition"
        },
        "version": {
          "type": "integer",
          "title": "Version",
          "description": "List version; goes up when entries are added or retired."
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "id_policy": {
          "type": "string",
          "title": "Id Policy"
        },
        "notes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Notes"
        },
        "domains": {
          "items": {
            "$ref": "#/$defs/SignificationDomain"
          },
          "type": "array",
          "title": "Domains",
          "description": "The first level: broad areas of life shared by both lists."
        },
        "houses": {
          "items": {
            "$ref": "#/$defs/HouseSignifications"
          },
          "type": "array",
          "title": "Houses"
        },
        "planets": {
          "items": {
            "$ref": "#/$defs/PlanetSignifications"
          },
          "type": "array",
          "title": "Planets"
        }
      },
      "type": "object",
      "required": [
        "tradition",
        "version",
        "source",
        "id_policy",
        "notes",
        "domains",
        "houses",
        "planets"
      ],
      "title": "SignificationsResponse"
    }
  }
}