Share feedback
Answers are generated based on the documentation.

Schema

NamespaceMetadata

Type: object

datasets

Type: array

Array item

Schema: DatasetModel

All schema constraints and annotations
{
  "items": {
    "$ref": "#/components/schemas/DatasetModel"
  },
  "type": "array"
}
extensionPublisher

Type: boolean

Whether the namespace is an extension publisher.
All schema constraints and annotations
{
  "description": "Whether the namespace is an extension publisher.",
  "type": "boolean"
}
extraRepos

Type: array | null

Additional repositories associated with the namespace. Null when none are configured.
Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Additional repositories associated with the namespace. Null when none are configured.",
  "items": {
    "type": "string"
  },
  "type": [
    "array",
    "null"
  ]
}
namespace

Type: string

All schema constraints and annotations
{
  "type": "string"
}
publisherType

Type: string

Publisher program associated with the namespace.
All schema constraints and annotations
{
  "description": "Publisher program associated with the namespace.",
  "type": "string"
}
All schema constraints and annotations
{
  "examples": [
    {
      "datasets": [
        {
          "name": "pulls",
          "timespans": [
            "months",
            "weeks"
          ],
          "views": [
            "raw",
            "summary",
            "repo-summary",
            "namespace-summary",
            "geo-repo-summary"
          ]
        }
      ],
      "extensionPublisher": false,
      "extraRepos": null,
      "namespace": "org1",
      "publisherType": "DVP"
    },
    {
      "datasets": [
        {
          "name": "pulls",
          "timespans": [
            "months",
            "weeks"
          ],
          "views": [
            "repo-summary",
            "namespace-summary"
          ]
        },
        {
          "name": "extensions",
          "timespans": [
            "months",
            "weeks"
          ],
          "views": [
            "ext-summary"
          ]
        }
      ],
      "extensionPublisher": true,
      "extraRepos": null,
      "namespace": "org4",
      "publisherType": "DVP"
    }
  ],
  "properties": {
    "datasets": {
      "items": {
        "$ref": "#/components/schemas/DatasetModel"
      },
      "type": "array"
    },
    "extensionPublisher": {
      "description": "Whether the namespace is an extension publisher.",
      "type": "boolean"
    },
    "extraRepos": {
      "description": "Additional repositories associated with the namespace. Null when none are configured.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "namespace": {
      "type": "string"
    },
    "publisherType": {
      "description": "Publisher program associated with the namespace.",
      "type": "string"
    }
  },
  "type": "object"
}