@neverblink/ohi 0.18.4 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated.d.ts +44 -2
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/** A person or organization involved with an ontology. */
|
|
2
|
+
export interface Agent {
|
|
3
|
+
/** How to reach them, such as an email address. */
|
|
4
|
+
contact?: string;
|
|
5
|
+
/** A web page about them, such as a homepage or a profile. */
|
|
6
|
+
link?: string;
|
|
7
|
+
/** Name of the person or organization. */
|
|
8
|
+
name: string;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
1
11
|
/** Ontology content in a declared format, with explicitly identified entry files. */
|
|
2
12
|
export interface Artifact {
|
|
3
13
|
/** Ontology language and syntax of the artifact. */
|
|
@@ -43,6 +53,14 @@ export interface CatalogError {
|
|
|
43
53
|
/** Original target supplied by the caller, when available. */
|
|
44
54
|
url?: string;
|
|
45
55
|
}
|
|
56
|
+
/** A paper that introduces or describes an ontology. */
|
|
57
|
+
export interface Citation {
|
|
58
|
+
/** A web page about the paper, such as its DOI. */
|
|
59
|
+
link?: string;
|
|
60
|
+
/** Title of the paper, or its full citation. */
|
|
61
|
+
title: string;
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
}
|
|
46
64
|
/** A reference to an exact immutable publication required by this publication. */
|
|
47
65
|
export interface Dependency {
|
|
48
66
|
/** Permanent absolute URL identifying one exact immutable publication. GET this exact URL returns its publication JSON. Do not append a filename. */
|
|
@@ -96,8 +114,12 @@ export interface LockedFile {
|
|
|
96
114
|
export interface Publication {
|
|
97
115
|
/** Available artifacts of this ontology. Each artifact URL occurs once. Multiple artifacts may share a format. */
|
|
98
116
|
artifacts: Artifact[];
|
|
117
|
+
/** The people or organizations that made the ontology. */
|
|
118
|
+
authors: Agent[];
|
|
99
119
|
/** Permanent absolute URL identifying one exact immutable publication. GET this exact URL returns its publication JSON. Do not append a filename. */
|
|
100
120
|
base_url: string;
|
|
121
|
+
/** The people or organizations that contributed to the ontology. */
|
|
122
|
+
contributors?: Agent[];
|
|
101
123
|
/** Complete set of direct and indirect runtime dependency publications, excluding this publication. Each base_url occurs once. An empty list means this publication has no runtime dependencies. */
|
|
102
124
|
dependencies: Dependency[];
|
|
103
125
|
/** Short description of the ontology's domain and intended use. */
|
|
@@ -108,6 +130,8 @@ export interface Publication {
|
|
|
108
130
|
keywords: string[];
|
|
109
131
|
/** Reported license names or standard identifiers such as Apache-2.0. Empty means no information supplied. The list specifies neither AND nor OR combination semantics. */
|
|
110
132
|
licenses: string[];
|
|
133
|
+
/** The third-party people or organizations that maintain the ontology in the ohi index. */
|
|
134
|
+
maintainers?: Agent[];
|
|
111
135
|
/** Short catalog identifier, qualified by namespace. The namespace/name pair identifies the same ontology across releases. */
|
|
112
136
|
name: string;
|
|
113
137
|
/** Namespace qualifying the ontology name, such as w3c in w3c/prov-o. */
|
|
@@ -116,12 +140,18 @@ export interface Publication {
|
|
|
116
140
|
namespace_iri?: string;
|
|
117
141
|
/** Number of elements in the publication's native format, as published upstream, such as the classes and properties of an OWL ontology. */
|
|
118
142
|
native_element_count?: number;
|
|
143
|
+
/** Upstream official sources of the ontology, such as its homepage or repository. */
|
|
144
|
+
original_sources: string[];
|
|
119
145
|
/** Optional abbreviation for namespace_iri, without whitespace or a colon. Requires namespace_iri. This constraint does not certify prefix syntax for every ontology language. */
|
|
120
146
|
preferred_prefix?: string;
|
|
147
|
+
/** Papers that introduce or describe the ontology. */
|
|
148
|
+
publications?: Citation[];
|
|
121
149
|
/** First successful Hub publication time for this immutable release. Backend emits UTC date-time text with Z. Consumers accept timezone-bearing RFC 3339 text. Fixed for the lifetime of this publication. Not an upstream release date. */
|
|
122
150
|
published_at: string;
|
|
123
|
-
/** Name of the upstream person or organization responsible for publishing the ontology. Not inferred from catalog namespace. */
|
|
151
|
+
/** Deprecated, use `publishers`. Name of the upstream person or organization responsible for publishing the ontology. Not inferred from catalog namespace. */
|
|
124
152
|
publisher: string;
|
|
153
|
+
/** The people or organizations that publish the ontology upstream. */
|
|
154
|
+
publishers: Agent[];
|
|
125
155
|
/** Metadata contract revision, independent of the ontology's version. */
|
|
126
156
|
schema_version: number;
|
|
127
157
|
/** Display title of the ontology. */
|
|
@@ -132,8 +162,12 @@ export interface Publication {
|
|
|
132
162
|
}
|
|
133
163
|
/** Summary of one immutable publication. */
|
|
134
164
|
export interface SearchHit {
|
|
165
|
+
/** The people or organizations that made the ontology. */
|
|
166
|
+
authors: Agent[];
|
|
135
167
|
/** Permanent absolute URL identifying one exact immutable publication. GET this exact URL returns its publication JSON. Do not append a filename. */
|
|
136
168
|
base_url: string;
|
|
169
|
+
/** The people or organizations that contributed to the ontology. */
|
|
170
|
+
contributors?: Agent[];
|
|
137
171
|
/** Short description of the ontology's domain and intended use. */
|
|
138
172
|
description: string;
|
|
139
173
|
/** Number of LinkML elements in the publication. */
|
|
@@ -141,17 +175,25 @@ export interface SearchHit {
|
|
|
141
175
|
/** Formats of the publication's available artifacts. Each value identifies both the ontology language and serialization syntax, as in artifact.format. */
|
|
142
176
|
formats: Format[];
|
|
143
177
|
/** Keywords describing the ontology's subject. An empty list means no keywords are provided. */
|
|
144
|
-
keywords
|
|
178
|
+
keywords: string[];
|
|
145
179
|
/** Reported license names or standard identifiers such as Apache-2.0. Empty means no information supplied. The list specifies neither AND nor OR combination semantics. */
|
|
146
180
|
licenses: string[];
|
|
181
|
+
/** The third-party people or organizations that maintain the ontology in the ohi index. */
|
|
182
|
+
maintainers?: Agent[];
|
|
147
183
|
/** Short catalog identifier, qualified by namespace. The namespace/name pair identifies the same ontology across releases. */
|
|
148
184
|
name: string;
|
|
149
185
|
/** Namespace qualifying the ontology name, such as w3c in w3c/prov-o. */
|
|
150
186
|
namespace: string;
|
|
151
187
|
/** Number of elements in the publication's native format, as published upstream, such as the classes and properties of an OWL ontology. */
|
|
152
188
|
native_element_count?: number;
|
|
189
|
+
/** Upstream official sources of the ontology, such as its homepage or repository. */
|
|
190
|
+
original_sources: string[];
|
|
191
|
+
/** Papers that introduce or describe the ontology. */
|
|
192
|
+
publications?: Citation[];
|
|
153
193
|
/** First successful Hub publication time for this immutable release. Backend emits UTC date-time text with Z. Consumers accept timezone-bearing RFC 3339 text. Fixed for the lifetime of this publication. Not an upstream release date. */
|
|
154
194
|
published_at: string;
|
|
195
|
+
/** The people or organizations that publish the ontology upstream. */
|
|
196
|
+
publishers: Agent[];
|
|
155
197
|
/** Display title of the ontology. */
|
|
156
198
|
title: string;
|
|
157
199
|
/** Complete publication version label, including amendments. */
|
package/package.json
CHANGED