{
  "$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-paginatedgalaxy-namespace-response-list-schema.json",
  "title": "Paginatedgalaxy.NamespaceResponseList",
  "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/Paginatedgalaxy.NamespaceResponseList",
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "first": {
          "type": [
            "string",
            "null"
          ]
        },
        "previous": {
          "type": [
            "string",
            "null"
          ]
        },
        "next": {
          "type": [
            "string",
            "null"
          ]
        },
        "last": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/galaxy.NamespaceResponse"
      }
    }
  },
  "$defs": {
    "MyPermissionsFieldResponse": {
      "type": "object"
    },
    "NamespaceRelatedFieldResponse": {
      "type": "object",
      "description": "Serializer only returns fields specified in 'include_related' query param.\n\nThis allows for fields that require more database queries to be optionally\nincluded in API responses, which lowers the load on the backend. This is\nintended as a way to include extra data in list views.\n\nUsage:\n\nThis functions the same as DRF's base `serializers.Serializer` class with the\nexception that it will only return fields specified in the `?include_related=`\nquery parameter.\n\nExample:\n\nMySerializer(RelatedFieldsBaseSerializer):\n    foo = CharField()\n    bar = CharField()\n\nMySerializer will return:\n\n{\"foo\": None} when called with `?include_related=foo` and {\"foo\": None, \"bar\" None}\nwhen called with `?include_related=foo&include_related=bar`.",
      "properties": {
        "my_permissions": {
          "allOf": [
            {
              "$ref": "#/$defs/MyPermissionsFieldResponse"
            }
          ],
          "readOnly": true
        }
      }
    },
    "galaxy.NamespaceResponse": {
      "type": "object",
      "description": "NamespaceSerializer but without 'links' or 'resources'.\n\nFor use in _ui/collection detail views.",
      "properties": {
        "pulp_href": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "id": {
          "type": "integer",
          "format": "int64",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        },
        "company": {
          "type": "string",
          "maxLength": 64
        },
        "email": {
          "type": "string",
          "maxLength": 256
        },
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "description": {
          "type": "string",
          "maxLength": 256
        },
        "groups": {
          "type": "string"
        },
        "users": {
          "type": "string"
        },
        "related_fields": {
          "allOf": [
            {
              "$ref": "#/$defs/NamespaceRelatedFieldResponse"
            }
          ],
          "readOnly": true
        },
        "metadata_sha256": {
          "type": "string",
          "readOnly": true
        },
        "avatar_sha256": {
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}