UNPKG

dc-management-sdk-js

Version:
41 lines (40 loc) 1.11 kB
import { HalResource } from '../hal/models/HalResource'; /** * Cached schema document for the given content type */ export interface CachedSchema { /** * Version of JSON Schema used when creating */ $schema: string; /** * URI that describes where to locate the JSON schema definition for this content type */ id: string; /** * Fields set up in the schema document */ [key: string]: any; } /** * Class representing the Content Type Schema resource. * Content types are JSON schemas that define a type of content to be created, including its structure, format and validation rules. */ export declare class ContentTypeCachedSchema extends HalResource { /** * Associated hub id */ hubId?: string; /** * URI that describes where to locate the JSON schema definition for this content type */ contentTypeUri?: string; /** * Object containing the cached schema content type */ cachedSchema?: CachedSchema; /** * Resources and actions related to a ContentType */ readonly related: {}; }