{
  "$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-distribution-response-schema.json",
  "title": "DistributionResponse",
  "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-distributions-api-openapi.yml#/components/schemas/DistributionResponse",
  "type": "object",
  "properties": {
    "pulp_id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "base_path": {
      "type": "string"
    },
    "repository": {
      "$ref": "#/$defs/RepositoryResponse"
    }
  },
  "required": [
    "base_path",
    "name",
    "repository"
  ],
  "$defs": {
    "RepositoryResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "pulp_id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "pulp_last_updated": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "readOnly": true
        },
        "content_count": {
          "type": "integer",
          "readOnly": true
        },
        "gpgkey": {
          "type": "string"
        }
      },
      "required": [
        "gpgkey",
        "name"
      ]
    }
  }
}