You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
578 B
35 lines
578 B
import type { ContextDefinition } from "jsonld";
|
|
|
|
export interface DocumentShape {
|
|
"@id"?: string;
|
|
"@context"?: ContextDefinition;
|
|
type: {
|
|
"@id": "Document";
|
|
};
|
|
vocabulary?: VocabularyShape[];
|
|
law: LawShape;
|
|
}
|
|
|
|
export interface LawShape {
|
|
"@id"?: string;
|
|
"@context"?: ContextDefinition;
|
|
type: {
|
|
"@id": "Law";
|
|
};
|
|
name?: string[];
|
|
path: {
|
|
"@id": string;
|
|
};
|
|
}
|
|
|
|
export interface VocabularyShape {
|
|
"@id"?: string;
|
|
"@context"?: ContextDefinition;
|
|
type: {
|
|
"@id": "Vocabulary";
|
|
};
|
|
name: string;
|
|
path?: {
|
|
"@id": string;
|
|
}[];
|
|
}
|
|
|