{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scoala-ro/json-schema/scoala-ro-subject-schema.json",
  "title": "Subject",
  "description": "Materie de studiu (categorie rădăcină).",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scoala-ro-openapi.json#/components/schemas/Subject",
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer"
    },
    "Title": {
      "type": "string"
    },
    "Description1": {
      "type": [
        "string",
        "null"
      ]
    },
    "Description2": {
      "type": [
        "string",
        "null"
      ]
    },
    "Description3": {
      "type": [
        "string",
        "null"
      ]
    },
    "Image1Url": {
      "type": [
        "string",
        "null"
      ]
    },
    "Image2Url": {
      "type": [
        "string",
        "null"
      ]
    },
    "Image3Url": {
      "type": [
        "string",
        "null"
      ]
    },
    "IsActive": {
      "type": "boolean"
    },
    "IsDeleted": {
      "type": "boolean"
    },
    "OrderNo": {
      "type": "integer"
    },
    "ParentCategoryId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "MetaTitle": {
      "type": [
        "string",
        "null"
      ]
    },
    "MetaDescription": {
      "type": [
        "string",
        "null"
      ]
    },
    "Badges": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Badge"
      }
    }
  },
  "$defs": {
    "Badge": {
      "type": "object",
      "properties": {
        "IconName": {
          "type": "string"
        },
        "BadgeTitle": {
          "type": "string"
        }
      }
    }
  }
}