{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cesnet/json-schema/cesnet-resource-tag-schema.json",
  "title": "ResourceTag",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cesnet-resourcesmanager-api-openapi.yml#/components/schemas/ResourceTag",
  "allOf": [
    {
      "$ref": "#/$defs/Auditable"
    }
  ],
  "properties": {
    "tagName": {
      "type": "string"
    },
    "voId": {
      "type": "integer"
    }
  },
  "$defs": {
    "Auditable": {
      "description": "represents audit information",
      "allOf": [
        {
          "$ref": "#/$defs/PerunBean"
        }
      ],
      "properties": {
        "createdAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "modifiedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "modifiedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdByUid": {
          "type": [
            "integer",
            "null"
          ]
        },
        "modifiedByUid": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "PerunBean": {
      "description": "identifiable entity in Perun, common ancestor of all entity classes",
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "beanName": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "beanName"
      ]
    }
  }
}