{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-asset-group-post-response-schema-schema.json",
  "title": "asset_group_post_response_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-asset-groups-api-openapi.yml#/components/schemas/asset_group_post_response_schema",
  "type": "object",
  "properties": {
    "parent_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "parent": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "querystring": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "parent_id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "resource": {
          "type": "string"
        }
      }
    },
    "child_ids": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "client_id": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "resource": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "querystring": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "risk_meter_score": {
      "type": "integer",
      "default": 0
    },
    "asset_count": {
      "type": "integer",
      "default": 0
    },
    "full_query": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}