{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ContentView", "type": "object", "description": "A content view defining a curated set of repositories and content available to hosts.", "properties": { "id": { "type": "integer", "description": "Unique identifier for the content view." }, "name": { "type": "string", "description": "Name of the content view." }, "label": { "type": "string", "description": "Unique label for the content view (auto-generated from name)." }, "description": { "type": "['string', 'null']", "description": "Description of the content view." }, "organization_id": { "type": "integer", "description": "Organization this content view belongs to." }, "organization": { "type": "object" }, "composite": { "type": "boolean", "description": "Whether this is a composite content view combining other content view versions." }, "rolling": { "type": "boolean", "description": "Whether this is a rolling content view." }, "auto_publish": { "type": "boolean", "description": "Whether composite content views auto-publish when a component is updated." }, "solve_dependencies": { "type": "boolean", "description": "Whether RPM dependencies are resolved during publish." }, "import_only": { "type": "boolean", "description": "Whether this content view is only for upstream imports." }, "generated_for": { "type": "['string', 'null']", "description": "If generated, indicates the purpose (e.g., import or export)." }, "default": { "type": "boolean", "description": "Whether this is the default content view (every organization has one)." }, "repository_ids": { "type": "array", "description": "Identifiers of repositories in this content view." }, "repositories": { "type": "array", "description": "Repositories included in this content view." }, "component_ids": { "type": "array", "description": "Content view version IDs for composite content views." }, "versions": { "type": "array", "description": "Published versions of this content view." }, "environments": { "type": "array", "description": "Lifecycle environments this content view is in." }, "activation_keys": { "type": "array", "description": "Activation keys using this content view." }, "next_version": { "type": "string", "description": "Next version number to be published." }, "last_published": { "type": "['string', 'null']", "description": "Timestamp of the last publish." }, "latest_version": { "type": "['string', 'null']", "description": "Latest published version number." }, "latest_version_id": { "type": "['integer', 'null']", "description": "Identifier of the latest published version." }, "created_at": { "type": "string" }, "updated_at": { "type": "string" } } }