deno.land / x / shacl_to_type@v0.0.9 / src / types.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { JsonLdContextNormalized } from './deps.ts'
export type Options = { // @see https://www.w3.org/TR/json-ld/#context-definitions prefixes?: { [key: string]: string } shapeIri?: string, context?: JsonLdContextNormalized, nameCallback?: (name: string) => string, languages?: Array<string>,}
export type ObjectMeta = { name: string, type: string, subject: string, properties?: Array<PropertyMeta>}
export type PropertyMeta = { name: string, typeName: string, predicate: string, singular?: boolean, required?: boolean, referencedTypes?: Array<string>, datatype?: string, rdfType?: string compacted: string}
export type RdfJsonTerm = { type: 'bnode' | 'uri' | 'literal' | 'defaultgraph', value: string, lang?: string, datatype?: string}
export type RdfJsonRoot = { [key: string]: { [key: string]: Array<RdfJsonTerm> }}
shacl_to_type

Version Info

Tagged at
a year ago