Extra information necessary for a property: its super-properties, range, and domain. None of these are required.

interface RDFProperty {
    comment?: string;
    container: Container;
    context: string[];
    curie: string;
    dataset: boolean;
    defined_by?: string[];
    deprecated?: boolean;
    domain: RDFClass[];
    example?: Example[];
    external?: boolean;
    html_id: string;
    id: string;
    known_as?: string;
    label: string;
    one_of: RDFIndividual[];
    prefix: string;
    range: RDFTerm[];
    range_union: boolean;
    see_also?: Link[];
    status?: Status;
    strongURL: boolean;
    subPropertyOf: RDFProperty[];
    term_type: TermType;
    toString: () => string;
    type: RDFTerm[];
    url: string;
    user_type?: RDFTerm[];
}

Hierarchy (View Summary)

Properties

comment?: string
container: Container
context: string[]
curie: string

The curie of the term. Used this way, for example, in turtle

dataset: boolean
defined_by?: string[]
deprecated?: boolean

This field is, in fact, potentially deprecated, because the status has taken over. Kept for backward compatibility.

domain: RDFClass[]
example?: Example[]
external?: boolean

Whether this term is really part of the vocabulary, or is defined externally.

html_id: string

The ID used in the HTML listing. It is, usually, the same as the id, except for an external term

id: string

The name of the term, without the namespace prefix.

known_as?: string

Alternative label to be used, e.g., in a context file. Rarely used.

label: string
one_of: RDFIndividual[]
prefix: string

The namespace prefix; usually the same as the vocabulary prefix, but not always (e.g., external terms).

range: RDFTerm[]
range_union: boolean
see_also?: Link[]
status?: Status
strongURL: boolean
subPropertyOf: RDFProperty[]
term_type: TermType

The exact term type; used in the categorization of the terms

toString: () => string

This is to simplify the text conversion of the terms to strings; it usually refers to the curie

type: RDFTerm[]

The types provided by the YAML file and the generated types by the conversion (e.g., rdf:Property).

url: string

The full URL of the term

user_type?: RDFTerm[]

The types provided by the YAML file