# PropertyRegistry Class

Module
import { PropertyRegistry } from "@tsed/common"
Source/packages/common/src/jsonschema/registries/PropertyRegistry.ts

# Overview

class PropertyRegistry {
    static get(target: Type<any>, propertyKey: string | symbol): PropertyMetadata;
    static getProperties(target: Type<any>, options?: Partial<{
        withIgnoredProps: boolean;
    }>): Map<string | symbol, PropertyMetadata>;
    static getOwnProperties(target: Type<any>): Map<string | symbol, PropertyMetadata>;
    static set(target: Type<any>, propertyKey: string | symbol, property: PropertyMetadata): void;
    static required(target: Type<any>, propertyKey: string | symbol, allowedRequiredValues?: any[]): typeof PropertyRegistry;
    static decorate(fn: (propertyMetadata: PropertyMetadata, parameters: DecoratorParameters) => void): Function;
}

# Members

static get(target: Type<any>, propertyKey: string | symbol): PropertyMetadata

static getProperties(target: Type<any>, options?: Partial<{
     withIgnoredProps: boolean;
 }>): Map<string | symbol, PropertyMetadata>;

static getOwnProperties(target: Type<any>): Map<string | symbol, PropertyMetadata>

static set(target: Type<any>, propertyKey: string | symbol, property: PropertyMetadata): void

static required(target: Type<any>, propertyKey: string | symbol, allowedRequiredValues?: any[]): typeof PropertyRegistry

static decorate(fn: (propertyMetadata: PropertyMetadata, parameters: DecoratorParameters) => void): Function