{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-galaxy-namespace-schema.json",
  "title": "galaxy.Namespace",
  "description": "Base serializer for use with :class:`pulpcore.app.models.Model`\n\nThis ensures that all Serializers provide values for the 'pulp_href` field.\n\nThe class provides a default for the ``ref_name`` attribute in the\nModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions\nof plugins are namespaced properly.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-ui-v1-my-namespaces-api-openapi.yml#/components/schemas/galaxy.Namespace",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "company": {
      "type": "string",
      "maxLength": 64
    },
    "email": {
      "type": "string",
      "maxLength": 256
    },
    "avatar_url": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": "string",
      "maxLength": 256
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NamespaceLink"
      }
    },
    "groups": {
      "type": "string"
    },
    "users": {
      "type": "string"
    },
    "resources": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "$defs": {
    "NamespaceLink": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 32
        },
        "url": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "name",
        "url"
      ]
    }
  }
}