Skip to content

Instantly share code, notes, and snippets.

@temp3l
Last active December 3, 2020 10:03
Show Gist options
  • Save temp3l/4efa9e4c00a5aa82d808348b1f6f88d5 to your computer and use it in GitHub Desktop.
Save temp3l/4efa9e4c00a5aa82d808348b1f6f88d5 to your computer and use it in GitHub Desktop.
// just guessing
// converted: https://json-schema.org/draft/2019-09/links
export type JSONSchema7 = import('json-schema').JSONSchema7;
export type LinkDescriptionObject = {
anchor?: string;
anchorPointer?: string;
rel?: string | string[];
href?: string;
hrefSchema?: JSONSchema7;
templatePointers?: {
[k: string]: string;
};
templateRequired?: string[];
title?: string;
description?: string;
targetSchema?: JSONSchema7;
targetMediaType?: string;
targetHints?: any;
headerSchema?: JSONSchema7;
submissionMediaType?: string;
submissionSchema?: JSONSchema7;
$comment?: string;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment