@tpluscode/rdf-ns-builders 1.0.0 → 1.1.0
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/CHANGELOG.md +24 -0
- package/README.md +2 -2
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -1
- package/index.js +14 -0
- package/index.mjs +7 -0
- package/package.json +2 -2
- package/strict.d.ts +7 -0
- package/strict.d.ts.map +1 -1
- package/strict.js +14 -0
- package/strict.mjs +7 -0
- package/vocabularies/bibo.d.ts +273 -0
- package/vocabularies/bibo.d.ts.map +1 -0
- package/vocabularies/bibo.js +10 -0
- package/vocabularies/bibo.mjs +4 -0
- package/vocabularies/constant.d.ts +3 -3
- package/vocabularies/constant.d.ts.map +1 -1
- package/vocabularies/dash.d.ts +1 -1
- package/vocabularies/dbo.d.ts +1 -148
- package/vocabularies/dbo.d.ts.map +1 -1
- package/vocabularies/dc11.d.ts +1 -1
- package/vocabularies/dcam.d.ts +15 -0
- package/vocabularies/dcam.d.ts.map +1 -0
- package/vocabularies/dcam.js +10 -0
- package/vocabularies/dcam.mjs +4 -0
- package/vocabularies/dcmitype.d.ts +31 -0
- package/vocabularies/dcmitype.d.ts.map +1 -0
- package/vocabularies/dcmitype.js +10 -0
- package/vocabularies/dcmitype.mjs +4 -0
- package/vocabularies/dcterms.d.ts +1 -1
- package/vocabularies/doap.d.ts +1 -1
- package/vocabularies/ebucore.d.ts +2530 -0
- package/vocabularies/ebucore.d.ts.map +1 -0
- package/vocabularies/ebucore.js +10 -0
- package/vocabularies/ebucore.mjs +4 -0
- package/vocabularies/exif.d.ts +333 -0
- package/vocabularies/exif.d.ts.map +1 -0
- package/vocabularies/exif.js +10 -0
- package/vocabularies/exif.mjs +4 -0
- package/vocabularies/foaf.d.ts +1 -1
- package/vocabularies/frbr.d.ts +1 -1
- package/vocabularies/gn.d.ts +1 -1
- package/vocabularies/gr.d.ts +1 -1
- package/vocabularies/gs1.d.ts +2472 -0
- package/vocabularies/gs1.d.ts.map +1 -0
- package/vocabularies/gs1.js +10 -0
- package/vocabularies/gs1.mjs +4 -0
- package/vocabularies/hydra.d.ts +1 -1
- package/vocabularies/hydra.d.ts.map +1 -1
- package/vocabularies/ical.d.ts +1 -1
- package/vocabularies/locn.d.ts +54 -0
- package/vocabularies/locn.d.ts.map +1 -0
- package/vocabularies/locn.js +10 -0
- package/vocabularies/locn.mjs +4 -0
- package/vocabularies/lvont.d.ts +1 -1
- package/vocabularies/ma.d.ts +1 -1
- package/vocabularies/oa.d.ts +1 -1
- package/vocabularies/og.d.ts +1 -1
- package/vocabularies/org.d.ts +1 -1
- package/vocabularies/owl.d.ts +1 -1
- package/vocabularies/prov.d.ts +1 -1
- package/vocabularies/qkdv.d.ts +4 -1
- package/vocabularies/qkdv.d.ts.map +1 -1
- package/vocabularies/quantitykind.d.ts +11 -3
- package/vocabularies/quantitykind.d.ts.map +1 -1
- package/vocabularies/qudt.d.ts +1 -2
- package/vocabularies/qudt.d.ts.map +1 -1
- package/vocabularies/rdfa.d.ts +1 -1
- package/vocabularies/rico.d.ts +1 -1
- package/vocabularies/schema.d.ts +198 -29
- package/vocabularies/schema.d.ts.map +1 -1
- package/vocabularies/sem.d.ts +1 -1
- package/vocabularies/sioc.d.ts +1 -1
- package/vocabularies/sosa.d.ts +1 -1
- package/vocabularies/time.d.ts +1 -1
- package/vocabularies/unit.d.ts +10 -4
- package/vocabularies/unit.d.ts.map +1 -1
- package/vocabularies/vaem.d.ts +1 -1
- package/vocabularies/vcard.d.ts +1 -1
- package/vocabularies/xhv.d.ts +1 -1
- package/vocabularies/xml.js +1 -1
- package/vocabularies/xml.mjs +1 -1
package/vocabularies/dc11.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ interface Dc11 {
|
|
|
31
31
|
/** The nature or genre of the resource. */
|
|
32
32
|
"type": NamedNode<'http://purl.org/dc/elements/1.1/type'>;
|
|
33
33
|
}
|
|
34
|
-
export declare const strict: Record<"description" | "date" | "subject" | "format" | "source" | "title" | "creator" | "language" | "publisher" | "relation" | "type" | "contributor" | "coverage" | "
|
|
34
|
+
export declare const strict: Record<"description" | "date" | "subject" | "identifier" | "format" | "source" | "title" | "creator" | "language" | "publisher" | "relation" | "type" | "contributor" | "coverage" | "rights", import("rdf-js").NamedNode<string>> & ((property?: TemplateStringsArray | "description" | "date" | "subject" | "identifier" | "format" | "source" | "title" | "creator" | "language" | "publisher" | "relation" | "type" | "contributor" | "coverage" | "rights" | undefined) => import("rdf-js").NamedNode<string>) & Dc11;
|
|
35
35
|
export declare const loose: Record<any, import("rdf-js").NamedNode<string>> & ((property?: any) => import("rdf-js").NamedNode<string>) & Dc11;
|
|
36
36
|
export {};
|
|
37
37
|
//# sourceMappingURL=dc11.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NamedNode } from "@rdfjs/types";
|
|
2
|
+
interface Dcam {
|
|
3
|
+
/** An enumerated set of resources. */
|
|
4
|
+
"VocabularyEncodingScheme": NamedNode<'http://purl.org/dc/dcam/VocabularyEncodingScheme'>;
|
|
5
|
+
/** A suggested class for subjects of this property. */
|
|
6
|
+
"domainIncludes": NamedNode<'http://purl.org/dc/dcam/domainIncludes'>;
|
|
7
|
+
/** A relationship between a resource and a vocabulary encoding scheme which indicates that the resource is a member of a set. */
|
|
8
|
+
"memberOf": NamedNode<'http://purl.org/dc/dcam/memberOf'>;
|
|
9
|
+
/** A suggested class for values of this property. */
|
|
10
|
+
"rangeIncludes": NamedNode<'http://purl.org/dc/dcam/rangeIncludes'>;
|
|
11
|
+
}
|
|
12
|
+
export declare const strict: Record<"VocabularyEncodingScheme" | "domainIncludes" | "memberOf" | "rangeIncludes", import("rdf-js").NamedNode<string>> & ((property?: TemplateStringsArray | "VocabularyEncodingScheme" | "domainIncludes" | "memberOf" | "rangeIncludes" | undefined) => import("rdf-js").NamedNode<string>) & Dcam;
|
|
13
|
+
export declare const loose: Record<any, import("rdf-js").NamedNode<string>> & ((property?: any) => import("rdf-js").NamedNode<string>) & Dcam;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=dcam.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dcam.d.ts","sourceRoot":"","sources":["../src/vocabularies/dcam.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,UAAU,IAAI;IACV,sCAAsC;IACtC,0BAA0B,EAAE,SAAS,CAAC,kDAAkD,CAAC,CAAC;IAC1F,uDAAuD;IACvD,gBAAgB,EAAE,SAAS,CAAC,wCAAwC,CAAC,CAAC;IACtE,iIAAiI;IACjI,UAAU,EAAE,SAAS,CAAC,kCAAkC,CAAC,CAAC;IAC1D,qDAAqD;IACrD,eAAe,EAAE,SAAS,CAAC,uCAAuC,CAAC,CAAC;CACvE;AAGD,eAAO,MAAM,MAAM,wSAAiD,CAAC;AACrE,eAAO,MAAM,KAAK,mHAAqC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.loose = exports.strict = void 0;
|
|
7
|
+
const namespace_1 = __importDefault(require("@rdf-esm/namespace"));
|
|
8
|
+
const builder = namespace_1.default("http://purl.org/dc/dcam/");
|
|
9
|
+
exports.strict = builder;
|
|
10
|
+
exports.loose = builder;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NamedNode } from "@rdfjs/types";
|
|
2
|
+
interface Dcmitype {
|
|
3
|
+
/** An aggregation of resources. */
|
|
4
|
+
"Collection": NamedNode<'http://purl.org/dc/dcmitype/Collection'>;
|
|
5
|
+
/** Data encoded in a defined structure. */
|
|
6
|
+
"Dataset": NamedNode<'http://purl.org/dc/dcmitype/Dataset'>;
|
|
7
|
+
/** A non-persistent, time-based occurrence. */
|
|
8
|
+
"Event": NamedNode<'http://purl.org/dc/dcmitype/Event'>;
|
|
9
|
+
/** A visual representation other than text. */
|
|
10
|
+
"Image": NamedNode<'http://purl.org/dc/dcmitype/Image'>;
|
|
11
|
+
/** A resource requiring interaction from the user to be understood, executed, or experienced. */
|
|
12
|
+
"InteractiveResource": NamedNode<'http://purl.org/dc/dcmitype/InteractiveResource'>;
|
|
13
|
+
/** A series of visual representations imparting an impression of motion when shown in succession. */
|
|
14
|
+
"MovingImage": NamedNode<'http://purl.org/dc/dcmitype/MovingImage'>;
|
|
15
|
+
/** An inanimate, three-dimensional object or substance. */
|
|
16
|
+
"PhysicalObject": NamedNode<'http://purl.org/dc/dcmitype/PhysicalObject'>;
|
|
17
|
+
/** A system that provides one or more functions. */
|
|
18
|
+
"Service": NamedNode<'http://purl.org/dc/dcmitype/Service'>;
|
|
19
|
+
/** A computer program in source or compiled form. */
|
|
20
|
+
"Software": NamedNode<'http://purl.org/dc/dcmitype/Software'>;
|
|
21
|
+
/** A resource primarily intended to be heard. */
|
|
22
|
+
"Sound": NamedNode<'http://purl.org/dc/dcmitype/Sound'>;
|
|
23
|
+
/** A static visual representation. */
|
|
24
|
+
"StillImage": NamedNode<'http://purl.org/dc/dcmitype/StillImage'>;
|
|
25
|
+
/** A resource consisting primarily of words for reading. */
|
|
26
|
+
"Text": NamedNode<'http://purl.org/dc/dcmitype/Text'>;
|
|
27
|
+
}
|
|
28
|
+
export declare const strict: Record<"Collection" | "Event" | "Image" | "Service" | "MovingImage" | "Software" | "Sound" | "StillImage" | "Dataset" | "InteractiveResource" | "PhysicalObject" | "Text", import("rdf-js").NamedNode<string>> & ((property?: TemplateStringsArray | "Collection" | "Event" | "Image" | "Service" | "MovingImage" | "Software" | "Sound" | "StillImage" | "Dataset" | "InteractiveResource" | "PhysicalObject" | "Text" | undefined) => import("rdf-js").NamedNode<string>) & Dcmitype;
|
|
29
|
+
export declare const loose: Record<any, import("rdf-js").NamedNode<string>> & ((property?: any) => import("rdf-js").NamedNode<string>) & Dcmitype;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=dcmitype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dcmitype.d.ts","sourceRoot":"","sources":["../src/vocabularies/dcmitype.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,UAAU,QAAQ;IACd,mCAAmC;IACnC,YAAY,EAAE,SAAS,CAAC,wCAAwC,CAAC,CAAC;IAClE,2CAA2C;IAC3C,SAAS,EAAE,SAAS,CAAC,qCAAqC,CAAC,CAAC;IAC5D,+CAA+C;IAC/C,OAAO,EAAE,SAAS,CAAC,mCAAmC,CAAC,CAAC;IACxD,+CAA+C;IAC/C,OAAO,EAAE,SAAS,CAAC,mCAAmC,CAAC,CAAC;IACxD,iGAAiG;IACjG,qBAAqB,EAAE,SAAS,CAAC,iDAAiD,CAAC,CAAC;IACpF,qGAAqG;IACrG,aAAa,EAAE,SAAS,CAAC,yCAAyC,CAAC,CAAC;IACpE,2DAA2D;IAC3D,gBAAgB,EAAE,SAAS,CAAC,4CAA4C,CAAC,CAAC;IAC1E,oDAAoD;IACpD,SAAS,EAAE,SAAS,CAAC,qCAAqC,CAAC,CAAC;IAC5D,qDAAqD;IACrD,UAAU,EAAE,SAAS,CAAC,sCAAsC,CAAC,CAAC;IAC9D,iDAAiD;IACjD,OAAO,EAAE,SAAS,CAAC,mCAAmC,CAAC,CAAC;IACxD,sCAAsC;IACtC,YAAY,EAAE,SAAS,CAAC,wCAAwC,CAAC,CAAC;IAClE,4DAA4D;IAC5D,MAAM,EAAE,SAAS,CAAC,kCAAkC,CAAC,CAAC;CACzD;AAGD,eAAO,MAAM,MAAM,wdAAyD,CAAC;AAC7E,eAAO,MAAM,KAAK,uHAAyC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.loose = exports.strict = void 0;
|
|
7
|
+
const namespace_1 = __importDefault(require("@rdf-esm/namespace"));
|
|
8
|
+
const builder = namespace_1.default("http://purl.org/dc/dcmitype/");
|
|
9
|
+
exports.strict = builder;
|
|
10
|
+
exports.loose = builder;
|
|
@@ -198,7 +198,7 @@ interface Dcterms {
|
|
|
198
198
|
"valid": NamedNode<'http://purl.org/dc/terms/valid'>;
|
|
199
199
|
"Extent": NamedNode<'http://purl.org/dc/terms/Extent'>;
|
|
200
200
|
}
|
|
201
|
-
export declare const strict: Record<"description" | "date" | "subject" | "audience" | "
|
|
201
|
+
export declare const strict: Record<"description" | "date" | "subject" | "audience" | "Standard" | "abstract" | "identifier" | "Jurisdiction" | "license" | "requires" | "format" | "source" | "title" | "Agent" | "created" | "creator" | "isPartOf" | "language" | "publisher" | "relation" | "type" | "Location" | "contributor" | "coverage" | "rights" | "AgentClass" | "BibliographicResource" | "Box" | "DCMIType" | "DDC" | "FileFormat" | "Frequency" | "IMT" | "ISO3166" | "ISO639-2" | "ISO639-3" | "LCC" | "LCSH" | "LicenseDocument" | "LinguisticSystem" | "LocationPeriodOrJurisdiction" | "MESH" | "MediaType" | "MediaTypeOrExtent" | "MethodOfAccrual" | "MethodOfInstruction" | "NLM" | "Period" | "PeriodOfTime" | "PhysicalMedium" | "PhysicalResource" | "Point" | "Policy" | "ProvenanceStatement" | "RFC1766" | "RFC3066" | "RFC4646" | "RFC5646" | "RightsStatement" | "SizeOrDuration" | "TGN" | "UDC" | "URI" | "W3CDTF" | "accessRights" | "accrualMethod" | "accrualPeriodicity" | "accrualPolicy" | "alternative" | "available" | "bibliographicCitation" | "conformsTo" | "dateAccepted" | "dateCopyrighted" | "dateSubmitted" | "educationLevel" | "extent" | "hasFormat" | "hasPart" | "hasVersion" | "instructionalMethod" | "isFormatOf" | "isReferencedBy" | "isReplacedBy" | "isRequiredBy" | "isVersionOf" | "issued" | "mediator" | "medium" | "modified" | "provenance" | "references" | "replaces" | "rightsHolder" | "spatial" | "tableOfContents" | "temporal" | "valid" | "Extent", import("rdf-js").NamedNode<string>> & ((property?: TemplateStringsArray | "description" | "date" | "subject" | "audience" | "Standard" | "abstract" | "identifier" | "Jurisdiction" | "license" | "requires" | "format" | "source" | "title" | "Agent" | "created" | "creator" | "isPartOf" | "language" | "publisher" | "relation" | "type" | "Location" | "contributor" | "coverage" | "rights" | "AgentClass" | "BibliographicResource" | "Box" | "DCMIType" | "DDC" | "FileFormat" | "Frequency" | "IMT" | "ISO3166" | "ISO639-2" | "ISO639-3" | "LCC" | "LCSH" | "LicenseDocument" | "LinguisticSystem" | "LocationPeriodOrJurisdiction" | "MESH" | "MediaType" | "MediaTypeOrExtent" | "MethodOfAccrual" | "MethodOfInstruction" | "NLM" | "Period" | "PeriodOfTime" | "PhysicalMedium" | "PhysicalResource" | "Point" | "Policy" | "ProvenanceStatement" | "RFC1766" | "RFC3066" | "RFC4646" | "RFC5646" | "RightsStatement" | "SizeOrDuration" | "TGN" | "UDC" | "URI" | "W3CDTF" | "accessRights" | "accrualMethod" | "accrualPeriodicity" | "accrualPolicy" | "alternative" | "available" | "bibliographicCitation" | "conformsTo" | "dateAccepted" | "dateCopyrighted" | "dateSubmitted" | "educationLevel" | "extent" | "hasFormat" | "hasPart" | "hasVersion" | "instructionalMethod" | "isFormatOf" | "isReferencedBy" | "isReplacedBy" | "isRequiredBy" | "isVersionOf" | "issued" | "mediator" | "medium" | "modified" | "provenance" | "references" | "replaces" | "rightsHolder" | "spatial" | "tableOfContents" | "temporal" | "valid" | "Extent" | undefined) => import("rdf-js").NamedNode<string>) & Dcterms;
|
|
202
202
|
export declare const loose: Record<any, import("rdf-js").NamedNode<string>> & ((property?: any) => import("rdf-js").NamedNode<string>) & Dcterms;
|
|
203
203
|
export {};
|
|
204
204
|
//# sourceMappingURL=dcterms.d.ts.map
|
package/vocabularies/doap.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ interface Doap {
|
|
|
116
116
|
/** L'URL du Wiki pour la discussion collaborative sur le projet. */
|
|
117
117
|
"wiki": NamedNode<'http://usefulinc.com/ns/doap#wiki'>;
|
|
118
118
|
}
|
|
119
|
-
export declare const strict: Record<"description" | "module" | "audience" | "location" | "name" | "license" | "Project" | "category" | "created" | "developer" | "language" | "
|
|
119
|
+
export declare const strict: Record<"description" | "module" | "audience" | "location" | "name" | "Specification" | "translator" | "license" | "Project" | "category" | "created" | "developer" | "language" | "ArchRepository" | "BKRepository" | "BazaarBranch" | "CVSRepository" | "DarcsRepository" | "GitBranch" | "GitRepository" | "HgRepository" | "Repository" | "SVNRepository" | "Version" | "anon-root" | "blog" | "browse" | "bug-database" | "developer-forum" | "documenter" | "download-mirror" | "download-page" | "file-release" | "helper" | "homepage" | "implements" | "mailing-list" | "maintainer" | "old-homepage" | "os" | "platform" | "programming-language" | "release" | "repository" | "repositoryOf" | "revision" | "screenshots" | "service-endpoint" | "shortdesc" | "support-forum" | "tester" | "vendor" | "wiki", import("rdf-js").NamedNode<string>> & ((property?: TemplateStringsArray | "description" | "module" | "audience" | "location" | "name" | "Specification" | "translator" | "license" | "Project" | "category" | "created" | "developer" | "language" | "ArchRepository" | "BKRepository" | "BazaarBranch" | "CVSRepository" | "DarcsRepository" | "GitBranch" | "GitRepository" | "HgRepository" | "Repository" | "SVNRepository" | "Version" | "anon-root" | "blog" | "browse" | "bug-database" | "developer-forum" | "documenter" | "download-mirror" | "download-page" | "file-release" | "helper" | "homepage" | "implements" | "mailing-list" | "maintainer" | "old-homepage" | "os" | "platform" | "programming-language" | "release" | "repository" | "repositoryOf" | "revision" | "screenshots" | "service-endpoint" | "shortdesc" | "support-forum" | "tester" | "vendor" | "wiki" | undefined) => import("rdf-js").NamedNode<string>) & Doap;
|
|
120
120
|
export declare const loose: Record<any, import("rdf-js").NamedNode<string>> & ((property?: any) => import("rdf-js").NamedNode<string>) & Doap;
|
|
121
121
|
export {};
|
|
122
122
|
//# sourceMappingURL=doap.d.ts.map
|